{"openapi":"3.1.0","info":{"title":"ITT API","version":"1.0.0","description":"Aggregated API documentation for all modules."},"servers":[{"url":"/api"}],"paths":{"/accounting/bank-statements/import":{"post":{"x-tenant-binding":"authenticated-tenant","summary":"Upload and import a bank statement for reconciliation","operationId":"importBankStatement","tags":["BankStatements"],"description":"A server-bound tenant API key with exactly accounting.bank-statements:import is the provider write authorization and may import directly. dryRun=true returns a non-mutating split plan with per-account counts and integer minor-unit sums. A mixed file remains 422 unless the tenant enables split imports and the caller sends splitPlan=accept. Provider requests also remain behind outer HTTP Basic Auth; source rows may be confidential and must be handled locally with redacted output and logs. Browser JWT imports retain authenticated and CSRF-protected behavior.\n","security":[{"outerBasic":[],"tenantApiKey":[]},{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/ConditionalImportIdempotencyKey"},{"$ref":"#/components/parameters/TenantHeader"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"MT940 (.mt940 or .sta), CSV, ODS or XLSX statement. Native spreadsheets reuse the bank CSV profiles without formula execution and preserve the original byte hash plus workbook-wide source coordinates (zero-based sheet ordinal times 1000000 plus original one-based row). CSV accepts comma or semicolon delimiters and requires amount|betrag|umsatz plus date|datum|booking date|buchungstag|buchungsdatum or value date|valuta|wertstellung|valutadatum. Customer/mandate references are not unique movement IDs. Private registry accounts require their confidential owner and accounting:view-private-bank permission; their rows have no business financial effect unless individually adopted.\n"},"dryRun":{"type":"boolean","default":false,"description":"Parse and validate with identical upload guards while performing zero reconciliation or other business-data writes. API-key previews still write batch/audit control-plane evidence for deterministic replay and, when configured, owner approval.\n"},"batchId":{"type":"string","pattern":"^[a-f0-9]{32}$","description":"Optional diagnostic binding from a preview of this exact file; never required for direct provider import."},"accountKey":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$","description":"Stable opaque identifier for the provider account. Required when the statement does not contain one unambiguous own-account IBAN. Use the same value for preview, import, and every later file from that account; never derive it from the filename.\n"},"accountId":{"type":"integer","minimum":1,"description":"Optional existing account registry ID in the authenticated tenant. Binds exports without own-account IBAN to the registered account; conflicts with a detected IBAN are rejected. Private account ownership and permission are checked before preview, import and replay. No account is created or reclassified."},"splitPlan":{"type":"string","enum":["accept"],"description":"Explicitly accepts the exact server-side account split. Requires the tenant split-import opt-in; omission preserves the 422 mixed-account guard."}}}}}},"responses":{"200":{"description":"Statement previewed without writes or stored for reconciliation","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BankStatementImportResult"},{"$ref":"#/components/schemas/BankStatementPreviewResult"}]}}}},"400":{"description":"Invalid upload or unsupported statement format"},"401":{"description":"Missing or invalid JWT/API key"},"403":{"description":"Tenant/key/scope authorization denied"},"422":{"description":"Mixed own accounts without an accepted plan, disabled split import, stable account identity missing, or (first_record_not_pseudonymized) the run was stopped after its first stored record because that record was read back and still carried source cleartext outside the Verwendungszweck. The whole import is rolled back, so nothing was persisted; retrying the same file cannot help until the pseudonymization configuration of the target is fixed.\n"},"409":{"description":"Changed content, cross-tenant/key binding, concurrent execution, or idempotency conflict"},"429":{"description":"API-key rate limit exceeded"},"500":{"description":"Import failed due to an internal error (error code import_failed)"},"503":{"description":"Upload scanning unavailable"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/accounting/bank-statements/import-batches/{batchId}":{"get":{"x-tenant-binding":"authenticated-tenant","summary":"Verify the persisted state of an exact bank-import batch","operationId":"getBankImportBatch","tags":["BankStatements"],"security":[{"outerBasic":[],"tenantApiKey":[]},{"bearerAuth":[]}],"parameters":[{"name":"batchId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{32}$"}},{"$ref":"#/components/parameters/TenantHeader"}],"responses":{"200":{"description":"Tenant-scoped persisted batch state","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankImportBatchStatus"}}}},"401":{"description":"Missing or invalid JWT/API key"},"403":{"description":"Tenant/key/scope authorization denied"},"404":{"description":"Batch absent from the authenticated tenant and key scope"},"429":{"description":"API-key rate limit exceeded"}}}},"/acp/checkout_sessions":{"post":{"summary":"Auto-derived POST /api/acp/checkout_sessions","description":"Auto-derived from route registration in src/Modules/AgenticCommerce/Module.php:80.","tags":["Acp"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"},"201":{"description":"Created"},"202":{"description":"Accepted (queued for asynchronous processing)"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Module.php","x-source-line":80}},"/acp/checkout_sessions/{id}":{"get":{"summary":"Auto-derived GET /api/acp/checkout_sessions/{id}","description":"Auto-derived from route registration in src/Modules/AgenticCommerce/Module.php:82.","tags":["Acp"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Module.php","x-source-line":82},"post":{"summary":"Auto-derived POST /api/acp/checkout_sessions/{id}","description":"Auto-derived from route registration in src/Modules/AgenticCommerce/Module.php:84.","tags":["Acp"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"},"201":{"description":"Created"},"202":{"description":"Accepted (queued for asynchronous processing)"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Module.php","x-source-line":84}},"/acp/checkout_sessions/{id}/ap2/checkout-token":{"post":{"summary":"Auto-derived POST /api/acp/checkout_sessions/{id}/ap2/checkout-token","description":"Auto-derived from route registration in src/Modules/AgenticCommerce/Module.php:88.","tags":["Acp"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"},"201":{"description":"Created"},"202":{"description":"Accepted (queued for asynchronous processing)"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Module.php","x-source-line":88}},"/acp/checkout_sessions/{id}/cancel":{"post":{"summary":"Auto-derived POST /api/acp/checkout_sessions/{id}/cancel","description":"Auto-derived from route declaration comment in src/Modules/AgenticCommerce/Http/CheckoutCompleteHandler.php:21.","tags":["Acp"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Http/CheckoutCompleteHandler.php","x-source-line":21}},"/acp/checkout_sessions/{id}/complete":{"post":{"summary":"Auto-derived POST /api/acp/checkout_sessions/{id}/complete","description":"Auto-derived from route declaration comment in src/Modules/AgenticCommerce/Http/CheckoutCompleteHandler.php:20.","tags":["Acp"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Http/CheckoutCompleteHandler.php","x-source-line":20}},"/acp/product-feed":{"get":{"summary":"Auto-derived GET /api/acp/product-feed","description":"Auto-derived from route declaration comment in src/Modules/AgenticCommerce/Http/AcpDiscoveryHandler.php:15.","tags":["Acp"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgenticCommerce/Http/AcpDiscoveryHandler.php","x-source-line":15}},"/agent-auth/introspect":{"post":{"operationId":"agentAuthIntrospect","tags":["AgentAuth"],"summary":"Validate / introspect a presented agent bearer token","description":"RFC 7662-style introspection. Accepts the token via the Authorization header or a `token` body field, with an optional `scope` to enforce. Public (no JWT required).\n","responses":{"200":{"description":"Active token (or active=false with status code)."},"400":{"description":"Malformed bearer token."},"403":{"description":"Token not authorized (expired, revoked, or missing scope)."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/agent-auth/self-service/access-status":{"get":{"operationId":"getAgentAccessStatus","tags":["AgentAuth"],"summary":"Read the calling agent's access clock and renewal state","description":"Available before and after expiry. Expired access remains read-only; writes return the distinct agent_access_expired_read_only error. A 72-hour API warning is exposed without creating an automatic renewal.","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Tenant-scoped access state, exact remaining seconds, warning flags, and explicit new-order renewal action."},"401":{"description":"Key unknown or revoked."},"404":{"description":"No payment-bound access order belongs to this token."},"429":{"description":"Rate limit exceeded."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agent_access.status","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agent-auth/self-service/orders":{"post":{"operationId":"createAgentAccessOrder","tags":["AgentAuth"],"summary":"Order scoped agent access or prepaid public communication","description":"Public order intake. prepaid_chat requires Hashcash, permits only communication:chat and buys 500 EUR cents without time expiry. Other profiles buy a fixed access period. No automatic renewal. See /api/agents/communication/docs.","parameters":[{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","maxLength":191}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tenant_id","agent_id","scopes"],"properties":{"tenant_id":{"type":"string"},"agent_id":{"type":"string"},"name":{"type":"string"},"scopes":{"type":"array","minItems":1,"items":{"type":"string"}},"usage_profile":{"type":"string","enum":["agent","app","prepaid_chat"],"default":"agent","description":"agent and app buy fixed-period access. prepaid_chat buys 500 EUR cents, billed at 5 cents per accepted public-information chat, with no time expiry and no tools."}}}}}},"responses":{"201":{"description":"Order accepted; one-time claim token returned.","content":{"application/json":{"schema":{"type":"object","required":["order_id","claim_token","amount_minor_units","currency","access_period_days","usage_profile","auto_renew","status","status_url"],"properties":{"order_id":{"type":"string"},"claim_token":{"type":"string","description":"Shown once; needed for the status and issue steps."},"amount_minor_units":{"type":"integer"},"currency":{"type":"string"},"access_period_days":{"type":"integer","nullable":true,"description":"Null for prepaid_chat (no time expiry)."},"usage_profile":{"type":"string","enum":["agent","app","prepaid_chat"]},"request_budget":{"type":"integer","nullable":true,"description":"Requests per access period for the profile; null = unlimited."},"auto_renew":{"type":"boolean","enum":[false]},"status":{"type":"string","enum":["payment_pending"]},"status_url":{"type":"string"}}}}}},"409":{"description":"Idempotency replay; no second order or claim token created."},"422":{"description":"Tenant confirmation, idempotency key, agent, scopes or usage_profile invalid; missing or invalid Hashcash for prepaid_chat."},"429":{"description":"Rate limit exceeded."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/agent-auth/self-service/orders/{id}":{"get":{"operationId":"getAgentAccessOrderStatus","tags":["AgentAuth"],"summary":"Order status for the ordering agent (claim-gated, no credential yet)","description":"Poll payment_pending → issued before a key exists. The claim token from the order step travels in the X-Agent-Order-Claim header; a wrong claim or a foreign tenant is answered 404, never 200.\n","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string"}},{"name":"X-Agent-Order-Claim","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Order status, amount, profile, expiry and the next step.","content":{"application/json":{"schema":{"type":"object","required":["success","order_id","status","usage_profile","auto_renew"],"properties":{"success":{"type":"boolean"},"order_id":{"type":"string"},"status":{"type":"string","enum":["payment_pending","issued"]},"agent_id":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"amount_minor_units":{"type":"integer"},"currency":{"type":"string"},"usage_profile":{"type":"string","enum":["agent","app","prepaid_chat"]},"request_budget":{"type":"integer","nullable":true},"auto_renew":{"type":"boolean"},"issued_at":{"type":"string","nullable":true},"expires_at":{"type":"string","nullable":true},"payment":{"type":"object","description":"A-41 in-band money state: unpaid (carries `pay`, the ACP checkout descriptor for item agent_access_pass:<order_id>), pending (announced bank transfer, not yet settled) or settled (payment_transaction_id ready for the issue step).\n","required":["status"],"properties":{"status":{"type":"string","enum":["unpaid","pending","settled"]},"payment_transaction_id":{"type":"string","nullable":true},"pay":{"type":"object"},"note":{"type":"string"}}},"next_step":{"type":"object","nullable":true}}}}}},"404":{"description":"Order, tenant or claim combination not found."},"422":{"description":"X-Tenant-Id missing."},"429":{"description":"Rate limit exceeded."}}}},"/agent-auth/self-service/orders/{id}/issue":{"post":{"operationId":"issuePaidAgentAccessOrder","tags":["AgentAuth"],"summary":"Issue a key for a received tenant-bound payment","description":"The payment-bound gate emits plaintext once. agent/app expire after 21 days. prepaid_chat requires settlement bound to this order, grants only communication:chat and returns expires_at null; credit gates each chat.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Tenant-Id","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tenant_id","claim_token","payment_transaction_id"],"properties":{"tenant_id":{"type":"string"},"claim_token":{"type":"string"},"payment_transaction_id":{"type":"string"}}}}}},"responses":{"201":{"description":"Paid order issued; plaintext token returned once."},"404":{"description":"Order or tenant/claim combination not found."},"409":{"description":"Order already issued or payment already consumed."},"422":{"description":"Payment absent, unsettled, or wrong amount/currency."},"429":{"description":"Rate limit exceeded."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/agent-auth/self-service/usage":{"get":{"operationId":"getAgentAccessUsage","tags":["AgentAuth"],"summary":"Consumed and remaining request budget of the calling agent token","description":"Kontingent (#A-41): requests consumed in the current access period, the configured budget (AGENT_ACCESS_REQUEST_BUDGET; absent = unlimited), the remaining count and the documented exhaustion contract — HTTP 429 with `Retry-After` (seconds until the access period ends), `X-Agent-Quota-Used`, `X-Agent-Quota-Budget` and `X-Agent-Error: agent_quota_exhausted`. Counted from the existing agent audit log, one row per authenticated request; refused requests are not consumed. Agent tokens only — a human session is answered 404.\n","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Usage figures for this token.","content":{"application/json":{"schema":{"type":"object","required":["success","access_state","quota","exhausted_contract"],"properties":{"success":{"type":"boolean"},"order_id":{"type":"string","nullable":true},"access_state":{"type":"string"},"period_start":{"type":"string","nullable":true},"period_end":{"type":"string","nullable":true},"remaining_seconds":{"type":"integer","nullable":true},"quota":{"type":"object","properties":{"budget":{"type":"integer"},"unlimited":{"type":"boolean"},"used":{"type":"integer"},"remaining":{"type":"integer","nullable":true},"exhausted":{"type":"boolean"}}},"exhausted_contract":{"type":"object"}}}}}},"401":{"description":"Token unknown or revoked."},"404":{"description":"Not an agent token."},"429":{"description":"Request budget exhausted (Retry-After set)."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agent_access.usage","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agents/actions":{"post":{"operationId":"agentActions","tags":["AgentAuth"],"summary":"Typed, idempotent agent action envelope — list, get, search, create, update, delete (bulk + dry-run)","description":"The agent action layer (#34495): ONE envelope for every resource in `GET /api/agents/actions/resources`. Reads (list / get / search) need erp:read resp. search:read; writes (create / update / delete) need erp:write AND an `Idempotency-Key` header. A replay with the same key and the same request returns the stored envelope (`Idempotent-Replay: true`) and has no second effect; the same key with a different request is refused (422 idempotency_key_reused). `dry_run: true` validates, resolves and — for update/delete — checks that the target exists, but writes nothing. `search` without a resource is the cross-entity platform search; with a resource it is a filtered list. A single operation answers with its own HTTP status; `operations` (bulk, max 50) answers 200 with per-item statuses. Every operation is executed as an internal sub-request through the full middleware pipeline: token, tenant, expiry (writes refused once expired), request budget and audit row apply per operation. Direct REST writes with an agent token stay closed — this envelope is the only write path.\n","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":191,"pattern":"^[A-Za-z0-9._:-]+$"},"description":"Required when any operation is a non-dry-run create, update or delete."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentAction"},{"type":"object","required":["operations"],"properties":{"operations":{"type":"array","minItems":1,"maxItems":50,"items":{"$ref":"#/components/schemas/AgentAction"}},"stop_on_error":{"type":"boolean","default":false}}}]}}}},"responses":{"200":{"description":"Envelope with per-operation results (bulk always 200; a single read/dry-run 200).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentActionEnvelope"}}}},"201":{"description":"Single create succeeded (status of the inner operation)."},"400":{"description":"Malformed operation (fields, pagination, query)."},"401":{"description":"Agent bearer token required."},"403":{"description":"Token invalid, expired for writes, or a single operation lacked its scope (scope_forbidden)."},"404":{"description":"Single get/update/delete on an unknown id or an unknown resource."},"409":{"description":"Same Idempotency-Key still in progress, or inner conflict."},"422":{"description":"Envelope rule violated — idempotency_key_required, idempotency_key_reused, invalid_bulk_size, unknown_action, resource_required, action_not_supported, id_required, input_required."},"429":{"description":"Request budget or rate limit exhausted."},"503":{"description":"Idempotency store unavailable — mutations refused (fail closed)."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-itt-pricing":{"capability":"capability.invoke","unit_price_minor":25,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.actions","catalogue":"/api/docs/pricing"},"x-required-scope":"any","x-pii":true}},"/agents/actions/resources":{"get":{"operationId":"agentActionResources","tags":["AgentAuth"],"summary":"Resources the action layer can address (derived from the compiled OpenAPI contract)","description":"Collection/item path pairs under the action-layer resource prefixes, named `erp.<path>` (e.g. erp.document-types) with the offered actions, the scope each one needs and the JSON Schema of `input` for create / update. Same single source as /api/agents/tools — no operation in the contract means no resource.\n","security":[{"bearerAuth":[]}],"parameters":[{"name":"prefix","in":"query","required":false,"schema":{"type":"string"},"description":"Resource-name prefix, e.g. erp.document"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":500,"default":100}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Paginated resource registry.","content":{"application/json":{"schema":{"type":"object","required":["success","actions","envelope","total","limit","offset","resources"],"properties":{"success":{"type":"boolean"},"source":{"type":"string"},"actions":{"type":"array","items":{"type":"string"}},"envelope":{"type":"string"},"idempotency":{"type":"object"},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"resources":{"type":"array","items":{"type":"object","required":["name","collection_path","actions"],"properties":{"name":{"type":"string"},"collection_path":{"type":"string"},"item_path":{"type":"string","nullable":true},"id_parameter":{"type":"string","nullable":true},"actions":{"type":"object"}}}}}}}}},"400":{"description":"Invalid prefix."},"401":{"description":"Authentication required."},"403":{"description":"Agent token invalid, revoked, expired or scope-less."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.actions.resources","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agents/capabilities":{"get":{"operationId":"agentCapabilitiesCatalog","tags":["AgentAuth"],"summary":"Machine-readable capability catalog for AI agents","description":"Returns the agent-facing capability catalog: the scope allowlist, the route→scope policy (which endpoints agent tokens may reach), the tenant's module capability matrix (delegated to ModuleCapabilities), steering gateway endpoints and discovery links. Accepts BOTH a JWT session and an agent bearer token carrying any valid scope. Response is cacheable (Cache-Control private, max-age 300).\n","security":[{"bearerAuth":[]}],"responses":{"200":{"description":"Capability catalog."},"401":{"description":"Authentication required."},"403":{"description":"Agent token invalid, revoked, expired or scope-less."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.capabilities","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agents/catalog":{"get":{"operationId":"agentMachineCustomerCatalog","tags":["AgentAuth"],"summary":"Machine-customer storefront — prices, purchase contract, quota contract, capabilities","description":"PUBLIC (#A-41): a foreign LLM agent reads what it can buy BEFORE it owns a credential. The access pass price comes from the canonical SaaS base-price definition (integer minor units, integer VAT percent), metering from the AgentBilling rate card (bcmath credit strings), capabilities from the agent route policy. With a valid agent bearer token the response also carries the caller's own tenant-scoped `entitlement` (access clock, scopes, request budget). Buying stays an explicit two-step choice (order, then issue after a settled payment); this route never charges.\n","security":[[],{"bearerAuth":[]}],"responses":{"200":{"description":"Catalog. `entitlement` is null without an asserted agent identity.","content":{"application/json":{"schema":{"type":"object","required":["success","catalog_version","access_pass","product_catalog","metering","quota","scopes","capabilities","discovery","entitlement"],"properties":{"success":{"type":"boolean"},"catalog_version":{"type":"string"},"price_definition_version":{"type":"string"},"access_pass":{"type":"object","properties":{"net_minor_units":{"type":"integer"},"vat_percent":{"type":"integer"},"gross_minor_units":{"type":"integer"},"amount_minor_units":{"type":"integer","description":"Exact amount the issue step verifies (net)."},"currency":{"type":"string"},"period_days":{"type":"integer"},"auto_renew":{"type":"boolean"},"purchase":{"type":"object"}}},"product_catalog":{"type":"object","required":["catalog_version","products","apps","bundles","subscriptions","checkout"],"properties":{"catalog_version":{"type":"string"},"price_definition_version":{"type":"string"},"currency":{"type":"string"},"products":{"type":"array","items":{"type":"object"}},"apps":{"type":"array","items":{"type":"object"}},"bundles":{"type":"array","items":{"type":"object"}},"subscriptions":{"type":"array","items":{"type":"object"}},"checkout":{"type":"object"}}},"metering":{"type":"object"},"quota":{"type":"object"},"scopes":{"type":"array","items":{"type":"string"}},"capabilities":{"type":"array","items":{"type":"object"}},"discovery":{"type":"object"},"entitlement":{"nullable":true,"type":"object"}}}}}},"403":{"description":"Agent token invalid, revoked or scope-less."},"429":{"description":"Rate limit exceeded."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.catalog","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agents/catalog/checkout-link":{"get":{"operationId":"agentCatalogCheckoutLink","tags":["AgentAuth"],"summary":"Existing shop checkout deep link","description":"Returns a validated link that selects the existing shop cart. It never charges and never creates an order.","security":[[],{"bearerAuth":[]}],"parameters":[{"name":"plan","in":"query","required":true,"schema":{"type":"string"}},{"name":"bundle","in":"query","required":false,"schema":{"type":"string"}},{"name":"interval","in":"query","required":false,"schema":{"type":"string","enum":["monthly","annual"],"default":"monthly"}}],"responses":{"200":{"description":"Existing shop checkout deep link."},"400":{"description":"plan is missing."},"422":{"description":"Invalid plan, bundle or interval."},"429":{"description":"Rate limit exceeded."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.catalog.checkout_link","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agents/catalog/offer":{"get":{"operationId":"agentCatalogOffer","tags":["AgentAuth"],"summary":"One billing-backed product offer","description":"Returns one app, bundle or subscription offer, including a Schema.org Offer projection.","security":[[],{"bearerAuth":[]}],"parameters":[{"name":"product_id","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9:_-]{1,160}$"}}],"responses":{"200":{"description":"Product offer."},"400":{"description":"product_id is missing."},"404":{"description":"Product does not exist."},"429":{"description":"Rate limit exceeded."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.catalog.offer","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/agents/tools":{"get":{"operationId":"agentToolSchemas","tags":["AgentAuth"],"summary":"JSON-Schema tool definitions derived from the compiled OpenAPI contract","description":"LLM discovery (#A-41): one MCP-shaped tool (`name`, `description`, `inputSchema`) per operation the agent route policy allows, derived mechanically from backend/openapi-compiled.json — no hand-maintained list, no operation in the contract means no tool. The `x-itt` block carries method, path template, required scope and metering capability. JWT sessions see the whole agent surface; agent tokens only the tools their granted scopes can call.\n","security":[{"bearerAuth":[]}],"parameters":[{"name":"prefix","in":"query","required":false,"schema":{"type":"string"},"description":"Path prefix filter, e.g. /api/erp/customers"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":500,"default":100}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"Paginated tool list.","content":{"application/json":{"schema":{"type":"object","required":["success","format","total","limit","offset","tools"],"properties":{"success":{"type":"boolean"},"format":{"type":"string","enum":["mcp-tools+x-itt"]},"source":{"type":"string"},"scope_filter":{"type":"array","nullable":true,"items":{"type":"string"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"tools":{"type":"array","items":{"type":"object","required":["name","description","inputSchema","x-itt"],"properties":{"name":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"},"annotations":{"type":"object"},"x-itt":{"type":"object"}}}}}}}}},"400":{"description":"Invalid prefix or pagination."},"401":{"description":"Authentication required."},"403":{"description":"Agent token invalid, revoked, expired or scope-less."},"503":{"description":"Compiled contract missing (run scripts/compile-openapi.php)."}},"x-itt-pricing":{"capability":"api.read","unit_price_minor":10,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"agents.tools","catalogue":"/api/docs/pricing"},"x-required-scope":"any"}},"/api/accommodation/admin/bookings/import":{"post":{"operationId":"accommodationBookingImport","summary":"Idempotently import a closed FeWo provider manifest","description":"A server-bound fewo API key with accommodation.booking_import:write scope is the provider write authorization and may import a strictly validated closed manifest directly. No preview, release, owner session, or approval phrase is required. The fewo slug is resolved to the authoritative numeric storage tenant; full source payloads and hashes remain retained. Source data may be confidential and must be handled locally with redacted output and logs. Browser JWT requests retain CSRF and owner-release behavior. Basic Auth remains an outer deployment boundary.","security":[{"outerBasic":[],"bookingImportKey":[]},{"bearerAuth":[]}],"parameters":[{"$ref":"#/components/parameters/TenantConfirmation"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingImportEnvelope"}}}},"responses":{"200":{"$ref":"#/components/responses/ImportSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthenticated"},"403":{"$ref":"#/components/responses/Forbidden"},"409":{"$ref":"#/components/responses/Conflict"},"422":{"$ref":"#/components/responses/Unprocessable"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/StorageUnavailable"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/acp/checkout_sessions":{"post":{"summary":"Create a checkout session (server-side quote)","operationId":"acpCreateSession","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionRequest"}}}},"responses":{"201":{"description":"Session created.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSession"}}}},"400":{"$ref":"#/components/responses/AcpError"},"401":{"$ref":"#/components/responses/CommerceIdentityRequired"},"403":{"$ref":"#/components/responses/CommerceInsufficientScope"},"409":{"$ref":"#/components/responses/AcpError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/acp/checkout_sessions/{id}":{"get":{"summary":"Read a checkout session","operationId":"acpGetSession","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Session."},"401":{"$ref":"#/components/responses/CommerceIdentityRequired"},"403":{"$ref":"#/components/responses/CommerceInsufficientScope"},"404":{"$ref":"#/components/responses/AcpError"}}},"post":{"summary":"Update a checkout session (items, stay, buyer, address) and re-quote","operationId":"acpUpdateSession","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Updated session."},"401":{"$ref":"#/components/responses/CommerceIdentityRequired"},"403":{"$ref":"#/components/responses/CommerceInsufficientScope"},"404":{"$ref":"#/components/responses/AcpError"},"409":{"$ref":"#/components/responses/AcpError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/acp/checkout_sessions/{id}/ap2/checkout-token":{"post":{"operationId":"createAp2CheckoutToken","security":[{"CommerceBearer":[]},[]],"summary":"Issue the merchant-signed AP2 checkout JWT","description":"Creates the short-lived ES256 checkout token to which an AP2 v0.2 mandate must be bound. Issued only for an existing ready_for_payment session of the caller's tenant; completed, canceled, expired (409 session_finalized) and incomplete (409 session_not_ready) sessions are refused.","parameters":[{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Merchant-signed checkout token","content":{"application/json":{"schema":{"type":"object","required":["checkout_jwt","expires_in"],"properties":{"checkout_jwt":{"type":"string"},"expires_in":{"type":"integer","example":600}}}}}},"401":{"$ref":"#/components/responses/CommerceCompletionIdentityRequired"},"403":{"$ref":"#/components/responses/CommerceCompletionForbidden"},"404":{"$ref":"#/components/responses/AcpError"},"409":{"$ref":"#/components/responses/AcpError"},"503":{"$ref":"#/components/responses/AcpError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/acp/checkout_sessions/{id}/cancel":{"post":{"summary":"Cancel a checkout session","operationId":"acpCancelSession","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"}],"responses":{"200":{"description":"Canceled session."},"401":{"$ref":"#/components/responses/CommerceIdentityRequired"},"403":{"$ref":"#/components/responses/CommerceInsufficientScope"},"404":{"$ref":"#/components/responses/AcpError"},"409":{"$ref":"#/components/responses/AcpError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/acp/checkout_sessions/{id}/complete":{"post":{"summary":"Complete the session into a real order / booking offer","operationId":"acpCompleteSession","security":[{"CommerceBearer":[]},[]],"description":"ITT requires a valid commerce:order agent credential with server-verified paid admission; only a persisted exact access-pass checkout is exempt as payment bootstrap. FeWo guest booking requests remain available. Linked OAuth support covers quotes, not the ITT paid completion grant. payment_data.provider must be one of the methods advertised in payments.json.\n","parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"400":{"description":"Malformed presented agent bearer token (legacy completion grant)."},"402":{"description":"x402 v2 payment required. The base64 PaymentRequired object is also returned in PAYMENT-REQUIRED."},"200":{"description":"Completed session including order reference."},"401":{"$ref":"#/components/responses/CommerceCompletionIdentityRequired"},"403":{"$ref":"#/components/responses/CommerceCompletionForbidden"},"404":{"$ref":"#/components/responses/AcpError"},"409":{"$ref":"#/components/responses/AcpError"},"422":{"$ref":"#/components/responses/AcpError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/acp/product-feed":{"get":{"summary":"Buyable catalog for agents (context-aware)","operationId":"acpProductFeed","responses":{"200":{"description":"Feed of items with prices in integer cents."}}}},"/api/auth/login":{"post":{"tags":["Auth"],"summary":"Authenticate a customer or admin user","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}}},"responses":{"200":{"description":"Login successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginSuccessResponse"}}}},"202":{"description":"Password step succeeded and a 2FA challenge token was issued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginTwoFactorRequiredResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Invalid credentials or invalid TOTP code","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"CSRF rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported media type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Invalid JWT config or internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/auth/refresh":{"post":{"tags":["Auth"],"summary":"Rotate the current JWT","security":[],"responses":{"200":{"description":"Token refreshed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshResponse"}}}},"401":{"description":"Missing, invalid, or expired refresh token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"CSRF rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported media type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/auth/refresh-token":{"post":{"tags":["Auth"],"summary":"Rotate the current JWT (legacy path)","security":[],"responses":{"200":{"description":"Token refreshed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefreshResponse"}}}},"401":{"description":"Missing, invalid, or expired refresh token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"CSRF rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported media type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/auth/register":{"post":{"tags":["Auth"],"summary":"Register a user account","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}}},"responses":{"200":{"description":"Registration processed","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"CSRF rejected","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported media type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/billing/plans/compare":{"get":{"summary":"Public plan comparison matrix","description":"Returns the public billing plan matrix with plan pricing, included features, and plan limits for pricing pages.","operationId":"comparePlans","tags":["Billing"],"responses":{"200":{"description":"Plan comparison retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","properties":{"count":{"type":"integer","example":4},"plan_matrix":{"type":"array","items":{"type":"object","properties":{"tier":{"type":"string","example":"starter"},"pricing":{"type":"object","properties":{"monthly_base_cents":{"type":"integer","example":8000},"monthly_base_eur":{"type":"number","format":"float","example":80},"annual_total_cents":{"type":"integer","example":81600},"annual_total_eur":{"type":"number","format":"float","example":816},"annual_monthly_cents":{"type":"integer","example":6800},"annual_monthly_eur":{"type":"number","format":"float","example":68},"per_customer_from_cents":{"type":"integer","example":500},"per_customer_from_eur":{"type":"number","format":"float","example":5},"disk_overage_cents_per_gb":{"type":"integer","example":200},"disk_overage_eur_per_gb":{"type":"number","format":"float","example":2}}},"features":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"billing.invoice_access"},"label":{"type":"string","example":"Invoice access and single PDF downloads"},"included":{"type":"boolean","example":true}}}},"limits":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","example":"monthly_credits"},"label":{"type":"string","example":"Monthly credits"},"value":{"oneOf":[{"type":"integer"},{"type":"string"}]},"display":{"type":"string","example":"7"},"unit":{"type":"string","example":"credits"}}}}}}}}}}}}}}}}},"/api/docs":{"get":{"tags":["ApiDocs"],"summary":"Swagger UI documentation page","description":"Serves an interactive Swagger UI HTML page that allows exploring and testing all available API endpoints.","operationId":"serveSwaggerUI","responses":{"200":{"description":"Swagger UI HTML page","content":{"text/html":{"schema":{"type":"string","description":"HTML page containing Swagger UI"}}}}},"security":[]}},"/api/docs/cli":{"get":{"tags":["ApiDocs"],"summary":"itt CLI manifest","description":"Version, sha256 integrity hash, size and install instructions for the `itt` command-line client. `itt update` compares against this manifest before self-replacing.","operationId":"cliManifest","responses":{"200":{"description":"CLI distribution manifest","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"name":{"type":"string","example":"itt"},"version":{"type":"string","example":"1.0.0"},"sha256":{"type":"string","description":"SHA-256 hex digest of the served script"},"sizeBytes":{"type":"integer"},"runtime":{"type":"string","example":"node >= 18"},"downloadUrl":{"type":"string"},"install":{"type":"string","description":"Copy-paste install one-liner"},"verify":{"type":"string","description":"Copy-paste integrity check"},"docs":{"type":"object","properties":{"loginArea":{"type":"string"},"public":{"type":"string"},"cliGuide":{"type":"string"}}}}}}}}}}},"security":[]}},"/api/docs/cli/itt":{"get":{"tags":["ApiDocs"],"summary":"Download the itt CLI","description":"The single-file, zero-dependency Node.js (>=18) command-line client for this API. The ETag equals the manifest's sha256; conditional requests with If-None-Match return 304.","operationId":"downloadCli","responses":{"200":{"description":"Executable Node.js script (shebang included)","headers":{"X-Cli-Version":{"schema":{"type":"string"},"description":"Semantic version of the served build"},"ETag":{"schema":{"type":"string"},"description":"\"sha256-<hex>\" of the script body"}},"content":{"text/javascript":{"schema":{"type":"string"}}}},"304":{"description":"Not modified (If-None-Match matched)"}},"security":[]}},"/api/docs/errors":{"get":{"tags":["ApiDocs"],"summary":"Canonical API error-code catalogue","description":"Returns the full registry of canonical error codes used in every API error envelope (derived from the ErrorResponse CODE_* constants). Every envelope's help_url points at an anchor on this endpoint. Content-negotiated: JSON by default, a readable HTML page with per-code anchors when Accept prefers text/html or ?format=html.","operationId":"listErrorCodes","parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","html"]},"description":"Force the representation regardless of the Accept header."}],"responses":{"200":{"description":"Error-code catalogue","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/ErrorCodeEntry"}},"count":{"type":"integer","example":18},"description":{"type":"string"},"html_url":{"type":"string","example":"/api/docs/errors?format=html"}}}},"text/html":{"schema":{"type":"string","description":"Human-readable catalogue page with one anchor per code slug"}}}}},"security":[]}},"/api/docs/openapi-full.json":{"get":{"tags":["ApiDocs"],"summary":"Get the unfiltered OpenAPI specification (authenticated)","description":"Returns the COMPLETE compiled OpenAPI document including every auth-gated operation. The anonymous sibling /api/docs/openapi.json is reduced to the curated public allowlist; this route requires authentication (JWT bearer header or session cookie), or a canonical tenant-bound API key with its own explicit api-docs.full:read scope (never implied by bank-import rights). Route-local AuthMiddleware, ApiKeyMiddleware and the key-only ActionPermission check enforce this; no key is granted new rights. Anonymous callers receive 401 and should use /api/docs/openapi.json instead.","operationId":"serveFullOpenApiJson","security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Unfiltered compiled OpenAPI document as JSON","content":{"application/json":{"schema":{"type":"object","description":"Complete OpenAPI specification document"}}}},"401":{"description":"Not authenticated — use the public /api/docs/openapi.json","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Valid key without explicit api-docs.full:read or matching active tenant binding"},"429":{"description":"Machine authentication rate limit exceeded"},"503":{"description":"Machine authentication storage unavailable"}}}},"/api/docs/openapi.json":{"get":{"tags":["ApiDocs"],"summary":"Get the unified aggregated OpenAPI specification","description":"Returns the merged OpenAPI document built from all discovered module specs plus the shared root contract.","operationId":"serveAggregatedOpenApiJson","responses":{"200":{"description":"Unified OpenAPI document as JSON","content":{"application/json":{"schema":{"type":"object","description":"Aggregated OpenAPI specification document"}}}}},"security":[]}},"/api/docs/sdk/{spec}/preview":{"get":{"tags":["ApiDocs"],"summary":"Preview generated SDK source","description":"Returns generated SDK source inline as JSON for quick inspection without downloading a file.","operationId":"previewSdk","parameters":[{"name":"spec","in":"path","required":true,"schema":{"type":"string"},"description":"Spec identifier from `/api/docs/specs`."},{"name":"target","in":"query","required":false,"schema":{"type":"string","enum":["typescript","php"],"default":"typescript"},"description":"SDK target language to preview."}],"responses":{"200":{"description":"Generated SDK preview payload","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"spec":{"type":"string"},"target":{"type":"string"},"filename":{"type":"string"},"contentType":{"type":"string"},"content":{"type":"string"}}}}}},"400":{"description":"Unsupported SDK target","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Spec not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[]}},"/api/docs/sdk/{spec}/{target}":{"get":{"tags":["ApiDocs"],"summary":"Download a generated SDK stub","description":"Returns generated TypeScript or PHP SDK source for a named OpenAPI spec.","operationId":"downloadSdk","parameters":[{"name":"spec","in":"path","required":true,"schema":{"type":"string"},"description":"Spec identifier from `/api/docs/specs`."},{"name":"target","in":"path","required":true,"schema":{"type":"string","enum":["typescript","php"]},"description":"SDK target language."}],"responses":{"200":{"description":"Generated SDK source file","content":{"text/typescript":{"schema":{"type":"string"}},"application/x-httpd-php":{"schema":{"type":"string"}}}},"400":{"description":"Unsupported SDK target","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Spec not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[]}},"/api/docs/specs":{"get":{"tags":["ApiDocs"],"summary":"List all available OpenAPI specifications","description":"Returns metadata for all discovered OpenAPI spec files (root-level and module-level).","operationId":"listSpecs","responses":{"200":{"description":"List of available specs","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/SpecMeta"}},"count":{"type":"integer","example":15}}}}}}},"security":[]}},"/api/docs/specs/{name}":{"get":{"tags":["ApiDocs"],"summary":"Get a specific OpenAPI specification","description":"Returns the parsed content of a named OpenAPI spec as JSON.","operationId":"getSpec","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"},"description":"The spec identifier (e.g. \"backend-openapi\", \"calculator\")"}],"responses":{"200":{"description":"Spec content as parsed JSON","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","description":"The parsed OpenAPI spec content"},"name":{"type":"string","example":"calculator"}}}}}},"404":{"description":"Spec not found","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"not_found"},"message":{"type":"string","example":"Spec 'nonexistent' not found"}}}}}}},"security":[]}},"/api/oauth/authorize":{"get":{"tags":["AgentOAuth"],"summary":"Authorization endpoint (consent page or redirect to the site login)","description":"Unknown client or unregistered redirect_uri → 400 error page, never a redirect. Other request errors redirect to redirect_uri with error, state and iss. Signed out → 302 to the site's login page with a same-origin returnTo (a cross-site entry without the SameSite=Strict cookie first gets a same-site reload page). Signed in → consent page.\n","operationId":"oauthAuthorize","x-itt-canonical-runtime-path":true,"security":[],"parameters":[{"name":"response_type","in":"query","required":true,"schema":{"type":"string","enum":["code"]}},{"name":"client_id","in":"query","required":true,"schema":{"type":"string"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"},"description":"Space-delimited; default = the client's registered scopes (dev.ucp.shopping.checkout:manage)."},{"name":"state","in":"query","required":false,"schema":{"type":"string","maxLength":1024}},{"name":"code_challenge","in":"query","required":true,"schema":{"type":"string","minLength":43,"maxLength":43}},{"name":"code_challenge_method","in":"query","required":true,"schema":{"type":"string","enum":["S256"]}},{"name":"ui_locales","in":"query","required":false,"schema":{"type":"string"},"description":"Optional page language hint (de, en, es)."}],"responses":{"200":{"description":"Consent page (or same-site reload page) as HTML.","content":{"text/html":{"schema":{"type":"string"}}}},"302":{"description":"Redirect to the site login, or to redirect_uri with error, state and iss."},"400":{"description":"Unknown client or redirect_uri not registered (HTML, no redirect).","content":{"text/html":{"schema":{"type":"string"}}}},"403":{"description":"Signed-in account cannot be linked here (other tenant or impersonation).","content":{"text/html":{"schema":{"type":"string"}}}},"429":{"description":"Rate limit exceeded."}}},"post":{"tags":["AgentOAuth"],"summary":"Consent decision of the signed-in user","description":"Form POST from the consent page with the platform CSRF token. approve → 302 to redirect_uri with code, state and iss; deny → error=access_denied. Not signed in → 401 page with a login link.\n","operationId":"oauthAuthorizeDecision","x-itt-canonical-runtime-path":true,"security":[],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["response_type","client_id","redirect_uri","code_challenge","code_challenge_method","decision","_csrf_token"],"properties":{"response_type":{"type":"string","enum":["code"]},"client_id":{"type":"string"},"redirect_uri":{"type":"string"},"scope":{"type":"string"},"state":{"type":"string"},"code_challenge":{"type":"string"},"code_challenge_method":{"type":"string","enum":["S256"]},"ui_locales":{"type":"string"},"decision":{"type":"string","enum":["approve","deny"]},"_csrf_token":{"type":"string"}}}}}},"responses":{"302":{"description":"Redirect to redirect_uri with code or error, plus state and iss."},"400":{"description":"Invalid request, invalid decision or failed origin check.","content":{"text/html":{"schema":{"type":"string"}}}},"401":{"description":"Not signed in to this site.","content":{"text/html":{"schema":{"type":"string"}}}},"403":{"description":"Missing/invalid CSRF token, or the account cannot be linked here."},"429":{"description":"Rate limit exceeded."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/oauth/revoke":{"post":{"tags":["AgentOAuth"],"summary":"Token revocation (RFC 7009) — an agent key revokes itself; a linking client revokes its linked tokens","description":"Client-authenticated like the token endpoint (expired keys may still be revoked). Always 200 once the client is authenticated; unknown or foreign tokens are ignored without revealing their existence.\n","operationId":"agentOAuthRevoke","security":[],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AgentOAuthRevokeRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthRevokeRequest"}}}},"responses":{"200":{"description":"Revocation processed (no body)."},"400":{"description":"invalid_request (token missing) or unauthorized_client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthError"}}}},"401":{"description":"invalid_client; WWW-Authenticate Basic.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthError"}}}},"429":{"description":"Rate limit exceeded."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/oauth/token":{"post":{"tags":["AgentOAuth"],"summary":"Client credentials grant (agent keys) and authorization code + PKCE grant (UCP identity linking)","description":"client_credentials — authenticate with client_secret_basic (Authorization Basic) or client_secret_post (client_id + client_secret in the body), never both. Optional scope may only narrow (subset check); the response reports the key's real scopes. Optional resource (RFC 8707) must be this origin or a URL below it. authorization_code (RFC 6749 §4.1.3 + RFC 7636) — registered linking client (public: client_id only; confidential: basic or post), code, redirect_uri and code_verifier. Code reuse, expiry, client or redirect_uri mismatch and failed PKCE are invalid_grant; a reused code also revokes the token it produced. No refresh token. Rate limited (10 per minute).\n","operationId":"agentOAuthToken","security":[],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/AgentOAuthTokenRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthTokenRequest"}}}},"responses":{"200":{"description":"Access token (the agent key) with token_type Bearer.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthTokenResponse"}}}},"400":{"description":"invalid_request, unsupported_grant_type, invalid_scope, invalid_target, invalid_grant (key expired) or unauthorized_client.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthError"}}}},"401":{"description":"invalid_client (unknown, revoked, wrong secret or foreign-tenant key); WWW-Authenticate Basic.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentOAuthError"}}}},"429":{"description":"Rate limit exceeded."},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/sandbox/provision":{"get":{"tags":["ApiDocs"],"summary":"Sandbox provisioning is POST-only","description":"Answers 405 with an Allow header so a machine caller learns the correct method instead of a misleading 401.","operationId":"sandboxProvisionMethodNotAllowed","responses":{"405":{"description":"Method not allowed (use POST)","headers":{"Allow":{"schema":{"type":"string","example":"POST, OPTIONS"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"error"},"code":{"type":"string","example":"METHOD_NOT_ALLOWED"},"error":{"type":"string","example":"method_not_allowed"},"message":{"type":"string"},"help_url":{"type":"string"}}}}}}},"security":[]},"post":{"tags":["ApiDocs"],"summary":"Provision a developer sandbox","operationId":"provisionSandbox","requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string"},"ttl":{"type":"integer"},"seed":{"type":"array","items":{"type":"string"}}}}}}},"responses":{"201":{"description":"Sandbox provisioned","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/SandboxProvisioned"}}}}}},"429":{"description":"Rate limited","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"security":[]}},"/api/sandbox/status/{sandboxId}":{"get":{"tags":["ApiDocs"],"summary":"Get developer sandbox status","operationId":"getSandboxStatus","parameters":[{"name":"sandboxId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Sandbox status","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/SandboxStatus"}}}}}},"404":{"description":"Sandbox not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[]}},"/api/ucp/booking-sessions":{"post":{"x-itt-canonical-runtime-path":true,"summary":"UCP lodging draft — create booking session (FeWo stay quote)","operationId":"ucpCreateBooking","security":[{"CommerceBearer":[]},[]],"description":"Unreleased draft, not in /.well-known/ucp. property.id fewo-tremmel; stays[] (accommodation_type.id, rate_plan.id standard, stay_dates, occupancy). Completion = NON-BINDING request the host confirms (complete_in_progress).","parameters":[{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UcpRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/booking-sessions/{id}":{"get":{"x-itt-canonical-runtime-path":true,"summary":"UCP lodging draft — get booking session","operationId":"ucpGetBooking","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"}],"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"}}},"put":{"x-itt-canonical-runtime-path":true,"summary":"UCP lodging draft — update booking session (full replacement)","operationId":"ucpUpdateBooking","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UcpRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/booking-sessions/{id}/cancel":{"post":{"x-itt-canonical-runtime-path":true,"summary":"UCP lodging draft — cancel booking session","operationId":"ucpCancelBooking","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/booking-sessions/{id}/complete":{"post":{"x-itt-canonical-runtime-path":true,"summary":"UCP lodging draft — complete booking session (non-binding request)","operationId":"ucpCompleteBooking","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UcpRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/checkout-sessions":{"post":{"x-itt-canonical-runtime-path":true,"summary":"UCP create checkout (same ACP session + adapter quote)","operationId":"ucpCreateCheckout","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UcpRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/checkout-sessions/{id}":{"get":{"x-itt-canonical-runtime-path":true,"summary":"UCP get checkout","operationId":"ucpGetCheckout","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"}],"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"}}},"put":{"x-itt-canonical-runtime-path":true,"summary":"UCP update checkout (full replacement, re-quote)","operationId":"ucpUpdateCheckout","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UcpRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/checkout-sessions/{id}/cancel":{"post":{"x-itt-canonical-runtime-path":true,"summary":"UCP cancel checkout","operationId":"ucpCancelCheckout","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/ucp/checkout-sessions/{id}/complete":{"post":{"x-itt-canonical-runtime-path":true,"summary":"UCP complete checkout (exactly one instrument of the advertised handler)","description":"ITT requires a commerce:order agent credential with settled admission. Only the exact stored access-pass payment bootstrap is exempt. Quotes remain free; FeWo guest requests keep their existing authorization.","operationId":"ucpCompleteCheckout","security":[{"CommerceBearer":[]},[]],"parameters":[{"$ref":"#/components/parameters/SessionId"},{"$ref":"#/components/parameters/UcpAgent"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UcpRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/UcpResource"},"201":{"$ref":"#/components/responses/UcpResource"},"400":{"$ref":"#/components/responses/UcpProtocolError"},"401":{"$ref":"#/components/responses/UcpProtocolError"},"403":{"$ref":"#/components/responses/UcpProtocolError"},"409":{"$ref":"#/components/responses/UcpProtocolError"},"422":{"$ref":"#/components/responses/UcpProtocolError"},"424":{"$ref":"#/components/responses/UcpProtocolError"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/webhooks/paypal":{"post":{"summary":"PayPal webhook","description":"Receives and processes PayPal webhook events (signature-verified, no auth)","operationId":"handlePaypalWebhook","tags":["Webhooks"],"parameters":[{"in":"header","name":"Paypal-Auth-Algo","required":true,"schema":{"type":"string"},"description":"PayPal auth algorithm header verified as part of webhook signature validation."},{"in":"header","name":"Paypal-Cert-Url","required":true,"schema":{"type":"string"},"description":"PayPal certificate URL header used during webhook signature verification."},{"in":"header","name":"Paypal-Transmission-Id","required":true,"schema":{"type":"string"},"description":"PayPal transmission ID header verified with the webhook signature."},{"in":"header","name":"Paypal-Transmission-Sig","required":true,"schema":{"type":"string"},"description":"PayPal transmission signature header verified against the webhook payload."},{"in":"header","name":"Paypal-Transmission-Time","required":true,"schema":{"type":"string"},"description":"PayPal transmission timestamp header verified as part of webhook signature validation."}],"responses":{"200":{"description":"Webhook processed"},"400":{"description":"Invalid webhook payload or signature"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/api/webhooks/stripe":{"post":{"summary":"Stripe webhook","description":"Receives and processes Stripe webhook events (signature-verified, no auth)","operationId":"handleStripeWebhook","tags":["Webhooks"],"parameters":[{"in":"header","name":"Stripe-Signature","required":true,"schema":{"type":"string"},"description":"Stripe webhook signature header verified against the configured webhook secret."}],"responses":{"200":{"description":"Webhook processed"},"400":{"description":"Invalid webhook payload or signature"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/auth/csrf":{"get":{"summary":"CSRF-Token für anonyme Login-/Kontaktflows abrufen (#27412)","description":"Öffentlicher Bootstrap-Endpunkt: ein nicht angemeldeter Browser muss ein CSRF-Token holen können, BEVOR er sich anmeldet oder das öffentliche Kontaktformular absendet. Spiegelt /security/csrf/token im /api/auth/*-Namespace. Reine GET-Token-Ausgabe; mutierende Routen erzwingen weiterhin CSRF + Origin-Check.\n","responses":{"200":{"description":"CSRF-Token","content":{"application/json":{"schema":{"type":"object","properties":{"token":{"type":"string"}}}}}},"429":{"description":"Rate-Limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/auth/csrf-token":{"get":{"summary":"CSRF-Token abrufen (Fallback-Handler, liefert aktuell HTML vom SPA-Catchall)","description":"Spezifischer Eintrag, damit der zu gierige DataStore-Wildcard `/{module}/{id}` diesen Pfad nicht mehr catcht.","responses":{"200":{"description":"CSRF-Token oder HTML-Fallback","content":{"application/json":{"schema":{"type":"object","properties":{"csrfToken":{"type":"string"}}}},"text/html":{"schema":{"type":"string"}}}},"429":{"description":"Rate-Limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Serverfehler","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/auth/login":{"post":{"summary":"Benutzer-Login","description":"CSRF-exempt kann konfiguriert werden; danach Token-basierte Authentifizierung per Bearer.","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"},"rememberMe":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Login erfolgreich","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"userId":{"type":"integer"},"displayName":{"type":"string"},"userType":{"type":"string"},"token":{"type":"string","nullable":true},"expiresIn":{"type":"integer"},"auth":{"type":"object","properties":{"issuedBearer":{"type":"boolean"},"issuedCookie":{"type":"boolean"},"acceptsBearer":{"type":"boolean"},"acceptsCookie":{"type":"boolean"}}}}}}}},"400":{"description":"Ungültige Anfrage","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"invalid_request"}}}}}},"403":{"$ref":"#/components/responses/CsrfRejected"},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Ungültige Anmeldedaten","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"invalid_credentials"}}}}}},"429":{"description":"Zu viele Anfragen (Rate Limit)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"JWT-Konfiguration ungültig","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"jwt_config_invalid"}}}}}}}}},"/auth/refresh":{"post":{"summary":"Auto-derived POST /api/auth/refresh","description":"Auto-derived from route registration in src/routes/auth_routes.php:80.","tags":["Auth"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"},"201":{"description":"Created"},"202":{"description":"Accepted (queued for asynchronous processing)"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/routes/auth_routes.php","x-source-line":80}},"/auth/refresh-token":{"post":{"summary":"Sitzungstoken erneuern","responses":{"200":{"description":"Token erfolgreich erneuert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericObject"}}}},"401":{"description":"Nicht authentifiziert","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"$ref":"#/components/responses/CsrfRejected"},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Zu viele Anfragen (Rate Limit)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Interner Fehler","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/auth/register":{"post":{"summary":"Benutzer registrieren","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"additionalProperties":true,"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"}}}}}},"responses":{"200":{"description":"Registrierung verarbeitet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenericObject"}}}},"400":{"description":"Ungültige Registrierungsdaten","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"$ref":"#/components/responses/CsrfRejected"},"415":{"description":"Unsupported Media Type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Zu viele Anfragen (Rate Limit)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Interner Fehler","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/billing/plans/compare":{"get":{"summary":"Auto-derived GET /api/billing/plans/compare","description":"Auto-derived from route registration in src/Modules/Billing/BillingModulePublicRoutesTrait.php:65.","tags":["Billing"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Billing/BillingModulePublicRoutesTrait.php","x-source-line":65}},"/docs":{"get":{"summary":"Auto-derived GET /api/docs","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSwaggerUiTrait.php:13.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSwaggerUiTrait.php","x-source-line":13}},"/docs/assets/{file}":{"get":{"summary":"Auto-derived GET /api/docs/assets/{file}","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSwaggerUiTrait.php:44.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSwaggerUiTrait.php","x-source-line":44}},"/docs/cli":{"get":{"summary":"Auto-derived GET /api/docs/cli","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerCliTrait.php:15.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerCliTrait.php","x-source-line":15}},"/docs/cli/itt":{"get":{"summary":"Auto-derived GET /api/docs/cli/itt","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerCliTrait.php:54.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerCliTrait.php","x-source-line":54}},"/docs/errors":{"get":{"summary":"Auto-derived GET /api/docs/errors","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerErrorsTrait.php:12.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerErrorsTrait.php","x-source-line":12}},"/docs/examples":{"get":{"summary":"Auto-derived GET /api/docs/examples","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerExamplesTrait.php:13.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerExamplesTrait.php","x-source-line":13}},"/docs/examples/{category}/{file}":{"get":{"summary":"Auto-derived GET /api/docs/examples/{category}/{file}","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerExamplesTrait.php:74.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerExamplesTrait.php","x-source-line":74}},"/docs/openapi-full.json":{"get":{"summary":"Auto-derived GET /api/docs/openapi-full.json","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php:59.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php","x-source-line":59}},"/docs/openapi.json":{"get":{"summary":"Auto-derived GET /api/docs/openapi.json","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php:13.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php","x-source-line":13}},"/docs/openapi.yaml":{"get":{"summary":"Auto-derived GET /api/docs/openapi.yaml","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php:150.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php","x-source-line":150}},"/docs/pricing":{"get":{"tags":["Agent Billing"],"summary":"Public agent price catalogue (integer minor units, self-service purchase, quota, discovery); no auth, same numbers as x-itt-pricing","operationId":"listAgentPricing","security":[],"responses":{"200":{"description":"Price catalogue","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentPricingCatalogueResponse"}}}},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/docs/sdk/{spec}/php":{"get":{"summary":"Auto-derived GET /api/docs/sdk/{spec}/php","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Service/SdkGeneratorService.php:16.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Service/SdkGeneratorService.php","x-source-line":16}},"/docs/sdk/{spec}/preview":{"get":{"summary":"Auto-derived GET /api/docs/sdk/{spec}/preview","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSdkTrait.php:40.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSdkTrait.php","x-source-line":40}},"/docs/sdk/{spec}/typescript":{"get":{"summary":"Auto-derived GET /api/docs/sdk/{spec}/typescript","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Service/SdkGeneratorService.php:15.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Service/SdkGeneratorService.php","x-source-line":15}},"/docs/sdk/{spec}/{target}":{"get":{"summary":"Auto-derived GET /api/docs/sdk/{spec}/{target}","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSdkTrait.php:14.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSdkTrait.php","x-source-line":14}},"/docs/specs":{"get":{"summary":"Auto-derived GET /api/docs/specs","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSpecsTrait.php:19.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSpecsTrait.php","x-source-line":19}},"/docs/specs/{name}":{"get":{"summary":"Auto-derived GET /api/docs/specs/{name}","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSpecsTrait.php:52.","tags":["Docs"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSpecsTrait.php","x-source-line":52}},"/health":{"get":{"summary":"Health-Check des Backends","description":"Prüft den Status der Anwendung, der Datenbank, des Mailservers und der Schreibrechte im Log-Verzeichnis.\n","responses":{"200":{"description":"Health-Status und Detailchecks","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"checks":{"type":"object","properties":{"database":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"error":{"type":"string","nullable":true,"example":null}}},"mailserver":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"error":{"type":"string","nullable":true,"example":null}}},"logdir":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"error":{"type":"string","nullable":true,"example":null}}}}}}},"example":{"status":"ok","checks":{"database":{"status":"ok"},"mailserver":{"status":"ok"},"logdir":{"status":"ok"}}}}}},"403":{"description":"Invalid authentication token supplied on a public endpoint","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/health/db":{"get":{"summary":"Dedizierte DB-Health-Route mit strukturiertem JSON","description":"Auto-derived from route registration in src/routes/health_routes.php:152.","tags":["Health"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/routes/health_routes.php","x-source-line":152}},"/health/live":{"get":{"summary":"Auto-derived GET /api/health/live","description":"Auto-derived from route registration in src/Modules/Health/Module.php:72.","tags":["Health"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Health/Module.php","x-source-line":72}},"/health/portal-fop":{"get":{"summary":"Auto-derived GET /api/health/portal-fop","description":"Auto-derived from route registration in src/Modules/Health/Module.php:104.","tags":["Health"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Health/Module.php","x-source-line":104}},"/health/ready":{"get":{"summary":"Auto-derived GET /api/health/ready","description":"Auto-derived from route registration in src/Modules/Health/Module.php:76.","tags":["Health"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Health/Module.php","x-source-line":76}},"/health/scheduler":{"get":{"summary":"Auto-derived GET /api/health/scheduler","description":"Auto-derived from route registration in src/Modules/Health/Module.php:88.","tags":["Health"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Health/Module.php","x-source-line":88}},"/health/startup":{"get":{"summary":"Auto-derived GET /api/health/startup","description":"Auto-derived from route registration in src/Modules/Health/Module.php:80.","tags":["Health"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Health/Module.php","x-source-line":80}},"/health/uptime":{"get":{"summary":"Get recent uptime percentages","description":"Returns uptime percentages derived from recorded `/api/health` checks.\n`healthy` and `degraded` samples count as available; `unhealthy`\nsamples count as downtime. Windows cover the last 24 hours, 7 days,\nand 30 days.\n","operationId":"getHealthUptime","tags":["Health"],"responses":{"200":{"description":"Uptime percentages for the configured windows","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UptimeResponse"},"example":{"generated_at":"2026-02-07T12:00:00Z","windows":{"last_24h":{"window_start":"2026-02-06T12:00:00Z","uptime_percentage":100,"sample_count":24,"up_samples":24,"down_samples":0},"last_7d":{"window_start":"2026-01-31T12:00:00Z","uptime_percentage":99.4,"sample_count":168,"up_samples":167,"down_samples":1},"last_30d":{"window_start":"2026-01-08T12:00:00Z","uptime_percentage":99.8,"sample_count":720,"up_samples":719,"down_samples":1}}}}}}}}},"/mcp":{"post":{"operationId":"mcpGateway","tags":["AgentAuth"],"summary":"MCP gateway (JSON-RPC 2.0 over Streamable HTTP, read-only slice)","description":"Job-delegated credentials accept only tools/list and tools/call for four own-user timetracking GET tools. Their TTL is at most 600 seconds, budget six attempted calls per token and twelve MCP requests per owner per minute. Refusals return 403, expired/revoked credentials 401, exhausted budgets 429 with Retry-After. Source results are bounded to 8192 bytes and pseudonymized before reaching the model. Model Context Protocol endpoint (protocol revision 2025-06-18). Stateless Streamable HTTP: every call is answered with a single JSON body (no SSE stream, no Mcp-Session-Id); JSON-RPC batches are rejected. Methods: initialize, ping, tools/list, tools/call; notifications/* are accepted with 202 and no body. Authentication: agent bearer tokens ONLY (itt_agt_…, any valid scope) via the central AuthMiddleware agent-token path (catalogue action mcp.gateway) — sessions/PATs are refused with a JSON-RPC -32001 auth error. tools/list projects the agent route policy catalogue as scope-filtered read-only MCP tools; tools/call dispatches internally through the full middleware pipeline (tenant scoping + audit identical to the REST agent path). Error mapping: malformed JSON -32700 (HTTP 400), batch/invalid envelope -32600 (HTTP 400), unknown method -32601, bad params / unknown tool -32602, scope-forbidden tools/call → result with isError:true.\n","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcRequest"}}}},"responses":{"200":{"description":"Single JSON-RPC 2.0 response envelope — either `result` (initialize/ping/tools payload, incl. tool results with isError:true for scope-forbidden calls) or `error` (-32601 / -32602).\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcResponse"}}}},"202":{"description":"Notification (request without id) accepted; no body."},"400":{"description":"Malformed agent token (platform envelope), or JSON-RPC transport error envelope (-32700 parse error / -32600 invalid request or batch).\n"},"401":{"description":"No credential presented, or a non-agent identity reached the gateway (JSON-RPC error -32001) — the MCP gateway is bearer agent-token only.\n"},"403":{"description":"Agent token not authorized (not found / revoked / expired / zero-scope) — platform error envelope from AuthMiddleware.\n"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-itt-pricing":{"capability":"capability.invoke","unit_price_minor":25,"currency":"EUR","unit":"request","quota_unit":"request","access_period_days":21,"quota":"/api/agent-auth/self-service/usage","action":"mcp.gateway","catalogue":"/api/docs/pricing"},"x-required-scope":"any","x-pii":true}},"/oauth/authorize":{"get":{"tags":["SSO"],"summary":"Authorize an OIDC provider client for the signed-in ITT user","security":[{"bearerAuth":[]}],"parameters":[{"name":"client_id","in":"query","required":true,"schema":{"type":"string"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","format":"uri"}},{"name":"response_type","in":"query","required":true,"schema":{"type":"string","enum":["code"]}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string"}},{"name":"nonce","in":"query","required":false,"schema":{"type":"string"}},{"name":"code_challenge","in":"query","required":false,"schema":{"type":"string"}},{"name":"code_challenge_method","in":"query","required":false,"schema":{"type":"string","enum":["S256"]}}],"responses":{"302":{"description":"Redirected to the allowlisted client redirect URI with code or error"},"400":{"description":"Invalid client request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoError"}}}}}}},"/oauth/revoke":{"post":{"summary":"Auto-derived POST /api/oauth/revoke","description":"Auto-derived from route declaration comment in src/Modules/AgentAuth/Module.php:52.","tags":["Oauth"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/AgentAuth/Module.php","x-source-line":52}},"/oauth/token":{"post":{"tags":["SSO"],"summary":"Exchange an authorization code for OIDC tokens","security":[],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/OidcTokenRequest"}},"application/json":{"schema":{"$ref":"#/components/schemas/OidcTokenRequest"}}}},"responses":{"200":{"description":"OIDC token response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OidcTokenResponse"}}}},"400":{"description":"Invalid grant or client request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoError"}}}},"401":{"description":"Client authentication failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsoError"}}}},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}}}},"/openapi.json":{"get":{"summary":"Auto-derived GET /api/openapi.json","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php:132.","tags":["Openapi.json"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerCompiledSpecTrait.php","x-source-line":132}},"/openapi.yaml":{"get":{"tags":["Portal"],"summary":"GET /openapi.yaml","description":"Public Portal operation. Tenant scope is resolved from the registered path or host; no bearer token is required.","operationId":"portalGetOpenapiYaml","parameters":[],"responses":{"200":{"description":"Successful Portal response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortalGetOpenapiYamlResponse"}}}}},"security":[]},"options":{"summary":"Auto-derived OPTIONS /openapi.yaml","description":"Auto-derived from route registration in src/Modules/Portal/Traits/PortalRoutesTrait.php:51.","tags":["Openapi.yaml"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Portal/Traits/PortalRoutesTrait.php","x-source-line":51}},"/sandbox/provision":{"get":{"summary":"Auto-derived GET /api/sandbox/provision","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSandboxMethodTrait.php:18.","tags":["Sandbox"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSandboxMethodTrait.php","x-source-line":18},"post":{"summary":"Auto-derived POST /api/sandbox/provision","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/ApiDocsHandlerSandboxMethodTrait.php:30.","tags":["Sandbox"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/ApiDocsHandlerSandboxMethodTrait.php","x-source-line":30}},"/sandbox/status/{sandboxId}":{"get":{"summary":"Auto-derived GET /api/sandbox/status/{sandboxId}","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/SandboxHandler.php:15.","tags":["Sandbox"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/SandboxHandler.php","x-source-line":15}},"/sandbox/{sandboxId}":{"delete":{"summary":"Auto-derived DELETE /api/sandbox/{sandboxId}","description":"Auto-derived from route declaration comment in src/Modules/ApiDocs/Http/SandboxHandler.php:16.","tags":["Sandbox"],"responses":{"200":{"description":"Successful response"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}},"x-auto-derived":true,"x-source-file":"src/Modules/ApiDocs/Http/SandboxHandler.php","x-source-line":16}},"/webhooks/paypal":{"options":{"summary":"Auto-derived OPTIONS /api/webhooks/paypal","description":"Auto-derived from route registration in src/Modules/Billing/BillingModuleAdminRoutesTrait.php:113.","tags":["Webhooks"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Billing/BillingModuleAdminRoutesTrait.php","x-source-line":113},"post":{"summary":"Auto-derived POST /api/webhooks/paypal","description":"Auto-derived from route registration in src/Modules/Billing/BillingModulePublicRoutesTrait.php:38.","tags":["Webhooks"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"},"201":{"description":"Created"},"202":{"description":"Accepted (queued for asynchronous processing)"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/Billing/BillingModulePublicRoutesTrait.php","x-source-line":38}},"/webhooks/stripe":{"options":{"summary":"Auto-derived OPTIONS /api/webhooks/stripe","description":"Auto-derived from route registration in src/Modules/Billing/BillingModuleAdminRoutesTrait.php:110.","tags":["Webhooks"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"}},"x-auto-derived":true,"x-source-file":"src/Modules/Billing/BillingModuleAdminRoutesTrait.php","x-source-line":110},"post":{"summary":"Public webhook endpoints (no auth — verified by signature)","description":"Auto-derived from route registration in src/Modules/Billing/BillingModulePublicRoutesTrait.php:31.","tags":["Webhooks"],"responses":{"4XX":{"description":"Client error"},"5XX":{"description":"Server error"},"200":{"description":"Successful response"},"201":{"description":"Created"},"202":{"description":"Accepted (queued for asynchronous processing)"},"415":{"$ref":"#/components/responses/PlatformUnsupportedRequestMediaType"}},"x-auto-derived":true,"x-source-file":"src/Modules/Billing/BillingModulePublicRoutesTrait.php","x-source-line":31}}},"components":{"schemas":{"AbsenceBalance":{"type":"object","properties":{"employee_id":{"type":"string"},"year":{"type":"integer"},"entitlement_days":{"type":"number"},"used_days":{"type":"number"},"remaining_days":{"type":"number"}}},"AbsenceCreateRequest":{"type":"object","required":["employee_id","start_date"],"properties":{"employee_id":{"type":"string"},"type":{"$ref":"#/components/schemas/AbsenceType"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date","nullable":true},"days":{"type":"number","nullable":true},"note":{"type":"string","nullable":true}}},"AbsenceDecisionRequest":{"type":"object","required":["decision","decided_by"],"properties":{"decision":{"type":"string","enum":["approve","reject","cancel"]},"decided_by":{"type":"string"},"reject_reason":{"type":"string","nullable":true}}},"AbsenceEntitlementRequest":{"type":"object","required":["year","entitlement_days"],"properties":{"year":{"type":"integer"},"entitlement_days":{"type":"number"}}},"AbsenceEntry":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"integer"},"employee_id":{"type":"string"},"type":{"$ref":"#/components/schemas/AbsenceType"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date","nullable":true},"days":{"type":"number","nullable":true},"status":{"type":"string","enum":["pending","approved","rejected","cancelled"]},"decided_by":{"type":"string","nullable":true},"decided_at":{"type":"string","nullable":true},"reject_reason":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}}},"AbsenceType":{"type":"string","enum":["vacation","sick","parental","training","unpaid","other"]},"AccommodationBankSettlementEvidence":{"type":"object","additionalProperties":false,"required":["id","date","amount","commission","bankConnectionId","bankCurrency","bankReference","bankProviderTransactionId","bankSourceOccurrenceId"],"properties":{"id":{"type":"string","minLength":1},"date":{"type":"string","format":"date"},"amount":{"type":"string","pattern":"^\\\\d+(?:\\\\.\\\\d{1,2})?$"},"commission":{"type":"string","pattern":"^\\\\d+(?:\\\\.\\\\d{1,2})?$"},"bankTransactionId":{"type":"string"},"bankConnectionId":{"type":"integer","minimum":1},"bankCurrency":{"type":"string","pattern":"^[A-Z]{3}$"},"bankReference":{"type":"string"},"bankProviderTransactionId":{"type":"string","minLength":1},"bankSourceOccurrenceId":{"type":"string","pattern":"^sha256:[a-f0-9]{64}:record:[1-9][0-9]*:manifest:[1-9][0-9]*$"}}},"AccommodationOccupancyConfig":{"type":"object","additionalProperties":false,"required":["layout","rules"],"properties":{"source_payload_mode":{"type":"string","enum":["full","on_request","ui_fields"],"default":"full","description":"Controls raw import payload exposure in booking and occupancy admin responses."},"layout":{"type":"object","additionalProperties":false,"required":["floors"],"properties":{"floors":{"type":"array","maxItems":12,"items":{"type":"object","additionalProperties":false,"required":["id","label","cells"],"properties":{"id":{"type":"string","minLength":1,"maxLength":32},"label":{"type":"string","minLength":1,"maxLength":64},"cells":{"type":"array","minItems":1,"maxItems":24,"items":{"nullable":true,"type":"string","maxLength":32}}}}}}},"rules":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["id","portal","booking_title","room_ids"],"properties":{"id":{"type":"string","minLength":1,"maxLength":64},"portal":{"type":"string","minLength":1,"maxLength":80},"booking_title":{"type":"string","minLength":1,"maxLength":120},"room_ids":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":32}}}}},"policy":{"type":"object","additionalProperties":true,"required":["mode","default_buffer_days","pre_days","post_days","max_free_gap_days","emergency_lead_days","room_groups","paired_rooms","blocking_rooms","room_type_map"],"properties":{"mode":{"type":"string","enum":["careful","emergency-light"]},"default_buffer_days":{"type":"integer","minimum":0,"maximum":30},"pre_days":{"type":"integer","minimum":0,"maximum":30},"post_days":{"type":"integer","minimum":0,"maximum":30},"max_free_gap_days":{"type":"integer","minimum":0,"maximum":30},"emergency_lead_days":{"type":"integer","minimum":0,"maximum":365},"room_groups":{"type":"object","required":["main","extra"],"properties":{"main":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"extra":{"type":"array","uniqueItems":true,"items":{"type":"string"}}}},"paired_rooms":{"type":"array","items":{"type":"array","minItems":2,"uniqueItems":true,"items":{"type":"string"}}},"blocking_rooms":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"reserve_rooms":{"type":"array","uniqueItems":true,"items":{"type":"string"}},"reserve_room_emergency_pad_days":{"type":"integer","minimum":0,"maximum":30},"reserve_room_cleaning_companions":{"type":"object","additionalProperties":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string"}}},"room_type_map":{"type":"object","additionalProperties":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"string"}}},"unit_model":{"type":"object","properties":{"labels":{"type":"object","additionalProperties":{"type":"string","maxLength":80}},"apartments":{"type":"object","additionalProperties":{"type":"object","required":["units"],"properties":{"units":{"type":"array","minItems":1,"items":{"type":"string"}},"label":{"type":"string","maxLength":120}}}},"room_type_apartments":{"type":"object","additionalProperties":{"type":"string"}},"aliases":{"type":"object","additionalProperties":{"type":"string"}},"counters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"counter_offers":{"type":"object","additionalProperties":{"type":"string"}},"assignment_rules":{"type":"array","maxItems":20,"items":{"type":"object","required":["source","bedrooms"],"properties":{"source":{"type":"string","maxLength":80},"bedrooms":{"type":"object","additionalProperties":{"type":"array","minItems":1,"items":{"type":"array","minItems":1,"items":{"type":"string"}}}}}}},"extraction_hints":{"type":"array","maxItems":20,"items":{"type":"object","required":["text","units"],"properties":{"text":{"type":"string","maxLength":200},"units":{"type":"array","minItems":1,"items":{"type":"string"}}}}}}}}}}},"AccommodationOccupancyTrendCell":{"type":"object","required":["key","offered_nights","occupied_nights","occupancy_rate","revenue","bookings","cancellations"],"properties":{"key":{"type":"string","description":"Period key (`YYYY-MM` or `YYYY-Www`)."},"offered_nights":{"type":"integer","minimum":0},"occupied_nights":{"type":"integer","minimum":0},"occupancy_rate":{"type":"number","minimum":0,"description":"occupied/offered; may exceed 1 on overlapping bookings."},"revenue":{"type":"number","description":"Prorated booking revenue share for this room and period (2 decimals)."},"adr":{"type":"number","nullable":true,"description":"revenue / occupied nights; null without occupancy."},"bookings":{"type":"integer","minimum":0},"cancellations":{"type":"integer","minimum":0},"avg_lead_time_days":{"type":"number","nullable":true,"description":"Mean booking lead time (created_at to check-in) in days; null when unknown."},"goal_amount":{"type":"number","description":"Monthly revenue goal (only when a matching goal exists)."},"goal_deviation_percent":{"type":"number","nullable":true,"description":"(revenue - goal) / goal * 100."},"prev_occupancy_rate":{"type":"number","description":"Only with compare=prev_year."},"prev_revenue":{"type":"number","description":"Only with compare=prev_year."}}},"AccommodationSecurityDepositBankEvidence":{"type":"object","additionalProperties":false,"required":["id","date","amount","bankConnectionId","bankCurrency","bankReference","bankProviderTransactionId","bankSourceOccurrenceId"],"properties":{"id":{"type":"string","minLength":1},"date":{"type":"string","format":"date"},"amount":{"type":"string","pattern":"^\\\\d+(?:\\\\.\\\\d{1,2})?$"},"bankTransactionId":{"type":"string"},"bankConnectionId":{"type":"integer","minimum":1},"bankCurrency":{"type":"string","pattern":"^[A-Z]{3}$"},"bankReference":{"type":"string"},"bankProviderTransactionId":{"type":"string","minLength":1},"bankSourceOccurrenceId":{"type":"string","pattern":"^sha256:[a-f0-9]{64}:record:[1-9][0-9]*:manifest:[1-9][0-9]*$"}}},"AccommodationSecurityDepositMovement":{"type":"object","additionalProperties":false,"required":["id","direction","date","amount","bankConnectionId","bankCurrency","bankReference","bankProviderTransactionId","bankSourceOccurrenceId"],"properties":{"id":{"type":"string","minLength":1},"direction":{"type":"string","enum":["received","returned"]},"date":{"type":"string","format":"date"},"amount":{"type":"string","pattern":"^\\\\d+(?:\\\\.\\\\d{1,2})?$"},"bankTransactionId":{"type":"string"},"bankConnectionId":{"type":"integer","minimum":1},"bankCurrency":{"type":"string","pattern":"^[A-Z]{3}$"},"bankReference":{"type":"string"},"bankProviderTransactionId":{"type":"string","minLength":1},"bankSourceOccurrenceId":{"type":"string","pattern":"^sha256:[a-f0-9]{64}:record:[1-9][0-9]*:manifest:[1-9][0-9]*$"}}},"AccommodationTaxPreparation":{"type":"object","required":["report_id","tenant_id","period","recognition","currency","lodging_vat_rate","euer_preparation","ust_preparation","provenance"],"properties":{"report_basis":{"type":"string","enum":["cash_basis_euer","journal_simulation_not_tax_basis"],"description":"Only cash_basis_euer is a tax basis; issued/check-in/check-out remain simulation views."},"report_id":{"type":"string"},"tenant_id":{"type":"string"},"period":{"type":"object","additionalProperties":{"type":"string"}},"recognition":{"type":"string","enum":["issued","paid"]},"currency":{"type":"string","enum":["EUR"]},"lodging_vat_rate":{"type":"string"},"euer_preparation":{"type":"object","required":["income_net_cents","income_vat_cents","income_gross_cents","original_net_cents","original_vat_cents","original_gross_cents","reversal_net_cents","reversal_vat_cents","reversal_gross_cents","invoice_count","adjustment_count"],"additionalProperties":{"type":"integer"}},"ust_preparation":{"type":"object","required":["taxable_net_cents","output_vat_cents","vat_rate","tax_form_reference","vat_buckets"],"properties":{"taxable_net_cents":{"type":"integer"},"output_vat_cents":{"type":"integer"},"vat_rate":{"type":"string"},"tax_form_reference":{"type":"string"},"vat_buckets":{"type":"array","items":{"type":"object","required":["vat_rate","original_net_cents","original_vat_cents","original_gross_cents","reversal_net_cents","reversal_vat_cents","reversal_gross_cents","net_cents","vat_cents","gross_cents"],"properties":{"vat_rate":{"type":"string"},"original_net_cents":{"type":"integer"},"original_vat_cents":{"type":"integer"},"original_gross_cents":{"type":"integer"},"reversal_net_cents":{"type":"integer"},"reversal_vat_cents":{"type":"integer"},"reversal_gross_cents":{"type":"integer"},"net_cents":{"type":"integer"},"vat_cents":{"type":"integer"},"gross_cents":{"type":"integer"}}}}}},"provenance":{"type":"object","additionalProperties":true}}},"Account":{"type":"object","required":["id","tenant_id","account_number","name","type","is_active","created_at","updated_at"],"properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"account_number":{"type":"string","example":"1200"},"name":{"type":"string","example":"Bank"},"type":{"type":"string","enum":["asset","liability","equity","revenue","expense"],"example":"asset"},"category":{"type":"string","nullable":true,"example":"Umlaufvermoegen"},"is_active":{"type":"integer","enum":[0,1],"example":1},"parent_account":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"description":"Provenance origin; writable only via patchAccountProvenance (#46083).","example":"erp_import"},"external_id":{"type":"string","nullable":true,"description":"Provenance external id; writable only via patchAccountProvenance (#46083)."},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"AccountCreate":{"type":"object","required":["account_number","name","type"],"properties":{"account_number":{"type":"string","example":"1210"},"name":{"type":"string","example":"Postbank"},"type":{"type":"string","enum":["asset","liability","equity","revenue","expense"]},"category":{"type":"string","nullable":true},"is_active":{"type":"integer","enum":[0,1],"default":1},"parent_account":{"type":"string","nullable":true}}},"AccountLedger":{"type":"object","required":["account_number","entries","closing_balance"],"properties":{"account_number":{"type":"string"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/AccountLedgerEntry"}},"closing_balance":{"type":"number","format":"double"}}},"AccountLedgerEntry":{"type":"object","required":["id","booking_date","description","debit_account","credit_account","debit","credit","balance"],"properties":{"id":{"type":"integer"},"booking_date":{"type":"string","format":"date"},"document_number":{"type":"string","nullable":true},"description":{"type":"string"},"debit_account":{"type":"string"},"credit_account":{"type":"string"},"debit":{"type":"number","format":"double"},"credit":{"type":"number","format":"double"},"balance":{"type":"number","format":"double","description":"Running balance"}}},"AccountProvenancePatch":{"type":"object","description":"#46083 provenance patch. The admitted pair is fixed by the SQL-layer\nwrite guard: source must be erp_import and external_id must equal the\naccount's account_number.\n","minProperties":1,"properties":{"source":{"type":"string","enum":["erp_import"],"example":"erp_import"},"external_id":{"type":"string","description":"Must equal the account's account_number.","example":"1200"}}},"AccountingPostingRules_PreviewEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["columns","rows","rule_count","source_count","mode"],"properties":{"columns":{"type":"array","items":{"type":"string"}},"rows":{"type":"array","items":{"$ref":"#/components/schemas/PostingRow"}},"rule_count":{"type":"integer","minimum":0},"source_count":{"type":"integer","minimum":0},"mode":{"$ref":"#/components/schemas/Mode"}}}}},"AccountingReports_ErrorEnvelope":{"type":"object","required":["status","error","message"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string"},"error":{"type":"string"},"message":{"type":"string"}}},"AccountingReports_Pagination":{"type":"object","required":["page","pageSize","total","hasMore","maxPageSize"],"properties":{"page":{"type":"integer","minimum":1},"pageSize":{"type":"integer","minimum":1,"maximum":1000},"total":{"type":"integer","minimum":0},"hasMore":{"type":"boolean"},"maxPageSize":{"type":"integer","enum":[1000]}}},"ActionCreateRequest":{"type":"object","required":["description","owner_user_id","target_date"],"properties":{"description":{"type":"string"},"owner_user_id":{"type":"string"},"target_date":{"type":"string"}}},"ActivitySummary":{"type":"object","properties":{"user_id":{"type":"string"},"year":{"type":"integer"},"month":{"type":"integer"},"total_minutes":{"type":"integer"},"activity_count":{"type":"integer"}}},"ActivityType":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"parent_id":{"type":"integer","nullable":true},"max_minutes_onboarding":{"type":"integer","nullable":true},"max_minutes_regular":{"type":"integer","nullable":true},"is_active":{"type":"integer"},"sort_order":{"type":"integer"},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ActivityTypeInput":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"parent_id":{"type":"integer"},"max_minutes_onboarding":{"type":"integer"},"max_minutes_regular":{"type":"integer"},"is_active":{"type":"integer"},"sort_order":{"type":"integer"},"legacy_id":{"type":"string"}}},"AdminAccountDiagnostic":{"type":"object","additionalProperties":false,"required":["id","tenantId","userType","roles","isVerified","status","locked","lastLogin","mustChangePassword","passwordExpired","testAccountExpired","loginLockout"],"properties":{"id":{"type":"integer"},"tenantId":{"type":"string"},"userType":{"type":"string"},"roles":{"type":"array","items":{"type":"string"}},"isVerified":{"type":"boolean"},"status":{"type":"string","enum":["active","inactive","locked","unverified","expired","unknown"]},"locked":{"type":"boolean","nullable":true},"lastLogin":{"type":"string","nullable":true},"mustChangePassword":{"type":"boolean","nullable":true},"passwordExpired":{"type":"boolean","nullable":true},"testAccountExpired":{"type":"boolean","nullable":true},"loginLockout":{"type":"object","required":["available","attempts","limited","counterMode"],"properties":{"available":{"type":"boolean"},"attempts":{"type":"number","nullable":true},"limited":{"type":"boolean","nullable":true},"counterMode":{"type":"string","nullable":true,"enum":["sliding","weighted"]}}}}},"AdminAppInstance":{"type":"object","additionalProperties":true,"properties":{"instance_id":{"type":"string"},"tenant_id":{"type":"string"},"user_id":{"type":"integer"},"module_id":{"type":"string"},"label":{"type":"string"},"pricing_tier":{"type":"string"},"sort_order":{"type":"integer"},"pinned":{"type":"boolean"},"config":{"oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":[]}]},"enabled_tabs":{"nullable":true,"oneOf":[{"type":"array","items":{"type":"string"}},{"type":"object","additionalProperties":true}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"AdminBundleMutationItem":{"type":"object","properties":{"module_id":{"type":"string"},"instance_id":{"type":"string"},"reason":{"type":"string"}}},"AdminCustomerAppsListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["user","instances","total"],"properties":{"user":{"$ref":"#/components/schemas/AdminCustomerRef"},"instances":{"type":"array","items":{"$ref":"#/components/schemas/AdminAppInstance"}},"total":{"type":"integer"}}}}},"AdminCustomerListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["users","total","limit","offset"],"properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/AdminCustomerSummary"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}},"AdminCustomerRef":{"type":"object","required":["id","email","tenant_id"],"properties":{"id":{"type":"integer"},"email":{"type":"string","format":"email"},"tenant_id":{"type":"string"}}},"AdminCustomerSummary":{"type":"object","required":["id","email","display_name","tenant_id","user_type","installed_count"],"properties":{"id":{"type":"integer"},"email":{"type":"string","format":"email"},"display_name":{"type":"string"},"tenant_id":{"type":"string"},"user_type":{"type":"string"},"installed_count":{"type":"integer"}}},"AdminEditableListing":{"type":"object","required":["id","values","revision"],"properties":{"id":{"type":"integer","minimum":1},"values":{"type":"object","additionalProperties":true},"revision":{"type":"string"}}},"AdminErrorResponse":{"type":"object","additionalProperties":true,"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}},"AdminInstallBundleRequest":{"allOf":[{"$ref":"#/components/schemas/AdminModuleInstallRequestBase"},{"type":"object","properties":{"label_suffix":{"type":"string","description":"Optional suffix appended to generated instance labels."}}}]},"AdminInstallBundleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["bundle_id","user_id","tenant_id","inserted","skipped","totalNow"],"properties":{"bundle_id":{"type":"string"},"user_id":{"type":"integer"},"tenant_id":{"type":"string"},"inserted":{"type":"array","items":{"$ref":"#/components/schemas/AdminBundleMutationItem"}},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/AdminBundleMutationItem"}},"totalNow":{"type":"integer"}}}}},"AdminInstallSingleAppRequest":{"allOf":[{"$ref":"#/components/schemas/AdminModuleInstallRequestBase"},{"type":"object","required":["module_id"],"properties":{"module_id":{"type":"string"},"label":{"type":"string","description":"Optional label override; defaults to the module id."}}}]},"AdminInstallSingleAppResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["instance","created"],"properties":{"instance":{"$ref":"#/components/schemas/AdminAppInstance"},"created":{"type":"boolean"}}}}},"AdminListingField":{"type":"object","required":["key","type","readonly","filterOp"],"properties":{"key":{"type":"string"},"type":{"type":"string"},"label":[],"readonly":{"type":"boolean"},"filterOp":{"type":"string","nullable":true,"enum":["contains","equals","in","between",null]},"options":{"type":"array","items":[]},"enum":{"type":"array","items":[]},"allowedValues":{"type":"array","items":[]},"range":{"type":"object"}}},"AdminMessagingBootstrapError":{"type":"object","properties":{"error":{"type":"string"}}},"AdminMigrations_ErrorResponse":{"type":"object","required":["status","code","message","help_url","requestId"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string"},"message":{"type":"string"},"help_url":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"object"}}},"AdminModuleInstallRequestBase":{"type":"object","properties":{"pricing_tier":{"type":"string","description":"Defaults to `demo` when omitted.","enum":["demo","standard","allyoucaneat"]}}},"AdminRemovedInstance":{"type":"object","required":["instance_id"],"properties":{"instance_id":{"type":"string"}}},"AdminResetAppsRequest":{"type":"object","required":["confirm"],"properties":{"confirm":{"type":"string","description":"Must match the target user's email exactly."}}},"AdminResetAppsResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["user_id","tenant_id","removedCount"],"properties":{"user_id":{"type":"integer"},"tenant_id":{"type":"string"},"removedCount":{"type":"integer"}}}}},"AdminUninstallBundleResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["bundle_id","user_id","tenant_id","removed","totalNow"],"properties":{"bundle_id":{"type":"string"},"user_id":{"type":"integer"},"tenant_id":{"type":"string"},"removed":{"type":"array","items":{"$ref":"#/components/schemas/AdminBundleMutationItem"}},"totalNow":{"type":"integer"}}}}},"AdminUninstallSingleAppResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["module_id","user_id","tenant_id","removed","removedCount"],"properties":{"module_id":{"type":"string"},"user_id":{"type":"integer"},"tenant_id":{"type":"string"},"removed":{"type":"array","items":{"$ref":"#/components/schemas/AdminRemovedInstance"}},"removedCount":{"type":"integer"}}}}},"AfaConfig":{"type":"object","required":["building_share_basis_points","annual_rate_basis_points"],"properties":{"building_share_basis_points":{"type":"integer","minimum":1,"maximum":10000},"annual_rate_basis_points":{"type":"integer","minimum":1,"maximum":10000}}},"AfaResult":{"type":"object","required":["status","amount_cents"],"properties":{"status":{"type":"string","enum":["calculated","open"]},"amount_cents":{"type":"string","nullable":true,"pattern":"^-?[0-9]+$"},"building_basis_cents":{"type":"string","nullable":true,"pattern":"^[0-9]+$"},"building_share_basis_points":{"type":"integer","nullable":true},"annual_rate_basis_points":{"type":"integer","nullable":true},"acquisition_cost_cents":{"type":"string","nullable":true,"pattern":"^[0-9]+$"},"acquisition_date":{"type":"string","format":"date","nullable":true},"gap_code":{"type":"string","nullable":true}}},"AgentAction":{"type":"object","required":["action"],"properties":{"action":{"type":"string","enum":["list","get","search","create","update","delete"]},"resource":{"type":"string","description":"Resource name from /api/agents/actions/resources (e.g. erp.document-types). Optional for search = cross-entity platform search."},"id":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"Required for get / update / delete."},"input":{"type":"object","additionalProperties":true,"description":"Required for create / update; shape per the resource input_schema."},"query":{"oneOf":[{"type":"string","description":"Search text (search)."},{"type":"object","additionalProperties":{"type":["string","integer","number","boolean"]},"description":"Query parameters (list) or an object with q (search)."}]},"types":{"type":"string","description":"Cross-entity search only - comma-separated types (customers/inventory/orders/invoices)."},"fields":{"type":"array","items":{"type":"string"},"description":"Field selection applied to returned records."},"limit":{"type":"integer","minimum":1,"maximum":500},"offset":{"type":"integer","minimum":0},"dry_run":{"type":"boolean","default":false,"description":"Validate + resolve + existence check; nothing is written."}}},"AgentActionEnvelope":{"type":"object","required":["success","results","meta"],"properties":{"success":{"type":"boolean"},"results":{"type":"array","items":{"type":"object","required":["index","ok","status"],"properties":{"index":{"type":"integer"},"ok":{"type":"boolean"},"status":{"type":"integer"},"action":{"type":"string"},"resource":{"type":"string","nullable":true},"dry_run":{"type":"boolean"},"result":{"type":"object"},"error":{"type":"object","properties":{"code":{"type":"string"},"status":{"type":"integer"},"message":{"type":"string"},"inner_code":{"type":"string","nullable":true}}}}}},"meta":{"type":"object","properties":{"total":{"type":"integer"},"failed":{"type":"integer"},"bulk":{"type":"boolean"},"idempotency_key":{"type":"string","nullable":true},"idempotent_replay":{"type":"boolean"}}}}},"AgentBilling_Error":{"type":"object","required":["error","message"],"properties":{"error":{"type":"string","example":"VALIDATION_ERROR"},"message":{"type":"string","example":"amount must be greater than zero."}}},"AgentOAuthError":{"type":"object","required":["error"],"properties":{"error":{"type":"string","enum":["invalid_request","invalid_client","invalid_grant","unauthorized_client","unsupported_grant_type","invalid_scope","invalid_target"]},"error_description":{"type":"string"}}},"AgentOAuthResourceMetadata":{"type":"object","required":["resource","authorization_servers","bearer_methods_supported"],"additionalProperties":true,"properties":{"resource":{"type":"string"},"authorization_servers":{"type":"array","items":{"type":"string"}},"scopes_supported":{"type":"array","items":{"type":"string"}},"bearer_methods_supported":{"type":"array","items":{"type":"string","enum":["header"]}},"resource_name":{"type":"string"},"resource_documentation":{"type":"string"}}},"AgentOAuthRevokeRequest":{"type":"object","required":["token"],"properties":{"token":{"type":"string"},"token_type_hint":{"type":"string"},"client_id":{"type":"string"},"client_secret":{"type":"string"}}},"AgentOAuthServerMetadata":{"type":"object","required":["issuer","token_endpoint","grant_types_supported","response_types_supported","scopes_supported"],"additionalProperties":true,"properties":{"issuer":{"type":"string"},"token_endpoint":{"type":"string"},"token_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"}},"authorization_endpoint":{"type":"string","description":"UCP identity linking (authorization code + PKCE S256)."},"grant_types_supported":{"type":"array","items":{"type":"string","enum":["client_credentials","authorization_code"]}},"code_challenge_methods_supported":{"type":"array","items":{"type":"string","enum":["S256"]}},"authorization_response_iss_parameter_supported":{"type":"boolean","description":"RFC 9207 — every authorization response carries iss."},"response_types_supported":{"type":"array","items":{"type":"string"}},"scopes_supported":{"type":"array","items":{"type":"string"}},"revocation_endpoint":{"type":"string"},"revocation_endpoint_auth_methods_supported":{"type":"array","items":{"type":"string"}},"introspection_endpoint":{"type":"string"},"service_documentation":{"type":"string"},"protected_resources":{"type":"array","items":{"type":"string"}}}},"AgentOAuthTokenRequest":{"type":"object","required":["grant_type"],"properties":{"grant_type":{"type":"string","enum":["client_credentials","authorization_code"]},"scope":{"type":"string","description":"client_credentials only; space-delimited subset of the key's scopes."},"resource":{"type":"string","description":"RFC 8707 resource indicator (this origin)."},"client_id":{"type":"string","description":"client_secret_post, or the public linking client (auth method none)."},"client_secret":{"type":"string","description":"client_secret_post only: the full agent key, or a confidential linking client's secret."},"code":{"type":"string","description":"authorization_code only; single-use, at most 10 minutes old."},"redirect_uri":{"type":"string","description":"authorization_code only; identical to the authorization request."},"code_verifier":{"type":"string","description":"authorization_code only; PKCE verifier (43-128 chars), S256-checked."}}},"AgentOAuthTokenResponse":{"type":"object","required":["access_token","token_type","scope"],"properties":{"access_token":{"type":"string","description":"client_credentials: the agent key; authorization_code: an opaque token bound to client, user and tenant (send as Authorization Bearer)."},"token_type":{"type":"string","enum":["Bearer"]},"expires_in":{"type":"integer","description":"Seconds until the token expires; absent for agent keys without expiry."},"scope":{"type":"string","description":"The granted scopes, space-delimited."}}},"AgentPrepaidBalance":{"type":"object","required":["balance_minor_units","tariff_minor_units","currency"],"properties":{"balance_minor_units":{"type":"integer","minimum":0,"example":495},"tariff_minor_units":{"type":"integer","enum":[5]},"currency":{"type":"string","enum":["EUR"]}}},"AgentPricingCapability":{"type":"object","required":["capability","unit_price_minor","currency","unit","label","routes"],"properties":{"capability":{"type":"string","example":"api.read"},"unit_price_minor":{"type":"integer","minimum":0,"description":"Integer minor units per metered unit (canonical)."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"unit":{"type":"string","example":"request"},"label":{"type":"object","required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"routes":{"type":"array","items":{"type":"object","properties":{"methods":{"type":"array","items":{"type":"string"}},"pattern":{"type":"string"},"scope":{"type":"string"},"action":{"type":"string"},"pii":{"type":"boolean"}}}}}},"AgentPricingCatalogue":{"type":"object","required":["version","currency","unit","quota","access","capabilities"],"properties":{"version":{"type":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"unit":{"type":"string","example":"request"},"money":{"type":"string"},"quota":{"type":"object","properties":{"included_units_per_access_period":{"type":"integer"},"period_days":{"type":"integer"},"exceeded":{"type":"string"}}},"access":{"type":"object","description":"Self-service token purchase descriptor","properties":{"mode":{"type":"string","example":"self-service"},"order":{"type":"string"},"issue":{"type":"string"},"access_status":{"type":"string"},"price_minor":{"type":"integer"},"currency":{"type":"string"},"period_days":{"type":"integer"},"auto_renew":{"type":"boolean"},"scopes":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"string"}}},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/AgentPricingCapability"}},"metering":{"type":"object","additionalProperties":true},"discovery":{"type":"object","additionalProperties":true}}},"AgentPricingCatalogueResponse":{"type":"object","required":["success","data","count"],"properties":{"success":{"type":"boolean"},"count":{"type":"integer"},"description":{"type":"string"},"data":{"$ref":"#/components/schemas/AgentPricingCatalogue"}}},"AgentRegistryArtifactCustody":{"type":"object","additionalProperties":false,"required":["artifact_id","kind","custody","sha256","bytes"],"properties":{"artifact_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"kind":{"type":"string","enum":["git_source","non_git_archive","result_report"]},"custody":{"type":"string","enum":["origin","private_archive"]},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","minimum":1,"maximum":9007199254740991}},"oneOf":[{"properties":{"kind":{"const":"git_source"},"custody":{"const":"origin"}}},{"properties":{"kind":{"const":"non_git_archive"},"custody":{"const":"private_archive"}}},{"properties":{"kind":{"const":"result_report"}}}]},"AgentRegistryBootstrapReceipt":{"type":"object","additionalProperties":false,"required":["schema_version","tenant_id","actor_id","authority_id","claims_enabled","audit","request_id","claim_granted"],"properties":{"schema_version":{"type":"integer","const":1},"tenant_id":{"type":"string","description":"Verified context identity, never request-selected."},"actor_id":{"type":"string","description":"Verified original bootstrap principal."},"authority_id":{"type":"string","format":"uuid"},"claims_enabled":{"type":"boolean","const":false},"audit":{"type":"object","additionalProperties":false,"required":["id","sequence_number","hash"],"properties":{"id":{"type":"integer","minimum":1},"sequence_number":{"type":"integer","minimum":1},"hash":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"request_id":{"type":"string","description":"Original server request correlation."},"claim_granted":{"type":"boolean","const":false}}},"AgentRegistryChangeResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","const":true},"data":{"$ref":"#/components/schemas/AgentRegistryChangeResult"}}},"AgentRegistryChangeResult":{"type":"object","additionalProperties":false,"required":["authority_id","claims_authoritative","entry"],"properties":{"authority_id":{"type":"string","format":"uuid"},"claims_authoritative":{"type":"boolean","description":"Flag AT ORIGINAL COMMIT; replay is not current authority proof."},"entry":{"$ref":"#/components/schemas/AgentRegistryEntry"}}},"AgentRegistryCommandBase":{"type":"object","required":["schema_version","operation","expected_revision","reason"],"properties":{"schema_version":{"type":"integer","const":1},"operation":{"type":"string"},"expected_revision":{"type":"integer","minimum":0},"reason":{"type":"string","enum":["coordination","progress","recovery","completion"]}}},"AgentRegistryControlSnapshot":{"type":"object","additionalProperties":false,"required":["schema_version","tenant_id","actor_id","authority_id","claims_enabled","control_revision","challenge","request_id","claim_granted","fencing_verified","process_verified"],"properties":{"schema_version":{"type":"integer","const":1},"tenant_id":{"type":"string"},"actor_id":{"type":"string"},"authority_id":{"type":"string","format":"uuid"},"claims_enabled":{"type":"boolean","description":"Current row flag only; never an issued work claim."},"control_revision":{"type":"integer","minimum":0,"description":"Registry serialization counter, NOT a Git fencing epoch."},"challenge":{"type":"string","pattern":"^[a-f0-9]{64}$"},"request_id":{"type":"string"},"claim_granted":{"type":"boolean","const":false},"fencing_verified":{"type":"boolean","const":false},"process_verified":{"type":"boolean","const":false}}},"AgentRegistryCreate":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","required":["fields"],"properties":{"operation":{"const":"create"},"expected_revision":{"const":0},"fields":{"$ref":"#/components/schemas/AgentRegistryCreateFields"}}}],"unevaluatedProperties":false},"AgentRegistryCreateFields":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryFields"},{"type":"object","properties":{"status":{"const":"active"}}}]},"AgentRegistryDecideResult":{"type":"object","additionalProperties":false,"required":["schema_version","operation","expected_revision","expected_entry_revision","reason","result_id","decision","evidence"],"properties":{"schema_version":{"type":"integer","const":1},"operation":{"type":"string","const":"decide_result"},"expected_revision":{"type":"integer","minimum":0,"maximum":2147483647},"expected_entry_revision":{"type":"integer","minimum":1,"maximum":2147483647},"reason":{"type":"string","enum":["proof_passed","proof_failed","identity_mismatch"]},"result_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"decision":{"type":"string","enum":["accepted","rejected"]},"evidence":{"$ref":"#/components/schemas/AgentRegistryLifecycleDigest"}},"oneOf":[{"properties":{"decision":{"const":"accepted"},"reason":{"const":"proof_passed"}}},{"properties":{"decision":{"const":"rejected"},"reason":{"enum":["proof_failed","identity_mismatch"]}}}]},"AgentRegistryEntry":{"type":"object","additionalProperties":false,"required":["entry_id","schema_version","revision","actor_id","fields","lease","heartbeat_at","updated_at"],"properties":{"entry_id":{"type":"string"},"schema_version":{"type":"integer","const":1},"revision":{"type":"integer","minimum":1},"actor_id":{"type":"string","description":"Verified server principal; never a request-body field."},"fields":{"$ref":"#/components/schemas/AgentRegistryFields"},"lease":{"oneOf":[{"$ref":"#/components/schemas/AgentRegistryLease"},{"type":"null"}]},"heartbeat_at":{"type":"integer"},"updated_at":{"type":"integer"}}},"AgentRegistryExpire":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","required":["lease_epoch"],"properties":{"operation":{"const":"expire"},"lease_epoch":{"type":"integer","minimum":1}}}],"unevaluatedProperties":false},"AgentRegistryFields":{"type":"object","additionalProperties":false,"required":["machine_id","role","status","source_ref"],"properties":{"machine_id":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Opaque technical machine digest; never a hostname."},"role":{"type":"string","enum":["worker","orchestrator","foreman","deployer"]},"status":{"type":"string","enum":["active","blocked","landed-awaiting-cleanup","done"]},"source_ref":{"type":"string","pattern":"^(?:[a-f0-9]{40}|[a-f0-9]{64})$"}}},"AgentRegistryHeartbeat":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","properties":{"operation":{"const":"heartbeat"}}}],"unevaluatedProperties":false},"AgentRegistryHistoryEvent":{"type":"object","required":["revision","previous_revision","operation","actor_id","request_id","reason","occurred_at","result"],"properties":{"revision":{"type":"integer"},"previous_revision":{"type":"integer"},"operation":{"type":"string","enum":["create","update","heartbeat","reserve","renew","release","expire"]},"actor_id":{"type":"string"},"request_id":{"type":"string"},"reason":{"type":"string","enum":["coordination","progress","recovery","completion"]},"occurred_at":{"type":"integer"},"result":{"$ref":"#/components/schemas/AgentRegistryChangeResult"}}},"AgentRegistryHolderDeclaration":{"type":"object","additionalProperties":false,"required":["session_id","machine_id","pid","boot_id_hash","start_ticks"],"properties":{"session_id":{"type":"string","pattern":"^[a-f0-9]{8}(-[a-f0-9]{4}){3}-[a-f0-9]{12}$"},"machine_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pid":{"type":"integer","minimum":1,"maximum":4194304},"boot_id_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"start_ticks":{"type":"integer","minimum":1,"maximum":9007199254740991}}},"AgentRegistryLease":{"type":"object","additionalProperties":false,"required":["resource_hash","epoch","expires_at","state"],"properties":{"resource_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"epoch":{"type":"integer","minimum":1},"expires_at":{"type":"integer","description":"Database UTC Unix seconds; never a process-death signal."},"state":{"type":"string","enum":["reserved","expired"]}}},"AgentRegistryLifecycleDigest":{"type":"object","additionalProperties":false,"required":["sha256","bytes"],"properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","minimum":1,"maximum":2147483647}}},"AgentRegistryLifecycleEvent":{"type":"object","additionalProperties":false,"required":["revision","previous_revision","operation","actor_id","request_id","reason","occurred_at","result"],"properties":{"revision":{"type":"integer","minimum":1},"previous_revision":{"type":"integer","minimum":0},"operation":{"type":"string","enum":["submit_result","decide_result"]},"actor_id":{"type":"string"},"request_id":{"type":"string"},"reason":{"type":"string","enum":["source_landed","proof_passed","proof_failed","identity_mismatch"]},"occurred_at":{"type":"integer","minimum":0},"result":{"$ref":"#/components/schemas/AgentRegistryLifecycleReceipt"}}},"AgentRegistryLifecycleReceipt":{"type":"object","additionalProperties":false,"required":["authority_id","lifecycle","audit","request_id","claim_granted","close_authorized"],"properties":{"authority_id":{"type":"string","format":"uuid"},"lifecycle":{"$ref":"#/components/schemas/AgentRegistryLifecycleState"},"audit":{"type":"object","additionalProperties":false,"required":["id","sequence_number","hash"],"properties":{"id":{"type":"integer","minimum":1},"sequence_number":{"type":"integer","minimum":1},"hash":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"request_id":{"type":"string"},"claim_granted":{"type":"boolean","const":false},"close_authorized":{"type":"boolean","const":false}}},"AgentRegistryLifecycleResult":{"type":"object","additionalProperties":false,"required":["source_ref","patch_id","report_id","sha256","bytes","predecessor"],"properties":{"source_ref":{"type":"string","pattern":"^([a-f0-9]{40}|[a-f0-9]{64})$"},"patch_id":{"type":"string","pattern":"^([a-f0-9]{40}|[a-f0-9]{64})$"},"report_id":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Opaque technical artifact identifier; never a path or report content."},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"bytes":{"type":"integer","minimum":1,"maximum":2147483647},"predecessor":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"}}},"AgentRegistryLifecycleState":{"type":"object","additionalProperties":false,"required":["entry_id","schema_version","revision","producer_actor_id","entry_revision","result","result_id","acceptance","updated_at"],"properties":{"entry_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{0,95}$"},"schema_version":{"type":"integer","const":1},"revision":{"type":"integer","minimum":1},"producer_actor_id":{"type":"string"},"entry_revision":{"type":"integer","minimum":1},"result":{"$ref":"#/components/schemas/AgentRegistryLifecycleResult"},"result_id":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Server SHA256 of canonical tenant/entry/producer/result tuple; not a live proof."},"acceptance":{"type":"object","additionalProperties":false,"required":["status","requested_at","due_at","decided_by","decided_at","reason","evidence"],"properties":{"status":{"type":"string","enum":["pending","accepted","rejected"]},"requested_at":{"type":"integer","minimum":0},"due_at":{"type":"integer","minimum":0},"decided_by":{"type":["string","null"]},"decided_at":{"type":["integer","null"],"minimum":0},"reason":{"type":["string","null"],"enum":[null,"proof_passed","proof_failed","identity_mismatch"]},"evidence":{"oneOf":[{"$ref":"#/components/schemas/AgentRegistryLifecycleDigest"},{"type":"null"}]}}},"updated_at":{"type":"integer","minimum":0}}},"AgentRegistryPreservationCommand":{"type":"object","additionalProperties":false,"required":["schema_version","operation","expected_revision","expected_entry_revision","reason","predecessor","holders","artifacts"],"properties":{"schema_version":{"type":"integer","const":1},"operation":{"type":"string","const":"preserve"},"expected_revision":{"type":"integer","minimum":0,"maximum":2147483647},"expected_entry_revision":{"type":"integer","minimum":1,"maximum":2147483647},"reason":{"type":"string","const":"custody_recorded"},"predecessor":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"holders":{"type":"array","maxItems":16,"uniqueItems":true,"items":{"$ref":"#/components/schemas/AgentRegistryHolderDeclaration"}},"artifacts":{"type":"array","minItems":1,"maxItems":16,"uniqueItems":true,"description":"artifact_id values must also be unique across this list.","items":{"$ref":"#/components/schemas/AgentRegistryArtifactCustody"}}}},"AgentRegistryPreservationEvent":{"type":"object","additionalProperties":false,"required":["revision","previous_revision","operation","actor_id","request_id","reason","occurred_at","result"],"properties":{"revision":{"type":"integer","minimum":1},"previous_revision":{"type":"integer","minimum":0},"operation":{"type":"string","const":"preserve"},"actor_id":{"type":"string"},"request_id":{"type":"string"},"reason":{"type":"string","const":"custody_recorded"},"occurred_at":{"type":"integer","minimum":0},"result":{"$ref":"#/components/schemas/AgentRegistryPreservationReceipt"}}},"AgentRegistryPreservationReceipt":{"type":"object","additionalProperties":false,"required":["authority_id","preservation","audit","request_id"],"properties":{"authority_id":{"type":"string","format":"uuid"},"preservation":{"$ref":"#/components/schemas/AgentRegistryPreservationState"},"audit":{"type":"object","additionalProperties":false,"required":["id","sequence_number","hash"],"properties":{"id":{"type":"integer","minimum":1},"sequence_number":{"type":"integer","minimum":1},"hash":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"request_id":{"type":"string"}}},"AgentRegistryPreservationState":{"type":"object","additionalProperties":false,"required":["schema_version","entry_id","revision","entry_revision","actor_id","descriptor_id","predecessor","recorded_at","holders","artifacts","declarations_only","process_verified","non_git_verified","close_authorized","claim_granted"],"properties":{"schema_version":{"type":"integer","const":1},"entry_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{0,95}$"},"revision":{"type":"integer","minimum":1},"entry_revision":{"type":"integer","minimum":1},"actor_id":{"type":"string"},"descriptor_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"predecessor":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"recorded_at":{"type":"integer","minimum":0},"holders":{"type":"array","maxItems":16,"uniqueItems":true,"items":{"$ref":"#/components/schemas/AgentRegistryHolderDeclaration"}},"artifacts":{"type":"array","minItems":1,"maxItems":16,"uniqueItems":true,"items":{"$ref":"#/components/schemas/AgentRegistryArtifactCustody"}},"declarations_only":{"type":"boolean","const":true},"process_verified":{"type":"boolean","const":false},"non_git_verified":{"type":"boolean","const":false},"close_authorized":{"type":"boolean","const":false},"claim_granted":{"type":"boolean","const":false}}},"AgentRegistryRelease":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","required":["lease_epoch"],"properties":{"operation":{"const":"release"},"lease_epoch":{"type":"integer","minimum":1}}}],"unevaluatedProperties":false},"AgentRegistryRenew":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","required":["lease_epoch","ttl_seconds"],"properties":{"operation":{"const":"renew"},"lease_epoch":{"type":"integer","minimum":1},"ttl_seconds":{"type":"integer","minimum":30,"maximum":900}}}],"unevaluatedProperties":false},"AgentRegistryReserve":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","required":["resource_hash","ttl_seconds"],"properties":{"operation":{"const":"reserve"},"resource_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"ttl_seconds":{"type":"integer","minimum":30,"maximum":900}}}],"unevaluatedProperties":false},"AgentRegistrySubmitResult":{"type":"object","additionalProperties":false,"required":["schema_version","operation","expected_revision","expected_entry_revision","reason","result"],"properties":{"schema_version":{"type":"integer","const":1},"operation":{"type":"string","const":"submit_result"},"expected_revision":{"type":"integer","minimum":0,"maximum":2147483647},"expected_entry_revision":{"type":"integer","minimum":1,"maximum":2147483647},"reason":{"type":"string","const":"source_landed"},"result":{"$ref":"#/components/schemas/AgentRegistryLifecycleResult"}}},"AgentRegistryUpdate":{"allOf":[{"$ref":"#/components/schemas/AgentRegistryCommandBase"},{"type":"object","required":["fields"],"properties":{"operation":{"const":"update"},"fields":{"$ref":"#/components/schemas/AgentRegistryUpdateFields"}}}],"unevaluatedProperties":false},"AgentRegistryUpdateFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"status":{"type":"string","enum":["active","blocked","landed-awaiting-cleanup","done"]},"source_ref":{"type":"string","pattern":"^(?:[a-f0-9]{40}|[a-f0-9]{64})$"}}},"AgentWorkloadEntry":{"type":"object","properties":{"agent_id":{"type":"string"},"assigned_ticket_count":{"type":"integer"},"current_open_ticket_count":{"type":"integer"},"average_handle_time_minutes":{"type":"number","nullable":true},"sla_compliance_rate":{"type":"number","nullable":true}}},"AggregationConsentRequest":{"type":"object","required":["connection_id"],"properties":{"connection_id":{"type":"string","minLength":1},"scopes":{"type":"array","items":{"type":"string","enum":["accounts:read","transactions:read"]}}}},"Aggregations":{"type":"object","description":"Aggregierte Werte ueber alle Zeilen im Zeitraum","properties":{"totalDuration":{"type":"string","description":"HH:MM - Gesamtdauer brutto"},"totalDurationSeconds":{"type":"integer"},"totalValid":{"type":"string","description":"HH:MM - Gesamtdauer gueltig"},"totalValidSeconds":{"type":"integer"},"totalBreakDeduction":{"type":"string","description":"HH:MM - Gesamte Pausenabzuege"},"totalBreakDeductionSeconds":{"type":"integer"},"balance":{"type":"string","description":"HH:MM - Stundenkontostand (kann negativ sein)"},"balanceSeconds":{"type":"integer"},"totalWork":{"type":"string","description":"HH:MM - Gesamte regulaere Arbeit"},"totalWorkSeconds":{"type":"integer"},"totalOvertimePlus":{"type":"string","description":"HH:MM - Gesamte Ueberstunden+"},"totalOvertimePlusSeconds":{"type":"integer"},"totalOvertimeMinus":{"type":"string","description":"HH:MM - Gesamte Ueberstunden-"},"totalOvertimeMinusSeconds":{"type":"integer"},"totalCapTime":{"type":"string","description":"HH:MM - Gesamte Kappzeit"},"totalCapTimeSeconds":{"type":"integer"},"workingDays":{"type":"integer","description":"Anzahl Arbeitstage im Zeitraum"}}},"AiConfigInput":{"type":"object","properties":{"provider":{"type":"string","enum":["openai","anthropic","local","openai-compatible"]},"providerMode":{"type":"string","enum":["local","remote","auto"]},"baseUrl":{"type":"string","description":"OpenAI-compatible endpoint of the tenant (provider `openai-compatible`). Private/loopback hosts must be listed in AI_ALLOW_PRIVATE_LLM_HOSTS, otherwise PUT answers 422 `llm_host_not_allowed`."},"apiKey":{"type":"string"},"models":{"type":"object","properties":{"chat":{"type":"string"},"voice":{"type":"string"},"embedding":{"type":"string"}}},"features":{"type":"object","properties":{"voiceInput":{"type":"boolean"},"chatAssistant":{"type":"boolean"},"smartSuggestions":{"type":"boolean"},"workflowGeneration":{"type":"boolean"}}},"budget":{"type":"object","properties":{"maxTokensPerDay":{"type":"integer"},"maxCostPerMonth":{"type":"number","format":"float","deprecated":true,"description":"Legacy display value; converted to maxCostMinorPerMonth on save."},"maxCostMinorPerMonth":{"type":"integer","description":"Monthly cost budget in integer minor units (EUR cents)."},"currency":{"type":"string","enum":["EUR"]}}}}},"AiConfigResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"provider":{"type":"string"},"models":{"type":"object"},"features":{"type":"object"},"budget":{"type":"object"},"apiKeySet":{"type":"boolean"}}}}},"AiDisclosureConfig":{"type":"object","additionalProperties":false,"required":["text_de","text_en","text_es","text_it","placement"],"properties":{"text_de":{"type":"string"},"text_en":{"type":"string"},"text_es":{"type":"string"},"text_it":{"type":"string"},"placement":{"type":"string","enum":["top","inline"]}}},"AiPluginManifest":{"type":"object","required":["schema_version","name_for_model","api","auth"],"properties":{"schema_version":{"type":"string","example":"v1"},"name_for_human":{"type":"string"},"name_for_model":{"type":"string","example":"it_tremmel_platform"},"description_for_human":{"type":"string"},"description_for_model":{"type":"string"},"auth":{"type":"object","properties":{"type":{"type":"string","example":"user_http"},"authorization_type":{"type":"string","example":"bearer"},"instructions":{"type":"string"}}},"api":{"type":"object","properties":{"type":{"type":"string","example":"openapi"},"url":{"type":"string"},"is_user_authenticated":{"type":"boolean"}}},"logo_url":{"type":"string"},"contact_email":{"type":"string"},"legal_info_url":{"type":"string"},"x-pricing":{"type":"string","description":"Absolute URL of GET /api/docs/pricing"},"x-agents-manifest":{"type":"string"},"x-mcp":{"type":"string"},"x-actions":{"type":"object","required":["type","url","authentication","tools"],"properties":{"type":{"type":"string","enum":["openapi"]},"url":{"type":"string"},"authentication":{"type":"object","additionalProperties":true},"tools":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"x-chatgpt-app":{"type":"object","required":["status","appManifest","actionsManifest","mcp","authentication","access","tools","registration"],"properties":{"status":{"type":"string"},"appManifest":{"type":"string"},"actionsManifest":{"type":"string"},"mcp":{"type":"string"},"authentication":{"type":"string"},"access":{"type":"object","additionalProperties":true},"tools":{"type":"array","items":{"type":"string"}},"registration":{"type":"object","additionalProperties":true}}}}},"AiProposalActionInput":{"type":"object","properties":{"candidate_version":{"type":"integer","minimum":1,"description":"Required for proposal actions by a reviewer session."},"draft_content_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Required for proposal actions by a reviewer session."},"answer_text":{"type":"string","description":"Edit answer only; original question and sources are immutable."},"body_text":{"type":"string","description":"Alternative answer-only field for proposal edits."},"_csrf_token":{"type":"string"}}},"AiProposalDraftMetadata":{"type":"object","description":"Present only for the configured reviewer; no reviewer mailbox or restoration capability is exposed.","required":["proposal_id","job_id","candidate_version","content_hash_short","delivery_mode","state","notify_state","released_channels","decided_at","audit"],"properties":{"proposal_id":{"type":"string"},"job_id":{"type":"string"},"candidate_version":{"type":"integer","minimum":1},"content_hash_short":{"type":"string","minLength":16,"maxLength":16},"delivery_mode":{"type":"string","enum":["approval_required","automatic"]},"state":{"type":"string","enum":["pending_review","approved","rejected","auto_released","superseded","review_unavailable","restore_failed"]},"notify_state":{"type":"string","nullable":true},"released_channels":{"type":"string","nullable":true,"enum":["chat","chat,email",null]},"decided_at":{"type":"string","nullable":true},"audit":{"type":"array","items":{"type":"object","required":["at","action","actor","version"],"properties":{"at":{"type":"string"},"action":{"type":"string"},"actor":{"type":"string"},"version":{"type":"integer"}}}}}},"AiProviderHealthReport":{"type":"object","required":["checkedAt","policy","providers"],"properties":{"checkedAt":{"type":"string","format":"date-time"},"policy":{"type":"object","properties":{"workload":{"type":"string","example":"ai.chat"},"providerMode":{"type":"string","enum":["local","remote","auto","unresolved"]},"sovereigntyMode":{"type":"string","description":"cloud_pseudonymized, local_only, forbidden, none or unresolved"},"privacyLocked":{"type":"boolean","description":"true = no cloud fallback possible (fail closed)"},"runtimeFallback":{"type":"boolean"},"fallbackOrder":{"type":"array","items":{"type":"string","enum":["local","remote"]}},"chain":{"type":"array","items":{"type":"string"}},"chainError":{"type":"string","nullable":true},"model":{"type":"string"}}},"providers":{"type":"array","items":{"type":"object","required":["id","destination","endpoint","configured","reachable"],"properties":{"id":{"type":"string","enum":["configured","local","remote"]},"destination":{"type":"string","enum":["local","remote"]},"endpoint":{"type":"string","description":"scheme://host:port/path without credentials"},"configured":{"type":"boolean"},"reachable":{"type":"boolean"},"httpStatus":{"type":"integer","nullable":true},"latencyMs":{"type":"integer","nullable":true},"models":{"type":"array","items":{"type":"string"}},"error":{"type":"string","nullable":true},"costMinorUnitsPerRequest":{"type":"integer","nullable":true,"description":"EUR cents; 0 for local, null = unmeasured"},"costSource":{"type":"string","enum":["local_zero","unmeasured","price_table"]},"currency":{"type":"string","example":"EUR"}}}}}},"AllocationCreateRequest":{"type":"object","required":["work_order_id","allocated_minutes"],"properties":{"work_order_id":{"type":"string"},"allocated_minutes":{"type":"integer","minimum":1}}},"AllocationRequest":{"type":"object","required":["transaction_id","allocations"],"properties":{"transaction_id":{"type":"string"},"allocations":{"type":"array","minItems":1,"items":{"type":"object","required":["invoice_id","amount_cents"],"properties":{"invoice_id":{"type":"string"},"amount_cents":{"type":"integer","minimum":1}}}}}},"AllocationResult":{"type":"object","required":["success","status","transaction_id","settlement_amount_cents","allocated_cents","overpayment_credit_cents","allocations","bookings_created"],"properties":{"success":{"type":"boolean","const":true},"status":{"type":"string"},"transaction_id":{"type":"string"},"currency":{"type":"string"},"settlement_amount_cents":{"type":"integer"},"allocated_cents":{"type":"integer"},"overpayment_credit_cents":{"type":"integer"},"allocations":{"type":"array","items":{"type":"object","properties":{"invoice_id":{"type":"string"},"amount_cents":{"type":"integer"},"invoice_status":{"type":"string"},"still_due_cents":{"type":"integer"}}}},"bookings_created":{"type":"integer"}}},"AllowlistUpdateRequest":{"type":"object","required":["principal_ids"],"properties":{"principal_ids":{"type":"array","items":{"type":"string"}}}},"AlternativeReminderEmail":{"type":"object","required":["id","customer_id","email","primary"],"properties":{"id":{"type":"integer"},"customer_id":{"type":"integer"},"email":{"type":"string","format":"email"},"label":{"type":"string","nullable":true},"created_at":{"type":"string"},"primary":{"type":"boolean","description":"Recipient of reminder drafts (oldest entry)"}}},"AmountDefinition":{"type":"object","properties":{"kind":{"type":"string","enum":["absolute","fixed","absolute_plus_fixed"],"default":"absolute"},"minor_units":{"type":"integer","description":"Integer minor units; never a decimal or float."}}},"AnalyticsOverview":{"type":"object","properties":{"tenant_id":{"type":"string"},"total_users":{"type":"integer"},"total_listings":{"type":"integer"},"total_inquiries":{"type":"integer"},"total_orders":{"type":"integer"},"active_premium_count":{"type":"integer"}}},"AnchorWatchAlarmRequest":{"type":"object","description":"One of `scope` or `boat` (the per-boat identifier) is required.\n","properties":{"scope":{"type":"string","maxLength":128},"boat":{"type":"string","maxLength":128},"trip_id":{"type":"integer","minimum":1,"nullable":true},"lat":{"type":"number","minimum":-90,"maximum":90,"nullable":true},"lon":{"type":"number","minimum":-180,"maximum":180,"nullable":true},"drift_distance_m":{"type":"number","minimum":0,"nullable":true}}},"Anlage3MaterialEvidence":{"type":"object","required":["reference","source","version"],"properties":{"reference":{"type":"string","maxLength":128},"source":{"type":"string","maxLength":128},"version":{"type":"string","maxLength":64}}},"AnlageEurAsset":{"type":"object","additionalProperties":false,"required":["asset_no","name","category","zeile","method","acquisition_cost","opening_book_value","additions","afa","disposal","closing_book_value"],"properties":{"asset_no":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"zeile":{"type":"string"},"method":{"type":"string"},"acquisition_cost":{"$ref":"#/components/schemas/AnlageEurMoney"},"opening_book_value":{"$ref":"#/components/schemas/AnlageEurMoney"},"additions":{"$ref":"#/components/schemas/AnlageEurMoney"},"afa":{"$ref":"#/components/schemas/AnlageEurMoney"},"disposal":{"$ref":"#/components/schemas/AnlageEurMoney"},"closing_book_value":{"$ref":"#/components/schemas/AnlageEurMoney"}}},"AnlageEurLine":{"type":"object","additionalProperties":false,"required":["zeile","group","label","amount","status","open_reason"],"properties":{"zeile":{"type":"string"},"group":{"type":"string","enum":["einnahmen","ausgaben","umsatzsteuer","privat","hinzurechnung"]},"label":{"type":"string"},"amount":{"allOf":[{"$ref":"#/components/schemas/AnlageEurMoney"}],"nullable":true,"description":"Null means no explicit booking source exists; it must never be interpreted as zero."},"status":{"type":"string","enum":["calculated","open"]},"open_reason":{"type":"string","nullable":true,"enum":["private_ledger_account_missing","private_ledger_account_source_unavailable","private_ledger_booking_source_unavailable"]}}},"AnlageEurMoney":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$","example":"700.00"},"AnlageEurReport":{"type":"object","additionalProperties":false,"required":["year","tenant_id","generated_at","source","is_kleinunternehmer","betriebseinnahmen_total","betriebsausgaben_total","gewinn","afa_total","zeilen","anlagenspiegel"],"properties":{"year":{"type":"integer"},"tenant_id":{"type":"string"},"generated_at":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["single_entry","double_entry_ledger"]},"is_kleinunternehmer":{"type":"boolean"},"betriebseinnahmen_total":{"$ref":"#/components/schemas/AnlageEurMoney"},"betriebsausgaben_total":{"$ref":"#/components/schemas/AnlageEurMoney"},"gewinn":{"$ref":"#/components/schemas/AnlageEurMoney"},"afa_total":{"$ref":"#/components/schemas/AnlageEurMoney"},"zeilen":{"type":"array","items":{"$ref":"#/components/schemas/AnlageEurLine"}},"anlagenspiegel":{"type":"array","items":{"$ref":"#/components/schemas/AnlageEurAsset"}}}},"AnlageVProperty":{"type":"object","required":["property_id","einnahmen_cents","werbungskosten_cents","vereinnahmte_umsatzsteuer_cents","gezahlte_vorsteuer_cents","ueberschuss_cents","position_count","werbungskosten_nach_art","afa"],"properties":{"property_id":{"type":"string"},"einnahmen_cents":{"type":"string","pattern":"^-?[0-9]+$"},"werbungskosten_cents":{"type":"string","pattern":"^-?[0-9]+$"},"vereinnahmte_umsatzsteuer_cents":{"type":"string","pattern":"^-?[0-9]+$"},"gezahlte_vorsteuer_cents":{"type":"string","pattern":"^-?[0-9]+$"},"ueberschuss_cents":{"type":"string","pattern":"^-?[0-9]+$"},"position_count":{"type":"integer"},"werbungskosten_nach_art":{"type":"array","items":{"$ref":"#/components/schemas/WerbungskostenArt"}},"afa":{"$ref":"#/components/schemas/AfaResult"}}},"AnlageVReport":{"type":"object","required":["jahr","objekte","summe","gaps","ohne_objektzuordnung"],"properties":{"jahr":{"type":"integer"},"objekte":{"type":"array","items":{"$ref":"#/components/schemas/AnlageVProperty"}},"summe":{"type":"object","required":["einnahmen_cents","werbungskosten_cents","vereinnahmte_umsatzsteuer_cents","gezahlte_vorsteuer_cents","ueberschuss_cents"],"properties":{"einnahmen_cents":{"type":"string","pattern":"^-?[0-9]+$"},"werbungskosten_cents":{"type":"string","pattern":"^-?[0-9]+$"},"vereinnahmte_umsatzsteuer_cents":{"type":"string","pattern":"^-?[0-9]+$"},"gezahlte_vorsteuer_cents":{"type":"string","pattern":"^-?[0-9]+$"},"ueberschuss_cents":{"type":"string","pattern":"^-?[0-9]+$"}}},"gaps":{"type":"array","items":{"$ref":"#/components/schemas/Gap"}},"ohne_objektzuordnung":{"type":"integer"}}},"AnlageVSuccess":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/AnlageVReport"}}},"AnomalyBaseline":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"metric_key":{"type":"string","description":"e.g. \"amount:invoice.created:amount\", \"interval:payment.received:customer-7\", \"sequence:transitions\""},"sample_count":{"type":"integer"},"mean_value":{"type":"number","nullable":true},"m2_value":{"type":"number","nullable":true},"last_value":{"type":"number","nullable":true},"last_event_at":{"type":"string","nullable":true},"extra_json":{"type":"string","nullable":true},"updated_at":{"type":"string"}}},"AnomalyFinding":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"detector":{"type":"string","enum":["amount_outlier","interval_break","novel_sequence"]},"severity":{"type":"string","enum":["info","warning","critical"]},"title":{"type":"string"},"explanation":{"type":"string","description":"Human-readable explanation of the pattern break"},"evidence_json":{"type":"string","nullable":true,"description":"Structured evidence (learned mean/stddev, z-score, gaps, ...)"},"event_type":{"type":"string","nullable":true},"entity_key":{"type":"string","nullable":true},"score":{"type":"number","nullable":true},"status":{"type":"string","enum":["open","acknowledged","confirmed","dismissed"]},"status_note":{"type":"string","nullable":true},"status_actor":{"type":"string","nullable":true},"dedup_key":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"AnomalyRadarError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"ApiError":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}},"ApiKeyBootstrapRequest":{"type":"object","additionalProperties":false,"not":{"required":["renew","reissue"]},"required":["prefix","bcrypt_hash","expires_at"],"properties":{"prefix":{"type":"string","pattern":"^itt_k[0-9a-f]{16}$"},"bcrypt_hash":{"type":"string","pattern":"^\\$2y\\$10\\$[./A-Za-z0-9]{53}$","writeOnly":true},"expires_at":{"type":"string","format":"date-time"},"renew":{"type":"boolean","enum":[true],"writeOnly":true,"description":"Expiry-only renewal of mt-todo-sync-write, at most 14 days. Requires the exact existing prefix and bcrypt hash and an active server-owned identity with unchanged scope and empty roles. Cannot shorten expiry, create/reactivate a key, reset usage or rotate a secret. Mutually exclusive with reissue."},"reissue":{"type":"boolean","enum":[true],"writeOnly":true,"description":"Deliberately replace the secret half of an already bootstrapped profile key, answering 200 with reissued=true instead of a 409 profile conflict. Only the lookup prefix, the hash and the expiry change; tenant binding, scopes and roles stay exactly as the profile pinned them, so a re-issued key never reaches further than the key it replaces. Omit the field for the idempotent behaviour; false is rejected as malformed."}}},"ApiKeyBootstrapResponse":{"type":"object","additionalProperties":false,"required":["id","profile","tenant_id","name","prefix","scopes","expires_at","created_at","created","reissued"],"properties":{"id":{"type":"integer"},"profile":{"type":"string","enum":["portal-test-booking-storno","portal-test-booking-erasure","fewo-booking-import","gmbh-bank-import","gmbh-booking-stapel-write","gmbh-beleg-upload","portal-beleg-upload","fewo-beleg-upload","portal-bank-import","mt-bank-import","fewo-bank-import","pv-pleinfeld-bank-import","bank-upload-demo-bank-import"]},"tenant_id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"expires_at":{"type":"string","format":"date-time"},"created_at":{"type":"string"},"created":{"type":"boolean"},"reissued":{"type":"boolean","description":"True when an existing profile key kept its identity and only its secret was replaced."},"renewed":{"type":"boolean","description":"Present and true only after exact-identity expiry-only renewal; secret, rights, owner, activity and usage are unchanged."}}},"ApiKeyCreateRequest":{"type":"object","required":["name","scopes"],"properties":{"name":{"type":"string","minLength":1,"maxLength":255,"example":"CI deploy key"},"scopes":{"type":"array","minItems":1,"items":{"type":"string"},"description":"One or more scopes from the `ApiKeyScopeService` allowlist (`data:read`, `data.reports:read`, `files.upload:write`, etc.). Broad legacy resource scopes remain valid for matching granular route families with the same action. `pii.pseudonymized:read` is an additive visibility tier: every PII-bearing JSON field is returned only in pseudonymized form and carries the sibling boolean `<field>_pseudonymized: true`. If transformation is unavailable, the request fails instead of returning cleartext.\n"},"expires_at":{"type":"string","format":"date","nullable":true,"description":"ISO date (YYYY-MM-DD); null means no expiry."}}},"ApiKeyCreateResponse":{"type":"object","required":["api_key","key","warning"],"properties":{"api_key":{"$ref":"#/components/schemas/ApiKeyRecord"},"key":{"type":"string","description":"Plaintext API key. Shown ONCE — store it now.","example":"itt_k_live_abcDEF123..."},"warning":{"type":"string","example":"Store this key securely. It will not be shown again."}}},"ApiKeyDeleteResponse":{"type":"object","required":["deleted","id"],"properties":{"deleted":{"type":"boolean","example":true},"id":{"type":"integer"}}},"ApiKeyDetailResponse":{"type":"object","required":["api_key"],"properties":{"api_key":{"$ref":"#/components/schemas/ApiKeyRecord"}}},"ApiKeyListResponse":{"type":"object","required":["api_keys"],"properties":{"api_keys":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRecord"}}}},"ApiKeyRecord":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"integer"},"name":{"type":"string"},"prefix":{"type":"string","description":"Public lookup prefix; safe to display."},"scopes":{"type":"array","items":{"type":"string"}},"roles":{"type":"array","items":{"type":"string"}},"expires_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"created_by":{"type":"integer","nullable":true},"last_used_at":{"type":"string","nullable":true},"active":{"type":"boolean"}}},"ApiKeyRotateResponse":{"type":"object","required":["api_key","key","warning","rotated"],"properties":{"api_key":{"$ref":"#/components/schemas/ApiKeyRecord"},"key":{"type":"string","description":"Rotated plaintext API key. Shown ONCE — store it now.","example":"itt_k_live_rotatedABC123..."},"warning":{"type":"string","example":"Store this rotated key securely. It will not be shown again."},"rotated":{"type":"boolean","example":true}}},"ApiKeyScopeRepairRequest":{"type":"object","additionalProperties":false,"minProperties":1,"maxProperties":1,"description":"Exactly one of grant, revoke or revert_change_id. A body carrying two is refused rather than resolved by precedence, because guessing which one was meant is how a revoke becomes a grant.","properties":{"grant":{"type":"array","minItems":1,"items":{"type":"string"},"description":"Scopes to add. Must exist in the scope registry and must not be an identity or permission scope."},"revoke":{"type":"array","minItems":1,"items":{"type":"string"},"description":"Scopes to remove."},"revert_change_id":{"type":"integer","minimum":1,"description":"Restore the scope set that this recorded change replaced."}}},"ApiKeyScopeRepairResponse":{"type":"object","additionalProperties":false,"required":["profile","tenant_id","key_id","action","changed","change_id","previous_scopes","scopes"],"properties":{"profile":{"type":"string","enum":["fewo-booking-import","gmbh-bank-import","gmbh-booking-stapel-write","portal-beleg-upload","fewo-beleg-upload","portal-bank-import","mt-bank-import","fewo-bank-import","pv-pleinfeld-bank-import","bank-upload-demo-bank-import"]},"tenant_id":{"type":"string"},"key_id":{"type":"integer"},"action":{"type":"string","enum":["grant","revoke","revert"]},"changed":{"type":"boolean","description":"False when the key already had exactly these scopes: no update and no audit row were written."},"change_id":{"type":"integer","nullable":true,"description":"Id of the recorded change, for a later revert. Null when nothing changed."},"previous_scopes":{"type":"array","items":{"type":"string"}},"scopes":{"type":"array","items":{"type":"string"}}}},"ApiKeyUsageReport":{"type":"object","properties":{"key_id":{"type":"integer"},"prefix":{"type":"string"},"total_requests":{"type":"integer"},"last_used_at":{"type":"string","nullable":true},"requests_last_minute":{"type":"integer"},"rate_limit_ceiling":{"type":"integer"},"rate_limit_remaining":{"type":"integer"}}},"ApiKeyUsageResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/ApiKeyUsageReport"}}},"ApiKeys_ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}},"AppInstance":{"type":"object","properties":{"instance_id":{"type":"string"},"tenant_id":{"type":"string"},"user_id":{"type":"integer"},"module_id":{"type":"string","example":"invoice-creator"},"label":{"type":"string","example":"My Invoices"},"pricing_tier":{"type":"string","example":"demo"},"sort_order":{"type":"integer","example":0},"pinned":{"type":"boolean","example":false},"config":{"type":"object"},"enabled_tabs":{"type":"array","items":{"type":"string"},"nullable":true},"subscription_id":{"type":"string","nullable":true},"expires_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"AppPlan":{"type":"object","description":"app-plan/v1: { contract, locale: de|en|es, sentence, source: { kind: parser|template, template|null, refinedBy: null|local-model }, app: { slug, name{de,en,es}, entity{…}, plural{…}, icon, summary{…} }, fields: [{ key, type: text|longtext|number|money|date|bool|choice|relation|duration|email|phone|url|rating, label{de,en,es}, required, title, due, unit?, choices?[{ value, label{…} }], relation?: contact|product|booking, origin?: { by, term, phrase, translated } }], reminders: [{ field, daysBefore 0-365, recipe }], rights: { read: team|admins|own, write: team|admins|own }, views: [{ kind: table|calendar|kanban, field? }], widgets: [{ widget, field? }], commands: { show{de,en,es}: [phrase], add{…}: [phrase] }, suggestions: [field], notes: [{ code, text{de,en,es} }], planHash }","additionalProperties":true},"AppSetup":{"type":"object","description":"{ app_id, app_ids, label, module_id, status: ready|partial|missing, system: { status: healthy|degraded|unhealthy, error|null }, counts: { done, partial, missing }, open_labels: [string], autopilot_steps: [stepId], steps: [SetupStep] }","additionalProperties":true},"ArApOffset_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"invalid_input"},"message":{"type":"string"}}},"ArchiveProjection":{"type":"object","required":["archive_id","checksum_sha256","archived_at","retention_until"],"properties":{"archive_id":{"type":"string"},"checksum_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"archived_at":{"type":"string"},"retention_until":{"type":"string"}}},"ArchiveRow":{"type":"object","additionalProperties":true,"required":["tenant_id","source","table","profile","row_key","payload","payload_hash","status"],"properties":{"tenant_id":{"type":"string"},"source":{"type":"string","enum":["portaldb","backenduidb"]},"table":{"type":"string"},"profile":{"type":"string"},"row_key":{"type":"string"},"payload":{"type":"object","additionalProperties":true},"payload_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","tombstone"]}}},"ArchiveSearchResult":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"document_type":{"type":"string"},"document_id":{"type":"string"},"filename":{"type":"string"},"file_path":{"type":"string"},"file_size":{"type":"integer"},"content_hash":{"type":"string"},"metadata":{"type":"object","additionalProperties":true},"archived_by":{"type":"string","nullable":true},"archived_at":{"type":"string","format":"date-time"},"retention_until":{"type":"string","format":"date-time"}}},"ArchiveSearchSkippedItem":{"type":"object","required":["id","reason"],"properties":{"id":{"type":"string"},"reason":{"type":"string","enum":["too_large"]}}},"Arrival":{"type":"object","required":["booking_id","unit","guest","check_in","check_out","guests","arrival_time_known","onsite","keybox","contacts","warnungen"],"properties":{"booking_id":{"type":"integer"},"unit":{"type":"object","required":["slug","bezeichnung"],"properties":{"slug":{"type":"string"},"bezeichnung":{"type":"string"}}},"guest":{"type":"object","required":["name","sprache","anrede_form"],"properties":{"name":{"type":"string","x-pii":"contact"},"sprache":{"type":"string","enum":["de","en","es"]},"anrede_form":{"type":"string"}}},"check_in":{"type":"string","format":"date"},"check_out":{"type":"string","format":"date"},"guests":{"type":"integer"},"arrival_time_known":{"type":"boolean"},"arrival_time":{"type":"string","nullable":true},"onsite":{"type":"object","required":["anwesend","kontakt"],"properties":{"anwesend":{"type":"boolean"},"kontakt":{"type":"object","nullable":true,"properties":{"anzeigename":{"type":"string"},"bezeichner":{"type":"string"}}}}},"keybox":{"type":"array","items":{"$ref":"#/components/schemas/KeyboxResolution"}},"contacts":{"type":"array","items":{"$ref":"#/components/schemas/ArrivalContact"}},"warnungen":{"type":"array","items":{"$ref":"#/components/schemas/GuestMessageWarning"}}}},"ArrivalContact":{"type":"object","required":["id","anzeigename","rufnummer","bezeichner","immer_erreichbar"],"properties":{"id":{"type":"integer"},"anzeigename":{"type":"string"},"rufnummer":{"type":"string","x-pii":"contact"},"bezeichner":{"type":"string"},"immer_erreichbar":{"type":"integer","enum":[0,1]}}},"ArrivalListResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Arrival"}}}},"ArrivalRenderInput":{"type":"object","required":["template_slug"],"additionalProperties":false,"properties":{"template_slug":{"type":"string"},"sprache":{"type":"string","enum":["de","en","es"]}}},"ArrivalRenderResponse":{"type":"object","required":["betreff","text_plain","text_html","verwendete_werte","warnungen"],"properties":{"betreff":{"type":"string","nullable":true},"text_plain":{"type":"string","nullable":true},"text_html":{"type":"string","nullable":true},"verwendete_werte":{"type":"object","required":["keyboxes","keybox_gueltig_von","keybox_gueltig_bis","onsite","arrival_time_known"],"properties":{"keyboxes":{"type":"array","items":{"$ref":"#/components/schemas/KeyboxResolution"}},"keybox_gueltig_von":{"type":"string","format":"date","nullable":true,"deprecated":true},"keybox_gueltig_bis":{"type":"string","format":"date","nullable":true,"deprecated":true},"onsite":{"type":"boolean"},"arrival_time_known":{"type":"boolean"}}},"warnungen":{"type":"array","items":{"$ref":"#/components/schemas/GuestMessageWarning"}}}},"ArtifactRequest":{"type":"object","required":["artifact_type","artifact_ref"],"properties":{"artifact_type":{"type":"string","enum":["export_archive","rectification_diff","deletion_log","portability_jsonld"]},"artifact_ref":{"type":"string"}}},"AskAnswer":{"type":"object","properties":{"plan":{"$ref":"#/components/schemas/AskPlan"},"explanation":{"type":"object","properties":{"summary":{"type":"string","description":"So habe ich gerechnet — one sentence"},"steps":{"type":"array","items":{"type":"string"}}}},"result":{"type":"object","description":"ask-result/v1: columns, rows (money in cents, duration in minutes), labels, total, unit, visual, truncated, rowLimit"},"refined":{"type":"boolean"},"source":{"type":"string","enum":["parser","plan"]}}},"AskPlan":{"type":"object","description":"Typed query plan `ask-plan/v1`. Names fabric entities and fields only — never SQL. Unknown keys, fields, operators or values are rejected (422).\n","properties":{"contract":{"type":"string","enum":["ask-plan/v1"]},"entity":{"type":"string","description":"Fabric entity type: invoice, customer, ticket, time-entry"},"mode":{"type":"string","enum":["aggregate","list"]},"measure":{"type":"object","properties":{"fn":{"type":"string","enum":["count","sum","avg","min","max"]},"field":{"type":"string"}}},"groupBy":{"type":"array","maxItems":2,"items":{"type":"object","properties":{"field":{"type":"string"},"bucket":{"type":"string","enum":["day","week","month","quarter","year"]}}}},"columns":{"type":"array","maxItems":8,"items":{"type":"string"}},"filters":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"field":{"type":"string"},"op":{"type":"string","enum":["in","notIn","group","notGroup","eq","neq","contains","segment","gt","gte","lt","lte","preset","olderThanDays","withinDays","between","year"]},"value":{"description":"Typed by field kind: status values from the allowlist, money in integer cents, ISO dates"}}}},"sort":{"type":"object","properties":{"by":{"type":"string","description":"auto, value, group or a field key"},"dir":{"type":"string","enum":["asc","desc"]}}},"limit":{"type":"integer","minimum":1,"maximum":200},"visual":{"type":"string","enum":["auto","number","table","bar","line","list"]}}},"AskQuestion":{"type":"object","required":["question"],"properties":{"question":{"type":"string","maxLength":500,"description":"Question or refinement in DE/EN/ES, e.g. \"nur Stammkunden\""},"lang":{"type":"string","enum":["de","en","es"],"description":"Language of explanation and labels (default de)"},"base":{"$ref":"#/components/schemas/AskPlan"}}},"AssignmentChangeRequest":{"allOf":[{"$ref":"#/components/schemas/AssignmentRequest"},{"type":"object","required":["reason"]}]},"AssignmentCreateRequest":{"type":"object","required":["program_id","employee_ref","due_at"],"properties":{"program_id":{"type":"string"},"employee_ref":{"type":"string"},"due_at":{"type":"string"},"assigned_at":{"type":"string","nullable":true}}},"AssignmentInput":{"type":"object","required":["driver_id","start_at"],"properties":{"driver_id":{"type":"integer"},"start_at":{"type":"string","format":"date-time"},"end_at":{"type":"string","format":"date-time","nullable":true},"notes":{"type":"string","maxLength":2000,"nullable":true}}},"AssignmentRequest":{"type":"object","required":["employee_ref","band_id","base_salary_cents","effective_from"],"properties":{"employee_ref":{"type":"string"},"band_id":{"type":"integer"},"base_salary_cents":{"type":"integer"},"effective_from":{"type":"string","format":"date"},"effective_until":{"type":"string","format":"date","nullable":true},"currency":{"type":"string"},"reason":{"type":"string","enum":["hire","promo","merit","adjust","terminate"]}}},"AttestationRecordRequest":{"type":"object","required":["policy_id","user_id"],"properties":{"policy_id":{"type":"string"},"user_id":{"type":"string"},"ip_address":{"type":"string","nullable":true},"user_agent":{"type":"string","nullable":true},"signature_ref":{"type":"string","nullable":true}}},"AttributeMetricsRequest":{"type":"object","properties":{"orgUnitId":{"type":"string","description":"Org unit to analyze"},"from":{"type":"string","format":"date","description":"Period start (inclusive)"},"to":{"type":"string","format":"date","description":"Period end (inclusive)"},"attribute":{"type":"string","description":"Property name to analyze distribution for"}},"required":["orgUnitId","from","to","attribute"]},"AttributeValue":{"type":"object","properties":{"value":{"type":"string","description":"Distinct attribute value"},"count":{"type":"integer","description":"Number of cases with this value"},"percentage":{"type":"number","format":"float","description":"Fraction of total (0-1)"},"avgProcessingDays":{"type":"number","format":"float","description":"Average processing time in days for cases with this value"}},"required":["value","count","percentage","avgProcessingDays"]},"AuditCreateRequest":{"type":"object","required":["audit_no","scope_kind","audit_kind","planned_start_date","planned_end_date","lead_auditor_user_id","audit_program_md"],"properties":{"audit_no":{"type":"string"},"scope_kind":{"type":"string","enum":["full_company","department","project","supplier","ad_hoc"]},"audit_kind":{"type":"string","enum":["internal","external","regulatory","iso_certification","sox","gdpr","tisax","custom"]},"tisax_assurance_level":{"type":"integer","enum":[1,2,3],"description":"Required when audit_kind is tisax"},"planned_start_date":{"type":"string"},"planned_end_date":{"type":"string"},"lead_auditor_user_id":{"type":"string"},"audit_program_md":{"type":"string"},"scope_target_id":{"type":"string","nullable":true},"standard":{"type":"string","nullable":true},"team_auditors":{"type":"array","items":{"type":"string"}}}},"AuditEntry":{"type":"object","required":["id","actor","actorType","action","subjectType","subjectId","createdAt"],"properties":{"id":{"type":"integer"},"actor":{"type":"string"},"actorType":{"type":"string","enum":["agent","human","system"]},"action":{"type":"string"},"subjectType":{"type":"string","enum":["usage","escrow"]},"subjectId":{"type":"string","nullable":true},"detail":{"type":"object","nullable":true,"additionalProperties":true},"createdAt":{"type":"string","format":"date-time"}}},"AuditEvent":{"type":"object","description":"Einzelner Audit-Eintrag aus `pickpack_audit_events`. Append-only,\nHash-Chain inklusive (Verkettung erfolgt im AuditTrail-Modul).\n","properties":{"id":{"type":"integer","example":4711},"session_id":{"type":"string","format":"uuid"},"step":{"type":"string","description":"Workflow-Schritt (state-transition source).","example":"weigh","enum":["start","scan","pack","weigh","filler","label","finish","override","cancel"]},"from_state":{"$ref":"#/components/schemas/PickSessionState"},"to_state":{"$ref":"#/components/schemas/PickSessionState"},"payload":{"type":"object","additionalProperties":true,"description":"Step-spezifische Diagnose-Daten (siehe Handler-Doku)."},"actor_user_id":{"type":"integer","nullable":true,"example":42},"ts":{"type":"string","format":"date-time"}}},"AuditListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AuditEntry"}}}},"AuditLogEntry":{"type":"object","properties":{"id":{"type":"string"},"event_type":{"type":"string","example":"portal.content.moderation.decided"},"action":{"type":"string"},"entity_type":{"type":"string"},"entity_id":{"type":"string"},"actor_id":{"type":"string","nullable":true},"details":{"type":"object","nullable":true},"trace_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"AuditPackage":{"type":"object","description":"{ id: ap_<16 hex>, period: { from, to, label }, status: queued|running|ready|failed|expired, progress: 0-100, step|null, steps: [{ key: journal|exports|completeness|explained|verfahrensdoku|index, label, state: pending|running|done|failed }], findings: [{ code, severity: critical|warning|info, section, count, params, refs: [{ type, id, label }], title, detail }], findingCounts: { critical, warning, info }, summary, journal: { chainOk|null, chainHead|null, periodDigest|null, rowsInPeriod, totalCents }, dataAsOf|null, contentSha256|null, zipBytes|null, errorCode|null, createdAt, finishedAt|null, expiresAt|null, downloads, links: { download?, index?, verify? }, notice }","additionalProperties":true},"AuditPackageInput":{"type":"object","description":"Either year (2000…current year) or from + to (YYYY-MM-DD, at most 1097 days).","properties":{"year":{"type":"integer","example":2025},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"}}},"AuditProgramItemRequest":{"type":"object","required":["area","procedure_description","owner_user_id"],"properties":{"area":{"type":"string"},"procedure_description":{"type":"string"},"owner_user_id":{"type":"string"}}},"AuditReplayResponse":{"type":"object","properties":{"session_id":{"type":"string","format":"uuid"},"items":{"type":"array","items":{"$ref":"#/components/schemas/AuditEvent"}},"total":{"type":"integer","example":12},"page":{"type":"integer","example":1},"page_size":{"type":"integer","example":100}}},"AuditTrailFlatError":{"type":"object","description":"Error body of the shared handler helpers (error is a code string).","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"forbidden"},"message":{"type":"string"}}},"AuditTrail_AuditEntry":{"type":"object","required":["id","tenant_id","sequence_number","timestamp","module","action","entity_type","entity_id","data_json","previous_hash","hash","created_at"],"properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"sequence_number":{"type":"integer","description":"Monotonically increasing sequence within the tenant chain","example":42},"timestamp":{"type":"string","format":"date-time","description":"UTC ISO-8601 timestamp of the event","example":"2025-06-15T10:30:00Z"},"module":{"type":"string","description":"Source module that generated the event","example":"double-entry"},"action":{"type":"string","description":"Type of action performed","enum":["create","update","delete","import"],"example":"create"},"entity_type":{"type":"string","description":"Type of entity affected","example":"booking"},"entity_id":{"type":"string","description":"Identifier of the affected entity","example":"123"},"data_json":{"type":"string","description":"JSON snapshot of the entity data at the time of the event"},"user_id":{"type":"string","nullable":true,"description":"Optional user who performed the action"},"previous_hash":{"type":"string","description":"SHA-256 hash of the previous entry in the chain"},"hash":{"type":"string","description":"SHA-256 hash of this entry (chained)"},"created_at":{"type":"string","format":"date-time"}}},"AuditTrail_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"internal_error"},"message":{"type":"string","example":"Failed to list audit trail entries"}}}}},"AuthMiddlewareError":{"allOf":[{"$ref":"#/components/schemas/MiddlewareError"},{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHORIZED"]}}}]},"AuthTransport":{"type":"object","properties":{"issuedBearer":{"type":"boolean"},"issuedCookie":{"type":"boolean"},"acceptsBearer":{"type":"boolean"},"acceptsCookie":{"type":"boolean"}}},"Auth_ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string","nullable":true},"details":{"nullable":true},"code":{"nullable":true}}},"Auth_MessageResponse":{"type":"object","properties":{"message":{"type":"string"}}},"AuthoritativeCapability":{"type":"object","additionalProperties":false,"required":["id","moduleId","action","target","riskClass","destructive","argumentSchema"],"properties":{"id":{"type":"string","maxLength":302},"moduleId":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{0,99}$"},"action":{"type":"string","enum":["navigate","speak"]},"target":{"type":"object","additionalProperties":false,"required":["id","value"],"properties":{"id":{"type":"string","maxLength":100},"value":{"type":"string","maxLength":200}}},"riskClass":{"type":"string","enum":["read","write","destructive"]},"destructive":{"type":"boolean"},"argumentSchema":{"$ref":"#/components/schemas/BoundedArgumentSchema"}}},"AuthoritativeCapabilityManifest":{"type":"object","additionalProperties":false,"required":["contractVersion","manifestVersion","digest","tenantBinding","capabilities","limits"],"properties":{"contractVersion":{"type":"string","enum":["demo-capabilities/v1"]},"manifestVersion":{"type":"string","pattern":"^demo-capabilities/v1:[0-9a-f]{16}$"},"digest":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"tenantBinding":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"One-way binding; never exposes the tenant identifier."},"capabilities":{"type":"array","minItems":1,"maxItems":301,"items":{"$ref":"#/components/schemas/AuthoritativeCapability"}},"limits":{"type":"object","additionalProperties":false,"required":["maxPlanSteps","maxArgumentsPerAction","maxStringLength"],"properties":{"maxPlanSteps":{"type":"integer","minimum":1,"maximum":30},"maxArgumentsPerAction":{"type":"integer","minimum":1,"maximum":2},"maxStringLength":{"type":"integer","minimum":1,"maximum":500}}}}},"AuthoritativeCapabilityManifestResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/AuthoritativeCapabilityManifest"}}},"AutoMatchRequest":{"type":"object","properties":{"statement_id":{"type":"integer","minimum":1}}},"AutoMatchResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["processed","exact","strong","weak","none","matches"],"properties":{"processed":{"type":"integer","minimum":0},"exact":{"type":"integer","minimum":0},"strong":{"type":"integer","minimum":0},"weak":{"type":"integer","minimum":0},"none":{"type":"integer","minimum":0},"matches":{"type":"array","items":{"$ref":"#/components/schemas/MatchResult"}}}}}},"BackgroundJobsCheck":{"type":"object","required":["status","pending","failed"],"properties":{"status":{"type":"string","enum":["healthy","degraded"],"example":"healthy"},"pending":{"type":"integer","description":"Number of pending background jobs","example":0},"failed":{"type":"integer","description":"Number of failed background jobs","example":0},"error":{"type":"string","nullable":true,"description":"Error message when status is degraded","example":null}}},"BackgroundJobs_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string","example":"Name is required"}}}}},"BackgroundJobs_Job":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"name":{"type":"string","example":"Daily Cleanup"},"description":{"type":"string","nullable":true,"example":"Removes expired sessions"},"schedule":{"type":"string","description":"Cron expression","example":"0 2 * * *"},"handler_class":{"type":"string","example":"App\\Jobs\\CleanupHandler"},"is_active":{"type":"integer","enum":[0,1],"example":1},"last_run_at":{"type":"string","format":"date-time","nullable":true},"next_run_at":{"type":"string","format":"date-time","nullable":true},"run_count":{"type":"integer","example":42},"priority":{"type":"string","enum":["high","normal","low"],"example":"normal"},"timezone":{"type":"string","nullable":true,"description":"IANA timezone the cron schedule is evaluated in (DST-safe). Null falls back to BACKGROUND_JOBS_DEFAULT_TIMEZONE (default Europe/Berlin).\n","example":"Europe/Berlin"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"BackupRecord":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"source_server":{"type":"string"},"target_server":{"type":"string","nullable":true},"target_account":{"type":"string","nullable":true},"schedule_day":{"type":"string","nullable":true},"schedule_time":{"type":"string","nullable":true},"status":{"type":"string","enum":["pending","running","completed","failed","skipped"]},"last_run_at":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"BackupRecordInput":{"type":"object","required":["source_server"],"properties":{"source_server":{"type":"string"},"target_server":{"type":"string"},"target_account":{"type":"string"},"schedule_day":{"type":"string"},"schedule_time":{"type":"string"},"status":{"type":"string","enum":["pending","running","completed","failed","skipped"],"default":"pending"},"last_run_at":{"type":"string"},"annotation":{"type":"string"}}},"BalanceSheet":{"type":"object","required":["date","date_from","fiscal_year","assets","liabilities","equity","total_assets","total_liabilities","total_equity"],"properties":{"date":{"type":"string","format":"date"},"date_from":{"type":"string","format":"date","description":"First day of the tenant's fiscal year containing `date`."},"fiscal_year":{"type":"integer","description":"Fiscal-year label (the calendar year in which it ends)."},"assets":{"type":"array","items":{"$ref":"#/components/schemas/BalanceSheetEntry"}},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/BalanceSheetEntry"}},"equity":{"type":"array","items":{"$ref":"#/components/schemas/BalanceSheetEntry"}},"total_assets":{"type":"number","format":"double"},"total_liabilities":{"type":"number","format":"double"},"total_equity":{"type":"number","format":"double"}}},"BalanceSheetEntry":{"type":"object","required":["account_number","name","balance"],"properties":{"account_number":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","nullable":true},"balance":{"type":"number","format":"double"}}},"BandRequest":{"type":"object","required":["code","name","min_amount_cents","mid_amount_cents","max_amount_cents","effective_from"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"min_amount_cents":{"type":"integer"},"mid_amount_cents":{"type":"integer"},"max_amount_cents":{"type":"integer"},"currency":{"type":"string"},"effective_from":{"type":"string","format":"date"},"status":{"type":"string","enum":["active","retired"]}}},"BankAccountRegistryEntry":{"type":"object","description":"One registered bank account. The full IBAN is never returned — only the mask. `field_status` declares per field whether the value is a masked surface or deliberate cleartext.\n","properties":{"id":{"type":"integer"},"connectionId":{"type":"integer","nullable":true},"label":{"type":"string"},"bankName":{"type":"string"},"ibanMasked":{"type":"string"},"accountKind":{"type":"string","enum":["business","private"]},"status":{"type":"string","enum":["active","closed","known_no_data"]},"expectedFrom":{"type":"string","format":"date","nullable":true},"expectedTo":{"type":"string","format":"date","nullable":true},"blocksClose":{"type":"boolean","description":"Always false for private accounts — a review aid never blocks the close."},"confidentiality":{"type":"string","enum":["standard","confidential"]},"note":{"type":"string","nullable":true},"field_status":{"type":"object","additionalProperties":{"type":"string"}}}},"BankCoverageDefect":{"type":"object","description":"One concrete completeness defect. Always names the account and, where applicable, the exact months — \"somewhere something is missing\" is worthless for fixing it.\n","properties":{"accountId":{"type":"integer"},"accountLabel":{"type":"string"},"ibanMasked":{"type":"string"},"accountKind":{"type":"string","enum":["business","private"]},"kind":{"type":"string","enum":["missing_statement_period","account_known_no_data","orphan_transactions","implausible_statement","undeterminable_coverage"]},"months":{"type":"array","items":{"type":"string","example":"2026-02"}},"expectedFrom":{"type":"string","format":"date","nullable":true},"expectedTo":{"type":"string","format":"date","nullable":true},"remedy":{"type":"string"},"blocksClose":{"type":"boolean","description":"Always false for private accounts — a review aid never blocks the close."}}},"BankDuplicateAssessmentResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["summary","groups"],"properties":{"summary":{"type":"object","required":["transactions_scanned","duplicate_groups","candidate_duplicate_rows","unclassified_rows"],"properties":{"transactions_scanned":{"type":"integer","minimum":0},"duplicate_groups":{"type":"integer","minimum":0},"candidate_duplicate_rows":{"type":"integer","minimum":0},"unclassified_rows":{"type":"integer","minimum":0}}},"groups":{"type":"array","items":{"type":"object"}}}}}},"BankDuplicateHold":{"type":"object","required":["source_transaction_ordinal","identity_tier","identity_hash","identity_occurrence","reason_code"],"properties":{"source_transaction_ordinal":{"type":"integer","minimum":1},"identity_tier":{"type":"string","enum":["acct_svcr_ref","payment_reference","fingerprint"]},"identity_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"identity_occurrence":{"type":"integer","minimum":1},"reason_code":{"type":"string","enum":["existing_movement_identity","concurrent_movement_identity"]}}},"BankFieldDetails":{"type":"object","additionalProperties":false,"required":["reference"],"properties":{"reference":{"type":"object","additionalProperties":false,"required":["embedded_iban"],"properties":{"embedded_iban":{"type":"object","additionalProperties":false,"required":["present","status"],"properties":{"present":{"type":"boolean","description":"True when a checksum-valid IBAN segment was found in the reference."},"status":{"type":"string","enum":["pseudonymized","cleartext"],"description":"Provenance of an embedded IBAN segment. The surrounding\nreference remains cleartext_business_critical.\n"}}}}}}},"BankFieldStatusMap":{"type":"object","description":"Out-of-band provenance for every business-data field in one bank\nmovement. Plausible pseudonym surfaces intentionally carry no marker in\ntheir value, so consumers must use this map instead of guessing from\ndisplay text.\n","additionalProperties":{"type":"string","enum":["pseudonymized","cleartext","cleartext_business_critical"]},"example":{"counterparty":"pseudonymized","reference":"cleartext_business_critical","amount_cents":"cleartext_business_critical"}},"BankGuarantee":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"direction":{"type":"string","enum":["given","received"]},"guarantee_type":{"type":"string","enum":["performance","bid","advance_payment","warranty","payment","lease","other"]},"reference_no":{"type":"string","nullable":true},"bank_name":{"type":"string"},"bank_bic":{"type":"string","nullable":true},"beneficiary":{"type":"string"},"beneficiary_address":{"type":"string","nullable":true},"contract_ref":{"type":"string","nullable":true},"amount":{"$ref":"#/components/schemas/MoneyAmount"},"drawn_amount":{"$ref":"#/components/schemas/MoneyAmount"},"outstanding_amount":{"$ref":"#/components/schemas/MoneyAmount"},"currency":{"type":"string","example":"EUR"},"issued_date":{"type":"string","format":"date","nullable":true},"expiry_date":{"type":"string","format":"date","nullable":true},"status":{"type":"string","enum":["active","partially_drawn","expired","drawn","released","cancelled"]},"terms_doc_path":{"type":"string","nullable":true},"notes":{"type":"string","nullable":true},"created_at":{"type":"string","nullable":true},"updated_at":{"type":"string","nullable":true}}},"BankGuaranteeCreateRequest":{"type":"object","required":["bank_name","beneficiary","amount"],"properties":{"direction":{"type":"string","enum":["given","received"]},"guarantee_type":{"type":"string","enum":["performance","bid","advance_payment","warranty","payment","lease","other"]},"reference_no":{"type":"string"},"bank_name":{"type":"string"},"bank_bic":{"type":"string"},"beneficiary":{"type":"string"},"beneficiary_address":{"type":"string"},"contract_ref":{"type":"string"},"amount":{"$ref":"#/components/schemas/MoneyAmount"},"currency":{"type":"string","example":"EUR"},"issued_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["active","partially_drawn","expired","drawn","released","cancelled"]},"terms_doc_path":{"type":"string"},"notes":{"type":"string"}}},"BankGuaranteeEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/BankGuarantee"}}},"BankGuaranteeUpdateRequest":{"type":"object","description":"Partial update; terminal-status guarantees cannot be edited.","additionalProperties":false,"properties":{"direction":{"type":"string","enum":["given","received"]},"guarantee_type":{"type":"string","enum":["performance","bid","advance_payment","warranty","payment","lease","other"]},"reference_no":{"type":"string"},"bank_name":{"type":"string"},"bank_bic":{"type":"string"},"beneficiary":{"type":"string"},"beneficiary_address":{"type":"string"},"contract_ref":{"type":"string"},"amount":{"$ref":"#/components/schemas/MoneyAmount"},"currency":{"type":"string"},"issued_date":{"type":"string","format":"date"},"expiry_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["active","partially_drawn","expired","drawn","released","cancelled"]},"terms_doc_path":{"type":"string"},"notes":{"type":"string"}}},"BankGuarantees_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"VALIDATION_ERROR"},"message":{"type":"string"}}},"BankImportBatchStatus":{"type":"object","additionalProperties":false,"required":["success","batch_id","state","expires_at","approval_window_open","approved_at","imported_at","failure_code","total_records","accepted_records","rejected_records","rejections"],"properties":{"success":{"type":"boolean","enum":[true]},"batch_id":{"type":"string","pattern":"^[a-f0-9]{32}$"},"state":{"type":"string","enum":["previewed","owner_approved","executing","imported","failed","expired"]},"expires_at":{"description":"End of the current approval window, UTC. Re-previewing the same file with the same key arms a fresh window.","type":["string","null"]},"approval_window_open":{"description":"Whether an owner decision can still be recorded for this batch right now. A state of previewed does NOT imply it.","type":"boolean"},"approved_at":{"type":["string","null"],"format":"date-time"},"imported_at":{"type":["string","null"],"format":"date-time"},"failure_code":{"type":["string","null"]},"total_records":{"type":["integer","null"],"minimum":0},"accepted_records":{"type":["integer","null"],"minimum":0},"rejected_records":{"type":["integer","null"],"minimum":0},"rejections":{"type":"array","items":{"$ref":"#/components/schemas/BankImportRejection"}}}},"BankImportProofColumn":{"type":"object","additionalProperties":false,"description":"Description of one stored value. Carries no stored bytes — only their shape, the cleartext classes structurally present, and keyed fingerprints for caller-side comparison.\n","required":["intent","stored","shape","cleartext_indicators","raw_fingerprint"],"properties":{"intent":{"type":"string","enum":["pseudonymized_surface","cleartext_business_critical","cleartext_account_label","derived_fingerprint","derived_category","derived_token","masked"]},"expected_indicators":{"type":"array","items":{"type":"string"}},"unexpected_indicators":{"type":"array","items":{"type":"string"}},"decision":{"type":"string","enum":["indicators_are_conclusive","compare_fingerprints_against_your_source"]},"stored":{"type":"string","enum":["present","empty","null"]},"byte_length":{"type":"integer"},"shape":{"type":"string"},"cleartext_indicators":{"type":"array","items":{"type":"string","enum":["iban","email","phone","postal_address","readable_text"]}},"raw_fingerprint":{"type":"string","pattern":"^([a-f0-9]{32})?$"},"normalized_fingerprint":{"type":"string","pattern":"^([a-f0-9]{32})?$"},"token_fingerprints":{"type":"array","items":{"type":"string","pattern":"^[a-f0-9]{32}$"}}}},"BankImportProofRecord":{"type":"object","additionalProperties":false,"required":["kind","source_table","found","columns"],"properties":{"kind":{"type":"string","enum":["bank_transaction","bank_account"]},"source_table":{"type":"string"},"found":{"type":"boolean"},"columns_absent_from_schema":{"type":"array","items":{"type":"string"}},"columns":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/BankImportProofColumn"}}}},"BankImportPseudonymizationProof":{"type":"object","additionalProperties":false,"required":["success","batch_id","statement_id","records","verdict","proof_salt","comparison"],"properties":{"success":{"type":"boolean","enum":[true]},"batch_id":{"type":"string","pattern":"^[a-f0-9]{32}$"},"statement_id":{"type":"integer"},"transactions_in_statement":{"type":"integer"},"records":{"type":"array","items":{"$ref":"#/components/schemas/BankImportProofRecord"}},"verdict":{"type":"object","required":["cleartext_indicators_found","flagged_fields","fields_requiring_caller_comparison"],"properties":{"cleartext_indicators_found":{"type":"boolean"},"flagged_fields":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"intent":{"type":"string"},"indicators":{"type":"array","items":{"type":"string"}}}}},"fields_requiring_caller_comparison":{"type":"array","items":{"type":"string"}},"note":{"type":"string"}}},"proof_salt":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Per-response HMAC key (hex). Never reused, never persisted."},"comparison":{"type":"object","description":"Exact contract for recomputing the fingerprints locally.","properties":{"algorithm":{"type":"string"},"normalization":{"type":"string"},"token_split":{"type":"string"},"howto":{"type":"string"},"salt_lifetime":{"type":"string"}}}}},"BankImportRejection":{"type":"object","additionalProperties":false,"required":["source_record","code","messages"],"properties":{"source_record":{"type":"integer","minimum":1},"code":{"type":"string","enum":["missing_date","unreadable_amount","invalid_date","malformed_record","already_present_in_overlapping_statement"]},"messages":{"type":"object","additionalProperties":false,"required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}}}},"BankImportResetBlocked":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","enum":["reset_blocked"]},"message":{"type":"string"},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/BankImportResetBlocker"}}}},"BankImportResetBlocker":{"type":"object","properties":{"reason":{"type":"string","enum":["posted_to_ledger","period_closed","preview_stale","typed_confirmation_required"]},"transaction_id":{"type":"integer"},"booking_id":{"type":"string"},"booking_date":{"type":"string"},"remedy":{"type":"string"}}},"BankImportResetExecuteRequest":{"type":"object","required":["confirmation_token"],"anyOf":[{"required":["scope"]},{"required":["mode"]}],"properties":{"scope":{"type":"string","enum":["batch","period","all"]},"mode":{"type":"string","deprecated":true,"enum":["batch","period","all"]},"batch_id":{"type":"integer"},"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"from":{"type":"string","format":"date","deprecated":true},"to":{"type":"string","format":"date","deprecated":true},"confirmation_token":{"type":"string","description":"The token returned by the preview. Refused if the data changed since."},"typed_confirmation":{"type":"string","description":"Must equal the tenant id for mode=all. A boolean flag is deliberately not enough."},"reason":{"type":"string","description":"Recorded in the audit trail."},"clear_import_gate":{"type":"boolean","default":true,"description":"Clear the content-hash replay gate so the same file can be imported again. Leaving it set would make an identical re-upload return imported=0 without writing anything.\n"}}},"BankImportResetPreview":{"type":"object","properties":{"scope":{"$ref":"#/components/schemas/BankImportResetScope"},"removable":{"type":"object","properties":{"transactions":{"type":"integer"},"period_from":{"type":"string"},"period_to":{"type":"string"},"amount_cents":{"type":"integer"}}},"also_removed":{"type":"object","properties":{"bank_sync_matches":{"type":"integer"},"de_bank_booking_suggestions":{"type":"integer"}}},"preserved":{"type":"object","description":"Rows inside the scope's reach that are deliberately kept.","properties":{"adopted_private_entries":{"type":"integer"},"unattributed_transactions":{"type":"integer","description":"Imported-layer rows whose origin cannot be established; never deleted."}}},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/BankImportResetBlocker"}},"executable":{"type":"boolean"},"requires_typed_confirmation":{"type":"boolean"},"confirmation_token":{"type":"string"}}},"BankImportResetRequest":{"type":"object","anyOf":[{"required":["scope"]},{"required":["mode"]}],"properties":{"scope":{"type":"string","enum":["batch","period","all"],"description":"Canonical selector: batch = one import; period = every import in a date range; all = everything imported."},"mode":{"type":"string","deprecated":true,"enum":["batch","period","all"],"description":"Deprecated alias of scope. If both are sent they must match."},"batch_id":{"type":"integer","description":"Required for scope=batch."},"date_from":{"type":"string","format":"date","description":"Canonical start date; required for scope=period."},"date_to":{"type":"string","format":"date","description":"Canonical end date; required for scope=period."},"from":{"type":"string","format":"date","deprecated":true,"description":"Deprecated alias of date_from. If both are sent they must match."},"to":{"type":"string","format":"date","deprecated":true,"description":"Deprecated alias of date_to. If both are sent they must match."}}},"BankImportResetResult":{"type":"object","properties":{"success":{"type":"boolean"},"scope":{"$ref":"#/components/schemas/BankImportResetScope"},"removed":{"type":"object","additionalProperties":{"type":"integer"},"description":"Rows removed per table."},"transactions_removed":{"type":"integer"},"reimportable":{"type":"boolean","description":"True when the replay gate was cleared, i.e. the same content loads again."}}},"BankImportResetScope":{"type":"object","properties":{"scope":{"type":"string","enum":["batch","period","all"]},"mode":{"type":"string","deprecated":true,"enum":["batch","period","all"]},"tenant_id":{"type":"string"},"batch_id":{"type":["integer","null"]},"from":{"type":"string","deprecated":true},"to":{"type":"string","deprecated":true},"date_from":{"type":"string"},"date_to":{"type":"string"}}},"BankStatement":{"type":"object","required":["id","format","iban","opening_balance","closing_balance","currency","ingested_at"],"properties":{"id":{"type":"integer","minimum":1},"format":{"type":"string","enum":["camt052","camt053","camt054"]},"iban":{"type":"string"},"account_no":{"type":"string","nullable":true},"statement_no":{"type":"string","nullable":true},"electronic_seq_no":{"type":"string","nullable":true},"opening_balance":{"$ref":"#/components/schemas/Money"},"closing_balance":{"$ref":"#/components/schemas/Money"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"booking_date":{"type":"string","format":"date","nullable":true},"ingested_at":{"type":"string"},"parser_version":{"type":"string","nullable":true},"validator_version":{"type":"string","nullable":true}}},"BankStatementDetailResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["statement","transactions","withheld_duplicates"],"properties":{"statement":{"$ref":"#/components/schemas/BankStatement"},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/BankTransaction"}},"withheld_duplicates":{"type":"array","items":{"$ref":"#/components/schemas/BankDuplicateHold"}}}}}},"BankStatementDetailResult":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["statement","transactions","field_status"],"properties":{"statement":{"$ref":"#/components/schemas/BankStatementSummary"},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/BankStatementTransaction"}},"field_status":{"type":"object","additionalProperties":{"type":"string","enum":["pseudonymized","cleartext_business_critical"]},"description":"Disclosure status for the returned transaction fields."}}}}},"BankStatementImportRequest":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"}}},"BankStatementImportResponse":{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["statement","transactions","withheld_duplicates"],"properties":{"statement":{"$ref":"#/components/schemas/BankStatement"},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/BankTransaction"}},"withheld_duplicates":{"type":"array","items":{"$ref":"#/components/schemas/BankDuplicateHold"}}}},"meta":{"type":"object","required":["created","transaction_count","withheld_duplicate_count"],"properties":{"created":{"type":"boolean"},"transaction_count":{"type":"integer","minimum":0},"withheld_duplicate_count":{"type":"integer","minimum":0}}}}},"BankStatementImportResult":{"type":"object","required":["success","status","format","account_identity","connection_id","statement_id","imported","duplicates","skip_reasons","skipped","rejections","transactions","idempotent_replay","batch_state_recorded"],"properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["imported","duplicate_only","idempotent_replay"],"description":"duplicate_only means no statement batch was persisted and statement_id is null."},"format":{"type":"string","enum":["csv","mt940"]},"account_identity":{"type":"string","enum":["iban","account_key","split_plan"]},"account_key_derived":{"type":"boolean","description":"True only when a payment-service profile supplied one stable dedicated account identity."},"connection_id":{"type":["integer","null"]},"statement_id":{"type":["integer","null"],"minimum":1,"description":"Canonical import-batch id used by the bank-statement read endpoints; null on an idempotent replay or duplicate-only import."},"statements":{"type":"array","description":"One non-empty committed batch per resolved own account; duplicate-only groups are omitted.","items":{"type":"object","required":["statement_id","connection_id","imported"],"properties":{"statement_id":{"type":"integer","minimum":1},"connection_id":{"type":"integer","minimum":1},"imported":{"type":"integer","minimum":0}}}},"imported":{"type":"integer"},"duplicates":{"type":"integer"},"skip_reasons":{"type":"object","description":"Counts by explicit reason for movements omitted from this import.","additionalProperties":{"type":"integer","minimum":1}},"skipped":{"type":"integer"},"rejections":{"type":"array","items":{"$ref":"#/components/schemas/BankImportRejection"}},"transactions":{"type":"integer"},"idempotent_replay":{"type":"boolean"},"batch_state_recorded":{"type":"boolean","description":"True only when the durable batch state matches the successful response; a write failure returns an error instead."},"batch_id":{"type":["string","null"],"pattern":"^[a-f0-9]{32}$"}}},"BankStatementListResponse":{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BankStatement"}},"meta":{"type":"object","required":["count"],"properties":{"count":{"type":"integer","minimum":0}}}}},"BankStatementListResult":{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BankStatementSummary"}},"meta":{"type":"object","required":["count"],"properties":{"count":{"type":"integer","minimum":0}}}}},"BankStatementPreviewResult":{"type":"object","additionalProperties":false,"required":["success","dryRun","format","account_identity","counts","errors","samples","split_plan"],"properties":{"success":{"type":"boolean","enum":[true]},"dryRun":{"type":"boolean","enum":[true]},"format":{"type":"string","enum":["csv","mt940"]},"account_identity":{"type":"string","enum":["iban","account_key","split_plan"]},"account_key_derived":{"type":"boolean"},"counts":{"type":"object","additionalProperties":false,"required":["transactions","valid","skipped","errors"],"properties":{"transactions":{"type":"integer","minimum":0},"valid":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"errors":{"type":"integer","minimum":0}}},"errors":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["code","count","message"],"properties":{"code":{"type":"string","enum":["rows_skipped"]},"count":{"type":"integer","minimum":1},"message":{"type":"string"}}}},"samples":{"type":"array","maxItems":5,"items":{"$ref":"#/components/schemas/PseudonymizedBankClassificationInput"}},"split_plan":{"$ref":"#/components/schemas/BankStatementSplitPlan"},"batch_id":{"type":"string","pattern":"^[a-f0-9]{32}$","description":"Present only for API-key previews."}}},"BankStatementSplitAccount":{"allOf":[{"$ref":"#/components/schemas/BankStatementSplitTotals"},{"type":"object","required":["account_ref","identity_source","source_type"],"properties":{"account_ref":{"type":"string","description":"Masked account reference; never the raw service identity."},"identity_source":{"type":"string","enum":["iban","account_key"]},"source_type":{"type":"string","enum":["bank","zahlungsdienst","unbekannt"]}}}]},"BankStatementSplitPlan":{"type":"object","additionalProperties":false,"required":["status","is_split","accept_value","accounts","unassigned","before","after"],"properties":{"status":{"type":"string","enum":["ready","has_unassigned","empty"]},"is_split":{"type":"boolean"},"accept_value":{"type":"string","enum":["accept"]},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/BankStatementSplitAccount"}},"unassigned":{"$ref":"#/components/schemas/BankStatementSplitTotals"},"before":{"$ref":"#/components/schemas/BankStatementSplitState"},"after":{"$ref":"#/components/schemas/BankStatementSplitState"}}},"BankStatementSplitState":{"type":"object","required":["status","batch_count","transaction_count","sum_minor_units"],"properties":{"status":{"type":"string"},"batch_count":{"type":"integer","minimum":0},"transaction_count":{"type":"integer","minimum":0},"sum_minor_units":{"type":"integer"}}},"BankStatementSplitTotals":{"type":"object","required":["transaction_count","sum_minor_units","currency","totals_minor_units"],"properties":{"transaction_count":{"type":"integer","minimum":0},"sum_minor_units":{"type":"integer"},"currency":{"type":"string"},"totals_minor_units":{"type":"object","additionalProperties":{"type":"integer"}}}},"BankStatementSummary":{"type":"object","required":["id","statement_date","iban","currency","source_type","transaction_count","total_cents","imported_at","account_name","source_filename","source_document_id","actor_type","actor_id","api_key_id"],"properties":{"id":{"type":"integer","minimum":1,"example":42},"statement_date":{"type":"string","format":"date","example":"2026-07-18"},"iban":{"type":"string","example":"DE00-EXAMPLE-IBAN"},"currency":{"type":"string","example":"EUR"},"source_type":{"type":"string","enum":["bank","zahlungsdienst","unbekannt"]},"transaction_count":{"type":"integer","minimum":0,"example":12},"total_cents":{"type":"integer","example":48125},"imported_at":{"type":"string","example":"2026-07-18T10:30:00"},"account_name":{"type":"string","example":"Statement Import","description":"Privacy-safe generated label; never a filename or full account identifier."},"source_filename":{"type":"string","nullable":true,"description":"Original upload basename, or null when the historical import did not capture it."},"source_document_id":{"type":"string","nullable":true,"description":"Tenant-bound source document reached through the canonical DocumentLinks edge."},"actor_type":{"type":"string","nullable":true,"description":"Actor type of the durable executing event, or null when no access was captured."},"actor_id":{"type":"string","nullable":true,"description":"Actor id of the durable executing event, or null when no access was captured."},"api_key_id":{"type":"integer","nullable":true,"minimum":1,"description":"Tenant API key used for the upload, or null for historical/browser imports."}}},"BankStatementTransaction":{"type":"object","required":["id","booking_date","value_date","amount_cents","currency","reference","counterparty","counterparty_iban","match_status"],"properties":{"id":{"type":"integer","minimum":1,"example":91},"booking_date":{"type":"string","format":"date","example":"2026-07-17"},"value_date":{"type":"string","format":"date","example":"2026-07-18"},"amount_cents":{"type":"integer","example":1234},"currency":{"type":"string","example":"EUR"},"reference":{"type":"string","example":"Rechnung 2026-104"},"counterparty":{"type":"string","example":"Beispiel GmbH"},"counterparty_iban":{"type":"string","description":"Tenant-scoped pseudonymized counterparty account identifier, or an empty string."},"match_status":{"type":"string","example":"unmatched"}}},"BankStatements_ErrorResponse":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}},"BankStatements_Money":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$","description":"Decimal money string; never a floating-point JSON number."},"BankSuggestion":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"bank_transaction_id":{"type":"integer"},"booking_date":{"type":"string","format":"date"},"amount_cents":{"type":"integer"},"currency":{"type":"string"},"counterparty":{"type":"string","description":"Plausible pseudonym surface copied from the tenant-bound bank\nmovement. Its appearance does not reveal that it is pseudonymized;\nuse field_status.\n"},"reference":{"type":"string","description":"Original payment reference; intentionally not rewritten by privacy remediation."},"direction":{"type":"string","enum":["in","out"]},"kontenrahmen":{"type":"string","enum":["skr03","skr04"]},"bank_account":{"type":"string"},"contra_account":{"type":"string"},"contra_account_name":{"type":"string"},"contra_account_type":{"type":"string"},"vat_rate":{"type":"integer"},"net_cents":{"type":"integer"},"vat_cents":{"type":"integer"},"booking_text":{"type":"string","description":"Business-critical cleartext with the same pseudonym surface as\ncounterparty where a party label is embedded.\n"},"confidence":{"type":"integer"},"explanation":{"type":"string","description":"Never includes a real or plausible-pseudonym IBAN value."},"reason_code":{"type":"string","nullable":true,"enum":["contra_account_not_in_chart","zero_amount","unclassified_account_and_tax","tenant_exclusion_rule"],"description":"Stable language-neutral reason for a generated no-candidate suggestion; null for reliable suggestions and legacy rows."},"rule_source":{"type":"string","enum":["tenant","learned","default","fallback"]},"rule_id":{"type":"integer","nullable":true},"reverse_charge_mode":{"type":"string","nullable":true,"enum":["eu","non_eu"],"description":"§13b UStG reverse-charge mode when the suggestion is a foreign-supplier\nservice: 'eu' (§13b Abs.1/5 → UStVA Kz46/47) or 'non_eu' (§13b Abs.2 →\nKz84/85). On accept the self-assessed USt + deductible Vorsteuer (Kz67)\nlegs are posted to vat_ledger — USt-neutral for a deducting business.\n"},"status":{"type":"string","enum":["offen","angenommen","geaendert","abgelehnt"]},"rejection_reason":{"type":"string","nullable":true},"accepted_booking_id":{"type":"string","nullable":true},"decided_by":{"type":"string","nullable":true},"decided_at":{"type":"string","nullable":true},"field_status":{"$ref":"#/components/schemas/BankFieldStatusMap"},"field_details":{"$ref":"#/components/schemas/BankFieldDetails"}}},"BankSuggestionBulkAccept":{"type":"object","properties":{"ids":{"type":"array","maxItems":5000,"items":{"type":"integer","minimum":1}},"counterparty":{"type":"string"},"contra_account":{"type":"string"},"offset":{"type":"integer","minimum":0,"description":"Acknowledged explicit-id resume offset"},"after_id":{"type":"integer","minimum":0,"description":"Stable group keyset cursor"},"batch_size":{"type":"integer","minimum":1,"maximum":500}},"description":"Supply either a stable ids inventory or a counterparty group."},"BankSuggestionBulkResult":{"type":"object","required":["accepted","already","failed","results","progress","limits"],"properties":{"accepted":{"type":"integer"},"already":{"type":"integer"},"failed":{"type":"integer"},"results":{"type":"array","items":{"type":"object","required":["id","ok"],"properties":{"id":{"type":"integer"},"ok":{"type":"boolean"},"booking_id":{"type":"string"},"already_accepted":{"type":"boolean"},"error_code":{"type":"string","enum":["booking_periods_missing","economic_event_schema_missing","period_closed","no_candidate","not_found","conflict","validation_error","internal_error"]},"error":{"type":"string"},"reason":{"type":"object","properties":{"code":{"type":"string"},"message":{"$ref":"#/components/schemas/LocalizedDeEnEs"},"remediation":{"$ref":"#/components/schemas/LocalizedDeEnEs"}}}}}},"progress":{"type":"object","required":["processed","complete"],"properties":{"total":{"type":"integer","nullable":true},"processed":{"type":"integer"},"remaining":{"type":"integer","nullable":true},"next_offset":{"type":"integer"},"next_after_id":{"type":"integer"},"complete":{"type":"boolean"}}},"limits":{"type":"object","required":["batch_size","max_items"],"properties":{"batch_size":{"type":"integer"},"max_items":{"type":"integer"}}}}},"BankSuggestionGroup":{"type":"object","required":["counterparty","contra_account","count"],"description":"Recurring group aggregated across the complete tenant-bound filtered\ninventory, independent of the current page window.\n","properties":{"counterparty":{"type":"string"},"contra_account":{"type":"string"},"count":{"type":"integer","minimum":2}}},"BankSuggestionRule":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"priority":{"type":"integer"},"match_field":{"type":"string","enum":["any","counterparty","reference"]},"match_type":{"type":"string","enum":["contains","exact","iban"]},"match_value":{"type":"string"},"amount_sign":{"type":"string","enum":["any","in","out"]},"min_amount_cents":{"type":"integer","nullable":true},"max_amount_cents":{"type":"integer","nullable":true},"skr03_account":{"type":"string","nullable":true},"skr04_account":{"type":"string","nullable":true},"account_name":{"type":"string","nullable":true},"account_type":{"type":"string","nullable":true},"vat_rate":{"type":"integer"},"booking_text":{"type":"string"},"source":{"type":"string","enum":["manual","learned"]},"is_active":{"type":"integer"}}},"BankSuggestionRuleCreate":{"type":"object","required":["name","match_value"],"properties":{"name":{"type":"string"},"priority":{"type":"integer","default":100},"match_field":{"type":"string","enum":["any","counterparty","reference"],"default":"any"},"match_type":{"type":"string","enum":["contains","exact","iban"],"default":"contains"},"match_value":{"type":"string"},"amount_sign":{"type":"string","enum":["any","in","out"],"default":"any"},"min_amount_cents":{"type":"integer","nullable":true},"max_amount_cents":{"type":"integer","nullable":true},"skr03_account":{"type":"string","description":"At least one of skr03_account/skr04_account is required"},"skr04_account":{"type":"string"},"account_name":{"type":"string"},"account_type":{"type":"string","enum":["asset","liability","equity","revenue","expense"]},"vat_rate":{"type":"integer","enum":[0,7,19],"default":0},"booking_text":{"type":"string"}}},"BankTransaction":{"type":"object","required":["id","statement_id","amount","currency","direction","match_confidence"],"properties":{"id":{"type":"integer","minimum":1},"statement_id":{"type":"integer","minimum":1},"booking_date":{"type":"string","format":"date","nullable":true},"value_date":{"type":"string","format":"date","nullable":true},"amount":{"$ref":"#/components/schemas/Money"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"direction":{"type":"string","enum":["credit","debit"]},"counterparty_name":{"type":"string","nullable":true},"counterparty_iban":{"type":"string","nullable":true},"counterparty_bic":{"type":"string","nullable":true},"remittance_info":{"type":"string","nullable":true},"end_to_end_id":{"type":"string","nullable":true},"instr_id":{"type":"string","nullable":true},"mandate_id":{"type":"string","nullable":true},"batch_group_id":{"type":"string","nullable":true},"reason_code":{"type":"string","nullable":true},"bank_tx_code":{"type":"string","nullable":true},"charge_amount":{"$ref":"#/components/schemas/NullableMoney"},"charge_currency":{"type":"string","nullable":true},"dedup_identity_tier":{"type":"string","nullable":true},"dedup_occurrence":{"type":"integer","nullable":true},"matched_invoice_id":{"type":"integer","nullable":true},"match_confidence":{"type":"string","enum":["none","weak","strong","exact"]},"matched_at":{"type":"string","nullable":true},"side_effect_status":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"BankTransactionCreate":{"type":"object","required":["direction","amount","currency_code"],"properties":{"direction":{"type":"string","enum":["received","sent"]},"amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"currency_code":{"type":"string","pattern":"^[A-Z]{3}$"},"counterparty_name":{"type":"string"},"customer_id":{"type":"string"},"customer_name":{"type":"string"},"vendor_name":{"type":"string"},"description":{"type":"string"},"vat_rate":{"type":"integer","minimum":0,"maximum":100},"invoice_number":{"type":"string"},"booking_date":{"type":"string","format":"date"},"payment_date":{"type":"string","format":"date"},"due_date":{"type":"string","format":"date"},"service_period_start":{"type":"string","format":"date"},"service_period_end":{"type":"string","format":"date"},"category":{"type":"string"},"business_division_id":{"type":"integer"},"fiscal_year":{"type":"integer"},"notes":{"type":"string"}}},"BankTransactionCreateResult":{"type":"object","required":["direction","entry_type","entry_id","entry"],"properties":{"simulated":{"type":"boolean","enum":[true],"description":"Present only for simulation and only after successful rollback."},"direction":{"type":"string","enum":["received","sent"]},"entry_type":{"type":"string","enum":["income","expense"]},"entry_id":{"type":["integer","null"]},"entry":{"oneOf":[{"$ref":"#/components/schemas/Income"},{"type":"object","additionalProperties":true}]}}},"BankTransactionListResult":{"type":"object","required":["success","data","reconciliation","meta"],"properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BankTransactionRead"}},"reconciliation":{"$ref":"#/components/schemas/BankTransactionReconciliation"},"meta":{"type":"object","required":["count","limit","offset"],"properties":{"count":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}}}},"BankTransactionRead":{"type":"object","required":["id","bank_tx_id","counterparty_iban","account_id","account_name","account_iban","booking_date","value_date","amount_cents","currency","direction","counterparty","reference","match_status","suggestion","suggestion_status","booked"],"properties":{"tenant_id":{"type":["string","null"],"description":"Authenticated tenant binding; never taken from request filters."},"source_sha256":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$","description":"SHA-256 of the original native upload, absent for unproven historical rows."},"source_record":{"type":["integer","null"],"minimum":1,"description":"Native logical record; sheets use zero-based ordinal times 1000000 plus original one-based row."},"source_family":{"type":["string","null"]},"source_cells_sha256":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$","description":"bank-source-cell-identity/v1 SHA-256 of ordered raw headers and raw cells; historical rows remain null. Filenames are deliberately not exported."},"id":{"type":"integer"},"bank_tx_id":{"type":"string","description":"Stored provider or deduplication movement identity, including any occurrence suffix; empty when unavailable."},"counterparty_iban":{"type":["string","null"],"description":"Stored tenant-scoped pseudonym alias, returned unchanged only when the persisted ingest state confirms structured fields are pseudonymized. Empty values remain empty; null means absent or withheld because storage is cleartext or unproven. Authorized field_status reports stored provenance, never infers pseudonymization from IBAN appearance or the current import mode.\n"},"account_id":{"type":"integer"},"account_name":{"type":"string"},"account_iban":{"type":"string","description":"Full-length star mask with only the final four account characters visible."},"booking_date":{"type":"string","format":"date"},"value_date":{"type":"string","format":"date"},"amount_cents":{"type":"integer","description":"Signed amount in the currency's minor unit."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"direction":{"type":"string","enum":["incoming","outgoing"]},"counterparty":{"type":"string"},"reference":{"type":"string","description":"Cleartext business purpose; only embedded checksum-valid IBAN segments are masked."},"match_status":{"type":"string"},"suggestion":{"oneOf":[{"type":"null"},{"type":"object","required":["id","status","rule_source"],"properties":{"id":{"type":"integer"},"status":{"type":"string"},"rule_source":{"type":"string"}}}]},"suggestion_status":{"type":"string","enum":["none","offen","angenommen","geaendert","abgelehnt"]},"booked":{"type":"boolean"},"field_status":{"$ref":"#/components/schemas/BankFieldStatusMap"},"field_details":{"$ref":"#/components/schemas/BankFieldDetails"}}},"BankTransactionReconciliation":{"type":"object","required":["transactions","with_suggestion","without_suggestion","booked","suggestion_eligible","eligible_without_suggestion","ineligible_without_suggestion"],"properties":{"transactions":{"type":"integer"},"with_suggestion":{"type":"integer"},"without_suggestion":{"type":"integer"},"booked":{"type":"integer"},"suggestion_eligible":{"type":"integer"},"eligible_without_suggestion":{"type":"integer"},"ineligible_without_suggestion":{"type":"integer"}}},"BankTransactionSimulationEnvelope":{"type":"object","additionalProperties":false,"required":["simulation"],"properties":{"simulation":{"type":"object","additionalProperties":false,"required":["version","transaction"],"properties":{"version":{"type":"string","enum":["bank-transaction-v1"]},"transaction":{"$ref":"#/components/schemas/BankTransactionCreate"}}}}},"BaselineRepairRefusal":{"type":"object","additionalProperties":false,"required":["kind","table"],"properties":{"kind":{"type":"string","maxLength":32},"table":{"type":"string","nullable":true,"maxLength":64}}},"BaselineRepairRequest":{"type":"object","additionalProperties":false,"properties":{"dry_run":{"type":"boolean","default":false},"confirm_token":{"type":"string","maxLength":8192},"reconcile_ledger":{"type":"boolean","default":false},"engine_less_only":{"type":"boolean","default":false,"description":"Plan only baseline tables whose live definition has no engine table (MariaDB 1932); ordinary missing tables are left out."}},"description":"A dry run requires dry_run=true. Execution requires the fresh confirm_token returned by an exactly matching dry run. SQL and table lists are never accepted."},"BaselineRepairResponse":{"type":"object","required":["ok","baseline_file_sha256","tables_to_create","statement_count","tables_skipped_existing","refused_statements","ledger_rows_to_reconcile"],"properties":{"ok":{"type":"boolean"},"dry_run":{"type":"boolean"},"baseline_file_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tables_to_create":{"type":"array","items":{"type":"string"}},"statement_count":{"type":"integer","minimum":0},"tables_skipped_existing":{"type":"array","items":{"type":"string"}},"refused_statements":{"type":"array","items":{"$ref":"#/components/schemas/BaselineRepairRefusal"}},"tables_engine_less_recreate":{"type":"array","items":{"type":"string"},"description":"Planned tables whose live definition exists without an engine table; each is re-verified row-free before its definition is replaced."},"ledger_rows_to_reconcile":{"type":"array","items":{"type":"string"}},"confirm_token":{"type":"string","maxLength":8192},"created_tables":{"type":"array","items":{"type":"string"}},"ledger_rows_deleted":{"type":"array","items":{"type":"string"}},"rollback_manifest":{"type":"string","description":"Server-local mode-0600 manifest path; its JSON contains only the tables created by this run."}}},"BashPolicy":{"type":"object","additionalProperties":false,"required":["tenantId","personaId","enabled","allowedCommands","availableCommands","version"],"properties":{"tenantId":{"type":"string"},"personaId":{"type":"string"},"enabled":{"type":"boolean","default":false},"allowedCommands":{"type":"array","items":{"type":"string","enum":["awk","cat","grep","jq","ls","sed","sqlite3"]},"default":[]},"availableCommands":{"type":"array","readOnly":true,"items":{"type":"string","enum":["awk","cat","grep","jq","ls","sed","sqlite3"]}},"version":{"type":"integer","minimum":0},"updatedAt":{"type":"string","nullable":true},"updatedByUserId":{"type":"integer","nullable":true}}},"BashPolicyMutation":{"type":"object","additionalProperties":false,"required":["enabled","allowed_commands","expected_version"],"properties":{"enabled":{"type":"boolean"},"allowed_commands":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["awk","cat","grep","jq","ls","sed","sqlite3"]}},"expected_version":{"type":"integer","minimum":0}}},"BatteryChemistry":{"type":"string","enum":["lead-acid","ni-cd","ni-mh","li-ion","li-po","na-ion","alkaline","other"]},"BatteryPlacement":{"type":"object","description":"One stored battery placement row.","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"placed_at":{"type":"string"},"battery_type":{"$ref":"#/components/schemas/BatteryType"},"chemistry":{"$ref":"#/components/schemas/BatteryChemistry"},"units":{"type":"integer"},"weight_g":{"type":"number"},"capacity_wh":{"type":"number"},"ear_brand_id":{"type":"string","nullable":true},"notes":{"type":"string"}}},"BatteryPlacementRequest":{"type":"object","required":["battery_type","chemistry"],"description":"At least one of units / weight_g must be positive; both must be non-negative.\n","properties":{"battery_type":{"$ref":"#/components/schemas/BatteryType"},"chemistry":{"$ref":"#/components/schemas/BatteryChemistry"},"units":{"type":"integer","minimum":0,"description":"Number of batteries placed."},"weight_g":{"type":"number","minimum":0,"description":"Total mass in grams (physical, not money)."},"capacity_wh":{"type":"number","minimum":0,"description":"Total capacity in watt-hours."},"ear_brand_id":{"type":"string","nullable":true,"description":"Optional Stiftung-EAR brand registration id."},"placed_at":{"type":"string","description":"Placement timestamp; defaults to now when omitted."},"notes":{"type":"string"}}},"BatteryPlacementResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/BatteryPlacement"}}},"BatteryReport":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"period":{"type":"string","example":"2026-H1"},"status":{"type":"string","example":"computed"},"computed_at":{"type":"string"},"totals":{"type":"array","items":{"$ref":"#/components/schemas/BatteryReportTotal"}}}},"BatteryReportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/BatteryReport"}}},"BatteryReportTotal":{"type":"object","properties":{"battery_type":{"$ref":"#/components/schemas/BatteryType"},"chemistry":{"$ref":"#/components/schemas/BatteryChemistry"},"units":{"type":"integer"},"weight_g":{"type":"number"},"capacity_wh":{"type":"number"}}},"BatteryType":{"type":"string","enum":["device","industry","vehicle","ev"]},"BauleistenderEvidenceReference":{"type":"object","required":["document_id","reference"],"additionalProperties":false,"properties":{"document_id":{"type":"string","maxLength":128},"reference":{"type":"string","maxLength":128}}},"Befund":{"type":"object","required":["status","gemessen","erwartet","hinweis","quelle","details"],"properties":{"status":{"type":"string","enum":["fehlt","in_pruefung","erfuellt","wird_erzeugt","nicht_relevant","unmessbar"]},"gemessen":{"type":"integer"},"erwartet":{"type":"integer"},"hinweis":{"type":"string"},"quelle":{"type":"string","description":"Which existing source produced the number (documents, bank_sync_transactions, de_bookings, formularspiegel, tax-pilot)."},"details":{"type":"array","items":{"type":"string"},"description":"Verbatim open questions or action references from the source."}}},"BellCategory":{"type":"object","properties":{"category":{"type":"string"},"unread_count":{"type":"integer"},"muted":{"type":"boolean"}}},"BellNotification":{"type":"object","properties":{"id":{"type":"integer"},"type":{"type":"string","example":"timetracking_leave_decided"},"category":{"type":"string","enum":["timetracking","approvals","kanban","support","fewo","chat","calendar","finance","integrations","security","system"]},"severity":{"type":"string","enum":["info","warn","error"]},"title":{"type":"string"},"body":{"type":"string"},"link_url":{"type":"string","nullable":true,"description":"Deep link into the record"},"payload":{"type":"object","nullable":true,"additionalProperties":true},"read_at":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"BenefitEnrolRequest":{"type":"object","required":["employee_ref","plan_id","effective_from","monthly_employer_cost_cents","monthly_employee_cost_cents"],"properties":{"employee_ref":{"type":"string"},"plan_id":{"type":"integer"},"effective_from":{"type":"string","format":"date"},"effective_until":{"type":"string","format":"date","nullable":true},"monthly_employer_cost_cents":{"type":"integer"},"monthly_employee_cost_cents":{"type":"integer"}}},"BenefitPlanRequest":{"type":"object","required":["code","name","category","employer_contribution_bp","employee_contribution_bp","effective_from"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","enum":["health","pension","insurance","equity","other"]},"employer_contribution_bp":{"type":"integer"},"employee_contribution_bp":{"type":"integer"},"currency":{"type":"string"},"effective_from":{"type":"string","format":"date"},"effective_until":{"type":"string","format":"date","nullable":true},"status":{"type":"string","enum":["active","inactive"]}}},"BetaPendingCatalogMetadata":{"type":"object","additionalProperties":false,"required":["ok","scope","read_only","target","catalog"],"properties":{"ok":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["beta-pending-catalog-metadata"]},"read_only":{"type":"boolean","enum":[true]},"target":{"type":"object","additionalProperties":false,"required":["site_name","base_url_host","git_commit"],"properties":{"site_name":{"type":"string","enum":["portal-mt","mt","itt","itt-m"]},"base_url_host":{"type":"string","enum":["beta.brieffreunde-gesucht.de","beta.manuel-tremmel.de","beta.it-tremmel.de","beta.m.it-tremmel.de"]},"git_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"}}},"catalog":{"type":"object","additionalProperties":false,"description":"Source-known identifiers only. Unknown identifiers are withheld and counted. Raw defaults, enum/set literals, comments, generated expressions, FK action rules, routines, triggers, schema paths and business rows are not captured. This projection is not a complete live-shape replay certificate.","required":["read_only","business_rows_read","default_values_captured","foreign_key_rules_captured","routines_and_triggers_captured","inventory_sha256","schema_sha256","engine","version","lower_case_table_names","withheld_metadata_rows","case_variant_table_count","tables","columns","indexes","keys","temporary_table_count","tablespaces"],"properties":{"read_only":{"type":"boolean","enum":[true]},"business_rows_read":{"type":"integer","enum":[0]},"default_values_captured":{"type":"boolean","enum":[false]},"foreign_key_rules_captured":{"type":"boolean","enum":[false]},"routines_and_triggers_captured":{"type":"boolean","enum":[false]},"inventory_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schema_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"engine":{"type":"string","enum":["mariadb-compatible"]},"version":{"type":"string","pattern":"^[0-9]+\\.[0-9]+\\.[0-9]+$"},"lower_case_table_names":{"type":"integer","enum":[0,1,2]},"withheld_metadata_rows":{"type":"integer","minimum":0},"case_variant_table_count":{"type":"integer","minimum":0},"temporary_table_count":{"type":"integer","minimum":0},"tables":{"type":"array","maxItems":50000,"items":{"type":"object","additionalProperties":false,"required":["TABLE_NAME","ENGINE","TABLE_COLLATION"],"properties":{"TABLE_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"ENGINE":{"type":"string","enum":["innodb","myisam","aria","unsupported"]},"TABLE_COLLATION":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"}}}},"columns":{"type":"array","maxItems":50000,"items":{"type":"object","additionalProperties":false,"required":["TABLE_NAME","COLUMN_NAME","ORDINAL_POSITION","DATA_TYPE","column_type","type_sha256","IS_NULLABLE","CHARACTER_SET_NAME","COLLATION_NAME","EXTRA","has_default"],"properties":{"TABLE_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"COLUMN_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"ORDINAL_POSITION":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]},"DATA_TYPE":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"column_type":{"type":"string","maxLength":128,"description":"Structural COLUMN_TYPE; enum/set values are replaced by their type class. Unsupported shapes remain explicitly unsupported."},"type_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"IS_NULLABLE":{"type":"string","enum":["YES","NO"]},"CHARACTER_SET_NAME":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"COLLATION_NAME":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"EXTRA":{"type":"string","enum":["","auto_increment","virtual generated","stored generated","on update current_timestamp()","on update current_timestamp(6)","unsupported"]},"has_default":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]}}}},"indexes":{"type":"array","maxItems":50000,"items":{"type":"object","additionalProperties":false,"required":["TABLE_NAME","INDEX_NAME","NON_UNIQUE","SEQ_IN_INDEX","COLUMN_NAME","SUB_PART","INDEX_TYPE"],"properties":{"TABLE_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"INDEX_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"NON_UNIQUE":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]},"SEQ_IN_INDEX":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]},"COLUMN_NAME":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"SUB_PART":{"nullable":true,"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]},"INDEX_TYPE":{"type":"string","enum":["BTREE","HASH","FULLTEXT","RTREE","unsupported"]}}}},"keys":{"type":"array","maxItems":50000,"items":{"type":"object","additionalProperties":false,"required":["TABLE_NAME","CONSTRAINT_NAME","ORDINAL_POSITION","COLUMN_NAME","REFERENCED_TABLE_NAME","REFERENCED_COLUMN_NAME","local_parent"],"properties":{"TABLE_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"CONSTRAINT_NAME":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"},"ORDINAL_POSITION":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]},"COLUMN_NAME":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"REFERENCED_TABLE_NAME":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"REFERENCED_COLUMN_NAME":{"type":"string","nullable":true,"pattern":"^[a-z_][a-z0-9_]{0,63}$"},"local_parent":{"nullable":true,"oneOf":[{"type":"integer","enum":[0,1]},{"type":"string","enum":["0","1"]}]}}}},"tablespaces":{"type":"object","additionalProperties":false,"required":["state","driver_error","entries"],"description":"Only pending-source table targets, never database prefixes or paths. Unavailable view or PROCESS privilege is unknown, not proof of absence.","properties":{"state":{"type":"string","enum":["measured","unavailable"]},"driver_error":{"type":"integer","nullable":true,"minimum":0},"entries":{"type":"array","maxItems":5000,"items":{"type":"string","pattern":"^[a-z_][a-z0-9_]{0,63}$"}}}}}}}},"Bilanz":{"type":"object","required":["gesamt","offen_erforderlich","offen_empfohlen","erfuellt","wird_erzeugt","unmessbar"],"properties":{"gesamt":{"type":"integer"},"offen_erforderlich":{"type":"integer"},"offen_empfohlen":{"type":"integer"},"erfuellt":{"type":"integer"},"wird_erzeugt":{"type":"integer"},"unmessbar":{"type":"integer"}}},"BillingCurrency":{"type":"object","required":["code","exchange_rate","created_at","updated_at"],"properties":{"code":{"type":"string","pattern":"^[A-Z]{3}$","example":"USD"},"exchange_rate":{"type":"string","description":"Exact decimal EUR exchange rate; never a JSON float.","pattern":"^\\d+(?:\\.\\d{1,6})?$","example":"0.923456"},"created_at":{"type":"string","nullable":true,"example":"2026-08-04 12:00:00"},"updated_at":{"type":"string","nullable":true,"example":"2026-08-04 12:00:00"}}},"BillingCurrencyResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/BillingCurrency"}}},"BillingCurrencyWrite":{"type":"object","required":["code","exchange_rate"],"properties":{"code":{"type":"string","pattern":"^[A-Z]{3}$","example":"USD"},"exchange_rate":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,6})?$","example":"0.923456"}}},"BillingCurrentUsage":{"type":"object","properties":{"tenant_id":{"type":"string","example":"default"},"reseller_user_id":{"type":"integer","example":42},"period":{"$ref":"#/components/schemas/BillingUsagePeriod"},"meters":{"type":"array","items":{"$ref":"#/components/schemas/BillingUsageMeter"}},"totals":{"type":"object","additionalProperties":{"type":"integer"}}}},"BillingPaymentMethod":{"type":"object","description":"Masked saved payment-method descriptor; the encrypted provider token is never returned.","required":["id","provider","type","is_default","display_label","created_at","updated_at"],"properties":{"id":{"type":"string","example":"3f9c2a7b1d4e5f60"},"provider":{"type":"string","example":"stripe"},"type":{"type":"string","enum":["credit_card","sepa","paypal"]},"brand":{"type":"string","nullable":true,"example":"visa"},"last4":{"type":"string","nullable":true,"pattern":"^\\d{4}$","example":"4242"},"iban_last4":{"type":"string","nullable":true,"pattern":"^\\d{4}$"},"paypal_email":{"type":"string","nullable":true,"example":"billing@example.8knoten.de"},"holder_name":{"type":"string","nullable":true},"exp_month":{"type":"integer","nullable":true,"minimum":1,"maximum":12},"exp_year":{"type":"integer","nullable":true},"is_default":{"type":"boolean"},"display_label":{"type":"string","example":"visa ending in 4242 (exp 12/2030)"},"expiry_warning":{"type":"object","nullable":true,"description":"Set only for cards expiring within 30 days.","properties":{"message":{"type":"string"},"days_until_expiry":{"type":"integer"},"expires_at":{"type":"string","example":"2030-12-31 23:59:59"}}},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"BillingPaymentMethodCreate":{"type":"object","description":"Tokenized payment method. Non-empty card_number, pan, cvc, cvv, iban or account_number fields are rejected with 400.","required":["type","token"],"additionalProperties":true,"properties":{"type":{"type":"string","description":"Case-insensitive; card/credit-card map to credit_card, sepa_direct_debit/sepa-direct-debit to sepa.","enum":["credit_card","card","credit-card","sepa","sepa_direct_debit","sepa-direct-debit","paypal"]},"token":{"type":"string","description":"Provider token reference; stored encrypted, never echoed."},"provider":{"type":"string","description":"Lower-cased free text; default stripe (credit_card, sepa) or paypal."},"brand":{"type":"string"},"holder_name":{"type":"string"},"paypal_email":{"type":"string"},"last4":{"type":"string","pattern":"^\\d{4}$","description":"Required for credit_card; for sepa used when iban_last4 is absent."},"exp_month":{"type":"integer","minimum":1,"maximum":12,"description":"Required for credit_card."},"exp_year":{"type":"integer","minimum":2000,"maximum":9999,"description":"Required for credit_card."},"iban_last4":{"type":"string","pattern":"^\\d{4}$","description":"Required for sepa (or last4)."},"is_default":{"type":"boolean","description":"Also accepts 1, \"true\", \"yes\", \"on\". Forced true for the first saved method."}}},"BillingTaxRate":{"type":"object","description":"Tax-rate row. rate_percent is a decimal string with three fractional digits (DECIMAL(6,3)). reverse_charge and source are only set by /api/billing/tax-rates/applicable; built-in answers there have id null and no tenant_id/notes/timestamps.","properties":{"id":{"type":"integer","nullable":true},"tenant_id":{"type":"string"},"country_code":{"type":"string","example":"DE"},"region_code":{"type":"string","nullable":true},"rate_percent":{"type":"string","pattern":"^\\d{1,3}\\.\\d{3}$","example":"19.000"},"tax_type":{"type":"string","enum":["vat","gst","sales"]},"effective_date":{"type":"string","example":"2026-01-01"},"is_active":{"type":"integer","enum":[0,1]},"notes":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"},"reverse_charge":{"type":"boolean"},"source":{"type":"string","enum":["configured","eu_reverse_charge","eu_default"]}}},"BillingTaxRateWrite":{"type":"object","description":"On create country_code, rate_percent, tax_type and effective_date are required; on update send at least one field.","additionalProperties":true,"properties":{"country_code":{"type":"string","pattern":"^[A-Za-z]{2}$"},"region_code":{"type":"string","nullable":true,"description":"Upper-cased; empty means no region."},"rate_percent":{"oneOf":[{"type":"number"},{"type":"string"}],"description":"Numeric value 0..100; stored rounded to three decimals.","example":19},"tax_type":{"type":"string","enum":["vat","gst","sales","VAT","GST","SALES"]},"effective_date":{"type":"string","format":"date"},"is_active":{"type":"boolean","default":true},"notes":{"type":"string","nullable":true}}},"BillingUsageMeter":{"type":"object","properties":{"meter_key":{"type":"string","example":"api_calls"},"unit":{"type":"string","example":"count"},"aggregation_type":{"type":"string","enum":["sum","max"],"example":"sum"},"quantity":{"type":"integer","example":128},"event_count":{"type":"integer","example":4}}},"BillingUsagePeriod":{"type":"object","properties":{"billing_period":{"type":"string","enum":["monthly","annual"],"example":"monthly"},"start":{"type":"string","example":"2026-04-01 00:00:00"},"end":{"type":"string","example":"2026-04-30 23:59:59"},"subscription_status":{"type":"string","nullable":true,"example":"active"}}},"Billing_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"invalid_input"},"message":{"type":"string","example":"Invalid plan_tier"}}},"BioAuditCreateRequest":{"type":"object","required":["cert_ref","due_date"],"properties":{"cert_ref":{"type":"string"},"due_date":{"type":"string","format":"date"}}},"BioFindingCreateRequest":{"type":"object","required":["description","severity","corrective_action","due_date"],"properties":{"description":{"type":"string"},"severity":{"type":"string","enum":["minor","major","critical"]},"corrective_action":{"type":"string"},"due_date":{"type":"string","format":"date"}}},"Blocker":{"type":"object","required":["type","object","detail","next_action"],"properties":{"type":{"type":"string"},"object":{"type":"string","description":"Technical check id, shown only as a copyable detail."},"detail":{"$ref":"#/components/schemas/BlockerDetail"},"next_action":{"$ref":"#/components/schemas/NextAction"}}},"BlockerDetail":{"type":"object","description":"Human-facing facts behind a blocker so a reader can tell WHICH account, WHICH period and WHICH amount is affected instead of only seeing the technical `object` id. `items` is capped; `item_total` always carries the full count.","required":["facts","items","item_total"],"properties":{"facts":{"type":"object","additionalProperties":{"type":"integer"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/BlockerDetailItem"}},"item_total":{"type":"integer","minimum":0}}},"BlockerDetailItem":{"type":"object","description":"One concrete affected object of a blocker. `kind` selects the sentence the UI renders; the remaining keys are its parameters. Amounts are integer minor units, dates are ISO-8601 calendar days.","required":["kind"],"properties":{"kind":{"type":"string","enum":["coverage_hole","coverage_overlap","saldo_gap","opening_balance_gap","opening_balance_unverified","orphan_transaction","expense_without_bank_movement","document_source_unavailable","document_source_truncated","uncovered_form_field"]},"account":{"type":"string","description":"Masked IBAN or account label."},"from":{"type":"string"},"to":{"type":"string"},"days":{"type":"integer","minimum":0},"date":{"type":"string"},"count":{"type":"integer","minimum":0},"amount_cents":{"type":"integer"},"expected_cents":{"type":"integer"},"actual_cents":{"type":"integer"},"counterparty":{"type":"string","description":"Already-pseudonymised display surface."},"reference":{"type":"string","description":"Shortened remittance excerpt."},"category":{"type":"string"},"source":{"type":"string"},"form":{"type":"string"},"reason":{"type":"string"}}},"Board":{"type":"object","description":"The Kanban board document (platform-kanban-contracts `Board`).","additionalProperties":true,"properties":{"id":{"type":"string"},"name":{"type":"string"},"columns":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string","enum":["backlog","todo","doing","review","done"]},"title":{"type":"string","description":"Custom column title, e.g. Noch nicht kontaktiert"},"wipLimit":{"type":"integer"},"wipLimitBlocking":{"type":"boolean"},"cards":{"type":"array","items":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"order":{"type":"integer"},"assignee":{"type":"string"},"links":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","example":"portal-listing"},"id":{"type":"string"},"label":{"type":"string"}}}}}}}}}}}},"BoardEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"board":{"$ref":"#/components/schemas/Board"},"version":{"type":"integer"},"sharing":{"$ref":"#/components/schemas/Sharing"}}}}},"BoardSummary":{"type":"object","properties":{"id":{"type":"string","example":"env-vertrieb-pipeline"},"name":{"type":"string","example":"Vertriebspipeline"},"scope":{"type":"string","enum":["user","team","tenant"]},"source":{"type":"string","enum":["shared","personal"]},"environment":{"type":"object","nullable":true,"properties":{"slug":{"type":"string"}}},"role":{"type":"string","enum":["viewer","editor","admin"]},"ownerUserId":{"type":"string"},"version":{"type":"integer"},"cardCount":{"type":"integer"},"updatedAt":{"type":"string","nullable":true}}},"Booking":{"type":"object","required":["id","tenant_id","booking_date","description","debit_account","credit_account","amount","tax_rate","tax_amount","reference_type","created_at","hash"],"properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string"},"booking_date":{"type":"string","format":"date","example":"2025-06-15"},"document_number":{"type":"string","nullable":true,"example":"RE-2025-001"},"description":{"type":"string","example":"Bueromiete Juni"},"debit_account":{"type":"string","example":"6300"},"credit_account":{"type":"string","example":"1200"},"amount":{"type":"number","format":"double","example":500},"tax_rate":{"type":"number","format":"double","example":0},"tax_amount":{"type":"number","format":"double","example":0},"reference_type":{"type":"string","example":"manual"},"reference_id":{"type":"string","nullable":true},"source_document_id":{"type":"string","nullable":true,"description":"Tenant-owned canonical document used for the booking provenance edge."},"reference":{"type":"string","description":"Clear-text bank payment purpose; this business field is intentionally never pseudonymized."},"created_at":{"type":"string","format":"date-time"},"hash":{"type":"string","description":"SHA-256 GoBD hash chain value"},"needs_review":{"type":"boolean","description":"True only for a non-final historical draft row."},"draft_batch_id":{"type":"string","nullable":true},"draft_status":{"type":"string","nullable":true,"enum":["needs_review","withdrawn","withdrawal"]}}},"BookingCreate":{"type":"object","required":["booking_date","description","debit_account","credit_account","amount","tax_rate"],"properties":{"reverse_charge_evidence":{"$ref":"#/components/schemas/ReverseChargeLegalEvidence"},"booking_date":{"type":"string","format":"date","example":"2025-06-15"},"document_number":{"type":"string","nullable":true,"example":"RE-2025-001"},"description":{"type":"string","example":"Bueromiete Juni"},"debit_account":{"type":"string","example":"6300"},"credit_account":{"type":"string","example":"1200"},"amount":{"type":"number","format":"double","minimum":0.01,"example":500},"tax_rate":{"type":"integer","minimum":0,"maximum":100,"example":19},"tax_amount":{"type":"number","format":"double","readOnly":true},"reference_type":{"type":"string","default":"manual"},"reference_id":{"type":"string","nullable":true}}},"BookingImportControls":{"type":"object","additionalProperties":false,"required":["record_count","unit_count","per_unit_counts","totals_minor_by_currency","min_date","max_date"],"properties":{"record_count":{"type":"integer","minimum":0},"unit_count":{"type":"integer","minimum":1},"per_unit_counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"totals_minor_by_currency":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"min_date":{"type":"string","format":"date","nullable":true},"max_date":{"type":"string","format":"date","nullable":true}}},"BookingImportEnvelope":{"type":"object","additionalProperties":false,"required":["records","manifest"],"properties":{"source_system":{"type":"string","enum":["fewo-bookings-json"],"default":"fewo-bookings-json"},"allow_overlaps":{"type":"boolean","default":false,"description":"Machine-import override that permits intentional room/date conflicts. Omit or set false to reject overlaps."},"records":{"type":"array","items":{"$ref":"#/components/schemas/BookingImportRecord"}},"manifest":{"$ref":"#/components/schemas/BookingImportSourceManifest"}}},"BookingImportLocaleMap":{"type":"object","additionalProperties":false,"properties":{"de":{"type":"string","minLength":1},"en":{"type":"string","minLength":1},"es":{"type":"string","minLength":1},"fr":{"type":"string","minLength":1}}},"BookingImportPseudonymizationProof":{"type":"object","additionalProperties":false,"required":["success","booking_id","record","verdict","proof_salt","comparison"],"properties":{"success":{"type":"boolean","enum":[true]},"booking_id":{"type":"integer","minimum":1},"record":{"type":"object","required":["kind","found","columns"],"properties":{"kind":{"type":"string","enum":["accommodation_booking_import"]},"found":{"type":"boolean","enum":[true]},"columns":{"type":"object","additionalProperties":{"type":"object","additionalProperties":true}}}},"verdict":{"type":"object","required":["cleartext_indicators_found","flagged_fields","fields_requiring_caller_comparison"],"properties":{"cleartext_indicators_found":{"type":"boolean"},"flagged_fields":{"type":"array","items":{"type":"object"}},"fields_requiring_caller_comparison":{"type":"array","items":{"type":"string"}}}},"proof_salt":{"type":"string","pattern":"^[a-f0-9]{64}$"},"comparison":{"type":"object","required":["algorithm","normalization","token_split","salt_lifetime"],"additionalProperties":{"type":"string"}}}},"BookingImportRecord":{"type":"object","additionalProperties":true,"description":"Closed pseudonymized source record. Every supplied field must be classified by booking-import-field-policy.json or is rejected without echo. Personal values must reverse with the exact installed mapping. Source bytes and fields are preserved.","required":["name","from","to","mainRooms","extraRooms","sourceBookingId","bookingNumber","status","isPseudonymized"],"properties":{"rooms":{"type":"array","items":{"type":"string"},"description":"Physical room ids occupied by this booking (freeform ids, e.g. layout cell ids)."},"externalRef":{"type":"string"},"id":{"oneOf":[{"type":"string"},{"type":"integer"}]},"name":{"type":"string"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"bookedOn":{"type":"string","format":"date"},"mainRooms":{"type":"integer","minimum":0},"extraRooms":{"type":"integer","minimum":0},"roomTypeId":{"type":"string","minLength":1},"persons":{"type":"integer","minimum":1},"currency":{"type":"string","enum":["EUR"]},"priceTotal":{"oneOf":[{"type":"integer","minimum":0,"description":"Canonical minor units"},{"type":"string","pattern":"^\\\\d+(?:\\\\.\\\\d{1,2})?$","description":"Exact decimal major units"}]},"priceReceived":{"oneOf":[{"type":"integer","minimum":0,"description":"Canonical minor units"},{"type":"string","pattern":"^\\\\d+(?:\\\\.\\\\d{1,2})?$","description":"Exact decimal major units"}]},"bookingSource":{"type":"string"},"active":{"type":"boolean","description":"False excludes the record from automatic invoicing and revenue."},"toBeInvoiced":{"type":"boolean","description":"Explicit invoice intent; platform bookings remain false by default."},"email":{"type":"string"},"phone":{"type":"string"},"annotation":{"type":"string"},"info":{"type":"string"},"checkInInfo":{"type":"string"},"isOffer":{"type":"boolean"},"sourceBookingId":{"type":"integer","minimum":1,"maximum":9007199254740991},"bookingNumber":{"type":"string","minLength":1,"maxLength":96},"status":{"type":"string","enum":["active","reserved","storno","confirmed","cancelled","pending","checked_in","checked_out","rejected","no_show"]},"isPseudonymized":{"type":"boolean","enum":[true]},"plainFields":{"type":"array","maxItems":0}}},"BookingImportSnapshotProof":{"type":"object","additionalProperties":false,"properties":{"success":{"type":"boolean","enum":[true]},"evidence_id":{"type":"integer","minimum":1},"booking_id":{"type":"integer","minimum":1,"nullable":true},"source_booking_id":{"type":"integer","minimum":1},"source_record_index":{"type":"integer","minimum":0},"protected":{"type":"boolean"},"document_linked":{"type":"boolean"},"outcome":{"type":"string"},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"source_payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"snapshot_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mapping_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["success","evidence_id","booking_id","source_booking_id","source_record_index","protected","document_linked","outcome","batch_hash","source_payload_sha256","snapshot_sha256","mapping_sha256"]},"BookingImportSourceManifest":{"type":"object","additionalProperties":false,"required":["tenant","source_sha256","source_bytes","config_sha256","units","controls","version","lifecycle","pseudonymized_snapshot","mapping_sha256","source_content_base64","config_content_base64"],"properties":{"version":{"type":"integer","enum":[2]},"tenant":{"type":"string","enum":["fewo"]},"source_system":{"type":"string"},"records_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"allow_overlaps":{"type":"boolean"},"source_content_base64":{"type":"string","format":"byte"},"config_content_base64":{"type":"string","format":"byte"},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"batch_id":{"type":"string"},"lifecycle":{"type":"array","description":"Required for version 2; source-byte-bound API identity/status, never a replacement of source_payload.","items":{"type":"object","additionalProperties":false,"required":["source_booking_id","booking_status","source_payload_sha256","source_kind"],"properties":{"source_booking_id":{"type":"integer","minimum":1},"booking_status":{"type":"string","enum":["active","reserved","storno","confirmed","cancelled","pending","checked_in","checked_out","rejected","no_show"]},"source_payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"source_kind":{"type":"string","enum":["pseudonymized-current-history"]}}}},"source_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"source_bytes":{"type":"integer","minimum":1},"config_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"units":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/BookingImportUnit"}},"controls":{"$ref":"#/components/schemas/BookingImportControls"},"pseudonymized_snapshot":{"type":"integer","enum":[1]},"mapping_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"BookingImportUnit":{"type":"object","additionalProperties":false,"required":["id","name"],"properties":{"id":{"type":"string","minLength":1},"name":{"oneOf":[{"$ref":"#/components/schemas/BookingImportLocaleMap"},{"type":"string","minLength":1}]}}},"BookingStapelInput":{"type":"object","description":"Hand-built booking-stack exchange row. The service maps these German column names onto the canonical draft writer; reference remains verbatim.","required":["datum","belegnummer","buchungstyp","paar_id","betrag_minor","waehrung","sollkonto","habenkonto","buchungstext","reference","stapel_enthalten"],"properties":{"datum":{"type":"string","format":"date"},"belegnummer":{"type":"string","minLength":1},"buchungstyp":{"type":"string","enum":["RA","ZE","RE","ZA"]},"paar_id":{"type":"string","minLength":1},"betrag_minor":{"type":"integer","minimum":1,"description":"Amount in integer minor units."},"waehrung":{"type":"string","enum":["EUR"]},"sollkonto":{"type":"string","minLength":1},"habenkonto":{"type":"string","minLength":1},"buchungstext":{"type":"string","minLength":1},"reference":{"type":"string","description":"Clear-text payment reference; never pseudonymized."},"stapel_enthalten":{"type":"string","enum":["ja"]},"source_ref":{"type":"string","minLength":1,"description":"Optional existing tenant-owned document id. Unknown or foreign ids fail without creating synthetic evidence."},"source_refs":{"type":"array","minItems":1,"uniqueItems":true,"description":"Optional existing tenant-owned document ids. Omission records explicit unreconstructable provenance.","items":{"type":"string","minLength":1}},"tax_rate":{"type":"integer","minimum":0,"maximum":100,"description":"Whole-number VAT percentage."},"tax_amount_cents":{"type":"integer","minimum":0,"description":"VAT amount in the smallest currency unit."}}},"BoundedArgumentSchema":{"type":"object","additionalProperties":false,"required":["type","additionalProperties","required","properties"],"properties":{"type":{"type":"string","enum":["object"]},"additionalProperties":{"type":"boolean","enum":[false]},"required":{"type":"array","minItems":1,"maxItems":2,"items":{"type":"string"}},"properties":{"type":"object","maxProperties":2,"additionalProperties":{"type":"object"}}}},"BranchListResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BranchRevenue"}}}},"BranchPeriod":{"type":"object","additionalProperties":false,"required":["periodKey","revenue","revenueMinor"],"properties":{"periodKey":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}(?:-[0-9]{2})?$"},"revenue":{"$ref":"#/components/schemas/RevenueAmount"},"revenueMinor":{"$ref":"#/components/schemas/RevenueMinor"}}},"BranchPeriodResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/BranchPeriod"}}}},"BranchRevenue":{"type":"object","additionalProperties":false,"required":["branchId","branchName","totalRevenue","totalRevenueMinor"],"properties":{"branchId":{"type":"string"},"branchName":{"type":"string"},"totalRevenue":{"$ref":"#/components/schemas/RevenueAmount"},"totalRevenueMinor":{"$ref":"#/components/schemas/RevenueMinor"}}},"Branding":{"type":"object","properties":{"company_name":{"type":"string","example":"My Company"},"logo_url":{"type":"string","example":"https://example.com/logo.png"},"primary_color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","example":"#3b82f6"},"secondary_color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","example":"#64748b"},"theme_id":{"type":"string","description":"Selected theme id (see GET /api/config/themes); \"default\" when never chosen.","example":"nordlicht"},"favicon_url":{"type":"string"},"custom_css":{"type":"string"}}},"BulkImportRequest":{"type":"object","properties":{"records":{"type":"array","items":{"$ref":"#/components/schemas/CreateRecordRequest"},"maxItems":1000,"description":"Array of records to import"},"validation":{"$ref":"#/components/schemas/ValidationRules"}},"required":["records"]},"BulkResult":{"type":"object","required":["results","succeeded","failed"],"properties":{"succeeded":{"type":"integer"},"failed":{"type":"integer"},"results":{"type":"array","items":{"type":"object","required":["id","ok"],"properties":{"id":{"type":"string"},"ok":{"type":"boolean"},"status":{"type":"string"},"error":{"type":"string","enum":["not_found","invalid_transition","already_shipped"]},"tracking":{"type":"object"},"mail":{"type":"object","properties":{"status":{"type":"string","enum":["queued","skipped","failed"]},"reason":{"type":"string"}}}}}}}},"BundleConfigItem":{"type":"object","required":["module_id"],"properties":{"module_id":{"type":"string","example":"invoice-creator"},"label":{"type":"string","example":"My Invoices"},"pricing_tier":{"type":"string","default":"demo","example":"demo"},"config":{"type":"object"},"enabled_tabs":{"type":"array","items":{"type":"string"},"nullable":true},"subscription_id":{"type":"string","nullable":true},"expires_at":{"type":"string","nullable":true}}},"BundleDownload_ErrorResponse":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","enum":["downloads_disabled","invalid_token","invalid_filename","symlink_rejected","file_not_found"]},"message":{"type":"string"}}},"BusinessSummary":{"type":"object","description":"{ customerId, customerName, placeLabel, distanceM, projectId, projectName, hours (string), hourlyRateCents, billableCents, vehicleKind: bicycle|car|null, ratePerKmCents, rateSource: tenant|user|statutory|none, travelCents, ruleLabel, workEntryId, travelTripId|null, evidenceDocumentId, invoiceId|null, travelStatus|null, travelTripNo|null, travelTotalCents|null }","additionalProperties":true},"BusinessTask":{"type":"object","required":["id","moduleId","app","title","example","access","params","steps","outcome","api"],"properties":{"id":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]*\\.[a-z0-9][a-z0-9-]*$"},"moduleId":{"type":"string"},"app":{"$ref":"#/components/schemas/BusinessTaskText"},"title":{"$ref":"#/components/schemas/BusinessTaskText"},"example":{"$ref":"#/components/schemas/BusinessTaskText"},"access":{"type":"object","required":["permission","adminRole"],"properties":{"permission":{"type":"string","enum":["read","write","admin"]},"adminRole":{"type":"boolean"}}},"params":{"type":"array","items":{"type":"object","required":["name","label","required","maxLength"],"properties":{"name":{"type":"string"},"label":{"$ref":"#/components/schemas/BusinessTaskText"},"required":{"type":"boolean"},"maxLength":{"type":"integer","minimum":1,"maximum":200},"pattern":{"type":"string"}}}},"steps":{"type":"array","items":{"type":"object","required":["id","label","action","args"],"properties":{"id":{"type":"string"},"label":{"$ref":"#/components/schemas/BusinessTaskText"},"action":{"type":"string","enum":["navigate","waitFor","click","fill","highlight"]},"args":{"type":"object","additionalProperties":{"type":"string"}},"timeoutMs":{"type":"integer","minimum":1,"maximum":30000},"optional":{"type":"boolean"},"effect":{"type":"boolean"}}}},"outcome":{"type":"object","required":["successTestid","errorTestid","timeoutMs"],"properties":{"successTestid":{"type":"string"},"pendingTestid":{"type":"string"},"errorTestid":{"type":"string"},"timeoutMs":{"type":"integer","minimum":1,"maximum":30000}}},"api":{"type":"object","description":"Same effect for the CLI mirror (`itt steer task`).","required":["method","path","body"],"properties":{"method":{"type":"string","enum":["POST","PUT","PATCH"]},"path":{"type":"string"},"body":{"type":"object","additionalProperties":{"type":"string"}}}}}},"BusinessTaskCatalogResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["schemaVersion","tasks"],"properties":{"schemaVersion":{"type":"string","enum":["business-tasks/v1"]},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/BusinessTask"}}}}}},"BusinessTaskText":{"type":"object","required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"CacheCheck":{"type":"object","required":["status","configured","reachable","duration_ms"],"properties":{"status":{"type":"string","enum":["healthy","degraded"],"example":"healthy"},"configured":{"type":"boolean","description":"Whether Redis connectivity is expected for this deployment","example":true},"reachable":{"type":"boolean","nullable":true,"description":"True or false when configured; null when Redis is not configured","example":true},"duration_ms":{"type":"number","format":"float","description":"Duration of the bounded connectivity check in milliseconds","example":1.25},"reason":{"type":"string","description":"Monitoring-safe reason for a degraded result","example":"Configured Redis is unreachable."},"error":{"type":"string","nullable":true,"description":"Generic marker when the check itself could not run","example":null}}},"CacheInvalidationRequest":{"type":"object","additionalProperties":false,"properties":{"reportType":{"type":"string","minLength":1},"expiredOnly":{"type":"boolean","default":false}}},"CacheInvalidationResult":{"type":"object","required":["deleted","expiredOnly","reportType"],"properties":{"deleted":{"type":"integer","minimum":0},"expiredOnly":{"type":"boolean"},"reportType":{"type":"string","nullable":true}}},"CalculationRequest":{"type":"object","required":["articleId","materialCost"],"additionalProperties":false,"properties":{"articleId":{"type":"string","minLength":1,"example":"ART-100"},"materialCost":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,2})?$","example":"40.00"}}},"CalculationResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/CalculationResult"}}},"CalculationResult":{"type":"object","required":["schemaId","articleId","articleGroupId","materialCost","finalListPrice","steps"],"properties":{"schemaId":{"type":"string"},"articleId":{"type":"string"},"articleGroupId":{"type":"string","nullable":true},"materialCost":{"type":"string","example":"40.00"},"finalListPrice":{"type":"string","example":"48.50"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/CalculationStep"}}}},"CalculationStep":{"type":"object","required":["stepKey","stepLabel","calculationType","appliedPercent","appliedAmount","resultTotal"],"properties":{"stepKey":{"type":"string"},"stepLabel":{"type":"string"},"calculationType":{"type":"string","enum":["percent","absolute","formula"]},"appliedPercent":{"type":"string","nullable":true,"example":"15.0000"},"appliedAmount":{"type":"string","example":"6.00"},"resultTotal":{"type":"string","example":"46.00"}}},"Calculator_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"invalid_input"},"message":{"type":"string","example":"Expression and result are required"}}},"CalendarEvent":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"title":{"type":"string","example":"Team Meeting"},"description":{"type":"string","example":"Weekly sync with the development team"},"event_type":{"type":"string","enum":["general","vacation","sick_leave","business_trip","meeting","deadline","holiday"],"example":"meeting"},"start_date":{"type":"string","format":"date","example":"2025-06-15"},"end_date":{"type":"string","format":"date","example":"2025-06-15"},"all_day":{"type":"integer","enum":[0,1],"example":0},"start_time":{"type":"string","nullable":true,"example":"09:00","description":"Start time (HH:MM), null for all-day events"},"end_time":{"type":"string","nullable":true,"example":"10:00","description":"End time (HH:MM), null for all-day events"},"recurrence":{"type":"string","nullable":true,"enum":["none","daily","weekly","monthly","yearly"],"example":"weekly"},"recurrence_until":{"type":"string","format":"date","nullable":true,"example":"2025-12-31","description":"End date for recurring events"},"employee_name":{"type":"string","example":"Max Mustermann"},"status":{"type":"string","enum":["confirmed","tentative","cancelled"],"example":"confirmed"},"color":{"type":"string","nullable":true,"example":"#3b82f6","description":"Optional hex color for calendar display"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CalendarEventCreate":{"type":"object","required":["title","start_date","end_date"],"properties":{"title":{"type":"string","example":"Team Meeting"},"description":{"type":"string","example":"Weekly sync with the development team"},"event_type":{"type":"string","enum":["general","vacation","sick_leave","business_trip","meeting","deadline","holiday"],"default":"general"},"start_date":{"type":"string","format":"date","example":"2025-06-15"},"end_date":{"type":"string","format":"date","example":"2025-06-15"},"all_day":{"type":"integer","enum":[0,1],"default":1},"start_time":{"type":"string","nullable":true,"example":"09:00"},"end_time":{"type":"string","nullable":true,"example":"10:00"},"recurrence":{"type":"string","nullable":true,"enum":["none","daily","weekly","monthly","yearly"]},"recurrence_until":{"type":"string","format":"date","nullable":true},"employee_name":{"type":"string","default":""},"status":{"type":"string","enum":["confirmed","tentative","cancelled"],"default":"confirmed"},"color":{"type":"string","nullable":true}}},"CalendarEventUpdate":{"type":"object","description":"Partial update - only provided fields are changed","properties":{"title":{"type":"string"},"description":{"type":"string"},"event_type":{"type":"string","enum":["general","vacation","sick_leave","business_trip","meeting","deadline","holiday"]},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"all_day":{"type":"integer","enum":[0,1]},"start_time":{"type":"string","nullable":true},"end_time":{"type":"string","nullable":true},"recurrence":{"type":"string","nullable":true,"enum":["none","daily","weekly","monthly","yearly"]},"recurrence_until":{"type":"string","format":"date","nullable":true},"employee_name":{"type":"string"},"status":{"type":"string","enum":["confirmed","tentative","cancelled"]},"color":{"type":"string","nullable":true}}},"Calendar_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"validation_error"},"message":{"type":"string","example":"Fields title, start_date, and end_date are required"}}}}},"Campaign":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string","example":"March Newsletter"},"subject":{"type":"string","example":"Your March Update"},"body_html":{"type":"string"},"body_text":{"type":"string","nullable":true},"template_id":{"type":"integer","nullable":true},"list_id":{"type":"integer","nullable":true},"status":{"type":"string","enum":["draft","scheduled","sending","sent","cancelled"]},"scheduled_at":{"type":"string","format":"date-time","nullable":true},"sent_at":{"type":"string","format":"date-time","nullable":true},"rate_limit":{"type":"integer","description":"Sends per minute","example":60},"stats":{"type":"string","description":"JSON object with sent/opened/clicked/bounced/unsubscribed counts"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CampaignCreate":{"type":"object","required":["name","subject","body_html"],"properties":{"name":{"type":"string"},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"template_id":{"type":"integer"},"list_id":{"type":"integer"},"scheduled_at":{"type":"string","format":"date-time"},"rate_limit":{"type":"integer","default":60}}},"CancelDomainRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","properties":{"execution_date":{"type":"string","description":"Optional ISO-8601 date or date-time for a scheduled cancellation"}}}]},"CanonicalErrorEnvelope":{"type":"object","required":["status","code","message","help_url","requestId"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string"},"message":{"type":"string"},"help_url":{"type":"string"},"requestId":{"type":"string"},"error":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"CapabilityAgentAction":{"type":"object","required":["action"],"properties":{"action":{"type":"string","enum":["list","get","search","create","update","delete"]},"id":{"type":"integer","minimum":1},"query":{"type":"string","minLength":2},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50},"offset":{"type":"integer","minimum":0,"default":0},"fields":{"type":"array","items":{"type":"string"}},"dry_run":{"type":"boolean","default":false},"input":{"type":"object","additionalProperties":true}}},"CapabilityManifestError":{"type":"object","required":["error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"status":{"type":"string","enum":["error"]},"code":{"type":"string"},"error":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"}}},"CaptchaVerifyFailure":{"type":"object","properties":{"valid":{"type":"boolean","const":false},"error":{"type":"string"},"message":{"type":"string"}},"required":["valid","error","message"]},"CaptchaVerifyRequest":{"type":"object","properties":{"captcha_id":{"type":"string","minLength":1,"description":"Challenge identifier returned by the captcha generation endpoint."},"captcha_answer":{"type":"string","minLength":1,"description":"User-provided captcha solution."}},"required":["captcha_id","captcha_answer"]},"CaptchaVerifySuccess":{"type":"object","properties":{"valid":{"type":"boolean","const":true}},"required":["valid"]},"CardInstruction":{"type":"object","additionalProperties":false,"required":["occasion","tone"],"properties":{"occasion":{"type":"string","enum":["thank_you","welcome","birthday","condolence"]},"tone":{"type":"string","enum":["warm","formal","cheerful"]},"firstName":{"type":"string","maxLength":46,"description":"Optional single given name deliberately entered by the host. Never copied from a guest record."}}},"CardJob":{"type":"object","additionalProperties":false,"required":["id","status","cards","feeCents","currency","batchRef"],"properties":{"id":{"type":"string"},"status":{"type":"string","enum":["draft","accepted","rejected","shipped"]},"cards":{"type":"array","items":{"$ref":"#/components/schemas/CardInstruction"}},"feeCents":{"type":"integer","minimum":1,"description":"Agreed fee in integer minor units from the purchased card lines."},"currency":{"type":"string","enum":["EUR"]},"batchRef":{"type":"string"},"shopOrderId":{"type":"integer","description":"Host-only reference. Omitted from writer responses."}}},"CardOrderInput":{"type":"object","additionalProperties":false,"required":["handshakeId","writerId","shopOrderId","cards"],"properties":{"handshakeId":{"type":"string","pattern":"^[a-f0-9]{32}$"},"writerId":{"type":"string","pattern":"^[0-9]+$"},"shopOrderId":{"type":"integer","minimum":1},"stayId":{"type":"integer","minimum":1,"description":"Optional checked-out stay. Stored only in host-local DocumentLinks, never in the writer transport."},"cards":{"type":"array","minItems":1,"maxItems":100,"items":{"$ref":"#/components/schemas/CardInstruction"}}}},"CartItem":{"type":"object","properties":{"itemId":{"type":"string","example":"premium-30"},"quantity":{"type":"integer","example":1},"addedAt":{"type":"string","format":"date-time"}}},"CartResponse":{"type":"object","properties":{"cart":{"type":"array","items":{"$ref":"#/components/schemas/CartItem"}},"itemCount":{"type":"integer"}}},"CashEntryStornoBatchRequest":{"type":"object","required":["ids"],"properties":{"ids":{"type":"array","description":"Record ids to correct. Duplicates are collapsed; at most 500 per call.","maxItems":500,"items":{"type":"integer"}}}},"CashEntryStornoBatchResult":{"type":"object","description":"Per-id verdict. The batch never aborts: an unreversible row is reported as rejected/not_found and the remaining ids are still processed.\n","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"table":{"type":"string","enum":["income","expenses"]},"totals":{"type":"object","properties":{"reversed":{"type":"integer"},"already_reversed":{"type":"integer"},"not_found":{"type":"integer"},"rejected":{"type":"integer"}}},"results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string","enum":["reversed","already_reversed","not_found","rejected"]},"storno_id":{"type":"integer","nullable":true},"reference":{"type":"string","nullable":true},"reason":{"type":"string","description":"Only present for status=rejected."}}}}}}}},"CashEntryStornoResult":{"type":"object","description":"Outcome of one correction booking. already_reversed=true means the counter row was already there and nothing was written — the call is idempotent.\n","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"table":{"type":"string","enum":["income","expenses"]},"original_id":{"type":"integer","description":"The row that was corrected. It stays unchanged."},"storno_id":{"type":"integer","description":"The mirrored counter row carrying storno_of_id = original_id."},"already_reversed":{"type":"boolean"},"reference":{"type":"string","description":"invoice_number marker of the counter row; always ends in -STORNO."},"reversed_amounts":{"type":"object","description":"The negated money columns of the counter row, as DECIMAL(15,2) strings — never floats.","properties":{"amount":{"type":"string"},"net_amount":{"type":"string"},"vat_amount":{"type":"string"}}},"vat_ledger":{"type":"object","description":"#40612 — the USt-Nebenbuch side of the correction. The original row's vat_ledger movement is reversed through a canonical reversing entry (reverses_entry_id), never by mirroring a negative row. Idempotent: an already reversed entry is reported in reasons instead of failing the Storno.\n","properties":{"reversed":{"type":"integer"},"entry_ids":{"type":"array","items":{"type":"string"}},"reasons":{"type":"array","items":{"type":"string"}}}}}}}},"CashFlowForecast":{"type":"object","additionalProperties":false,"required":["horizon_days","start_date","end_date","opening_balance","opening_balance_source","closing_balance","total_inflow","total_outflow","days"],"properties":{"horizon_days":{"type":"integer","enum":[30,60,90,91]},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"opening_balance":{"$ref":"#/components/schemas/MoneyAmount"},"opening_balance_source":{"type":"string","description":"Server-selected opening-cash source; never a client selector."},"closing_balance":{"$ref":"#/components/schemas/MoneyAmount"},"total_inflow":{"$ref":"#/components/schemas/MoneyAmount"},"total_outflow":{"$ref":"#/components/schemas/MoneyAmount"},"days":{"type":"array","items":{"$ref":"#/components/schemas/ForecastDay"}}}},"CashFlowForecastDetail":{"type":"object","additionalProperties":false,"required":["start_date","end_date","items"],"properties":{"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ForecastItem"}}}},"CashFlowForecastDetailResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/CashFlowForecastDetail"}}},"CashFlowForecastResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/CashFlowForecast"}}},"CashSourceBackfillResult":{"type":"object","required":["dry_run","types","planned_pairs","created_edge_ids","financial_digest","document_links_digest","open","year","receipt_marker","receipt_id"],"properties":{"year":{"type":"integer","nullable":true,"minimum":1900,"maximum":9999},"period":{"type":"object","nullable":true,"description":"The tenant's resolved Wirtschaftsjahr when fiscal_year was given (inclusive bounds); null otherwise.","properties":{"start":{"type":"string","format":"date"},"end":{"type":"string","format":"date"},"start_month":{"type":"integer","minimum":1,"maximum":12},"label":{"type":"integer","description":"Ending-year label (WJ 01.12.2024-30.11.2025 is 2025)"}}},"receipt_marker":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{32}$"},"open":{"type":"array","items":{"type":"object","required":["type","id","competing_count"],"properties":{"type":{"type":"string"},"id":{"type":"string"},"competing_count":{"type":"integer","minimum":0}}}},"document_links_digest":{"$ref":"#/components/schemas/CashSourceEdgeDigests"},"dry_run":{"type":"boolean"},"types":{"type":"object","additionalProperties":{"type":"object","required":["before","would_create","created","unresolved","after"],"properties":{"measurable":{"type":"boolean"},"before":{"type":"integer"},"would_create":{"type":"integer"},"created":{"type":"integer"},"unresolved":{"type":"integer"},"after":{"type":"integer"}}}},"planned_pairs":{"type":"array","description":"Identifiers only; allocated database edge IDs exist only after execution.","items":{"type":"object","required":["from","to","source"],"properties":{"from":{"type":"string","example":"document:synthetic-source"},"to":{"type":"string","example":"booking:1"},"source":{"type":"string","example":"invoice:9"}}}},"created_edge_ids":{"type":"array","items":{"type":"integer"}},"receipt_id":{"type":"string","nullable":true},"financial_digest":{"type":"object","required":["algorithm","before","after","unchanged"],"properties":{"algorithm":{"type":"string","enum":["sha256"]},"unchanged":{"type":"boolean"},"before":{"$ref":"#/components/schemas/CashSourceFinancialDigests"},"after":{"$ref":"#/components/schemas/CashSourceFinancialDigests"}}}}},"CashSourceEdgeDigest":{"type":"object","required":["document_links"],"properties":{"document_links":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"CashSourceEdgeDigests":{"type":"object","required":["algorithm","before","after","unchanged"],"properties":{"algorithm":{"type":"string","enum":["sha256"]},"unchanged":{"type":"boolean"},"before":{"$ref":"#/components/schemas/CashSourceEdgeDigest"},"after":{"$ref":"#/components/schemas/CashSourceEdgeDigest"}}},"CashSourceFinancialDigests":{"type":"object","required":["de_bookings","income","expenses"],"properties":{"de_bookings":{"type":"string","pattern":"^[a-f0-9]{64}$"},"income":{"type":"string","pattern":"^[a-f0-9]{64}$"},"expenses":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"CashVatJournals_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"validation_error"},"message":{"type":"string"}}},"CashVatJournals_MoneyAmount":{"description":"Monetary amount as an integer in minor units (cents) or a decimal string with at most two fraction digits. Never a binary float literal.\n","oneOf":[{"type":"integer"},{"type":"string"}],"example":"1190.00"},"CashVatLedgerBackfillRequest":{"type":"object","description":"All fields optional. Omitting everything previews both tables for the whole tenant.\n","properties":{"execute":{"type":"boolean","default":false,"description":"false (default) previews; true writes the vat_ledger movements."},"tables":{"type":"array","description":"Subset of the two source tables. Default: both.","items":{"type":"string","enum":["income","expenses"]}},"date_from":{"type":"string","format":"date","description":"booking_date lower bound (inclusive)."},"date_to":{"type":"string","format":"date","description":"booking_date upper bound (inclusive)."},"income_ids":{"type":"array","description":"Restrict to an explicit set of income ids.","items":{"type":"integer"}},"expense_ids":{"type":"array","description":"Restrict to an explicit set of expenses ids.","items":{"type":"integer"}},"limit":{"type":"integer","default":500,"maximum":5000,"description":"Max candidates per table."}}},"CashVatLedgerBackfillResult":{"type":"object","description":"Every candidate appears in `rows` with a `reason`, whether or not it was posted — a skipped row must stay explainable. `totals_by_year` exists because the acceptance test of this repair is per year: the ust-zuarbeit Zahllast must equal the EUeR Zahllast.\n","properties":{"tenant_id":{"type":"string"},"execute":{"type":"boolean"},"tables":{"type":"array","items":{"type":"string"}},"candidates":{"type":"integer"},"posted":{"type":"integer","description":"Rows written (or, in a dry run, rows that WOULD be written)."},"skipped":{"type":"integer"},"totals":{"type":"object","description":"Sum over the posted rows, DECIMAL(15,2) strings — never floats.","properties":{"net":{"type":"string"},"vat":{"type":"string"}}},"totals_by_year":{"type":"object","description":"booking_date year => {net, vat, rows}.","additionalProperties":{"type":"object","properties":{"net":{"type":"string"},"vat":{"type":"string"},"rows":{"type":"integer"}}}},"rows":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string","enum":["income","expenses"]},"row_id":{"type":"integer"},"booking_date":{"type":"string"},"invoice_number":{"type":"string"},"posted":{"type":"boolean"},"reason":{"type":"string","description":"vat_movement (posted) · already_mirrored · no_vat_rate · no_vat_amount · vat_amount_inconsistent · no_booking_date · incomplete_row · origin_bank_suggestion · origin_invoice_sync · origin_storno · reversed_by_storno · storno_pair_cross_period\n"},"origin":{"type":"string","enum":["cash","bank_suggestion","invoice_sync","storno"]},"document_type":{"type":"string","description":"cash_income or cash_expense — the vat_ledger key this row is declared under."},"document_id":{"type":"string"},"entry_ids":{"type":"array","items":{"type":"string"}},"net_amount":{"type":"string"},"vat_amount":{"type":"string","description":"The tax AS THE ROW BOOKED IT — the EUeR sums this column verbatim."},"derived_vat_amount":{"type":"string","description":"half-up(net x rate). More than one cent from vat_amount => reason vat_amount_inconsistent."},"vat_rate":{"type":"string"},"direction":{"type":"string","enum":["collect","pay"]},"period":{"type":"string","description":"YYYY-MM, taken from booking_date so ledger and EUeR count the row in the SAME period."},"bank_suggestion_id":{"type":"string","description":"Only for a bank-suggestion projection."},"bank_suggestion_declared":{"type":"boolean","description":"Verified, not assumed: is that suggestion VAT really in vat_ledger? false is a finding."},"storno_row_id":{"type":"integer","description":"Only for reversed_by_storno / storno_pair_cross_period: the counter row that reverses this one."},"storno_period":{"type":"string","description":"YYYY-MM of that counter row. Equal to period => the pair nets to zero and nothing is declared; different => refused (storno_pair_cross_period), because netting would move turnover between periods and declaring one side would be one-sided."}}}}}},"CatalogItem":{"type":"object","additionalProperties":true,"required":["tenant_id","source","table","profile","status","row_count","active_count","tombstone_count"],"properties":{"tenant_id":{"type":"string"},"source":{"type":"string","enum":["portaldb","backenduidb"]},"table":{"type":"string"},"profile":{"type":"string"},"status":{"type":"string","enum":["canonical","archived","syncing","error"]},"row_count":{"type":"integer","minimum":0},"active_count":{"type":"integer","minimum":0},"tombstone_count":{"type":"integer","minimum":0}}},"CatalogMeta":{"allOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"object","required":["health"],"properties":{"hint":{"type":"object","description":"Present when the tenant catalog is empty; this is a valid state, not an error.","required":["code","message"],"properties":{"code":{"type":"string","enum":["EMPTY_MIGRATION_CATALOG"]},"message":{"type":"string"}}},"health":{"type":"object","required":["status","last_synced_at","monitor_interval_seconds","monitor_interval_minutes","catalog_count","error_count"],"properties":{"status":{"type":"string","enum":["healthy","stale","unavailable"]},"last_synced_at":{"type":"string","nullable":true},"monitor_interval_seconds":{"type":"integer","enum":[2700]},"monitor_interval_minutes":{"type":"integer","enum":[45]},"catalog_count":{"type":"integer","minimum":0},"error_count":{"type":"integer","minimum":0}}}}}]},"CatalogResponse":{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/CatalogItem"}},"meta":{"$ref":"#/components/schemas/CatalogMeta"}}},"CategoryCount":{"type":"object","properties":{"category":{"type":"string"},"count":{"type":"integer"}}},"CellPatch":{"type":"object","properties":{"stock":{"type":"integer","minimum":0},"price":{"type":"number","minimum":0},"ean":{"type":"string"}}},"ChangePasswordRequest":{"type":"object","required":["currentPassword","newPassword"],"properties":{"currentPassword":{"type":"string"},"newPassword":{"type":"string"}}},"Channel":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"channel_type":{"type":"string"},"driver":{"type":"string"},"driver_identifier":{"type":"string"},"status":{"type":"string"},"persona_id":{"type":"string","nullable":true},"principal_allowlist":{"type":"array","items":{"type":"string"}},"principal_allowlist_count":{"type":"integer"}}},"ChannelListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/Channel"}}}},"ChargeDecision":{"type":"object","properties":{"mode":{"type":"string","enum":["charged","free","demo_only"]},"allowed":{"type":"boolean"},"reason":{"type":"string","description":"ok | insufficient_balance | price_unknown | included | not_enforced | monetization_free"},"balanceCents":{"type":"integer","nullable":true},"enforced":{"type":"boolean"}}},"ChargePrice":{"type":"object","required":["priceKey","amountCents","currency","basis","freeAlternative"],"properties":{"priceKey":{"type":"string"},"amountCents":{"type":"integer","nullable":true,"description":"Integer cents; null = price unknown (never charged)."},"currency":{"type":"string"},"basis":{"type":"string","enum":["per_action","token_estimate","included","unknown"]},"freeAlternative":{"type":"string","enum":["watermark","simulate","none"]},"source":{"type":"string"},"detail":{"type":"object","additionalProperties":true},"unit":{"type":"string","enum":["document","token","action"]},"label":{"type":"object","properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}}}},"ChargeQuoteEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"allOf":[{"$ref":"#/components/schemas/ChargePrice"},{"type":"object","properties":{"monetizationMode":{"$ref":"#/components/schemas/MonetizationMode"},"charge":{"$ref":"#/components/schemas/ChargeDecision"}}}]}}},"ChartConformity":{"type":"object","description":"How well the tenant's own chart of accounts backs the account types in\nthis report. `verdict = contradicts` means the stored chart matches a\nDIFFERENT Kontenrahmen better than the configured one; every derived\nfigure that depends on an account type is then unmeasured rather than\nmeasured. `inert` means the chart is too small to support any statement\nand NO defect is claimed.\n","required":["configured_variant","verdict","accounts_total","readings","follows"],"properties":{"configured_variant":{"type":"string","example":"skr04"},"verdict":{"type":"string","enum":["conforms","contradicts","inert"]},"accounts_total":{"type":"integer"},"readings":{"type":"object","description":"How many accounts fall into each type_source class.","additionalProperties":{"type":"integer"}},"follows":{"type":"object","description":"Per standard chart, how many of its accounts the tenant keeps with the identical name and type.","additionalProperties":{"type":"object","required":["matched","of"],"properties":{"matched":{"type":"integer"},"of":{"type":"integer"}}}}}},"ChartOfAccountCreate":{"type":"object","required":["account_code","account_name","account_type"],"properties":{"account_code":{"type":"string","pattern":"^\\d{4}$"},"account_name":{"type":"string","minLength":1,"maxLength":255},"account_type":{"type":"string","enum":["asset","liability","equity","revenue","expense"]},"chart_variant":{"type":"string","enum":["SKR03","SKR04"]},"parent_id":{"type":"integer","nullable":true},"is_active":{"type":"boolean","default":true}}},"ChartOfAccountResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ChartOfAccountRow"}}},"ChartOfAccountRow":{"type":"object","required":["id","account_code","account_name","account_type","chart_variant","is_active","source"],"properties":{"id":{"type":"integer"},"account_code":{"type":"string"},"account_name":{"type":"string"},"account_type":{"type":"string"},"chart_variant":{"type":"string","enum":["SKR03","SKR04"]},"parent_id":{"type":"integer","nullable":true},"is_active":{"type":"boolean"},"source":{"type":"string","enum":["seed","custom"]}}},"ChartOfAccountUpdate":{"type":"object","minProperties":1,"properties":{"account_name":{"type":"string","minLength":1,"maxLength":255},"account_type":{"type":"string","enum":["asset","liability","equity","revenue","expense"]},"parent_id":{"type":"integer","nullable":true},"is_active":{"type":"boolean"}}},"ChartOfAccountsSeedRequest":{"type":"object","properties":{"variant":{"type":"string","enum":["SKR03","SKR04"],"description":"Legacy compatibility hint; the tenant setting remains authoritative."}}},"ChatAgentBootstrapRequest":{"type":"object","required":["tenant_id","scope_kind","scope_id"],"properties":{"tenant_id":{"type":"string"},"scope_kind":{"type":"string","example":"telegram_channel"},"scope_id":{"type":"string","example":"channel-123"},"enabled":{"type":"boolean","default":true},"provider_id":{"type":"string","example":"pull_queue"},"model":{"type":"string","example":"gpt-4.1-mini"},"system_prompt":{"type":"string"},"temperature":{"type":"number","format":"float","default":0.7},"max_tokens":{"type":"integer","default":1024},"provider_config":{"type":"object","additionalProperties":true},"dry_run":{"type":"boolean","description":"Return only redacted existing scope configuration; omit scope_id to list the requested scope kind."}}},"ChatAgentBootstrapResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"config":{"type":"object","additionalProperties":true}}},"ChatAgentCompletionRequest":{"type":"object","required":["scope_kind","messages","answer_mode"],"properties":{"scope_kind":{"type":"string"},"scope_id":{"type":"string"},"thread_id":{"type":"string"},"channel_id":{"type":"string"},"message_id":{"type":"string"},"answer_mode":{"type":"string","enum":["ai","human"],"description":"Explicit user choice; no default is permitted."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}}}},"ChatAgentCompletionResponse":{"type":"object","description":"AI completion. `routing` names where the prompt went: `destination`\n`local` (loopback/private/allowlisted host — the tenant's data stayed\nin the house), `remote` (public cloud), `none` (stub, nothing sent);\n`sovereignty_mode` is the tenant's Souveränitäts-Cockpit mode for the\nworkload `ai.chat`; `privacy_locked` is true when that policy removed\nremote providers from the failover chain before any transport.\n","properties":{"content":{"type":"string"},"provider_id":{"type":"string"},"provider_status":{"type":"string","enum":["ok","degraded"]},"requested_provider_id":{"type":"string"},"failover_count":{"type":"integer"},"routing":{"type":"object","properties":{"destination":{"type":"string","enum":["local","remote","none",""]},"sovereignty_mode":{"type":"string","enum":["cloud_pseudonymized","local_only","forbidden",""]},"privacy_locked":{"type":"boolean"}}},"model":{"type":"string"},"finish_reason":{"type":"string"},"prompt_tokens":{"type":"integer"},"completion_tokens":{"type":"integer"}}},"ChatAgentPullEmptyResponse":{"type":"object","properties":{"empty":{"type":"boolean","example":true}}},"ChatAgentPullError":{"type":"object","properties":{"error":{"type":"string"},"status":{"type":"string"}}},"ChatAgentPullNextRequest":{"type":"object","properties":{"queue_tag":{"type":"string","description":"Optional worker queue suffix for diagnostics."},"worker_id":{"type":"string","description":"Free-form worker identifier written into the claimed job row.","default":"external"}}},"ChatAgentPullNextResponse":{"type":"object","properties":{"pull_id":{"type":"integer","example":42},"tenant_id":{"type":"string","example":"default"},"scope_kind":{"type":"string","example":"telegram_channel"},"scope_id":{"type":"string","example":"channel-123"},"system_prompt":{"type":"string"},"model_hint":{"type":"string","example":"gpt-4.1-mini"},"temperature":{"type":"number","format":"float","example":0.7},"max_tokens":{"type":"integer","example":1024},"conversation":{"type":"array","items":{"type":"object","additionalProperties":true}},"reply_mode":{"type":"string","example":"auto"}}},"ChatAgentPullRespondRequest":{"type":"object","required":["pull_id","content"],"properties":{"pull_id":{"type":"integer","example":42},"content":{"type":"string"},"finish_reason":{"type":"string","default":"stop"},"model":{"type":"string","default":"external"}}},"ChatAgentPullRespondResponse":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","example":"done"},"reason":{"type":"string","example":"delivered"}}},"ChatJobView":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["queued","claimed","done","failed","expired"]},"phase":{"type":"string","enum":["queued","thinking","answering","done","failed"]},"partial_text":{"type":["string","null"],"description":"De-pseudonymized progressive text; null when it must not be shown"},"answer":{"type":["string","null"],"description":"Final answer, only when the source-citation and pseudonym gates passed"},"review_state":{"type":["string","null"],"enum":["ok","citation_missing","pseudonym_leak",null]},"delivery_state":{"type":["string","null"],"enum":["pending_review","approved","rejected","auto_released","review_unavailable",null],"description":"Server-side proposal delivery gate; null when review is disabled or the job is not a chat-widget job."},"sources":{"type":"array","items":{"type":"string"}},"error_code":{"type":["string","null"]},"timings":{"type":"object","properties":{"claim_ms":{"type":["integer","null"]},"first_token_ms":{"type":["integer","null"]},"total_ms":{"type":["integer","null"]}}},"poll_after_ms":{"type":["integer","null"]},"version":{"type":"string","description":"Fingerprint of status/phase/text/verdict for `since`"}}},"ChatMessage":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"topic":{"type":"string"},"sender_id":{"type":"string"},"sender_name":{"type":"string","nullable":true},"message":{"type":"string"},"is_read":{"type":"integer"},"created_at":{"type":"string","format":"date-time"}}},"ChatMessageInput":{"type":"object","required":["sender_id","message"],"properties":{"topic":{"type":"string"},"sender_id":{"type":"string"},"sender_name":{"type":"string"},"message":{"type":"string"}}},"ChatTopic":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"CheckStatus":{"type":"string","enum":["healthy","degraded","unhealthy","fail_open","not_applicable"],"description":"Status of an individual health check.\n\n`fail_open` means a security check is unavailable while an explicit runtime policy still admits traffic. It degrades the aggregate visibly without inventing an HTTP 503 readiness decision.\n\n`not_applicable` (added #29601) means this site does not operate the subsystem at all — e.g. no `email_outbox` table exists, so there is no durable email queue to judge. It is a state of its own: NOT `healthy` (nothing is running) and NOT `degraded` (nothing is broken). It never gates the overall status and is listed under `not_applicable`.\n"},"Checklist":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ChecklistItem"}},"summary":{"type":"object","description":"Always computed over the FULL list, independent of ?filter.","properties":{"total":{"type":"integer"},"done":{"type":"integer"},"open":{"type":"integer"},"percent":{"type":"integer","minimum":0,"maximum":100},"promotedToQuestions":{"type":"integer","description":"Task lines this document hands over to the question widget (decision documents whose points are all A)/B) options). A total of 0 with a positive value here means \"the points are questions\", NOT \"there is nothing to decide\" — read GET /docs/{slug}/answers for those.\n"}}},"orphaned":{"type":"array","description":"Ticked items whose key no longer occurs in the current version — typically a reworded line. Surfaced instead of silently dropped so a document update never loses work unnoticed.\n","items":{"type":"object","properties":{"key":{"type":"string"},"text":{"type":"string","description":"Text snapshot stored when the item was ticked."},"checkedAt":{"type":"string","format":"date-time","nullable":true},"checkedByLabel":{"type":"string","nullable":true}}}}}},"ChecklistAnswer":{"type":"object","description":"One row of the machine-readable answer sheet. `checked` alone cannot tell an untouched question from one somebody deliberately left open — that is what `answered` is for.\n","properties":{"ordinal":{"type":"integer","description":"Zero-based position in the document."},"key":{"type":"string","maxLength":64},"type":{"type":"string","enum":["checkbox"],"description":"Item kind; reserved for further field types."},"text":{"type":"string","maxLength":500},"headingPath":{"type":"string"},"answer":{"type":"string","description":"The answer in the DOCUMENT's own notation: `[x]` (or `[X]` when the doc writes it that way) / `[ ]`."},"checked":{"type":"boolean"},"answered":{"type":"boolean","description":"True when a state row exists, i.e. somebody actively decided — including deciding NO. False means nobody has ever touched the item.\n"},"answeredAt":{"type":"string","format":"date-time","nullable":true,"description":"When that decision was last made. Deliberately NOT `checked_at`, which is null for a deliberate \"no\" and would erase the distinction.\n"},"answeredByLabel":{"type":"string","nullable":true},"sourceAnswer":{"type":"string","description":"What the SOURCE document ships, so a pre-ticked item stays distinguishable from a ticked one."}}},"ChecklistItem":{"type":"object","properties":{"ordinal":{"type":"integer","description":"Zero-based position in the document."},"key":{"type":"string","maxLength":64},"text":{"type":"string","maxLength":500,"description":"Item label with inline markdown reduced to plain text."},"headingPath":{"type":"string","description":"Heading trail of the section the item sits in, e.g. \"Belege › Bank\". Empty when the item precedes any heading."},"checked":{"type":"boolean"},"checkedAt":{"type":"string","format":"date-time","nullable":true},"checkedByLabel":{"type":"string","nullable":true,"description":"Display name of whoever ticked it (audit trail for shared checklists)."}}},"ChecklistUpdateRequest":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"done":{"type":"boolean"},"done_by":{"type":"string","nullable":true}}}}}},"CheckoutSession":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["not_ready_for_payment","ready_for_payment","completed","canceled"]},"currency":{"type":"string"},"line_items":{"type":"array","items":{"type":"object"}},"totals":{"type":"array","items":{"type":"object"}},"messages":{"type":"array","items":{"type":"object"}},"crew_terms":{"type":"object","description":"Read cancellation policy, dated fees and skipper-direct payment instructions before explicitly accepting in buyer (ACP) or crew_consent (UCP)."},"crew_consent_requires":{"type":"array","items":{"type":"string"}},"order":{"type":"object","properties":{"id":{"type":"string"},"checkout_session_id":{"type":"string"},"permalink_url":{"type":"string"}}}}},"CheckoutSessionRequest":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Crew berths use crew-toern:{offer_id}, quantity 1, no mixed carts. A linked portal user and explicit buyer consent are required; invoice pays the skipper directly. Product id from the product feed — or `agent_access_pass:<order_id>` to pay an AgentAuth self-service access order (A-41; exactly one item, quantity 1, header X-Tenant-Id = tenant of the order). Completion then records the tenant-bound payment_transaction_id the order redeem step needs (payment_data.provider bank_transfer or x402).\n"},"quantity":{"type":"integer","minimum":1}}}},"buyer":{"type":"object","properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string"},"phone_number":{"type":"string"},"display_name":{"type":"string","minLength":2,"maxLength":60},"consent_share_name":{"type":"boolean"},"consent_share_contact":{"type":"boolean"},"accept_terms":{"type":"boolean"}}},"fulfillment_address":{"type":"object","properties":{"line_one":{"type":"string"},"city":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string"}}},"stay":{"type":"object","description":"Required on fewo deployments.","properties":{"check_in":{"type":"string","format":"date"},"check_out":{"type":"string","format":"date"},"guests":{"type":"integer","minimum":1}}}}},"ChoreoError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"ChoreoInstall":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"listing_id":{"type":"integer"},"mode":{"type":"string","enum":["trial","purchased"]},"status":{"type":"string","enum":["pending_approval","active","rolled_back"]}}},"ChoreoListEnvelope":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"ChoreoListing":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"slug":{"type":"string"},"title":{"type":"string"},"kind":{"type":"string","enum":["choreo","shaping"]},"price_credits":{"type":"integer"},"revenue_share_bps":{"type":"integer"},"status":{"type":"string","enum":["draft","published","delisted"]},"payload":{"type":"object","additionalProperties":true}}},"ClassifyInput":{"type":"object","required":["classification"],"properties":{"classification":{"type":"string","enum":["private","business"]},"mode":{"type":"string","enum":["bike","walk","car","sail"]},"customerId":{"type":"string","description":"CRM customer id; default: the rule match or the nearest geocoded customer address (300 m)"},"projectId":{"type":"string"},"projectName":{"type":"string"},"hourlyRateCents":{"type":"integer","minimum":0,"maximum":1000000}}},"CleaningPlanEvent":{"type":"object","required":["type","checkout_date","checkout_label","checkout_rooms","next_checkin_date","cleaning","window","priority","priority_reasons","assignee"],"properties":{"type":{"type":"string","enum":["turnover","checkout_only"]},"checkout_date":{"type":"string","format":"date"},"checkout_label":{"type":"string","description":"Guest name; empty for the staff role"},"checkout_rooms":{"type":"string"},"checkout_booking_id":{"type":"string","nullable":true},"next_checkin_date":{"type":"string","format":"date","nullable":true},"next_checkin_label":{"type":"string","description":"Guest name; empty for the staff role"},"next_checkin_booking_id":{"type":"string","nullable":true},"cleaning":{"type":"object","properties":{"kind":{"type":"string","enum":["same_day","tight_turnover","with_reserve","room_only","no_followup"]},"gap_days":{"type":"integer","nullable":true},"reserve_day":{"type":"string","format":"date","nullable":true}}},"window":{"type":"object","required":["start","end","hours"],"properties":{"start":{"type":"string","example":"2029-02-05T10:00"},"end":{"type":"string","nullable":true,"example":"2029-02-05T15:00"},"hours":{"type":"integer","nullable":true}}},"priority":{"type":"string","enum":["high","normal"]},"priority_reasons":{"type":"array","items":{"type":"string","enum":["same_day_arrival","late_checkout","tight_window"]}},"assignee":{"type":"object","nullable":true,"required":["kind","id","label","source"],"properties":{"kind":{"type":"string","enum":["staff","team"]},"id":{"type":"string"},"label":{"type":"string"},"source":{"type":"string","enum":["assignment","booking","default"]}}}}},"CleaningSettings":{"type":"object","additionalProperties":false,"properties":{"default_team":{"allOf":[{"$ref":"#/components/schemas/CleaningTeam"}],"nullable":true},"checkout_time":{"type":"string","pattern":"^\\d{2}:\\d{2}$","nullable":true},"checkin_time":{"type":"string","pattern":"^\\d{2}:\\d{2}$","nullable":true}}},"CleaningSettingsView":{"allOf":[{"$ref":"#/components/schemas/CleaningSettings"},{"type":"object","required":["effective","version","role","can_edit"],"properties":{"effective":{"type":"object","properties":{"checkout_time":{"type":"string"},"checkin_time":{"type":"string"}}},"version":{"type":"integer"},"role":{"type":"string","enum":["owner","manager","staff"]},"can_edit":{"type":"boolean"}}}]},"CleaningTeam":{"type":"object","required":["id","label"],"properties":{"id":{"type":"string","pattern":"^[A-Za-z]{1,4}$"},"label":{"type":"string","maxLength":60}}},"CmsPage":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"slug":{"type":"string","example":"about"},"title":{"type":"string","example":"About Us"},"content_json":{"type":"string","description":"JSON-encoded page content"},"content":{"type":"object","description":"Decoded page content (in GET single page response)"},"lang":{"type":"string","example":"de"},"is_published":{"type":"integer","enum":[0,1]},"sort_order":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"CohortEntry":{"type":"object","properties":{"year":{"type":"integer","description":"Cohort year"},"count":{"type":"integer","description":"Number of cases in this cohort"},"percentage":{"type":"number","format":"float","description":"Fraction of total (0-1)"},"avgAgeMonths":{"type":"number","format":"float","description":"Average age of cases in months"}},"required":["year","count","percentage","avgAgeMonths"]},"CohortRequest":{"type":"object","properties":{"orgUnitId":{"type":"string","description":"Org unit to analyze"},"from":{"type":"string","format":"date","description":"Period start (inclusive)"},"to":{"type":"string","format":"date","description":"Period end (inclusive)"}},"required":["orgUnitId","from","to"]},"CollaborationComment":{"type":"object","required":["id","tenantId","entityType","entityId","authorId","content","mentions","createdAt"],"properties":{"id":{"type":"string"},"tenantId":{"type":"string"},"entityType":{"type":"string"},"entityId":{"type":"string"},"authorId":{"type":"string"},"authorName":{"type":"string","nullable":true},"content":{"type":"string"},"mentions":{"type":"array","items":{"type":"string"}},"parentId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"deletedAt":{"type":"string","nullable":true}}},"CollaborationCommentInput":{"type":"object","required":["content"],"properties":{"content":{"type":"string","minLength":1,"maxLength":10000},"parentId":{"type":"string","nullable":true}}},"CollaborationCommentListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/CollaborationComment"}}}},"CollaborationCommentResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/CollaborationComment"}}},"CollaborationPresenceResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"record":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"}}},"viewers":{"type":"array","description":"Everybody on the record, including the caller.","items":{"$ref":"#/components/schemas/CollaborationPresenceViewer"}},"count":{"type":"integer"},"others":{"type":"array","description":"The colleagues the caller should see (never the caller).","items":{"$ref":"#/components/schemas/CollaborationPresenceViewer"}},"me":{"type":"object","properties":{"userId":{"type":"string"},"visible":{"type":"boolean"},"activity":{"type":"string","nullable":true,"enum":["viewing","editing",null]}}},"head":{"type":"object","properties":{"change":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"at":{"type":"string"},"kind":{"type":"string"},"actorId":{"type":"string","nullable":true},"actor":{"type":"string","nullable":true},"changes":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"from":{"type":"string","nullable":true},"to":{"type":"string","nullable":true}}}}}},"comment":{"type":"object","nullable":true,"properties":{"count":{"type":"integer"},"at":{"type":"string"},"authorId":{"type":"string"}}}}},"ttlSeconds":{"type":"integer"},"pollSeconds":{"type":"integer"}}}}},"CollaborationPresenceViewer":{"type":"object","properties":{"userId":{"type":"string"},"userName":{"type":"string","nullable":true},"seenAt":{"type":"string"},"activity":{"type":"string","enum":["viewing","editing"]}}},"ColumnMetadataResponse":{"type":"object","additionalProperties":false,"required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","additionalProperties":false,"required":["columns"],"properties":{"columns":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["name","type","non_null_count","distinct_count"],"properties":{"name":{"type":"string"},"type":{"type":"string"},"non_null_count":{"type":"integer","minimum":0},"distinct_count":{"type":"integer","minimum":0}}}}}},"meta":{"type":"object","additionalProperties":false,"required":["database","table","pii_map_loaded"],"properties":{"database":{"type":"string"},"table":{"type":"string"},"pii_map_loaded":{"type":"boolean"}}}}},"CommerceBundle":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"discount":{"type":"number"},"currency":{"type":"string"},"created_by_user_id":{"type":"string"},"created_at":{"type":"string"},"products":{"type":"array","items":{"$ref":"#/components/schemas/CommerceBundleProduct"}},"pricing":{"type":"object","additionalProperties":true}}},"CommerceBundleList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/CommerceBundle"}},"count":{"type":"integer"},"generated_at":{"type":"string"}}},"CommerceBundleProduct":{"type":"object","additionalProperties":true},"CommerceCatalogProduct":{"type":"object","description":"A storefront product row in portal_products (#20426).","properties":{"id":{"type":"integer","readOnly":true},"tenant_id":{"type":"string","readOnly":true},"item_id":{"type":"string","maxLength":191},"name":{"type":"string","maxLength":255},"description":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true,"enum":["piece","g","kg","ml","l","pack","bag","box",null],"description":"Optional structured unit code; never extracted from description."},"pack_size":{"type":"string","nullable":true,"maxLength":22,"pattern":"^(?=.*[1-9])[0-9]{1,18}(\\.[0-9]{1,3})?$","description":"Positive decimal string in unit, up to 3 decimals. No quantity conversion."},"price":{"type":"number","format":"float"},"price_discounted":{"type":"number","format":"float","nullable":true},"reparability_score":{"type":"integer","minimum":0,"maximum":100,"nullable":true},"spare_parts_available":{"type":"integer","enum":[0,1],"nullable":true},"spare_parts_cost_cents":{"type":"integer","minimum":0,"nullable":true},"spare_parts_ordering":{"type":"string","nullable":true},"repair_instructions":{"type":"string","nullable":true},"repair_restrictions":{"type":"string","nullable":true},"eco_delivery_options":{"type":"string","nullable":true},"vat_rate":{"type":"integer","minimum":0,"maximum":100,"nullable":true,"description":"VAT of the article as a whole percent (19, 7, 0 or custom). null = the shop's default rate."},"images":{"type":"array","readOnly":true,"description":"Images of the article (main image first); see /api/shop/{tenantId}/catalog/products/{id}/images.","items":{"type":"object","additionalProperties":true}},"currency":{"type":"string","example":"EUR"},"tier":{"type":"string","nullable":true},"duration_days":{"type":"integer","nullable":true},"sort_order":{"type":"integer"},"active":{"type":"integer","enum":[0,1]},"available_qty":{"type":"number","format":"float","minimum":0,"readOnly":true,"description":"Tenant-scoped sellable inventory after active reservations."},"source":{"type":"string","description":"Provenance source (e.g. erp); empty for hand-curated rows."},"external_id":{"type":"string","description":"Source-side identifier; part of the import upsert key."},"created_at":{"type":"string","readOnly":true},"updated_at":{"type":"string","readOnly":true}},"required":["item_id","name"]},"CommerceCompletionAdmissionError":{"type":"object","required":["type","code","message"],"properties":{"type":{"type":"string"},"code":{"type":"string","description":"Admission codes are distinct from linked identity and scope errors.","examples":["agent_access_identity_required","agent_access_payment_required","agent_access_forbidden","identity_required","insufficient_scope","invalid_authorization"]},"message":{"type":"string"}}},"CommerceError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"CommerceFlashSale":{"type":"object","additionalProperties":true},"CommerceInventoryDashboard":{"type":"object","properties":{"thresholds":{"type":"object","additionalProperties":true},"summary":{"type":"object","additionalProperties":true},"low_stock_items":{"type":"array","items":{"type":"object","additionalProperties":true}},"out_of_stock_items":{"type":"array","items":{"type":"object","additionalProperties":true}},"overstocked_items":{"type":"array","items":{"type":"object","additionalProperties":true}},"reorder_suggestions":{"type":"array","items":{"type":"object","additionalProperties":true}},"generated_at":{"type":"string"}}},"CommercePaginationMeta":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"},"total_pages":{"type":"integer"}}},"CommercePurchaseFrequencyAnalysis":{"type":"object","properties":{"summary":{"type":"object","additionalProperties":true},"customers":{"type":"array","items":{"type":"object","additionalProperties":true}},"generated_at":{"type":"string"}}},"CommerceReturnRateAnalysis":{"type":"object","properties":{"summary":{"type":"object","additionalProperties":true},"products":{"type":"array","items":{"type":"object","additionalProperties":true}},"categories":{"type":"array","items":{"type":"object","additionalProperties":true}},"reasons":{"type":"array","items":{"type":"object","additionalProperties":true}},"generated_at":{"type":"string"}}},"CommerceRmaItem":{"type":"object","description":"One returned line item of an RMA request.","properties":{"itemId":{"type":"string","maxLength":255},"quantity":{"type":"integer","minimum":1},"condition":{"type":"string","maxLength":255},"name":{"type":"string","nullable":true},"sku":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"requestedAmount":{"type":"string","description":"Optional per-line monetary value (2dp decimal string).","nullable":true}},"required":["itemId","quantity"]},"CommerceRmaList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/CommerceRmaRequest"}},"count":{"type":"integer"},"filters":{"type":"object","properties":{"statuses":{"type":"array","items":{"type":"string"}}}},"status_counts":{"type":"object","additionalProperties":{"type":"integer"}},"generated_at":{"type":"string"}}},"CommerceRmaRequest":{"type":"object","description":"A return/RMA request row in commerce_rma_requests. Money values are 2dp decimal strings. Status lifecycle: pending/under_review -> approved | rejected (approve is idempotent for already-settled RMAs).","properties":{"id":{"type":"integer","readOnly":true},"tenant_id":{"type":"string","readOnly":true},"order_id":{"type":"integer","nullable":true},"payment_transaction_id":{"type":"string","nullable":true,"description":"Resolved PSP leg; null for gift-card-only orders."},"customer_email":{"type":"string","nullable":true,"x-pii":"contact"},"currency":{"type":"string","example":"EUR"},"requested_amount":{"type":"string","example":"100.00"},"approved_amount":{"type":"string","nullable":true},"reason":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/CommerceRmaItem"}},"status":{"type":"string","enum":["pending","under_review","approved","received","refunded","rejected"]},"refund_id":{"type":"string","nullable":true,"description":"payment_refunds row id for the PSP-funded slice; null when nothing was refunded via PSP."},"approved_by":{"type":"string","nullable":true},"approved_at":{"type":"string","nullable":true},"created_at":{"type":"string","readOnly":true},"updated_at":{"type":"string","readOnly":true}}},"CommercialActionPrice":{"type":"object","additionalProperties":false,"required":["feeMinor"],"properties":{"feeMinor":{"type":"integer","minimum":0,"maximum":999999999}}},"CommercialPricingPolicy":{"type":"object","description":"Server-owned tenant_config value under saas_commercial_policy. Defaults come from Pricing/config/saas-business-models.json. No public grant or policy-write API is introduced here. A zero fee does not grant a paid subscription entitlement. Data import/export is always free and is switched only by the tenant config keys DATA_IMPORT_ENABLED / DATA_EXPORT_ENABLED. All money is EUR integer minor units.\n","additionalProperties":false,"required":["model"],"properties":{"model":{"type":"string","enum":["itt","mt"]},"aiApiCostMultiplier":{"type":"integer","minimum":0,"maximum":1000},"disabledActions":{"type":"array","items":{"type":"string","enum":["invoice.issue","offer.issue","ai.use"]}},"actions":{"type":"object","additionalProperties":false,"properties":{"invoice.issue":{"$ref":"#/components/schemas/CommercialActionPrice"},"offer.issue":{"$ref":"#/components/schemas/CommercialActionPrice"}}}}},"Communication_ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"CommunitySpecification":{"type":"object","required":["title","requirements","publicConsent"],"properties":{"title":{"type":"string","minLength":1,"maxLength":160},"requirements":{"type":"array","minItems":3,"maxItems":3,"items":{"type":"string","minLength":1,"maxLength":240}},"publicConsent":{"type":"boolean","enum":[true]}}},"Comparison":{"type":"object","required":["lineKey","planned","actual","variance"],"properties":{"lineKey":{"type":"string"},"planned":{"$ref":"#/components/schemas/MoneyOutput"},"actual":{"$ref":"#/components/schemas/MoneyOutput"},"variance":{"$ref":"#/components/schemas/MoneyOutput"}}},"ComparisonListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Comparison"}}}},"ComparisonListResponse":{"$ref":"#/components/schemas/ComparisonListEnvelope"},"ComparisonRequest":{"type":"object","required":["locationIds","metric","period"],"properties":{"locationIds":{"type":"array","items":{"type":"integer","minimum":1}},"metric":{"type":"string","enum":["revenue","hours","inventory_value","transactions"]},"period":{"type":"string","pattern":"^\\\\d{4}-\\\\d{2}$"}}},"CompensatedActivity":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"user_name":{"type":"string","nullable":true},"activity_type_id":{"type":"integer","nullable":true},"activity_description":{"type":"string"},"actual_minutes":{"type":"integer"},"customer_id":{"type":"string","nullable":true},"customer_name":{"type":"string","nullable":true},"service_date":{"type":"string"},"inquiry_date":{"type":"string","nullable":true},"justification":{"type":"string","nullable":true},"agreement_id":{"type":"integer","nullable":true},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"CompensatedActivityInput":{"type":"object","required":["user_id","activity_description","service_date"],"properties":{"user_id":{"type":"string"},"user_name":{"type":"string"},"activity_type_id":{"type":"integer"},"activity_description":{"type":"string"},"actual_minutes":{"type":"integer","default":0},"customer_id":{"type":"string"},"customer_name":{"type":"string"},"service_date":{"type":"string"},"inquiry_date":{"type":"string"},"justification":{"type":"string"},"agreement_id":{"type":"integer"},"legacy_id":{"type":"string"}}},"CompensationAgreement":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"user_name":{"type":"string","nullable":true},"name":{"type":"string"},"terms":{"type":"string"},"hourly_rate":{"type":"number","nullable":true},"per_unit_rate":{"type":"number","nullable":true},"currency":{"type":"string"},"valid_from":{"type":"string"},"valid_until":{"type":"string","nullable":true},"is_active":{"type":"integer"},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"CompensationAgreementInput":{"type":"object","required":["user_id","name","terms","valid_from"],"properties":{"user_id":{"type":"string"},"user_name":{"type":"string"},"name":{"type":"string"},"terms":{"type":"string"},"hourly_rate":{"type":"number"},"per_unit_rate":{"type":"number"},"currency":{"type":"string","default":"EUR"},"valid_from":{"type":"string"},"valid_until":{"type":"string"},"is_active":{"type":"integer"},"legacy_id":{"type":"string"}}},"ComplementaryProduct":{"type":"object","properties":{"itemId":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"price":{"type":"number","format":"float"},"priceDiscounted":{"type":"number","format":"float","nullable":true},"currency":{"type":"string"},"category":{"type":"string"},"coPurchaseCount":{"type":"integer"},"score":{"type":"integer"},"reasons":{"type":"array","items":{"type":"string"}}}},"ComplementaryProductsResponse":{"type":"object","properties":{"cartItemIds":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/ComplementaryProduct"}}}},"CompleteDomainContacts":{"allOf":[{"$ref":"#/components/schemas/DomainContacts"},{"type":"object","required":["owner","admin","tech","zone"]}]},"Compliance/Battery_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"validation_error"},"message":{"type":"string"}}},"Compliance/Weee_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"validation_error"},"message":{"type":"string"}}},"ComplianceCopilotDossier":{"type":"object","description":"The living compliance dossier — current findings, Verfahrensverzeichnis, history.","properties":{"tenant_id":{"type":"string"},"generated_at":{"type":"string"},"status":{"type":"string","enum":["no_run","action_needed","review","compliant"]},"current_run":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ComplianceCopilotRun"}]},"vv_entries":{"type":"array","items":{"$ref":"#/components/schemas/ComplianceCopilotVvEntry"}},"history":{"type":"array","items":{"$ref":"#/components/schemas/ComplianceCopilotRun"}}}},"ComplianceCopilotError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"ComplianceCopilotItem":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"run_id":{"type":"string"},"area":{"type":"string","enum":["gdpr_retention","gdpr_vv","gobd","einvoice"]},"check_key":{"type":"string","example":"retention_policy_gaps"},"severity":{"type":"string","enum":["blocker","warning","ok"]},"title":{"type":"string"},"detail":{"type":"string","nullable":true},"proposed_action":{"type":"object","nullable":true,"description":"Machine-executable one-click fix the Kopilot proposes (seed_retention_defaults, create_vv_entry); runs only after explicit approval.\n"},"action_status":{"type":"string","enum":["none","proposed","executed","failed","dismissed"]},"approved_by":{"type":"string","nullable":true},"executed_at":{"type":"string","nullable":true},"dismissed_by":{"type":"string","nullable":true},"dismiss_reason":{"type":"string","nullable":true},"result":{"type":"object","nullable":true,"description":"Execution evidence recorded after an approved fix ran."},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ComplianceCopilotRun":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"status":{"type":"string","enum":["open","superseded"]},"trigger_source":{"type":"string","enum":["manual","cron"]},"blocker_count":{"type":"integer"},"warning_count":{"type":"integer"},"ok_count":{"type":"integer"},"open_blocker_count":{"type":"integer"},"compliant":{"type":"boolean"},"summary":{"type":"object"},"started_by":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ComplianceCopilotItem"}},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ComplianceCopilotVvEntry":{"type":"object","description":"Verfahrensverzeichnis entry (Art. 30 DSGVO record of processing activities)","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"activity_key":{"type":"string","example":"invoicing"},"name":{"type":"string"},"purpose":{"type":"string","nullable":true},"legal_basis":{"type":"string","nullable":true},"data_categories":{"type":"string","nullable":true},"subject_categories":{"type":"string","nullable":true},"recipients":{"type":"string","nullable":true},"retention_ref":{"type":"string","nullable":true},"source":{"type":"string","enum":["copilot","manual"]},"created_by":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ComplianceResult":{"type":"object","properties":{"ok":{"type":"boolean"},"reason":{"type":"string","nullable":true}}},"ComputeDueEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/ComputeDueResult"}}},"ComputeDueRequest":{"type":"object","properties":{"termKey":{"$ref":"#/components/schemas/Key"},"term_key":{"$ref":"#/components/schemas/Key"},"invoiceDate":{"type":"string","format":"date"},"invoice_date":{"type":"string","format":"date"}}},"ComputeDueResult":{"type":"object","additionalProperties":false,"required":["dueDate","discountDate","discountPct"],"properties":{"dueDate":{"type":"string","format":"date"},"discountDate":{"type":"string","format":"date","nullable":true},"discountPct":{"type":"number","nullable":true,"multipleOf":0.01}}},"ComputeRequest":{"type":"object","required":["periodFrom","periodTo"],"properties":{"periodFrom":{"$ref":"#/components/schemas/PeriodKey"},"periodTo":{"$ref":"#/components/schemas/PeriodKey"}}},"ComputeResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["runId","rows"],"properties":{"runId":{"type":"string"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/ComputedRow"}}}}}},"ComputedEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/EuOssComputedReport"}}},"ComputedPeriod":{"type":"object","required":["key","value","source"],"properties":{"key":{"$ref":"#/components/schemas/PeriodKey"},"value":{"type":"number","multipleOf":0.01},"source":{"$ref":"#/components/schemas/SourceType"}}},"ComputedRow":{"type":"object","required":["lineKey","label","periods"],"properties":{"lineKey":{"type":"string"},"label":{"type":"string"},"periods":{"type":"array","items":{"$ref":"#/components/schemas/ComputedPeriod"}}}},"Condition":{"type":"object","required":["field","type","value"],"properties":{"field":{"type":"string"},"type":{"type":"string","enum":["contains","equals","starts_with","ends_with"]},"value":{"type":"string"},"negate":{"type":"boolean","default":false}}},"ConditionNode":{"type":"object","nullable":true,"description":"{all:[…]} | {any:[…]} | {not:{…}} | {fact, …parameters of the fact catalogue (e.g. field, op, value)}; null = everyone may send an inquiry","additionalProperties":true},"Configuration_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"invalid_module"},"message":{"type":"string","example":"Invalid module ID."}}},"Configuration_HistoryEntry":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"module_id":{"type":"string"},"sequence_no":{"type":"integer","example":3},"old_config":{"type":"object"},"new_config":{"type":"object"},"changed_by":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}},"Conflict":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"file_id":{"type":"string"},"filename":{"type":"string"},"size_bytes":{"type":"integer"},"mime_type":{"type":"string"},"local_hash":{"type":"string"},"remote_hash":{"type":"string"},"conflict_copy_path":{"type":"string","nullable":true,"description":"Timestamped snapshot of the local file captured when the conflict was detected"},"local_modified_at":{"type":"string","format":"date-time"},"remote_modified_at":{"type":"string","format":"date-time"},"resolution":{"type":"string","nullable":true,"enum":["keep_local","keep_remote","keep_both"]},"created_at":{"type":"string","format":"date-time"}}},"ConflictResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"data":{"$ref":"#/components/schemas/Document"}}},"ConnectRequest":{"type":"object","additionalProperties":true,"properties":{"channel_type":{"type":"string"},"driver":{"type":"string"},"driver_identifier":{"type":"string"},"config":{"type":"object","additionalProperties":true}}},"ConnectedProvidersResponse":{"type":"object","properties":{"connected":{"type":"object","additionalProperties":{"type":"boolean"}},"enabled":{"type":"array","items":{"type":"string"}}}},"Connection":{"type":"object","properties":{"id":{"type":"string"},"partner_type":{"type":"string","enum":["workflow","shopware","woocommerce","exchange","listmonk","vikunja","generic"]},"name":{"type":"string"},"direction":{"type":"string","enum":["inbound","outbound","both"]},"outbound_url":{"type":"string"},"outbound_events":{"type":"array","items":{"type":"string"}},"inbound_map":{"type":"object","additionalProperties":{"type":"string"}},"enabled":{"type":"boolean"},"approval_status":{"type":"string","enum":["pending","approved","rejected"]},"has_secret":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ConnectionInput":{"type":"object","properties":{"partner_type":{"type":"string","enum":["workflow","shopware","woocommerce","exchange","listmonk","vikunja","generic"]},"name":{"type":"string"},"direction":{"type":"string","enum":["inbound","outbound","both"]},"outbound_url":{"type":"string","description":"HTTPS only; SSRF-validated"},"shared_secret":{"type":"string","description":"HMAC secret; write-only, never returned"},"outbound_events":{"type":"array","items":{"type":"string"}},"inbound_map":{"type":"object","additionalProperties":{"type":"string"}},"enabled":{"type":"boolean"}}},"ConsignmentInput":{"type":"object","required":["destination_country","lines"],"properties":{"destination_country":{"type":"string","description":"EU destination country code"},"currency":{"type":"string","default":"EUR","description":"Only EUR is accepted (euro-denominated 150-EUR gate, no FX)"},"vat_rate_bp":{"type":"integer","nullable":true,"description":"Override in basis points; defaults to the destination country standard rate"},"lines":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"Contact":{"type":"object","required":["handle","type","firstname","lastname","email","phone","street","city","postal_code","country"],"properties":{"handle":{"type":"string"},"type":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"organization":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"fax":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string"},"state":{"type":"string"},"salutation":{"type":"string"},"title":{"type":"string"}}},"ContactAbsence":{"type":"object","required":["id","tenant_id","contact_id","datum_von","datum_bis","grund","notiz","created_at","updated_at"],"properties":{"id":{"type":"integer"},"tenant_id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"contact_id":{"type":"integer"},"datum_von":{"type":"string","format":"date","description":"First absent day, inclusive."},"datum_bis":{"type":"string","format":"date","description":"Last absent day, inclusive."},"grund":{"type":"string","nullable":true},"notiz":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ContactAbsenceInput":{"type":"object","additionalProperties":false,"required":["contact_id","datum_von","datum_bis"],"properties":{"contact_id":{"type":"integer","minimum":1},"datum_von":{"type":"string","format":"date","description":"First absent day, inclusive."},"datum_bis":{"type":"string","format":"date","description":"Last absent day, inclusive."},"grund":{"type":"string","nullable":true},"notiz":{"type":"string","nullable":true}}},"ContactAbsenceListResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ContactAbsence"}}}},"ContactAbsencePatch":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"contact_id":{"type":"integer","minimum":1},"datum_von":{"type":"string","format":"date"},"datum_bis":{"type":"string","format":"date"},"grund":{"type":"string","nullable":true},"notiz":{"type":"string","nullable":true}}},"ContactAbsenceResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/ContactAbsence"}}},"ContactBasisLookup":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"entity_key":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,127}$"},"label":{"type":"string"},"sort_order":{"type":"integer"},"is_active":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ContactBasisLookupCreate":{"type":"object","required":["entity_key","label"],"additionalProperties":true,"properties":{"entity_key":{"type":"string","description":"Trimmed and lowercased; unique per tenant and lookup type","pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$"},"label":{"type":"string","minLength":1},"sort_order":{"type":"integer","default":0},"is_active":{"type":"boolean","default":true}}},"ContactBasisLookupEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ContactBasisLookup"}}},"ContactBasisLookupPage":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ContactBasisLookup"}},"meta":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"},"total_pages":{"type":"integer"}}}}},"ContactBasisLookupUpdate":{"type":"object","additionalProperties":true,"description":"Only the fields present are changed.","properties":{"entity_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$"},"label":{"type":"string","minLength":1},"sort_order":{"type":"integer"},"is_active":{"type":"boolean"}}},"ContactFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"anzeigename":{"type":"string","minLength":1},"rufnummer":{"type":"string","minLength":1,"x-pii":"contact"},"sortierung":{"type":"integer"},"ist_vor_ort_faehig":{"type":"integer","enum":[0,1]},"immer_erreichbar":{"type":"integer","enum":[0,1]},"aktiv":{"type":"integer","enum":[0,1]}}},"ContactInput":{"allOf":[{"$ref":"#/components/schemas/ContactFields"}],"required":["anzeigename","rufnummer"]},"ContactLabelFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"contact_id":{"type":"integer","minimum":1},"sprache":{"type":"string","enum":["de","en","es"]},"bezeichner":{"type":"string","minLength":1}}},"ContactLabelInput":{"allOf":[{"$ref":"#/components/schemas/ContactLabelFields"}],"required":["contact_id","sprache","bezeichner"]},"Contract":{"allOf":[{"$ref":"#/components/schemas/ContractWrite"},{"type":"object","required":["id","tenant_id","created_at","updated_at"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}]},"ContractCreate":{"allOf":[{"$ref":"#/components/schemas/ContractWrite"},{"type":"object","required":["employee_id","type","valid_from","weekly_hours"]}]},"ContractSupersede":{"allOf":[{"$ref":"#/components/schemas/ContractUpdate"},{"type":"object","required":["valid_from"]}]},"ContractUpdate":{"allOf":[{"$ref":"#/components/schemas/ContractWrite"}]},"ContractWrite":{"type":"object","properties":{"employee_id":{"type":"string"},"type":{"type":"string","enum":["permanent","fixed_term","marginal"]},"valid_from":{"type":"string","format":"date"},"valid_to":{"type":"string","format":"date","nullable":true},"probation_ends_at":{"type":"string","format":"date","nullable":true},"weekly_hours":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,4})?$"},"compensation_amount":{"type":"string","pattern":"^\\d+(?:\\.\\d{1,2})?$","nullable":true},"compensation_amount_cents":{"type":"integer","format":"int64","nullable":true,"readOnly":true},"part_time_basis_points":{"type":"integer","nullable":true,"readOnly":true,"description":"Exact part-time percentage in basis points."},"part_time_percentage":{"type":"string","nullable":true,"readOnly":true,"pattern":"^\\d+\\.\\d{2}$"},"compensation_currency":{"type":"string","minLength":3,"maxLength":3,"nullable":true},"compensation_unit":{"type":"string","enum":["hourly","monthly","annual"],"nullable":true},"work_distribution":{"allOf":[{"$ref":"#/components/schemas/WorkDistribution"}],"nullable":true}}},"ContractsLifecycleRenewal":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"contract_id":{"type":"integer"},"scheduled_at":{"type":"string"},"alert_at":{"type":"string","nullable":true},"status":{"type":"string"},"created_at":{"type":"string"}}},"CostPosition":{"type":"object","required":["id","label","allocation_key"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"amount_cents":{"type":"integer","minimum":0,"nullable":true},"confidence_pct":{"type":"integer","minimum":0,"maximum":99,"nullable":true},"provenance":{"type":"string","nullable":true},"allocatable":{"type":"boolean","nullable":true},"contract_confirmed":{"type":"boolean","nullable":true},"allocation_key":{"type":"string","enum":["area","persons","consumption","units"]}}},"CrawlConfig":{"type":"object","description":"Configuration options for a crawl job (passed at creation time)","properties":{"max_depth":{"type":"integer","minimum":1,"maximum":5,"default":2},"max_pages":{"type":"integer","minimum":1,"maximum":100,"default":10},"extract_images":{"type":"boolean","default":true},"extract_links":{"type":"boolean","default":true}}},"CrawlJob":{"type":"object","properties":{"id":{"type":"integer","example":1},"url":{"type":"string","format":"uri","example":"https://example.com"},"max_depth":{"type":"integer","minimum":1,"maximum":5,"example":2},"max_pages":{"type":"integer","minimum":1,"maximum":100,"example":10},"status":{"type":"string","enum":["pending","running","completed","failed","cancelled"],"example":"completed"},"pages_crawled":{"type":"integer","example":5},"started_at":{"type":"string","format":"date-time","nullable":true,"example":"2025-06-15 08:00:00"},"completed_at":{"type":"string","format":"date-time","nullable":true,"example":"2025-06-15 08:00:12"},"error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","example":"2025-06-15 08:00:00"}}},"CrawlJobCreate":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","example":"https://example.com"},"max_depth":{"type":"integer","minimum":1,"maximum":5,"default":2,"description":"Maximum crawl depth (clamped to 1-5)"},"max_pages":{"type":"integer","minimum":1,"maximum":100,"default":10,"description":"Maximum number of pages to crawl (clamped to 1-100)"},"extract_images":{"type":"boolean","default":true,"description":"Whether to extract image URLs from pages"},"extract_links":{"type":"boolean","default":true,"description":"Whether to extract link URLs from pages"}}},"CrawlJobDetail":{"allOf":[{"$ref":"#/components/schemas/CrawlJob"},{"type":"object","properties":{"depth_breakdown":{"type":"array","description":"Page count grouped by crawl depth","items":{"type":"object","properties":{"depth":{"type":"integer","example":0},"count":{"type":"integer","example":1}}}}}}]},"CrawlPage":{"type":"object","properties":{"id":{"type":"integer","example":1},"url":{"type":"string","format":"uri","example":"https://example.com/about"},"depth":{"type":"integer","example":1},"title":{"type":"string","nullable":true,"example":"About Us - Example"},"meta_description":{"type":"string","nullable":true,"example":"Learn more about Example company."},"headings":{"type":"array","items":{"type":"object","properties":{"level":{"type":"integer","minimum":1,"maximum":6,"example":1},"text":{"type":"string","example":"About Us"}}}},"text_content":{"type":"string","nullable":true,"description":"Extracted paragraph text (max 500 characters)","example":"Example is a company that..."},"links":{"type":"array","items":{"type":"object","properties":{"href":{"type":"string","format":"uri","example":"https://example.com/contact"},"text":{"type":"string","example":"Contact Us"}}}},"images":{"type":"array","items":{"type":"object","properties":{"src":{"type":"string","format":"uri","example":"https://example.com/logo.png"},"alt":{"type":"string","example":"Company Logo"}}}},"raw_html":{"type":"string","nullable":true,"description":"Raw HTML fetched for the crawled page","example":"<html><head><title>About Us</title></head><body><h1>About Us</h1></body></html>"},"structured_data":{"type":"object","description":"Structured extraction derived from the crawled HTML","properties":{"title":{"type":"string","nullable":true,"example":"About Us - Example"},"meta_description":{"type":"string","nullable":true,"example":"Learn more about Example company."},"h1":{"type":"array","items":{"type":"string"},"example":["About Us"]},"links":{"type":"array","items":{"type":"object","properties":{"href":{"type":"string","format":"uri","example":"https://example.com/contact"},"text":{"type":"string","example":"Contact Us"}}}},"images":{"type":"array","items":{"type":"object","properties":{"src":{"type":"string","format":"uri","example":"https://example.com/logo.png"},"alt":{"type":"string","example":"Company Logo"}}}}}},"status_code":{"type":"integer","example":200},"crawled_at":{"type":"string","format":"date-time","example":"2025-06-15 08:00:05"}}},"Crawler_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"validation_error"},"message":{"type":"string","example":"Field \"url\" is required"}}}}},"CreateContactRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","required":["client_reference","type","firstname","lastname","email","phone","street","city","postal_code","country"],"properties":{"client_reference":{"type":"string","maxLength":191},"type":{"type":"integer","minimum":0,"maximum":255},"firstname":{"type":"string"},"lastname":{"type":"string"},"organization":{"type":"string"},"email":{"type":"string","format":"email"},"phone":{"type":"string"},"fax":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string"},"state":{"type":"string"},"salutation":{"type":"string"},"title":{"type":"string"}}}]},"CreateRecordRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Optional custom ID. Auto-generated if omitted."},"data":{"type":"object","description":"JSON data to store","additionalProperties":true},"validation":{"$ref":"#/components/schemas/ValidationRules"}},"required":["data"]},"CreateRunRequest":{"type":"object","required":["proposalIds"],"properties":{"proposalIds":{"type":"array","minItems":1,"items":{"type":"string"},"description":"Proposal identifiers to include in the run."},"runNotes":{"type":"string","nullable":true}}},"CreateTestAccountRequest":{"type":"object","required":["tenantId"],"description":"Exactly one of `expiresInMinutes` and `expiresAt` must be supplied.\nOmitting both is rejected with `expiry_required`.\n","properties":{"tenantId":{"type":"string","description":"Must equal the caller's own tenant context.","example":"acme"},"expiresInMinutes":{"type":"integer","minimum":5,"maximum":1440,"description":"Lifetime from now. Minimum 5 minutes, maximum 24 hours.","example":30},"expiresAt":{"type":"string","format":"date-time","description":"Absolute end of life, within the same bounds."},"roleProfile":{"type":"string","enum":["default","minimal"],"default":"default","description":"Fixed administrative preset. Minimal creates only a base identity\nand tenant membership, with no module roles or entitlements. It\nrefuses nonempty roles, planType and portalPaid=true. Existing\ncallers retain the registered-user baseline by omitting this field.\n"},"roles":{"type":"array","description":"Roles ON TOP of the baseline. Only `tax-user`, `white-label-user`,\n`api-docs`, `beta-tester` and `self-service-apps` are requestable,\nand only when the caller holds them.\n","items":{"type":"string"},"example":["tax-user"]},"label":{"type":"string","maxLength":120,"description":"Free-text note recorded with the account."},"planType":{"type":"string","enum":["starter","business","enterprise","allyoucaneat"],"description":"Optional active plan whose regular modules expire with the account."},"portalPaid":{"type":"boolean","default":false,"description":"Also create the matching activated portal-user projection and a\ncleanup-bound active premium entitlement for this same tenant and user id.\n"}}},"CreateZoneRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","required":["name","primary","email","ttl","records"],"properties":{"name":{"type":"string"},"primary":{"type":"string"},"email":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"records":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}}}}]},"CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"CreatedTestAccount":{"type":"object","required":["id","userId","email","password","tenantId","expiresAt","roles"],"properties":{"id":{"type":"string","description":"Registry record id."},"userId":{"type":"integer","description":"Platform user id — the value DELETE takes."},"email":{"type":"string","description":"Synthetic address in the reserved `.invalid` TLD."},"password":{"type":"string","description":"The generated secret. Shown exactly once. It is stored only as an\nArgon2id hash and cannot be recovered from any other route.\n"},"tenantId":{"type":"string"},"expiresAt":{"type":"string","description":"UTC, `Y-m-d H:i:s`."},"roles":{"type":"array","items":{"type":"string"}},"plan":{"type":"string"},"portalApiKey":{"type":"string","writeOnly":true,"description":"Present only when portalPaid=true. A one-time tenant-bound key owned\nby this account with the exact portal.inquiries:write scope.\n","nullable":true},"entitledModules":{"type":"array","items":{"type":"string"}},"label":{"type":"string"},"secretHandling":{"type":"string","enum":["shown_once_never_stored_in_clear"]}}},"CreditNote":{"type":"object","additionalProperties":true},"CreditNoteListResponse":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CreditNote"}},"meta":{"$ref":"#/components/schemas/PaginationMeta"}}},"CreditorOpenItemsList":{"type":"object","required":["success","total","items"],"properties":{"success":{"type":"boolean"},"total":{"type":"integer"},"items":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"CrmLeadBreakdown":{"type":"object","required":["event_key","label","count","points_per_event","points","sources"],"additionalProperties":false,"properties":{"event_key":{"type":"string"},"label":{"type":"string"},"count":{"type":"integer","minimum":0},"points_per_event":{"type":"integer"},"points":{"type":"integer"},"sources":{"type":"array","items":{"type":"string"}}}},"CrmLeadContact":{"type":"object","required":["id","email","name","custom_fields"],"properties":{"id":{"type":"integer","minimum":1},"email":{"type":"string"},"name":{"type":"string","nullable":true},"custom_fields":{"type":"array","items":{"type":"object","required":["id","tenant_id","name","key","type","required","entity_type","options","created_at","updated_at","value"],"additionalProperties":false,"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"key":{"type":"string"},"type":{"type":"string","enum":["text","number","date","checkbox","dropdown"]},"required":{"type":"boolean"},"entity_type":{"type":"string","enum":["contact"]},"options":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string"},"updated_at":{"type":"string"},"value":{"description":"Typed custom value (text/date/dropdown string, number or boolean), or null when unset.","oneOf":[{"type":"string","nullable":true},{"type":"number"},{"type":"boolean"}]}}}}}},"CrmLeadError":{"description":"Handler errors use success/error/message with optional details; shared middleware errors use status/code/message.","type":"object","required":["message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"code":{"type":"string"},"requestId":{"type":"string"},"help_url":{"type":"string"},"details":{"type":"object","properties":{"fields":{"type":"object","additionalProperties":{"type":"string"}}}}},"anyOf":[{"required":["success","error"]},{"required":["status","code"]}]},"CrmLeadIntegerInput":{"description":"Integer or trimmed integer string, as accepted by the handler; null keeps the stored setting.","oneOf":[{"type":"integer","nullable":true},{"type":"string","pattern":"^[ \\t\\n\\r\\x00\\x0B]*-?[0-9]+[ \\t\\n\\r\\x00\\x0B]*$"}]},"CrmLeadRule":{"type":"object","required":["event_key","label","points"],"additionalProperties":false,"properties":{"event_key":{"type":"string","minLength":1},"label":{"type":"string"},"points":{"type":"integer"}}},"CrmLeadScore":{"type":"object","required":["contact","score","breakdown","threshold","is_hot_lead","last_activity_at","decay","rules"],"additionalProperties":false,"properties":{"contact":{"$ref":"#/components/schemas/CrmLeadContact"},"score":{"type":"integer","minimum":0},"breakdown":{"type":"array","items":{"$ref":"#/components/schemas/CrmLeadBreakdown"}},"threshold":{"type":"integer","minimum":0},"is_hot_lead":{"type":"boolean"},"last_activity_at":{"type":"string","nullable":true},"rules":{"type":"array","items":{"$ref":"#/components/schemas/CrmLeadRule"}},"decay":{"type":"object","required":["last_activity_at","inactive_days","grace_days","points_per_day","points_deducted"],"additionalProperties":false,"properties":{"last_activity_at":{"type":"string","nullable":true},"inactive_days":{"type":"integer","minimum":0},"grace_days":{"type":"integer","minimum":0},"points_per_day":{"type":"integer","minimum":0},"points_deducted":{"type":"integer","minimum":0}}}}},"CrmLeadScoringInput":{"type":"object","required":["rules"],"properties":{"rules":{"type":"array","minItems":1,"items":{"type":"object","description":"event_key/event/activity and points/score are aliases, in that precedence order. Event names are normalized to lowercase snake_case. Labels are plain text, limited to 120 characters.","allOf":[{"anyOf":[{"required":["event_key"]},{"required":["event"]},{"required":["activity"]}]},{"anyOf":[{"required":["points"]},{"required":["score"]}]}],"properties":{"event_key":{"oneOf":[{"type":"string","minLength":1},{"type":"integer"}]},"event":{"oneOf":[{"type":"string","minLength":1},{"type":"integer"}]},"activity":{"oneOf":[{"type":"string","minLength":1},{"type":"integer"}]},"points":{"oneOf":[{"type":"integer"},{"type":"string","pattern":"^[ \\t\\n\\r\\x00\\x0B]*-?[0-9]+[ \\t\\n\\r\\x00\\x0B]*$"}]},"score":{"oneOf":[{"type":"integer"},{"type":"string","pattern":"^[ \\t\\n\\r\\x00\\x0B]*-?[0-9]+[ \\t\\n\\r\\x00\\x0B]*$"}]},"label":{"type":"string","nullable":true}}}},"hot_lead_threshold":{"$ref":"#/components/schemas/CrmLeadIntegerInput"},"decay_grace_days":{"$ref":"#/components/schemas/CrmLeadIntegerInput"},"decay_points_per_day":{"$ref":"#/components/schemas/CrmLeadIntegerInput"},"decay":{"type":"object","nullable":true,"description":"Nested settings win over their flat aliases.","properties":{"grace_days":{"$ref":"#/components/schemas/CrmLeadIntegerInput"},"points_per_day":{"$ref":"#/components/schemas/CrmLeadIntegerInput"}}}}},"CrmLeadSettings":{"type":"object","required":["hot_lead_threshold","decay_grace_days","decay_points_per_day"],"additionalProperties":false,"properties":{"hot_lead_threshold":{"type":"integer","minimum":0},"decay_grace_days":{"type":"integer","minimum":0},"decay_points_per_day":{"type":"integer","minimum":0}}},"CsrfMiddlewareError":{"allOf":[{"$ref":"#/components/schemas/MiddlewareError"},{"type":"object","properties":{"code":{"type":"string","enum":["CSRF_INVALID"]},"error":{"type":"string","enum":["missing_csrf_token","invalid_csrf_token","ambiguous_auth"]}}}]},"CsvExportResult":{"type":"object","properties":{"export_id":{"type":"string"},"format":{"type":"string"},"report_type":{"type":"string"},"filters":{"type":"object"},"row_count":{"type":"integer"},"columns":{"type":"array","items":{"type":"string"}},"generated_at":{"type":"string"},"filename":{"type":"string"}}},"CurrencyConfig":{"type":"object","properties":{"code":{"type":"string","example":"EUR"},"symbol":{"type":"string","example":"€"},"position":{"type":"string","enum":["before","after"],"example":"after"},"decimalSeparator":{"type":"string","example":","},"thousandsSeparator":{"type":"string","example":"."}}},"Customer":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"legacy_id":{"type":"string","nullable":true},"customer_number":{"type":"string","nullable":true},"firstname":{"type":"string","nullable":true},"lastname":{"type":"string","nullable":true},"gender":{"type":"string","nullable":true},"organization":{"type":"string","nullable":true},"is_company":{"type":"integer"},"street":{"type":"string","nullable":true},"postcode":{"type":"string","nullable":true},"locality":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"name2":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"fax":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"lang":{"type":"string"},"approval_status":{"type":"string"},"marketing_consent_status":{"type":"string","nullable":true,"enum":["opted_in","opted_out"]},"marketing_consent_updated_at":{"type":"string","format":"date-time","nullable":true},"latest_nps_score":{"type":"integer","nullable":true,"minimum":0,"maximum":10},"latest_nps_segment":{"type":"string","nullable":true,"enum":["promoter","passive","detractor"]},"latest_nps_updated_at":{"type":"string","format":"date-time","nullable":true},"vat_id":{"type":"string","nullable":true},"vat_id_confirmed":{"type":"integer"},"tax_id":{"type":"string","nullable":true},"invoice_email":{"type":"string","nullable":true},"contact_person":{"type":"object","nullable":true},"contract_partner":{"type":"object","nullable":true},"late_fee_active":{"type":"integer"},"sepa_mandate":{"type":"object","nullable":true},"group_invoice_config":{"type":"object","nullable":true},"extra_data":{"type":"object","nullable":true},"annotation":{"type":"string","nullable":true},"tags":{"type":"array","items":{"type":"string"}},"clv":{"type":"string","description":"Lifetime value from summed invoice and order totals","example":"1234.56"},"version":{"type":"integer"},"etag":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"updated_by":{"type":"string","nullable":true}}},"CustomerAreaError":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Stable code (token path - link_invalid, account_inactive, not_found, read_only, invalid_pagination, pdf_too_large, pdf_unavailable, service_unavailable)."},"message":{"type":"string","description":"Localized (Accept-Language de, en, es)."}}},"CustomerAreaInvoice":{"type":"object","additionalProperties":false,"required":["id","invoice_number","invoice_date","due_date","status","total_minor","open_minor","currency","has_pdf"],"properties":{"id":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"},"invoice_number":{"type":"string"},"invoice_date":{"type":"string","format":"date"},"due_date":{"type":"string","format":"date","nullable":true},"status":{"type":"string","enum":["open","partially_paid","paid","overdue","cancelled"],"description":"Derived from the stored status and the open amount; drafts are never listed."},"total_minor":{"type":"integer","description":"Gross total in integer minor units of currency (EUR cents: 11919 = 119.19 EUR)."},"open_minor":{"type":"integer","minimum":0,"description":"Still open amount in integer minor units of currency; 0 when paid or cancelled."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"has_pdf":{"type":"boolean","description":"True for every listed invoice: GET /api/portal/invoices/{id}/pdf serves it."}}},"CustomerAreaInvoiceList":{"type":"object","additionalProperties":false,"required":["items","page","size","total","pages"],"description":"Customer-area list envelope (X-Customer-Portal-Token path only).","properties":{"items":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/CustomerAreaInvoice"}},"page":{"type":"integer","minimum":1},"size":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"pages":{"type":"integer","minimum":0}}},"CustomerAreaOrder":{"type":"object","additionalProperties":false,"required":["id","order_number","created_at","status","total_minor","currency","invoice_number","lines"],"properties":{"id":{"type":"string","pattern":"^[1-9][0-9]{0,18}$","description":"Record id (decimal string; matches Classic's [A-Za-z0-9][A-Za-z0-9_-]{0,63})."},"order_number":{"type":"string"},"created_at":{"type":"string","format":"date-time","description":"UTC, e.g. 2026-11-14T10:00:00Z."},"status":{"type":"string","enum":["pending_payment","paid","partially_refunded","refunded","cancelled"],"description":"Customer-facing order status (internal payment states are folded into pending_payment)."},"total_minor":{"type":"integer","description":"Integer minor units of `currency` (ISO 4217, e.g. EUR cents: 500 = 5.00 EUR). Gross amount incl. VAT."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"invoice_number":{"type":"string","nullable":true},"lines":{"type":"array","items":{"$ref":"#/components/schemas/CustomerAreaOrderLine"}}}},"CustomerAreaOrderLine":{"type":"object","additionalProperties":false,"required":["name","quantity","unit_price_minor","total_minor"],"properties":{"name":{"type":"string","description":"Product name as ordered."},"quantity":{"type":"integer","minimum":1},"unit_price_minor":{"type":"integer","description":"Integer minor units of `currency` (ISO 4217, e.g. EUR cents: 500 = 5.00 EUR). Gross amount incl. VAT."},"total_minor":{"type":"integer","description":"Integer minor units of `currency` (ISO 4217, e.g. EUR cents: 500 = 5.00 EUR). Gross amount incl. VAT."}}},"CustomerAreaOrderList":{"type":"object","additionalProperties":false,"required":["items","page","size","total","pages"],"properties":{"items":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/CustomerAreaOrder"}},"page":{"type":"integer","minimum":1},"size":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"pages":{"type":"integer","minimum":0}},"description":"Customer-area list envelope (X-Customer-Portal-Token path only)."},"CustomerAreaSubscription":{"type":"object","additionalProperties":false,"required":["id","product_name","subscription_type","valid_from","valid_until","status","auto_renew","listing_id","order_id"],"properties":{"id":{"type":"string","pattern":"^[1-9][0-9]{0,18}$","description":"Record id (decimal string; matches Classic's [A-Za-z0-9][A-Za-z0-9_-]{0,63})."},"product_name":{"type":"string","description":"Name of the product the service was bought as (order line), else the service type's display name."},"subscription_type":{"type":"string","description":"e.g. premium, vip."},"valid_from":{"type":"string","format":"date"},"valid_until":{"type":"string","format":"date"},"status":{"type":"string","enum":["active","scheduled","expired"]},"auto_renew":{"type":"boolean","description":"Display only; changing it is not part of this read-only contract."},"listing_id":{"type":"string","nullable":true},"order_id":{"type":"string","nullable":true,"pattern":"^[1-9][0-9]{0,18}$"}}},"CustomerAreaSubscriptionList":{"type":"object","additionalProperties":false,"required":["items","page","size","total","pages"],"properties":{"items":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/CustomerAreaSubscription"}},"page":{"type":"integer","minimum":1},"size":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"pages":{"type":"integer","minimum":0}},"description":"Customer-area list envelope (X-Customer-Portal-Token path only)."},"CustomerHistoryEntry":{"type":"object","properties":{"id":{"type":"integer"},"customer_id":{"type":"integer"},"tenant_id":{"type":"string"},"version":{"type":"integer"},"diff":{"type":"object"},"actor_id":{"type":"string","nullable":true},"changed_at":{"type":"string","format":"date-time"}}},"CustomerHumanRequest":{"type":"object","required":["message","channel"],"properties":{"message":{"type":"string","maxLength":4000},"language":{"type":"string"},"channel":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,63}$","description":"Queue label of the AI surface (e.g. itt-ai-assistant, chat-widget)."},"thread":{"type":"string","description":"Optional client suffix; the thread is always bound to the signed-in user."}}},"CustomerHumanResponse":{"type":"object","properties":{"finish_reason":{"type":"string","example":"human_requested"},"confirmation":{"type":"string"},"data":{"type":"object","properties":{"handoff_state":{"type":"string"}}}}},"CustomerInput":{"type":"object","properties":{"firstname":{"type":"string"},"lastname":{"type":"string"},"organization":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"gender":{"type":"string"},"is_company":{"type":"integer"},"street":{"type":"string"},"postcode":{"type":"string"},"locality":{"type":"string"},"country":{"type":"string"},"approval_status":{"type":"string"},"etag":{"type":"string"},"ignore_duplicate_warning":{"type":"boolean","description":"Bypass the 409 duplicate warning. Requires a non-empty duplicate_override_reason or the request is rejected with 422 (#26177)."},"duplicate_override_reason":{"type":"string","description":"Audited reason for overriding the duplicate warning (#26177)."},"send_welcome_email":{"type":"boolean","default":true,"description":"Create only — false skips the automatic welcome mail to the new customer (e.g. contacts taken over from the demo)."},"tags":{"type":"array","items":{"type":"string"}}}},"CustomerMarketingConsentInput":{"type":"object","required":["marketing_consent_status"],"properties":{"marketing_consent_status":{"type":"string","enum":["opted_in","opted_out"]},"updated_by":{"type":"string"}}},"CustomerPortalSettings":{"type":"object","properties":{"language":{"type":"string","enum":["de","en","es"]},"theme":{"type":"string","enum":["light","dark"]},"notifications":{"type":"boolean"},"updatedAt":{"type":"string","description":"Last write time, empty for defaults"}}},"CustomerPortalSettingsInput":{"type":"object","required":["language","theme"],"additionalProperties":true,"properties":{"language":{"type":"string","enum":["de","en","es"]},"theme":{"type":"string","enum":["light","dark"]},"notifications":{"type":"boolean","default":true}}},"CustomerSegment":{"type":"object","properties":{"tag":{"type":"string"},"customer_count":{"type":"integer"}}},"CustomerTimelineEntry":{"type":"object","properties":{"source":{"type":"string"},"type":{"type":"string","enum":["order","invoice","ticket","email"]},"entity_id":{"type":"integer"},"occurred_at":{"type":"string","format":"date-time"},"title":{"type":"string"},"status":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"data":{"type":"object","additionalProperties":true}}},"Customers_ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}},"DailyCount":{"type":"object","properties":{"day":{"type":"string","format":"date"},"count":{"type":"integer"}}},"DailyListResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/DailySnapshot"}}}},"DailyRevenue_ErrorResponse":{"type":"object","additionalProperties":false,"required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","example":"VALIDATION_ERROR"},"message":{"type":"string","example":"dateFrom must be before or equal to dateTo"}}},"DailySnapshot":{"type":"object","additionalProperties":false,"required":["date","branchId","revenue","revenueMinor","orderCount"],"properties":{"date":{"type":"string","format":"date"},"branchId":{"type":"string","nullable":true},"revenue":{"$ref":"#/components/schemas/RevenueAmount"},"revenueMinor":{"$ref":"#/components/schemas/RevenueMinor"},"orderCount":{"type":"integer","minimum":0}}},"DataBasis":{"type":"object","required":["is_estimate","status","caveats"],"properties":{"is_estimate":{"type":"boolean","enum":[true]},"status":{"type":"string","enum":["measured","stale","unknown"]},"caveats":{"type":"array","items":{"type":"object"}}}},"DataEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":[]}},"DataSinkCreateRequest":{"type":"object","properties":{"source":{"type":"string","minLength":1},"event":{"type":"string","minLength":1},"payload":{"description":"Arbitrary JSON payload to store with the event."}},"required":["source","event","payload"]},"DataSinkEntry":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"source":{"type":"string"},"event":{"type":"string"},"payload":{"description":"Original JSON payload supplied on POST."},"created_at":{"type":"string"}},"required":["id","tenant_id","source","event","payload","created_at"]},"DataSinkEntryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DataSinkEntry"}},"required":["success","data"]},"DataSinkListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DataSinkEntry"}},"count":{"type":"integer"}},"required":["success","data","count"]},"DataStore_ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","description":"Error code"},"message":{"type":"string","description":"Human-readable error message"},"validation_errors":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"DataStore_SuccessResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true}}},"DatabaseBackupRunReference":{"type":"object","additionalProperties":false,"required":["run_id"],"properties":{"run_id":{"type":"string","pattern":"^[a-f0-9]{16}$"}}},"DatabaseBackupRunStatus":{"type":"object","required":["run_id","status","phase","cleanup","created_at","updated_at","steps","target_host","deployment_commit","progress"],"description":"Resumable complete-database backup run (BD-7). Counts and stable reasons only; no rows, names or paths.","properties":{"run_id":{"type":"string","pattern":"^[a-f0-9]{16}$"},"status":{"type":"string","enum":["queued","running","verified","failed"]},"phase":{"type":"string","enum":["dump","restore","publish","discard","done"]},"reason":{"type":["string","null"],"description":"Stable failure reason, e.g. database_backup_step_interrupted or pdo_restore_digest_failed."},"failed_phase":{"type":["string","null"]},"cleanup":{"type":"string","enum":["none","pending","done"]},"adopted":{"type":"boolean"},"aborted":{"type":"boolean","description":"Abort route only: true when this request stopped an active run (reason database_backup_aborted)."},"backup_scope":{"type":"string","enum":["database","migration_plan"],"description":"migration_plan: targeted pre-migration scope derived by the server (MigrationBackupPlan)."},"plan_sha256":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$","description":"Digest binding target, pin, pending files with checksums, tables and absences."},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"steps":{"type":"integer","minimum":0},"step_seconds_max":{"type":"number"},"dump_seconds":{"type":["number","null"]},"target_host":{"type":"string"},"deployment_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"},"mode":{"type":"string","enum":["snapshot","chunked"],"description":"Route chosen by size at admission (#48206)."},"consistency":{"type":"string","enum":["snapshot","per_chunk"]},"progress":{"type":"object","properties":{"tables_total":{"type":["integer","null"]},"tables_dumped":{"type":["integer","null"],"description":"Chunked route only."},"tables_proved":{"type":["integer","null"]},"stage":{"type":["string","null"]},"archive_bytes":{"type":["integer","null"]},"archive_offset":{"type":["integer","null"]},"backoff_until":{"type":["string","null"],"format":"date-time","description":"Chunked route: no slice before this time after a degraded health signal."},"health":{"type":["string","null"],"description":"Chunked route: ok, threads_running, slow_statement or mutex_busy."}}},"result":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseMigrationBackupResponse"}]}}},"DatabaseCheck":{"type":"object","required":["status","latency_ms"],"properties":{"status":{"type":"string","enum":["healthy","unhealthy"],"example":"healthy"},"latency_ms":{"type":"integer","description":"Database ping latency in milliseconds","example":2},"error":{"type":"string","nullable":true,"description":"Error message when status is unhealthy","example":null}}},"DatabaseMigrationBackupResponse":{"type":"object","additionalProperties":false,"required":["scope","artifact_id","checksum_sha256","size_bytes","target_fingerprint","tenant_hash","schema_fingerprint","schema_sha256","tables","created_at","verified_at","restore_proved_at","target_host","deployment_commit","request_nonce","response_hmac"],"properties":{"scope":{"type":"string","enum":["database"]},"artifact_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"checksum_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"size_bytes":{"type":"integer","minimum":1},"target_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tenant_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schema_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schema_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tables":{"type":"object","minProperties":1,"additionalProperties":{"type":"integer","minimum":0},"description":"Every base table in the selected database, including the migration ledger and business tables. No row values or paths."},"created_at":{"type":"string","format":"date-time"},"verified_at":{"type":"string","format":"date-time"},"restore_proved_at":{"type":"string","format":"date-time"},"target_host":{"type":"string","pattern":"^beta\\.[a-z0-9-]+(?:\\.[a-z0-9-]+)+$"},"deployment_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"},"request_nonce":{"type":"string","pattern":"^[a-f0-9]{48}$"},"consistency":{"type":"string","enum":["snapshot","per_chunk"],"description":"Value-free marker (#48206): one consistent snapshot, or consistent per keyset chunk (chunked route). Older servers omit it."},"response_hmac":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"HMAC of the exact ordered JSON response before this field, using the existing migration signer."}}},"DatevCsvImport":{"type":"object","required":["csv_kind","csv_content"],"properties":{"csv_kind":{"type":"string","enum":["accounts","bookings","op_list"]},"csv_content":{"type":"string","maxLength":5242880},"document_id":{"type":"string","description":"Required for op_list; tenant-owned canonical documents.id of the imported list."}}},"DatevExportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","required":["format","header","rows"],"properties":{"format":{"type":"string","example":"DATEV-CSV"},"header":{"type":"array","items":{"type":"string"}},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}}}}}}},"DatevReceiptImport":{"type":"object","required":["booking_id"],"properties":{"booking_id":{"type":"string","minLength":1},"document_id":{"type":"string","description":"Existing tenant-owned canonical documents.id; mutually exclusive with base64."},"base64":{"type":"string","format":"byte","description":"New receipt bytes; requires filename and goes through the canonical upload gates."},"filename":{"type":"string"},"source_ref":{"type":"string","maxLength":1024}}},"Debrief":{"type":"object","properties":{"id":{"type":"string"},"customerId":{"type":"string","nullable":true},"transcript":{"type":"string"},"lang":{"type":"string"},"actions":{"type":"array","items":{"$ref":"#/components/schemas/DebriefAction"}},"readback":{"type":"string","description":"Natural-language confirmation sentence for voice readback"},"status":{"type":"string","enum":["proposed","confirmed","discarded"]},"createdBy":{"type":"string"},"createdAt":{"type":"string"},"decidedBy":{"type":"string","nullable":true},"decidedAt":{"type":"string","nullable":true},"execution":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/DebriefExecutionResult"}}}},"DebriefAction":{"type":"object","properties":{"type":{"type":"string","enum":["quote_draft","task","calendar_event","visit_log"]},"title":{"type":"string"},"date":{"type":"string","nullable":true,"description":"Resolved date (YYYY-MM-DD) or null"},"sourceText":{"type":"string"},"qty":{"type":"number","nullable":true},"subject":{"type":"string","nullable":true},"unitPriceCents":{"type":"integer","nullable":true,"description":"Extracted unit price in integer cents"}}},"DebriefExecutionResult":{"type":"object","properties":{"index":{"type":"integer"},"type":{"type":"string"},"status":{"type":"string","enum":["created","failed"]},"id":{"nullable":true,"description":"Id of the created record (quote/task/event/visit)"},"error":{"type":"string","nullable":true},"quoteNumber":{"type":"string","nullable":true},"teamId":{"type":"string","nullable":true}}},"Decision":{"type":"object","description":"Preview of what a confirm writes: { classification, mode, decidedBy, ruleId, ruleLabel, distanceKm, durationMinutes, creates: [evidence|time_entry|travel_trip], removes?: [...], warnings: [no_customer|no_hourly_rate|no_km_rate], plus for business: customerId, customerName, placeLabel, distanceM, projectId, projectName, hours, hourlyRateCents, billableCents, vehicleKind, ratePerKmCents, rateSource, travelCents, storePolyline, evidenceFields }","additionalProperties":true},"DeduplicatedNotificationResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"integer"}}},"deduplicated":{"type":"boolean"},"message":{"type":"string"}}},"DefaultsResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/PricingDefault"}}}},"DelegationAcceptance":{"type":"object","required":["accepted","already","failed","processed"],"properties":{"accepted":{"type":"integer","minimum":0},"already":{"type":"integer","minimum":0},"failed":{"type":"integer","minimum":0},"processed":{"type":"integer","minimum":0}}},"DelegationAccount":{"type":"object","required":["number","name"],"properties":{"number":{"type":"string"},"name":{"type":"string"}}},"DelegationClass":{"type":"string","enum":["portal-bestellbezug","mt-miete","fewo-airbnb","geldtransit","alles-regelbare"]},"DelegationList":{"type":"object","required":["tenant_id","delegations"],"properties":{"tenant_id":{"type":"string"},"delegations":{"type":"array","items":{"$ref":"#/components/schemas/DelegationState"}}}},"DelegationMutation":{"type":"object","required":["tenant_id","state","changed"],"properties":{"tenant_id":{"type":"string"},"state":{"$ref":"#/components/schemas/DelegationState"},"changed":{"type":"boolean"},"acceptance":{"$ref":"#/components/schemas/DelegationAcceptance"}}},"DelegationPreview":{"type":"object","required":["tenant_id","class","read_only","affected_count","affected_amount_minor","boundary_count","boundary_amount_minor","fallback_ratio","pagination","suggestions","boundary_cases"],"properties":{"tenant_id":{"type":"string"},"class":{"type":"string"},"read_only":{"const":true},"affected_count":{"type":"integer","minimum":0},"affected_amount_minor":{"type":"integer","minimum":0},"boundary_count":{"type":"integer","minimum":0},"boundary_amount_minor":{"type":"integer","minimum":0},"fallback_ratio":{"$ref":"#/components/schemas/FallbackRatio"},"pagination":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"suggestions":{"type":"array","items":{"$ref":"#/components/schemas/DelegationSuggestion"}},"boundary_cases":{"type":"array","items":{"$ref":"#/components/schemas/DelegationSuggestion"}}}},"DelegationState":{"type":"object","required":["class","enabled","accepted_by","accepted_at","revoked_by","revoked_at","updated_at"],"properties":{"class":{"$ref":"#/components/schemas/DelegationClass"},"enabled":{"type":"boolean"},"accepted_by":{"type":["string","null"]},"accepted_at":{"type":["string","null"]},"revoked_by":{"type":["string","null"]},"revoked_at":{"type":["string","null"]},"updated_at":{"type":["string","null"]}}},"DelegationSuggestion":{"type":"object","required":["id","booking_date","amount_minor","currency","counterparty","counterparty_is_pseudonymized","target_debit_account","target_credit_account","vat_rate","rule_source"],"properties":{"id":{"type":"integer","minimum":1},"booking_date":{"type":"string","format":"date"},"amount_minor":{"type":"integer"},"currency":{"type":"string","minLength":3,"maxLength":3},"counterparty":{"type":"string","description":"Stored pseudonym surface or a non-reversible per-suggestion placeholder for legacy cleartext rows."},"counterparty_is_pseudonymized":{"const":true},"target_debit_account":{"$ref":"#/components/schemas/DelegationAccount"},"target_credit_account":{"$ref":"#/components/schemas/DelegationAccount"},"vat_rate":{"type":"integer","enum":[0,7,19]},"rule_source":{"type":"string"}}},"DeleteEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DeleteResult"}}},"DeleteResult":{"type":"object","additionalProperties":false,"required":["deleted"],"properties":{"deleted":{"type":"boolean","enum":[true]}}},"DeleteZoneRequest":{"$ref":"#/components/schemas/MutationRequest"},"DeletedResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"boolean","enum":[true]}}}}},"DeletedTestAccount":{"type":"object","required":["deleted","userId","absent"],"properties":{"deleted":{"type":"boolean"},"userId":{"type":"integer"},"absent":{"type":"boolean","description":"True only after re-reading the users table and finding no row. The\nabsence proof, not a restatement of the delete.\n"}}},"DeliveryConfirmationRequest":{"type":"object","required":["deliveryEventType"],"properties":{"deliveryEventType":{"type":"string","example":"synthetic.delivery.completed"},"counterpartyRef":{"type":"string","example":"synthetic-order-1"}}},"DeliveryNote":{"type":"object","required":["id","invoice_id","delivery_note_number","delivery_date","status","items"],"properties":{"id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"invoice_id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"invoice_number":{"type":"string","nullable":true},"delivery_note_number":{"type":"string"},"delivery_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["draft","delivered"]},"shipping_details":{"type":"object","additionalProperties":true},"signature_confirmed_at":{"type":"string","nullable":true},"delivered":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","additionalProperties":true}},"created_at":{"type":"string","nullable":true},"updated_at":{"type":"string","nullable":true}}},"DeliveryNoteListResponse":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DeliveryNote"}},"meta":{"$ref":"#/components/schemas/PaginationMeta"}}},"DeliveryResponse":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["released"],"properties":{"released":{"type":"array","items":{"$ref":"#/components/schemas/Escrow"}}}},"meta":{"type":"object","required":["count"],"properties":{"count":{"type":"integer"}}}}},"DeltaFeedEvent":{"type":"object","required":["id","channel","type","data","created_at"],"properties":{"id":{"type":"integer","description":"Monotonic event id (the cursor domain).","example":43},"channel":{"type":"string","example":"notification"},"type":{"type":"string","example":"notification.created"},"data":{"description":"JSON payload published with the event (raw string when not valid JSON).","oneOf":[{"type":"object","additionalProperties":true},{"type":"string"}]},"created_at":{"type":"string","example":"2026-07-10T05:00:00"}}},"DeltaFeedResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","required":["events","cursor","has_more"],"properties":{"events":{"type":"array","items":{"$ref":"#/components/schemas/DeltaFeedEvent"}},"cursor":{"type":"integer","description":"New cursor to send on the next poll (last event id, or the bootstrap head).","minimum":0,"example":43},"has_more":{"type":"boolean","description":"True when the batch was truncated at the limit; poll again immediately with the new cursor."}}},"meta":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"example":1}}}}},"DemoChoreo":{"type":"object","additionalProperties":true,"required":["id","tenant_id","author_user_id","progress_step_index","script"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"author_user_id":{"type":"string"},"progress_step_index":{"type":"integer","minimum":0},"script":{"type":"object"}}},"DemoChoreoPlaybackResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["published","choreo"],"properties":{"published":{"type":"boolean"},"choreo":{"$ref":"#/components/schemas/DemoChoreo"}}}}},"DemoChoreoResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DemoChoreo"}}},"DemoTakeoverError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"schema_invalid"},"message":{"type":"string"},"details":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","example":"records[0].fields.colour"},"message":{"type":"string","example":"unknown field"}}}}}}}},"DemoTakeoverPayload":{"type":"object","additionalProperties":false,"required":["schema","takeoverId","records"],"properties":{"schema":{"type":"string","enum":["itt-demo-takeover/v1"]},"takeoverId":{"type":"string","format":"uuid","description":"Idempotency key, generated in the browser when the demo work started"},"locale":{"type":"string","enum":["de","en","es"]},"records":{"type":"array","maxItems":200,"items":{"$ref":"#/components/schemas/DemoTakeoverRecord"}},"environments":{"type":"array","maxItems":8,"items":{"type":"string","example":"vertrieb"}},"apps":{"type":"array","maxItems":50,"items":{"type":"string","example":"customers"}}}},"DemoTakeoverRecord":{"type":"object","additionalProperties":false,"required":["entity","demoId","fields"],"properties":{"entity":{"type":"string","enum":["customer","quote","invoice","kanban-board"]},"demoId":{"type":"string","pattern":"^demo-[A-Za-z0-9_.:-]{1,80}$","example":"demo-cust-mf2k-1"},"fields":{"type":"object","description":"Allowlisted fields per entity. customer: name*, company, email, phone, street, postcode, town, country, notes, customerType (business|individual). quote: title*, description, amountCents (integer cents), currency (EUR), validUntil (YYYY-MM-DD). invoice: title, date, dueDate, currency (EUR), lines* [{description, quantity*, unitPriceCents*, vatPercent* (integer)}]. kanban-board: name, columns* (2–5 names), cards [{title*, description, column* (0–4), priority, dueDate, checklist}]. Unknown fields → 422.\n","additionalProperties":true},"refs":{"type":"object","description":"quote: {customer}; invoice: {customer, quote} — demo ids of records in the same payload.","additionalProperties":{"type":"string"}}}},"DemoTakeoverResult":{"type":"object","properties":{"takeoverId":{"type":"string"},"status":{"type":"string","enum":["new","running","partial","applied"]},"records":{"type":"array","items":{"type":"object","properties":{"entity":{"type":"string"},"demoId":{"type":"string"},"action":{"type":"string","enum":["create","skip","done","created","linked","failed"]},"id":{"type":"string","description":"New real id (after apply)"},"reason":{"type":"string","enum":["example_data","customer_required","customer_missing","duplicate","forbidden","rejected","failed"]},"detail":{"type":"string"}}}},"environments":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"action":{"type":"string","enum":["create","skip","created","failed"]},"id":{"type":"string"},"reason":{"type":"string","enum":["environment_unknown","environment_exists","forbidden","rejected","failed"]}}}},"counts":{"type":"object","additionalProperties":{"type":"integer"}},"message":{"type":"string"},"replayed":{"type":"boolean"}}},"DeployHealthProbe_ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}},"Deployment":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"server_name":{"type":"string"},"git_commit":{"type":"string","nullable":true},"git_branch":{"type":"string","nullable":true},"deployed_by":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"deployed_at":{"type":"string"}}},"DeploymentIdentity":{"type":"object","description":"Deploy identity plus the backend/UI split verdict. NEVER served to anonymous callers (#27501). Raw commits (`git_commit`, `backend_commit`, `ui_commit`) are admin/operator-key only and are nulled for plain authenticated users; the verdict fields stay visible in both tiers because the UI banner depends on them.\n","required":["public_id","site_name","ui_dir","base_url_host","git_commit","deployed_at","backend_commit","ui_commit","in_sync","sync_known","split_since","split_age_hours","split_expired","max_split_hours"],"properties":{"public_id":{"type":"string","nullable":true,"example":"itt"},"site_name":{"type":"string","nullable":true,"example":"itt"},"ui_dir":{"type":"string","nullable":true,"example":"ui/itt"},"base_url_host":{"type":"string","nullable":true,"example":"beta.example.test"},"git_commit":{"type":"string","nullable":true,"description":"Backwards-compatible alias of `backend_commit` (identical value); admin/operator-key only.\n","example":"9d838e8f3c1b7a2e5d40c6b98771f0a2e4c3b5d6"},"deployed_at":{"type":"string","nullable":true,"description":"ISO 8601 timestamp of the last deploy","example":"2026-07-26T18:05:11Z"},"backend_commit":{"type":"string","nullable":true,"description":"Commit of the deployed BACKEND, stamped by every backend upload (including backend-only ones); admin/operator-key only.\n","example":"9d838e8f3c1b7a2e5d40c6b98771f0a2e4c3b5d6"},"ui_commit":{"type":"string","nullable":true,"description":"Commit of the deployed UI build, read from `public/build-info.json` (`commitFull`, else `commit`). Null when the site ships no UI or the stamp is unreadable. Admin/operator-key only.\n","example":"4f21ac09bb7e6d5c3a18e2f70b9d4c6a8e15037b"},"in_sync":{"type":"boolean","description":"See DeploymentSyncVerdict.in_sync (fail-open).","example":false},"sync_known":{"type":"boolean","description":"See DeploymentSyncVerdict.sync_known.","example":true},"split_since":{"type":"string","nullable":true,"description":"ISO 8601 start of the active split — the `split_since` field of the deployment metadata, falling back to `deployed_at`. Null when no split is active.\n","example":"2026-07-26T18:05:11Z"},"split_age_hours":{"type":"number","format":"float","nullable":true,"example":3.25},"split_expired":{"type":"boolean","example":false},"max_split_hours":{"type":"number","format":"float","example":24}}},"DeploymentInput":{"type":"object","required":["server_name"],"properties":{"server_name":{"type":"string"},"git_commit":{"type":"string"},"git_branch":{"type":"string"},"deployed_by":{"type":"string"},"description":{"type":"string"},"deployed_at":{"type":"string"}}},"DeploymentSyncVerdict":{"type":"object","required":["in_sync","sync_known","split_age_hours","split_expired","max_split_hours"],"description":"Verdict on whether the deployed BACKEND and the deployed UI come from the same commit. Staged deploys ship `backend/` alone, hours before the UI build lands, so a temporary split is expected — but it is recorded, machine-readable and time-boxed. Carries NO raw commit values and is therefore public.\n","properties":{"in_sync":{"type":"boolean","description":"True when backend and UI are proven to run the same commit, OR when either side is unknown (fail-OPEN: API-only sites without a UI must never show a split banner). Read `sync_known` to tell the two apart.\n","example":true},"sync_known":{"type":"boolean","description":"True only when BOTH commits are known, i.e. the `in_sync` verdict was actually verified rather than assumed.\n","example":true},"split_age_hours":{"type":"number","format":"float","nullable":true,"description":"Hours since the split started (UTC). Null when no split is active or the split start is unparseable.\n","example":3.25},"split_expired":{"type":"boolean","description":"True when an active split outlived `max_split_hours`. At that point it is no longer an intended staged-deploy window but a stuck deploy that must be finished.\n","example":false},"max_split_hours":{"type":"number","format":"float","description":"Effective maximum tolerated split age in hours (`DEPLOYMENT_SPLIT_MAX_HOURS`, default 24).\n","example":24}}},"DeprovisionResponse":{"type":"object","required":["success","userId"],"properties":{"success":{"type":"boolean"},"userId":{"type":"integer"},"message":{"type":"string"}}},"DesktopReleaseArtifact":{"type":"object","properties":{"file":{"type":"string","example":"ITT Desktop Setup 0.1.0.exe"},"platform":{"type":"string","enum":["windows","linux-appimage","linux-deb","linux-rpm","macos","android"]},"sizeBytes":{"type":"integer"},"modifiedAt":{"type":"string","format":"date-time"}}},"DesktopReleaseError":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}}},"Destination":{"type":"object","description":"A saved ride destination. PERSONAL DATA — tenant+user scoped, never\nshared across tenants and never cached globally (contrast the\ntenant-agnostic geocode cache). The free-text fields carry x-pii so\nPiiPseudonymizationMiddleware masks them for sessions with an active\npseudonym role, while the owning user keeps readable values.\nCoordinates are numeric and cannot be pseudonymized by that\ntransformer — they are protected by the tenant+user scoping and by the\nconfigurable privacyMode coarsening.\n","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","x-pii":"contact"},"lat":{"type":"number"},"lng":{"type":"number"},"address":{"type":"string","nullable":true,"x-pii":"contact"},"note":{"type":"string","nullable":true,"x-pii":"contact"},"source":{"type":"string","enum":["geojson","csv","kml","gpx","manual"]},"sourceRef":{"type":"string","nullable":true,"description":"Original reference, e.g. the Google Maps URL of the place"},"sourceList":{"type":"string","nullable":true,"description":"Name of the list/file the destination came from"},"archived":{"type":"boolean"},"lastSuggestedAt":{"type":"string","format":"date-time","nullable":true},"dismissedUntil":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}},"DestinationImportResult":{"type":"object","properties":{"format":{"type":"string","enum":["geojson","csv","kml","gpx"],"description":"The format that was used (autodetected unless pinned)"},"parsed":{"type":"integer","description":"Usable destinations found in the payload"},"imported":{"type":"integer","description":"Newly stored destinations"},"duplicates":{"type":"integer","description":"Already-known destinations (idempotent re-import)"},"skipped":{"type":"integer","description":"Entries that could not be used at all"},"needsCoordinates":{"type":"integer","description":"Named entries carrying no usable coordinate — the Google \"Saved\"\nCSV lists are the common case, since they export no positions.\n"},"truncated":{"type":"boolean","description":"True when the payload exceeded maxPlaces"},"maxPlaces":{"type":"integer"}}},"DetourSettings":{"type":"object","description":"Configuration of the detour suggestions. Resolution order is the\nuser's own row, then the tenant/site default row, then code defaults —\nso a site is configured, never hardcoded.\n","properties":{"enabled":{"type":"boolean"},"radiusKm":{"type":"number","minimum":0.1,"maximum":50,"description":"How close a destination must be to be considered"},"maxDetourKm":{"type":"number","minimum":0.1,"maximum":200,"description":"Suggestions costing more extra distance are dropped"},"maxElevationGainM":{"type":"integer","minimum":0,"maximum":10000},"debounceMinutes":{"type":"integer","minimum":0,"maximum":1440,"description":"Server-side suppression window per destination"},"maxSuggestions":{"type":"integer","minimum":1,"maximum":10},"allowedSources":{"type":"array","items":{"type":"string"},"description":"Empty means every format the parser supports"},"privacyMode":{"type":"string","enum":["full","coarse","names_only"],"description":"How precisely a destination position may leave the server:\nexact, rounded to ~1.1 km, or name-only with no coordinates.\n"}}},"DetourSuggestion":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","x-pii":"contact"},"address":{"type":"string","nullable":true,"x-pii":"contact"},"note":{"type":"string","nullable":true,"x-pii":"contact"},"source":{"type":"string"},"directKm":{"type":"number","description":"Straight-line distance from the current position"},"detourKm":{"type":"number","description":"Extra distance versus continuing on the anticipated route:\nd(position→destination) + d(destination→rejoin) − d(position→rejoin).\nOut-and-back (2× direct) when no heading was supplied.\n"},"elevationGainM":{"type":"integer","nullable":true,"description":"Approximate cumulative ascent to the destination in metres; null\nwhen the elevation lookup failed (fail open).\n"},"elevationApproximate":{"type":"boolean","description":"Always true — sampled terrain profile, not a routed climb"},"lat":{"type":"number","nullable":true,"description":"Null when privacyMode is names_only, rounded when coarse"},"lng":{"type":"number","nullable":true,"description":"Null when privacyMode is names_only, rounded when coarse"}}},"DiagnoseResult":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"fix":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Fix"}]},"aiJobId":{"type":"string","nullable":true},"incident":{"$ref":"#/components/schemas/Incident"}}}}},"DigitalSignature_AuditEntry":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"request_id":{"type":"string","format":"uuid"},"action":{"type":"string","enum":["created","updated","deleted","signed","verified","downloaded","reminder_sent"]},"actor_email":{"type":"string"},"ip_address":{"type":"string"},"user_agent":{"type":"string"},"metadata":{"type":"object"},"created_at":{"type":"string","format":"date-time"}}},"DigitalSignature_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}},"DigitalSignature_VerificationResult":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"status":{"type":"string"},"verification_status":{"type":"string","enum":["verified","hash_mismatch","tampered","pending_signatures","incomplete","binding_invalid","cert_invalid_at_signing","revocation_unchecked"]},"verified":{"type":"boolean"},"document_hash":{"type":"string"},"signed_document_hash":{"type":"string","nullable":true},"document_hash_matches":{"type":"boolean"},"document_intact":{"type":"boolean"},"all_signed":{"type":"boolean"},"all_revocation_checked":{"type":"boolean","description":"#32822: true only when every cert-bearing signer carries a real OCSP/CRL revocation proof. When false the signature is intact but is NOT certified as fully-validated LTV PAdES evidence (verification_status=revocation_unchecked, verified=false)."},"revocation_unchecked_signer_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"signer_count":{"type":"integer"},"signers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"email":{"type":"string","format":"email"},"status":{"type":"string"},"signed_at":{"type":"string","format":"date-time","nullable":true},"order_index":{"type":"integer"}}}},"verified_at":{"type":"string","format":"date-time"}}},"DirectMembership":{"type":"object","required":["id","user_id","email","role","status","joined_at","invited_by"],"properties":{"id":{"type":"integer"},"user_id":{"type":"string"},"email":{"type":"string","format":"email"},"role":{"type":"string"},"status":{"type":"string","enum":["active"]},"joined_at":{"type":"string"},"invited_by":{"type":"string"}}},"DirectMembershipRequest":{"type":"object","additionalProperties":false,"properties":{"email":{"type":"string","format":"email","description":"Existing account email. Mutually exclusive with self."},"self":{"type":"boolean","description":"Add the authenticated account."},"role":{"type":"string","enum":["member","editor","tenant_admin","viewer"],"default":"member"}}},"Discount":{"type":"object","properties":{"type":{"type":"string","enum":["percentage","fixed"]},"value":{"type":"number"},"description":{"type":"string"}}},"DiscoveryDocument":{"type":"object","additionalProperties":true,"description":"Context-aware JSON discovery document (shape documented in App\\Service\\AgentManifestBuilder / AgentDiscoveryDocuments)."},"DiskCheck":{"type":"object","required":["status","free_gb"],"properties":{"status":{"type":"string","enum":["healthy","degraded"],"example":"healthy"},"free_gb":{"type":"number","format":"float","description":"Free disk space in gigabytes","example":50.2},"error":{"type":"string","nullable":true,"description":"Error message when status is degraded","example":null}}},"DiskUsageInput":{"type":"object","properties":{"server_name":{"type":"string"},"mount_point":{"type":"string"},"total_bytes":{"type":"integer"},"used_bytes":{"type":"integer"}}},"DiskUsageSnapshot":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"server_name":{"type":"string"},"mount_point":{"type":"string"},"total_bytes":{"type":"integer"},"used_bytes":{"type":"integer"},"usage_percent":{"type":"number"},"created_at":{"type":"string"}}},"DispatchInput":{"type":"object","required":["source_doc_ref"],"properties":{"source_doc_ref":{"type":"string"},"payload":{"type":"object"}}},"DnsCapabilities":{"type":"object","description":"Capability flags per adapter (ns_max = max NS; domains = also a registrar adapter)","properties":{"record_types":{"type":"array","items":{"type":"string"}},"full_replace_only":{"type":"boolean"},"record_patch":{"type":"boolean"},"per_record_ttl":{"type":"boolean"},"ns_min":{"type":"integer"},"ns_max":{"type":"integer"},"zone_create":{"type":"boolean"},"zone_delete":{"type":"boolean"},"scheduled_changes":{"type":"boolean"},"zone_history":{"type":"boolean"},"account_ip_change":{"type":"boolean"},"domains":{"type":"boolean"},"extras":{"type":"object"}}},"DnsLookupResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"hostname":{"type":"string","example":"example.com"},"record_type":{"type":"string","example":"A"},"records":{"type":"array","items":{"type":"object","properties":{"host":{"type":"string"},"class":{"type":"string"},"type":{"type":"string"},"ip":{"type":"string"},"ipv6":{"type":"string"},"target":{"type":"string"},"txt":{"type":"string"},"pri":{"type":"integer"},"ttl":{"type":"integer"}},"additionalProperties":true}},"query_time_ms":{"type":"number","format":"float","example":12.34}}},"DnsPlan":{"type":"object","required":["zone","changed","add","remove","unchanged","liveFingerprint","desiredFingerprint"],"properties":{"zone":{"type":"string"},"changed":{"type":"boolean"},"fields":{"type":"object","additionalProperties":{"type":"array","items":[]}},"add":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}},"remove":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}},"unchanged":{"type":"integer"},"liveFingerprint":{"type":"string"},"desiredFingerprint":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}}}},"DnsRecord":{"type":"object","required":["name","type","values"],"properties":{"name":{"type":"string","description":"FQDN inside the zone, \"@\" or a name relative to the zone"},"type":{"type":"string","enum":["NS","A","AAAA","CNAME","MX","SRV","TXT","CAA"]},"values":{"type":"array","minItems":1,"maxItems":4,"items":{"type":"string"},"description":"A [ip] AAAA [ip6] CNAME [host] NS [host, ip?] MX [host, prio] SRV [prio, weight, port, target] TXT [text] CAA [flags, tag, value]"},"ttl":{"type":"integer","description":"per-record TTL (only adapters with per_record_ttl)"}}},"DnsResult":{"type":"object","properties":{"provider":{"type":"string"},"zone":{"type":"string"},"backup":{"type":"string"},"result":{"type":"object","properties":{"code":{"type":"integer"},"taskId":{"type":"string","nullable":true},"warnings":{"type":"array","items":[]}}}}},"DnsZone":{"type":"object","required":["zone","records"],"properties":{"zone":{"type":"string"},"primary":{"type":"string"},"email":{"type":"string"},"ttl":{"type":"integer"},"records":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}}}},"DocVorlagenFillRequest":{"type":"object","required":["schema","values","template_docx_base64"],"properties":{"schema":{"type":"object","description":"Doc-Vorlagen schema (fields, derived, checks, bindings) as in templates/<id>/schema.json","additionalProperties":true},"values":{"type":"object","description":"Raw field values (as typed by the user; money as \"1.234,56\", dates as TT.MM.JJJJ)","additionalProperties":true},"template_docx_base64":{"type":"string","description":"The docx template, base64 (max 10 MB decoded)"},"outputs":{"type":"array","items":{"type":"string","enum":["docx","pdf"]},"description":"Which files to return (default both)"},"today":{"type":"string","description":"Date for {{heute}} (TT.MM.JJJJ or JJJJ-MM-TT), default server date"},"include_text":{"type":"boolean","description":"Also return the visible body text"}}},"DocVorlagenFillResult":{"type":"object","properties":{"filename":{"type":"string"},"docx_base64":{"type":"string"},"pdf_base64":{"type":"string"},"body_text_sha256":{"type":"string"},"body_text":{"type":"string"},"parts_sha256":{"type":"object","additionalProperties":{"type":"string"}}}},"Document":{"type":"object","required":["id","title","content","format","tags","starred","archived","revision","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"format":{"type":"string","enum":["markdown","html"]},"tags":{"type":"array","items":{"type":"string"}},"folderId":{"type":"string","nullable":true},"templateId":{"type":"string","nullable":true},"starred":{"type":"boolean"},"archived":{"type":"boolean"},"revision":{"type":"integer"},"createdAt":{"type":"integer"},"updatedAt":{"type":"integer"},"lastSyncedAt":{"type":"integer","nullable":true}}},"DocumentEditor_ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"}}},"DocumentEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Document"}}},"DocumentIntake":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/IntakeAnalysis"},{"type":"object","properties":{"status":{"type":"string","enum":["new","assigned"]},"links":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","example":"customer"},"id":{"type":"string"},"label":{"type":"string"},"linkedAt":{"type":"string"},"edgeId":{"oneOf":[{"type":"string"},{"type":"integer"}]}}}},"approval":{"$ref":"#/components/schemas/IntakeRequestState"},"signature":{"$ref":"#/components/schemas/IntakeRequestState"}}}]},"DocumentLink":{"type":"object","properties":{"id":{"type":"integer"},"tenantId":{"type":"string"},"documentId":{"type":"string","description":"Id of the stored document (documents.id)"},"targetType":{"type":"string","enum":["invoice","invoice_item","dunning_run","receivable","income","expense","purchase_invoice","e_invoice_import_entry","accrual_config","bank_import","bank_transaction","bank_statement_line","cash_register_transaction","zero_touch_document","booking","booking_stapel","accommodation_booking","accommodation_offer","time_entry","payslip","personnel_contract","payroll_run","portal_subscription","portal_order","portal_mail_event","portal_inquiry","contact_inquiry","email_outbox","review_email_draft","portal_mail_document","subscription_charge","tax_filing","tax_pilot_clarification","rental_agreement","skipper_logbook_entry","skipper_logbook_trip","crew_toern_offer","whistleblower_case","audit_trail_entry","cashflow_forecast_line","cashflow_forecast_run","payment_transaction","agent_token","kanban_card","reference_draft"]},"targetId":{"type":"string"},"status":{"type":"string","enum":["bestaetigt","vorgeschlagen","pruefliste","abgelehnt"],"description":"bestaetigt = a person established or confirmed it; vorgeschlagen = proposed by the engine, not yet an assignment; pruefliste = too uncertain or ambiguous to propose, NOT a link; abgelehnt = rejected by a person.\n"},"origin":{"type":"string","enum":["manuell","automatisch"]},"confidence":{"type":"integer","nullable":true,"minimum":0,"maximum":100,"description":"Integer percent. Null on a manual link, because nothing was measured there and the system must not imply otherwise.\n"},"reasonCodes":{"type":"array","items":{"type":"string"},"description":"Stable codes; DE/EN/ES wording under documentlinks.reason.*"},"explanation":{"type":"string"},"annotation":{"type":"string","nullable":true,"description":"Temporary JournalProvenanceAnnotation-encoded journal-line type. Null preserves links created before the transitional schema expansion.\n"},"supersededBy":{"type":"integer","nullable":true,"description":"Replacement DocumentLinks edge id. A non-null value preserves this historical edge for audit navigation while removing it from the active provenance graph.\n"},"supersessionMarker":{"type":"string","nullable":true,"enum":["jahresfremd-superseded","simulation_artifact_superseded"],"description":"Terminal historical classification when there intentionally is no replacement edge. The original edge remains auditable.\n"},"supersessionTargetYear":{"type":"integer","nullable":true,"description":"Own package year for jahresfremd-superseded edges."},"supersededAt":{"type":"string","nullable":true},"reviewReason":{"type":"string","nullable":true,"description":"Message key explaining why the case went to the review list"},"createdBy":{"type":"string","nullable":true},"decidedBy":{"type":"string","nullable":true},"decidedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"}}},"DocumentListEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}},"DocumentListItem":{"type":"object","required":["document_id","filename","type","mime_type","size","uploaded_at","has_extracted_text","extraction_status","recognition_status","recognition_reason"],"properties":{"document_id":{"type":"string","format":"uuid"},"filename":{"type":"string"},"type":{"type":"string","description":"Document type, category, module, or MIME fallback."},"mime_type":{"type":"string"},"size":{"type":"integer","minimum":0},"uploaded_at":{"type":"string","format":"date-time"},"folder_id":{"type":"string","nullable":true},"has_extracted_text":{"type":"boolean"},"extracted_text_length":{"type":"integer","minimum":0,"description":"Persisted character count from metadata; no extracted text is opened or returned."},"extraction_status":{"type":"string","enum":["pending","processing","completed","no_text","failed"]},"recognition_status":{"type":"string","nullable":true,"enum":["text","ocr","unlesbar"],"description":"Text layer, image OCR, or a terminal unreadable outcome."},"recognition_reason":{"type":"string","description":"Machine-readable route or failure reason; never document text."}}},"DocumentListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Document"}},"count":{"type":"integer"},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"hasMore":{"type":"boolean"}}},"DocumentManager_Document":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","example":"Quarterly Report"},"original_filename":{"type":"string","example":"report.pdf"},"mime_type":{"type":"string","example":"application/pdf"},"size_bytes":{"type":"integer","example":204800},"checksum":{"type":"string","description":"SHA-256 hash of the file content"},"category":{"type":"string","example":"reports"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"intake":{"$ref":"#/components/schemas/DocumentIntake"},"accounting_relevant":{"type":"boolean","description":"Whether the document belongs to the accounting work list; does not create a booking."},"accounting_review_status":{"type":"string","enum":["not_reviewed","accounted","questions_open","not_relevant"]},"accounting_period":{"type":"string","nullable":true,"example":"2026-01/2026-03"},"accounting_question_id":{"type":"integer","nullable":true,"description":"Existing ApprovalSync question linked when questions_open was selected."},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"DocumentManager_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"DocumentResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Document"}}},"DocumentSearchHit":{"type":"object","required":["document_id","filename","mime_type","uploaded_at","extraction_status","snippet"],"properties":{"document_id":{"type":"string","format":"uuid"},"filename":{"type":"string"},"mime_type":{"type":"string"},"module":{"type":"string"},"uploaded_at":{"type":"string","format":"date-time"},"extraction_status":{"type":"string"},"snippet":{"type":"string"}}},"DocumentUploadJson":{"type":"object","required":["base64","filename"],"properties":{"base64":{"type":"string","format":"byte"},"filename":{"type":"string","example":"jahresabschluss-2025.pdf"},"module":{"type":"string","default":"general"},"category":{"type":"string"},"document_type":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$","example":"incoming_invoice"},"source_ref":{"type":"string","maxLength":1024,"description":"Caller-owned source identity retained in document metadata."},"link":{"type":"object","description":"Optional provenance edge written through the canonical DocumentLinks service after the document reaches the tenant store.","required":["targetType","targetId"],"properties":{"targetType":{"type":"string"},"targetId":{"type":"string"},"direction":{"type":"string","enum":["einnahme","ausgabe"]}}}}},"DocumentVersion":{"type":"object","properties":{"id":{"type":"integer"},"documentId":{"type":"string"},"revision":{"type":"integer"},"title":{"type":"string"},"content":{"type":"string"},"format":{"type":"string","enum":["markdown","html"]},"tags":{"type":"array","items":{"type":"string"}},"folderId":{"type":"string","nullable":true},"templateId":{"type":"string","nullable":true},"starred":{"type":"boolean"},"archived":{"type":"boolean"},"author":{"type":"string","nullable":true},"savedAt":{"type":"integer"},"source":{"type":"string"},"eventType":{"type":"string"}}},"DocumentVersionListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DocumentVersion"}},"count":{"type":"integer"},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"hasMore":{"type":"boolean"}}},"Documents_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"Domain":{"type":"object","required":["domain","status","nameservers","contacts"],"properties":{"domain":{"type":"string"},"status":{"type":"string"},"nameservers":{"type":"array","items":{"type":"string"}},"contacts":{"$ref":"#/components/schemas/DomainContacts"},"auto_renew":{"type":"boolean"},"expire_method":{"type":"integer"},"expires_at":{"type":"string"},"revision":{"type":"string"}}},"DomainContacts":{"type":"object","additionalProperties":false,"properties":{"owner":{"type":"string","maxLength":191},"admin":{"type":"string","maxLength":191},"tech":{"type":"string","maxLength":191},"zone":{"type":"string","maxLength":191}}},"DomainPrice":{"type":"object","properties":{"tld":{"type":"string"},"priceYearNet":{"type":"number"},"priceYearGross":{"type":"number"},"priceMonthNet":{"type":"number"},"priceMonthGross":{"type":"number"},"vatType":{"type":"string","enum":["standard","reduced","zero"]},"minDuration":{"type":"integer"},"minDurationUnit":{"type":"string","enum":["days","weeks","months","years"]}}},"DomainRegistration_DnsRecord":{"type":"object","required":["type","name","values"],"properties":{"type":{"type":"string"},"name":{"type":"string"},"values":{"type":"array","items":{"type":"string"}}}},"DomainRegistration_Error":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}},"DomainRegistration_Job":{"type":"object","required":["id","status"],"properties":{"id":{"type":"string"},"status":{"type":"string"},"result":{"type":"object","nullable":true,"additionalProperties":true},"error":{"type":"object","nullable":true,"additionalProperties":true}}},"DoubleEntryBulkAcceptRequest":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"integer","minimum":1}},"counterparty":{"type":"string"},"contra_account":{"type":"string"}}},"DoubleEntryBulkAcceptResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DoubleEntryBulkResult"}}},"DoubleEntryBulkResult":{"type":"object","required":["accepted","already","failed","results"],"properties":{"accepted":{"type":"integer"},"already":{"type":"integer"},"failed":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DoubleEntryBulkResultItem"}}}},"DoubleEntryBulkResultItem":{"type":"object","required":["id","ok"],"properties":{"id":{"type":"integer"},"ok":{"type":"boolean"},"booking_id":{"type":"integer"},"already_accepted":{"type":"boolean"},"error":{"type":"string"}}},"DoubleEntryBwa":{"type":"object","required":["year","month","date_from","date_to","lines","previous_period"],"properties":{"year":{"type":"integer"},"month":{"type":"integer","nullable":true},"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"lines":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DoubleEntryBwaLine"}},"previous_period":{"type":"object","properties":{"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"lines":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DoubleEntryBwaLine"}}}},"monthly_breakdown":{"type":"object","nullable":true,"additionalProperties":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DoubleEntryBwaLine"}}}}},"DoubleEntryBwaLine":{"type":"object","required":["key","label","amount","is_subtotal"],"properties":{"key":{"type":"string"},"label":{"type":"string"},"amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"is_subtotal":{"type":"boolean"}}},"DoubleEntryBwaResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DoubleEntryBwa"}}},"DoubleEntryError":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"DoubleEntryExport":{"type":"object","required":["export_ref","filename","tenant_id","date_from","date_to","exported_at","row_count","checksum_sha256","checksum_scope","period_state"],"properties":{"export_ref":{"type":"string"},"filename":{"type":"string"},"tenant_id":{"type":"string"},"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"exported_at":{"type":"string"},"row_count":{"type":"integer","minimum":0},"checksum_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"checksum_scope":{"type":"string","enum":["csv_data_sha256","package_sha256"]},"period_state":{"type":"string","enum":["open","closed"]},"period_markers":{"type":"array","items":{"type":"string"}},"fiscal_years":{"type":"array","items":{"type":"integer"}},"csv":{"type":"string"}}},"DoubleEntryExportResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DoubleEntryExport"}}},"DoubleEntryMonthlyBwa":{"type":"object","required":["date_from","date_to","months","totals"],"properties":{"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"months":{"type":"array","items":{"$ref":"#/components/schemas/DoubleEntryMonthlyBwaMonth"}},"totals":{"$ref":"#/components/schemas/DoubleEntryMonthlyBwaAmounts"}}},"DoubleEntryMonthlyBwaAmounts":{"type":"object","required":["revenue","material_costs","personnel_costs","other_expenses","depreciation","gross_profit","operating_result"],"properties":{"revenue":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"material_costs":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"personnel_costs":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"other_expenses":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"depreciation":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"gross_profit":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"operating_result":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"}}},"DoubleEntryMonthlyBwaMonth":{"allOf":[{"$ref":"#/components/schemas/DoubleEntryMonthlyBwaAmounts"},{"type":"object","required":["month"],"properties":{"month":{"type":"string","pattern":"^[0-9]{4}-(0[1-9]|1[0-2])$"}}}]},"DoubleEntryMonthlyBwaResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/DoubleEntryMonthlyBwa"}}},"DoubleEntryRule":{"type":"object","required":["key","label","keywords","direction","skr03","skr04","account_name","account_type","vat_rate","confidence"],"properties":{"key":{"type":"string"},"label":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}},"and_keywords":{"type":"array","items":{"type":"string"}},"not_keywords":{"type":"array","items":{"type":"string"}},"direction":{"type":"string","enum":["in","out"]},"skr03":{"type":"string"},"skr04":{"type":"string"},"account_name":{"type":"string"},"account_type":{"type":"string"},"vat_rate":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"integer","minimum":0,"maximum":100},"statutory":{"type":"boolean"},"reverse_charge_13b":{"type":"boolean"},"reverse_charge_mode":{"type":"string","enum":["eu","non_eu"]}}},"DoubleEntryRuleListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DoubleEntryRule"}}}},"DoubleEntrySettings":{"type":"object","additionalProperties":true,"required":["fiscal_year_start_month_effective","fiscal_year_start_month_source"],"properties":{"is_kleinunternehmer":{"type":"string","nullable":true,"enum":["0","1"],"description":"Period-effective §19 UStG declaration of the selected tax subject; null means not declared."},"tax_subject_id":{"type":"string","description":"Tax subject used to resolve period-dependent tax settings."},"effective_at":{"type":"string","format":"date","description":"Date on which period-dependent settings were resolved."},"fiscal_year_start_month":{"type":"string","nullable":true,"pattern":"^(?:[1-9]|1[0-2])$","description":"Tenant-scoped fallback declaration, or null when unset.","example":"12"},"fiscal_year_start_month_effective":{"type":"integer","minimum":1,"maximum":12,"description":"Effective start month after canonical tenant config and accounting fallback resolution.","example":12},"fiscal_year_start_month_source":{"type":"string","enum":["configured","missing","empty","invalid","unavailable","no_tenant"],"description":"Whether the effective month was configured or had to be assumed.","example":"configured"},"fiscal_first_period_start":{"type":"string","format":"date","nullable":true,"description":"Tenant-scoped first stub-period start; null when no pair is declared.","example":"2026-07-01"},"fiscal_first_period_end":{"type":"string","format":"date","nullable":true,"description":"Tenant-scoped first stub-period end; null when no pair is declared.","example":"2026-12-31"},"booking_source_required":{"type":"string","enum":["0","1"],"description":"Compatibility preference controlling how prominently missing provenance is warned; it never blocks booking creation."}}},"DoubleEntry_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string","example":"Field 'amount' is required"}}}}},"DpaGenerateRequest":{"type":"object","required":["customer_name","customer_address"],"properties":{"customer_name":{"type":"string","example":"Acme GmbH"},"customer_address":{"type":"string","example":"Musterstrasse 1\n12345 Berlin"},"language":{"type":"string","enum":["de","en"],"default":"de"},"customer_id":{"type":"string","description":"Optional customer reference ID"},"return_format":{"type":"string","enum":["base64","binary"],"default":"base64"}}},"DpaHistoryEntry":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string","nullable":true},"customer_name":{"type":"string"},"language":{"type":"string"},"status":{"type":"string","enum":["generated","sent","send_failed"]},"details":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"DpaSendRequest":{"type":"object","required":["customer_name","customer_address","recipient_email"],"properties":{"customer_name":{"type":"string","example":"Acme GmbH"},"customer_address":{"type":"string"},"recipient_email":{"type":"string","format":"email","example":"legal@acme.com"},"language":{"type":"string","enum":["de","en"],"default":"de"},"customer_id":{"type":"string"}}},"DriveLease":{"type":"object","properties":{"name":{"type":"string","example":"job-drive"},"holder":{"type":"string","nullable":true,"example":"remote-devserver-5"},"status":{"type":"string","enum":["held","expired","vacant"]},"acquired_at":{"type":"string","format":"date-time","nullable":true},"renewed_at":{"type":"string","format":"date-time","nullable":true},"expires_at":{"type":"string","format":"date-time","nullable":true},"remaining_seconds":{"type":"integer","minimum":0},"previous_holder":{"type":"string","nullable":true},"takeover_count":{"type":"integer","minimum":0}}},"DriverInput":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":160},"status":{"type":"string","enum":["active","inactive","suspended"]},"user_id":{"type":"integer","minimum":1,"nullable":true},"max_weekly_minutes":{"type":"integer","minimum":0,"maximum":10080}}},"DuetControlStateResponse":{"type":"object","description":"Duett-Modus (Shared-Control Steering, §7.1) control snapshot returned by the /duet, /duet/interrupt and /duet/handback operations.\n","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"sessionId":{"type":"string"},"controlOwner":{"type":"string","enum":["agent","human"]},"resumeStepIndex":{"type":"integer"},"status":{"type":"string"},"demoTenant":{"type":"boolean"},"effectiveTenantId":{"type":"string"},"liveTenantCaution":{"type":"boolean"}}}}},"DunningNegotiatorError":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string","description":"Stable machine-readable error code"},"message":{"type":"string"}}},"EBilanzExport":{"type":"object","required":["status","transmission","taxonomy_version","gcd","validation","completeness","mapping_warnings","positions"],"properties":{"status":{"type":"string","enum":["advisor_export","blocked"]},"transmission":{"type":"string","description":"Always 'advisor_export_only' — never a live ELSTER transmission."},"taxonomy_version":{"type":"string"},"gcd":{"type":"object","additionalProperties":{"type":"string"}},"validation":{"type":"object","required":["valid","errors","warnings"],"properties":{"valid":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/EBilanzIssue"}},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/EBilanzIssue"}}}},"completeness":{"type":"object","required":["is_complete","missing_opening_balance"],"properties":{"is_complete":{"type":"boolean"},"missing_opening_balance":{"type":"boolean"}}},"mapping_warnings":{"type":"array","items":{"type":"string"}},"positions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"section":{"type":"string"},"amount":{"type":"string"}}}},"xbrl":{"type":"object","description":"Present only when status is advisor_export."}}},"EBilanzIssue":{"type":"object","required":["code","field","message"],"properties":{"code":{"type":"string"},"field":{"type":"string"},"message":{"type":"string"}}},"EdgeError":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}},"ElsterOutboxEvidence":{"type":"object","required":["id","tenant_id","status","test_mode","test_marker","eric_transport_configured","transmission"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"status":{"type":"string","enum":["queued","test_submitted","submitted","rejected"]},"transferticket":{"type":["string","null"]},"submitted_at":{"type":["string","null"]},"test_mode":{"type":"boolean"},"test_marker":{"type":["string","null"]},"eric_transport_configured":{"type":"boolean"},"transmission":{"type":"string","enum":["manual-owner-driven"]}}},"ElsterOutboxStatus":{"type":"object","required":["queued","submitted","test_submitted","rejected","overdue","total","eric_transport_configured","transmission"],"properties":{"queued":{"type":"integer","minimum":0},"submitted":{"type":"integer","minimum":0},"test_submitted":{"type":"integer","minimum":0},"rejected":{"type":"integer","minimum":0},"overdue":{"type":"integer","minimum":0,"description":"Queued UStVA rows whose statutory deadline is before today."},"total":{"type":"integer","minimum":0},"overdue_items":{"type":"array","items":{"$ref":"#/components/schemas/ElsterOverdueUstva"}},"eric_transport_configured":{"type":"boolean"},"transmission":{"type":"string","enum":["manual-owner-driven"]}}},"ElsterOverdueUstva":{"type":"object","required":["outbox_id","tax_filing_id","period","deadline","dauerfrist","net_payable_cents","filing_status"],"properties":{"outbox_id":{"type":"integer"},"tax_filing_id":{"type":"integer"},"period":{"type":"string"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"deadline":{"type":"string","format":"date"},"due_rule":{"type":["string","null"]},"dauerfrist":{"type":"boolean"},"net_payable_cents":{"type":"integer"},"filing_status":{"type":"string"}}},"EmailCampaign_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"EmailCampaign_Template":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string","example":"Monthly Newsletter"},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"EmailDispatch":{"type":"object","description":"Shared E-Mail Dispatch","required":["template","locale","to"],"properties":{"template":{"type":"string"},"locale":{"type":"string","example":"de-DE"},"to":{"type":"object","properties":{"email":{"type":"string","format":"email"},"user_id":{"type":"string","nullable":true}}},"variables":{"type":"object","additionalProperties":true,"nullable":true},"trace_id":{"type":"string","nullable":true}}},"EmailDraft":{"type":"object","properties":{"ai_proposal":{"$ref":"#/components/schemas/AiProposalDraftMetadata"},"draft_content_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Reviewer-only current proposal subject/body hash. Send with candidate_version on session actions and PATCH."},"id":{"type":"integer"},"tenant_id":{"type":"string"},"recipient_email":{"type":"string"},"recipient_name":{"type":"string","nullable":true},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string","nullable":true},"idempotency_key":{"type":"string","nullable":true},"payload_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$","nullable":true},"template_id":{"type":"integer","nullable":true},"status":{"type":"string"},"reviewed":{"type":"integer"},"confidence":{"type":"number","format":"float","minimum":0,"maximum":1,"nullable":true,"description":"AI classification confidence score in `[0, 1]`. Drafts with a\nconfidence < 0.7 (or null confidence) trigger the derived\n`requires_manual_review: true` field at read time.\n"},"requires_manual_review":{"type":"boolean","description":"Derived (NOT persisted) flag. True when `confidence < 0.7` or\n`confidence` is null. The customer's downstream AI agent uses\nthis to route drafts into the \"needs human eyes\" lane.\n"},"review_state":{"type":"string","enum":["category_approved","human_approved","human_discarded","awaiting_human","not_applicable","unmeasured"],"description":"Derived (NOT persisted). Genau einer von sechs benannten Zustaenden.\n\n* `category_approved` — neue Nachricht mit expliziter Kategorie-Freigabe; keine menschliche Einzelpruefung.\n\n* `human_approved` — ein Mensch hat freigegeben; `approved_at` und\n  `reviewed_by` tragen wer und wann.\n* `human_discarded` — ein Mensch hat verworfen (`status='ignored'`).\n  Auch das ist eine festgehaltene Entscheidung.\n* `awaiting_human` — der Vorschlag liegt beim Menschen und wartet.\n  Ausdruecklich NICHT \"geprueft\".\n* `not_applicable` — Nur-Pruef-Beleg ohne jeden Zustellweg.\n* `unmeasured` — der Zeile fehlen die Spalten, aus denen das Urteil\n  entsteht. UNGEMESSEN wird nie zu einem der anderen Werte\n  gerundet: eine leere Buchhaltung liest sich wie \"nichts zu\n  beanstanden\" und ist die gefaehrlichere Lesart.\n"},"review_recorded":{"type":"boolean","nullable":true,"description":"Derived (NOT persisted). `true`/`false`, und `null` fuer UNGEMESSEN —\n`null` ist von `false` ausdruecklich verschieden.\n"},"delivered_to_customer":{"type":"boolean","nullable":true,"description":"Derived (NOT persisted). ⚠️ Wird NIE aus `status='sent'` abgeleitet:\ndieser Wert bedeutet auf dieser Tabelle \"der ANTWORTVORSCHLAG wurde\ndem PRUEFER zugestellt\", nicht \"der Kunde hat die Mail\". Die\nKundenzustellung heisst `status='approved'`. Genau diese\nBenennungskluft liess am 2026-09-04 1033 Saetze wie ein\nBuchhaltungsleck aussehen. `null` = ungemessen.\n"},"approved_at":{"type":"string","format":"date-time","nullable":true},"reviewed_by":{"type":"string","nullable":true,"description":"Wer die Freigabe erteilt hat. `approval-link` benennt das MITTEL\n(die Einmal-Verknuepfung, die ein Mensch benutzt hat), nicht einen\nErsatzwert fuer einen fehlenden Menschen.\n"},"options":{"type":"object","description":"Decoded `options_json` payload. Carries `envelope` (set by the\ninbox writer), `internal_review` diagnostics and/or `actions` — the draft's action buttons.\n","properties":{"internal_review":{"$ref":"#/components/schemas/EmailDraftInternalReview"},"actions":{"type":"array","items":{"$ref":"#/components/schemas/EmailDraftAction"}}},"additionalProperties":true},"sent_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"EmailDraftAction":{"type":"object","required":["key","label","url"],"properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,31}$","description":"Machine name of the button, e.g. `ueberarbeiten`."},"label":{"type":"string","minLength":1,"maxLength":64,"description":"Button caption shown to the human reviewer."},"url":{"type":"string","format":"uri","description":"https URL the button links to. The host must be one of the\nconfigured DocShare hosts (derived from `DOC_SHARE_UI_BASE` /\n`DOC_SHARE_PUBLIC_BASE`); any other host is refused with 422\n`draft_action_url_host_not_allowed`, because the stored link is\nclicked by a human out of the review surface.\n"}}},"EmailDraftInput":{"type":"object","properties":{"candidate_version":{"type":"integer","minimum":1,"description":"Required for AI proposal answer edits."},"draft_content_hash":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Required for AI proposal answer edits."},"answer_text":{"type":"string","description":"AI proposal answer only; question and recipient remain immutable."},"internal_review":{"$ref":"#/components/schemas/EmailDraftInternalReview"},"variant_group":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$","description":"Create-only; same contract as compose variant_group."},"variant_label":{"type":"string","maxLength":200,"description":"Create-only; same contract as compose variant_label."},"recipient_role":{"type":"string","maxLength":80,"description":"Create-only; same contract as compose recipient_role."},"exclude_recipients":{"type":"array","maxItems":20,"items":{"type":"string","format":"email"},"description":"Create-only; same contract as compose exclude_recipients."},"imported_booking_output":{"allOf":[{"$ref":"#/components/schemas/ImportedBookingOutputReference"}],"description":"Create-only; owner_email_draft or checkin_info. Store reference and body markers such as [imported-booking:name]. Resolve only during existing owner-review delivery; subject markers and guest delivery are refused."},"recipient_email":{"type":"string"},"recipient_name":{"type":"string"},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string","description":"For AI proposals this field edits only the answer; the server preserves the question and sources."},"idempotency_key":{"type":"string","minLength":16,"maxLength":191,"description":"Tenant-scoped retry key. The server binds it to its canonical fingerprint of the normalized persisted payload."},"payload_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Optional client assertion. The server computes the authoritative SHA-256 after sanitizing HTML and normalizing every persisted and delivery-relevant field and rejects a mismatch."},"template_id":{"type":"integer"},"status":{"type":"string"},"reviewed":{"type":"integer"},"confidence":{"type":"number","format":"float","minimum":0,"maximum":1,"nullable":true,"description":"Optional AI confidence score in `[0, 1]`. Out-of-range values\nyield 400 invalid_input.\n"},"actions":{"type":"array","maxItems":5,"nullable":true,"items":{"$ref":"#/components/schemas/EmailDraftAction"},"description":"Optional action buttons rendered with the draft, e.g. an\n\"Ueberarbeiten\" button linking to the DocShare feedback page where\nthe owner rates the answer.\n\nRequires the per-tenant switch `EMAIL_DRAFT_ACTIONS_ENABLED`\n(default false, fail closed). While the switch is off the array is\nIGNORED and the response carries an `actions_ignored` object naming\nthe reason and the config key — it is never silently accepted.\n\nValidation (all fail closed): at most 5 actions; `key` matches\n`^[a-z][a-z0-9_-]{0,31}$` and is unique; `label` is non-empty and\nat most 64 characters; `url` is https and points at a configured\nDocShare host. Field-level failures are 422 with a stable machine\ncode (`draft_actions_too_many`, `draft_action_key_invalid`,\n`draft_action_key_duplicate`, `draft_action_label_invalid`,\n`draft_action_url_invalid`, `draft_action_url_not_https`,\n`draft_action_url_host_not_allowed`); a malformed shape is 400.\n"}}},"EmailDraftInternalReview":{"type":"object","required":["text"],"additionalProperties":false,"description":"Reviewer-only diagnostics stored in options_json, outside subject/body and customer delivery. Shown HTML-escaped in the small print above \"Absenden\" of the ANTWORTVORSCHLAG (never in the customer mail). Create-only; retained unchanged by message editing.","properties":{"text":{"type":"string","maxLength":20000}}},"EmailDraftRecreateRequest":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"site":{"type":"string","nullable":true},"status":{"type":"string","enum":["pending","consumed"]},"note":{"type":"string","nullable":true},"requested_at":{"type":"string"},"consumed_at":{"type":"string","nullable":true},"consumed_by":{"type":"string","nullable":true}}},"EmailLedgerEntry":{"type":"object","additionalProperties":false,"required":["id","source","status","kind","updated_at","attempts","last_attempt","error_class","recipient_role","recipient","evidence"],"properties":{"id":{"type":"string","description":"Opaque logical mail identity"},"source":{"type":"string","enum":["outbox","draft"]},"status":{"$ref":"#/components/schemas/EmailLedgerStatus"},"kind":{"type":"string"},"updated_at":{"type":"string","description":"Store update time, NOT a last-attempt timestamp"},"attempts":{"type":"integer","nullable":true,"description":"Null when not measured"},"last_attempt":{"type":"string","nullable":true,"description":"UTC invocation start; null when not measured"},"max_attempts":{"type":"integer","nullable":true,"description":"Persisted invocation budget; explicit admin retries grant new budget without clearing counts"},"error_class":{"type":"string","nullable":true,"enum":["timeout","configuration","rate-limit","interrupted","transport","policy","reference","unclassified",null]},"recipient_role":{"type":"string","enum":["unknown","draft","owner","test"]},"recipient":{"type":"string","enum":["***"]},"evidence":{"type":"string","enum":["legacy-unmeasured","owner-draft-recorded","smtp-handover-recorded","suppression-recorded","simulation-recorded","capture-recorded"]}}},"EmailLedgerResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["items","total","limit","offset","coverage"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EmailLedgerEntry"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"coverage":{"type":"object","required":["scope","complete","unavailable_sources","attempt_tracking","direct_send_receipts","transaction_link_writes","direct_receipt_policy","transaction_link_policy"],"properties":{"scope":{"type":"string","enum":["existing-outbox-and-drafts"]},"complete":{"type":"boolean","enum":[false]},"unavailable_sources":{"type":"array","items":{"type":"string","enum":["email_outbox","email_drafts"]}},"attempt_tracking":{"type":"string","enum":["unmeasured","persisted-observed"]},"direct_send_receipts":{"type":"boolean","enum":[false],"description":"Universal receipt coverage guarantee, NOT a feature switch; conditional receipts are implemented but historic/unbound/transactional sends are not universally measured."},"transaction_link_writes":{"type":"boolean","enum":[false],"description":"Universal producer-link coverage guarantee, NOT a feature switch; selected producers persist DocumentLinks but history is not backfilled."},"direct_receipt_policy":{"type":"string","enum":["bound-tenant-autocommit-migrated-schema"],"description":"Installed source policy, not runtime-adoption proof. Durable direct receipts require a bound tenant, migrated outbox and no caller transaction. Private capture stays separate; existing outbox identities are reused."},"transaction_link_policy":{"type":"string","enum":["selected-producers"],"description":"Installed source policy, not universal coverage or runtime proof. Selected contact, booking, order and listing producers persist explicit DocumentLinks; absence of a link remains unmeasured."}}},"transaction":{"type":"object","properties":{"type":{"type":"string"},"id":{"type":"string"}}},"summary":{"type":"object","properties":{"status":{"type":"string","enum":["pending","sent","failed","suppressed","unmeasured"]},"mails":{"type":"integer"},"counts":{"type":"object","additionalProperties":{"type":"integer"}},"attempts":{"type":"integer","nullable":true},"last_attempt":{"type":"string","nullable":true},"complete":{"type":"boolean","enum":[false]},"basis":{"type":"string","enum":["existing-confirmed-document-links"]}}}}}}},"EmailLedgerStatus":{"type":"string","enum":["queued","sent","failed-retrying","failed-final","suppressed","owner-draft"]},"EmailOutboxEntry":{"type":"object","description":"Outbox-Eintrag","required":["id","tenant_id","template_name","locale","to_email","status","updated_at"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"message_event_id":{"type":"string","format":"uuid","nullable":true},"template_name":{"type":"string"},"locale":{"type":"string"},"to_email":{"type":"string","format":"email","nullable":true,"description":"Server-only destination is null for reference payloads."},"to_user_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["queued","sent","failed"]},"trace_id":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":true,"nullable":true},"updated_at":{"type":"string","format":"date-time"}}},"EmailQueueCheck":{"type":"object","required":["status"],"properties":{"status":{"$ref":"#/components/schemas/CheckStatus"},"reason":{"type":"string","description":"Human-readable justification, present whenever `status` is not `healthy` (#29601). Names the violated condition with its counts and thresholds — a stale backlog, recent send failures, an incomplete `email_outbox` schema, or the fact that this site runs no queue at all. Contains no recipients, subjects, payloads or credentials.\n","example":"1 queued message(s) have been waiting longer than 10 minutes — the scheduled drain (/api/cron/email-outbox) has not picked them up, so these notifications were never delivered."},"benign":{"type":"boolean","description":"True when the condition does not gate the overall status."},"queued":{"type":"integer","description":"Number of queued emails","example":0},"queued_stale":{"type":"integer","description":"Queued emails older than the stale threshold (10 minutes)","example":0},"failed":{"type":"integer","description":"Sends that failed within the last 24 hours","example":0},"failed_final":{"type":"integer","description":"Observed mail entries whose retry budget was exhausted, including older unresolved failures"},"advisory":{"type":"string","enum":["email_delivery_attempts_exhausted"],"description":"Review the admin ledger; an explicit retry never erases observed attempt history"},"failed_total":{"type":"integer","description":"All failed rows still present, for operator cleanup","example":0},"error":{"type":"string","nullable":true,"description":"Set to a generic marker when the check itself could not run","example":null}}},"EmailSendRequest":{"type":"object","description":"E-Mail Versand-Anfrage","required":["template","locale","to"],"properties":{"template":{"type":"string"},"locale":{"type":"string","example":"de-DE"},"to":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"},"user_id":{"type":"string","nullable":true}}},"variables":{"type":"object","additionalProperties":true,"nullable":true},"trace_id":{"type":"string","nullable":true}}},"EmailTemplate":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string","nullable":true},"variant":{"type":"string"},"category":{"type":"string"},"language":{"type":"string"},"variables":{"type":"string","nullable":true},"is_active":{"type":"integer"},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"EmailTemplateInput":{"type":"object","properties":{"name":{"type":"string"},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"variant":{"type":"string","enum":["default","standard","premium","enterprise","starter"]},"category":{"type":"string"},"language":{"type":"string"},"variables":{"type":"string"},"is_active":{"type":"integer"},"legacy_id":{"type":"string"}}},"Employee":{"allOf":[{"$ref":"#/components/schemas/EmployeeCreate"},{"type":"object","required":["id","tenant_id"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"}}}]},"EmployeeCreate":{"type":"object","required":["personnel_no","first_name","last_name","hired_at"],"properties":{"personnel_no":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"department":{"type":"string"},"position":{"type":"string"},"status":{"type":"string","enum":["active","inactive","terminated"]},"hired_at":{"type":"string","format":"date"},"terminated_at":{"type":"string","format":"date","nullable":true},"commute_distances":{"type":"object","description":"One-way home-to-first-workplace distance in whole kilometres, keyed by assessment year.","additionalProperties":{"type":"integer","minimum":0,"maximum":2000}}}},"EmployeeProfile":{"type":"object","properties":{"employee_id":{"type":"string"},"tenant_id":{"type":"integer"},"first_name":{"type":"string","nullable":true},"last_name":{"type":"string","nullable":true},"email":{"type":"string","format":"email","nullable":true},"department":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"payroll_status":{"type":"string","nullable":true},"onboarding_status":{"type":"string","nullable":true},"hired_at":{"type":"string","nullable":true},"terminated_at":{"type":"string","nullable":true}}},"EmployeeUpdate":{"allOf":[{"$ref":"#/components/schemas/EmployeeCreate"}]},"EmployeeUpsertRequest":{"type":"object","additionalProperties":true,"properties":{"first_name":{"type":"string"},"last_name":{"type":"string"},"email":{"type":"string","format":"email"},"department":{"type":"string"},"position":{"type":"string"},"payroll_status":{"type":"string"},"onboarding_status":{"type":"string"},"hired_at":{"type":"string"},"terminated_at":{"type":"string"}}},"Entry":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"trip_id":{"type":"integer","nullable":true},"timestamp":{"type":"string","format":"date-time"},"latitude":{"type":"number","nullable":true},"longitude":{"type":"number","nullable":true},"notes":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"EntryCreateRequest":{"type":"object","required":["timestamp"],"properties":{"trip_id":{"type":"integer","minimum":1,"nullable":true},"timestamp":{"type":"string","format":"date-time"},"latitude":{"type":"number","minimum":-90,"maximum":90,"nullable":true},"longitude":{"type":"number","minimum":-180,"maximum":180,"nullable":true},"notes":{"type":"string","nullable":true}}},"EntryListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Entry"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"EntryResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Entry"}}},"Envelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":[]}},"EnvironmentFileHealth":{"type":"object","properties":{"notice_source":{"type":"string","enum":["none","config","cockpit"]},"mirror_notice":{"type":"string","enum":["on","off"]},"notice_en_missing":{"type":"boolean","description":"An active configured notice lacks English; German is used instead."},"environment_files":{"type":"string","enum":["ok","both","mismatch","none"]},"environment_error_id":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{16}$"},"environment_file_enforcement":{"type":"string","enum":["observe","enforce"],"description":"Operator-only staged rollout; code default observe is non-blocking."},"environment_safe_mode":{"type":"boolean","description":"No DB access or mail delivery; public config and health remain available."}}},"EnvironmentRequest":{"type":"object","description":"Exactly one source: `spec` (JSON object), `specYaml` (YAML text), `template` (+ `params` / `name`), `request` (one sentence such as \"Richte mir ein Handwerker-Cockpit ein\" → workspace plan) or `plan` (a plan id from an earlier preview).\n","properties":{"spec":{"type":"object","additionalProperties":true},"specYaml":{"type":"string","description":"YAML text of the spec. Checked before parsing: at most 200000 bytes (422 yaml_too_large) and at most 32 nesting levels / 1000 brackets [ { (422 yaml_too_deep, details.limits)"},"template":{"type":"string","example":"recruiting"},"params":{"type":"object","additionalProperties":true,"example":{"name":"Bewerbungen 2027","position":"Frontend"}},"name":{"type":"string","example":"Bewerbungen 2027"},"slug":{"type":"string"},"request":{"type":"string","description":"Free text (DE/EN/ES). Picks the template by what it is for; a named column list (mit den Spalten A, B, C / with columns ... / con etapas ...) replaces the stages of the first board, and the preview warnings name the rules that drop out.","example":"Richte mir ein Kanban für Bewerbungen mit den Spalten Eingang, Gespräch, Angebot und Zusage ein"},"plan":{"type":"string","description":"Plan id (`wsp1.…`) of an earlier workspace preview: re-plans exactly that sentence with its choices","example":"wsp1.eyJ0IjoiUmljaHRlIG1pciBlaW4gSGFuZHdlcmtlci1Db2NrcGl0IGVpbiIsImwiOiJkZSJ9"},"exclude":{"type":"array","maxItems":100,"items":{"type":"string"},"description":"Workspace plan items to leave out (ids from workspace.items, e.g. board:auftraege, app:timetracking); a board takes its automations, forms and widgets along","example":["app:timetracking"]},"website":{"type":"string","description":"Website address for the suggested lead widget (https://…; without it the widget is not created)","example":"https://www.example.test"},"refine":{"type":"boolean","description":"Unsure plan? Ask the LOCAL model (chat-local, never cloud) for a template hint — only the sentence and the template catalogue are sent"},"prune":{"type":"boolean","description":"Also remove boards (only empty ones), dashboards and views that left the spec"},"seed":{"type":"boolean","description":"Create the synthetic demo cards of new boards (default true)"},"planHash":{"type":"string","description":"planHash of the confirmed preview; apply refuses with 409 when the plan changed"},"locale":{"type":"string","enum":["de","en","es"]}},"additionalProperties":true},"Erp/Compliance/Attestations_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/Attestations_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/Audits_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Compliance/Audits_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/Audits_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/Audits_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Compliance/Audits_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/BioAudits_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Compliance/BioAudits_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/BioAudits_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/BioAudits_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Compliance/BioAudits_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/Findings_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Compliance/Findings_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/Findings_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/Findings_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Compliance/Findings_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/PolicyDocs_CreatedId":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"Erp/Compliance/PolicyDocs_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/PolicyDocs_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/PolicyDocs_Ok":{"type":"object","properties":{"ok":{"type":"boolean"},"superseded_id":{"type":"string","nullable":true}}},"Erp/Compliance/PolicyDocs_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/PrivacyRequests_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Compliance/PrivacyRequests_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/PrivacyRequests_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/PrivacyRequests_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/RiskAssessments_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Compliance/RiskAssessments_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/RiskAssessments_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/RiskAssessments_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Compliance/RiskAssessments_Record":{"type":"object","additionalProperties":true},"Erp/Compliance/Training_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Compliance/Training_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Compliance/Training_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Compliance/Training_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Compliance/Training_Record":{"type":"object","additionalProperties":true},"Erp/CustomsIoss_Error":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Machine-readable code (VALIDATION_ERROR, NOT_FOUND, IOSS_INELIGIBLE, …)"},"message":{"type":"string"}},"additionalProperties":true},"Erp/FixedAssets_ErrorResponse":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","enum":["VALIDATION_ERROR","CONFLICT","NOT_FOUND"]},"message":{"type":"string"}}},"Erp/Hr/Benefits_CreatedId":{"type":"object","properties":{"id":{"type":"integer"}}},"Erp/Hr/Benefits_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Hr/Benefits_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Hr/Benefits_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Hr/Benefits_Record":{"type":"object","additionalProperties":true},"Erp/Hr/Compensation_CreatedId":{"type":"object","properties":{"id":{"type":"integer"}}},"Erp/Hr/Compensation_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Hr/Compensation_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Hr/Compensation_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Hr/Compensation_Record":{"type":"object","additionalProperties":true},"Erp/Manufacturing/CapacityPlanning_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Manufacturing/CapacityPlanning_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Manufacturing/CapacityPlanning_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Manufacturing/CapacityPlanning_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Manufacturing/CapacityPlanning_Record":{"type":"object","additionalProperties":true},"Erp/Manufacturing/ShopFloor_CreatedId":{"type":"object","properties":{"id":{"type":"string"}}},"Erp/Manufacturing/ShopFloor_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/Manufacturing/ShopFloor_ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"Erp/Manufacturing/ShopFloor_Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"Erp/Manufacturing/ShopFloor_Record":{"type":"object","additionalProperties":true},"Erp/PersonnelMaster_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"}},"additionalProperties":true},"Erp/RealEstate/Vermietung_Error":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"Erp/VariantMatrix_Error":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Machine-readable code (VALIDATION_ERROR, NOT_FOUND, …)"},"message":{"type":"string"}},"additionalProperties":true},"ErpCalendarError":{"type":"object","description":"Standard error envelope (StandardJsonResponseTrait::errorJson)","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Error code, e.g. VALIDATION_ERROR, NOT_FOUND, BOOKING_OVERLAP","example":"VALIDATION_ERROR"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"ErpCalendarHoliday":{"type":"object","description":"Row of erp_holidays","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"calendar_id":{"type":"string"},"holiday_date":{"type":"string","format":"date"},"name":{"type":"string"},"kind":{"type":"string","enum":["fixed","observed_alternate","half_day","religious","company_specific"]},"is_paid":{"type":"integer","description":"1 = paid holiday, 0 = unpaid"},"notes":{"type":"string","nullable":true}}},"ErpCalendarIdEnvelope":{"type":"object","description":"Success envelope carrying the created row id","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Opaque hex id generated by the service"}}}}},"ErpCalendarResource":{"type":"object","description":"Row of erp_calendar_resources","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string","enum":["room","vehicle","equipment"]},"location":{"type":"string"},"capacity_label":{"type":"string"},"accent_color":{"type":"string","example":"#005f73"},"status":{"type":"string","enum":["active","retired"]},"created_at":{"type":"string"}}},"ErpCalendarResourceBooking":{"type":"object","description":"Row of erp_calendar_resource_bookings","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"resource_id":{"type":"string"},"title":{"type":"string"},"requester":{"type":"string"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"notes":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","cancelled"]},"created_at":{"type":"string"}}},"ErpCustomsIdEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string"}}}}},"ErpCustomsOkEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"ok":{"type":"boolean"}}}}},"ErpCustomsTariff":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"commodity_code":{"type":"string"},"description":{"type":"string"},"duty_rate_pct":{"type":"string"},"vat_rate_pct":{"type":"string"}}},"ErpFleetError":{"type":"object","description":"Standard error envelope (HandlerHelpers::errorJson)","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Error code, e.g. VALIDATION_ERROR","example":"VALIDATION_ERROR"},"message":{"type":"string"}}},"ErpFleetVehicle":{"type":"object","description":"Row of fleet_vehicles","properties":{"id":{"type":"string","example":"veh-1a2b3c"},"tenant_id":{"type":"string"},"code":{"type":"string","description":"Customer-visible short identifier (UNIQUE per tenant)"},"vin":{"type":"string","nullable":true,"minLength":17,"maxLength":17},"license_plate":{"type":"string","maxLength":16},"make":{"type":"string"},"model":{"type":"string"},"year_built":{"type":"integer"},"vehicle_kind":{"type":"string","enum":["car","van","truck","motorcycle","forklift","trailer","ship","plane","other"]},"fuel_kind":{"type":"string","enum":["gasoline","diesel","electric","hybrid","lng","hydrogen","other"]},"capacity_load_kg":{"type":"integer","nullable":true},"capacity_passengers":{"type":"integer","nullable":true},"assigned_to_user_id":{"type":"string","nullable":true},"assigned_to_department":{"type":"string","nullable":true},"depot_location_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","in_maintenance","retired","sold","stolen","totaled"]},"acquired_at":{"type":"string","format":"date","nullable":true},"acquisition_cost_cents":{"type":"integer"},"depreciation_years":{"type":"integer"},"current_odometer_km":{"type":"integer"},"last_odometer_update_at":{"type":"string","nullable":true},"insurance_policy_id":{"type":"string","nullable":true},"tuv_due_date":{"type":"string","format":"date","nullable":true,"description":"TUEV/HU due date (#34394 consolidation)"},"insurance_expiry_at":{"type":"string","format":"date","nullable":true},"leasing_end_at":{"type":"string","format":"date","nullable":true},"notes":{"type":"string","nullable":true},"display_name":{"type":"string","nullable":true,"maxLength":128},"created_at":{"type":"string"}}},"ErpHrAttendanceException":{"type":"object","description":"Normalized row of erp_attendance_exceptions","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"attendance_id":{"type":"integer"},"exception_type":{"type":"string","enum":["late","early_leave","missing","adjusted","forgot_clockout","other"]},"recorded_by":{"type":"string"},"recorded_at":{"type":"string"},"created_at":{"type":"string"}}},"ErpHrAttendanceRecord":{"type":"object","description":"Normalized row of erp_attendance_records","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_id":{"type":"string"},"date":{"type":"string","format":"date"},"clock_in_at":{"type":"string","nullable":true,"example":"2026-07-01 08:01:12"},"clock_out_at":{"type":"string","nullable":true},"total_minutes":{"type":"integer"},"break_minutes":{"type":"integer"},"attendance_status":{"type":"string","enum":["pending","recorded","reconciled","archived"]},"note":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpHrCompetencyScore":{"type":"object","description":"Normalized row of erp_hr_review_competency_scores","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"review_id":{"type":"integer"},"competency_code":{"type":"string"},"score":{"type":"integer","minimum":1,"maximum":5},"notes":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"ErpHrError":{"type":"object","description":"Standard error envelope (StandardJsonResponseTrait::errorJson)","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Error code, e.g. VALIDATION_ERROR, CONFLICT, NOT_FOUND, FORBIDDEN","example":"VALIDATION_ERROR"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"ErpHrGoal":{"type":"object","description":"Normalized row of erp_hr_goals","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_ref":{"type":"string"},"period_year":{"type":"integer"},"period_quarter":{"type":"integer","nullable":true,"minimum":1,"maximum":4},"code":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"kind":{"type":"string","enum":["smart","okr","kpi","stretch","behavioural"]},"weight_pct_bp":{"type":"integer","minimum":0,"maximum":10000,"description":"Goal weight in basis points (10000 = 100%)"},"status":{"type":"string","enum":["draft","active","completed","cancelled","missed","superseded"]},"supersedes_id":{"type":"integer","nullable":true},"target_date":{"type":"string","nullable":true},"completed_at":{"type":"string","nullable":true},"cancelled_at":{"type":"string","nullable":true},"achievement_pct_bp":{"type":"integer","minimum":0,"maximum":10000},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpHrGoalCheckin":{"type":"object","description":"Normalized row of erp_hr_goal_checkins","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"goal_id":{"type":"integer"},"occurred_at":{"type":"string"},"progress_pct_bp":{"type":"integer","minimum":0,"maximum":10000},"notes":{"type":"string","nullable":true},"created_by_ref":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"ErpHrIdEnvelope":{"type":"object","description":"Success envelope carrying the affected/created row id","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["id"],"properties":{"id":{"type":"integer"}}}}},"ErpHrOkEnvelope":{"type":"object","description":"Success envelope for FSM transitions without a payload","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean","enum":[true]}}}}},"ErpHrPerformanceReview":{"type":"object","description":"Normalized row of erp_hr_performance_reviews","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_ref":{"type":"string"},"reviewer_ref":{"type":"string"},"period_year":{"type":"integer"},"period_quarter":{"type":"integer","nullable":true,"minimum":1,"maximum":4},"kind":{"type":"string","enum":["annual","semi-annual","quarterly","probation","ad-hoc"]},"rating":{"type":"string","nullable":true,"enum":["exceeds","meets","partially-meets","below",null]},"summary":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","submitted","acknowledged","finalized","disputed"]},"submitted_at":{"type":"string","nullable":true},"acknowledged_at":{"type":"string","nullable":true},"finalized_at":{"type":"string","nullable":true},"supersedes_id":{"type":"integer","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpHrTimeEntry":{"type":"object","description":"Row of erp_time_entries","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_id":{"type":"integer"},"work_date":{"type":"string","format":"date"},"clock_in":{"type":"string","example":"2026-07-01 08:00:00"},"clock_out":{"type":"string","nullable":true,"example":"2026-07-01 16:30:00"},"break_minutes":{"type":"integer"},"kind":{"type":"string","enum":["regular","overtime","on_call","sick","vacation","public_holiday","training","travel","other"]},"project_id":{"type":"integer","nullable":true},"cost_center_id":{"type":"integer","nullable":true},"notes":{"type":"string","nullable":true},"location_id":{"type":"integer","nullable":true},"source":{"type":"string","enum":["manual","terminal","mobile","import","auto"]},"is_locked":{"type":"integer","description":"1 once the covering timesheet was submitted/approved"},"by_user_id":{"type":"integer","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpHrTimeOffBalance":{"type":"object","description":"Normalized row of erp_time_off_balances","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_id":{"type":"string"},"leave_type":{"type":"string","enum":["vacation","sick","parental","unpaid","bereavement","personal","other"]},"period_year":{"type":"integer"},"accrued_days":{"type":"string","example":"30.0"},"used_days":{"type":"string","example":"12.5"},"available_days":{"type":"string","example":"17.5"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpHrTimeOffRequest":{"type":"object","description":"Normalized row of erp_time_off_requests","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_id":{"type":"string"},"leave_type":{"type":"string","enum":["vacation","sick","parental","unpaid","bereavement","personal","other"]},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"days_count":{"type":"string","description":"Decimal day count serialized as string","example":"2.5"},"request_status":{"type":"string","enum":["draft","submitted","approved","denied","cancelled"]},"requested_at":{"type":"string","nullable":true},"approver_id":{"type":"string","nullable":true},"approved_at":{"type":"string","nullable":true},"denial_reason":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpHrTimesheet":{"type":"object","description":"Row of erp_timesheets (weekly rollup)","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"employee_id":{"type":"integer"},"week_start":{"type":"string","format":"date"},"week_end":{"type":"string","format":"date"},"total_minutes":{"type":"integer"},"regular_minutes":{"type":"integer"},"overtime_minutes":{"type":"integer"},"sick_minutes":{"type":"integer"},"vacation_minutes":{"type":"integer"},"status":{"type":"string","enum":["open","submitted","approved","rejected","adjusted"]},"submitted_at":{"type":"string","nullable":true},"approved_by_user_id":{"type":"integer","nullable":true},"approved_at":{"type":"string","nullable":true},"rejection_reason":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ErpSubscription":{"type":"object","description":"Subscription contract row (erp_subscriptions)","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"contract_no":{"type":"string"},"customer_id":{"type":"integer"},"name":{"type":"string"},"billing_interval":{"type":"string","enum":["monthly","quarterly","biannually","annually"]},"billing_anchor_day":{"type":"integer","minimum":1,"maximum":28},"currency":{"type":"string","example":"EUR"},"status":{"type":"string","enum":["draft","active","paused","cancelled","terminated"]},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date","nullable":true},"next_billing_date":{"type":"string","format":"date"},"auto_renew":{"type":"integer","description":"1 = auto-renew, 0 = fixed term"},"renewal_interval_months":{"type":"integer"},"price_escalator_bps":{"type":"integer","description":"Yearly price escalator in basis points"},"notice_period_days":{"type":"integer"},"payment_method":{"type":"string","example":"invoice"},"notes":{"type":"string","nullable":true}}},"ErpSubscriptionsError":{"type":"object","description":"Standard error envelope (HandlerHelpers::errorJson)","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Error code, e.g. VALIDATION_ERROR, NOT_FOUND, CONFLICT","example":"VALIDATION_ERROR"},"message":{"type":"string"}}},"ErpSubscriptionsItemInput":{"type":"object","description":"Line-item payload accepted by createDraft/addItem","required":["item_id"],"properties":{"item_id":{"type":"integer","minimum":1},"qty":{"type":"number","description":"Quantity (up to 4 decimal places)","default":1},"unit_price_cents":{"type":"integer","minimum":0},"currency":{"type":"string","minLength":3,"maxLength":3,"description":"Must match the subscription currency"},"revenue_recognition":{"type":"string","default":"ratable"},"starts_on":{"type":"string","format":"date"},"ends_on":{"type":"string","format":"date","nullable":true}}},"ErpSubscriptionsOkEnvelope":{"type":"object","description":"Success envelope of guarded state-machine transitions","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["id","ok"],"properties":{"id":{"type":"integer","description":"Subscription id the transition was applied to"},"ok":{"type":"boolean","enum":[true]}}}}},"Error":{"type":"object","description":"Fehlerobjekt (Shared) – Runtime-Envelope aus App\\ErrorResponse, erweitert und rückwärtskompatibel","required":["status","code","message","requestId"],"properties":{"status":{"type":"string","enum":["error"],"example":"error"},"code":{"type":"string","description":"Fehlercode, z. B. VALIDATION_FAILED"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true,"nullable":true},"trace_id":{"type":"string","description":"Korrelation über Services"},"requestId":{"type":"string","description":"Korrelation innerhalb der HTTP-Anfrage"},"help_url":{"type":"string","description":"Dokumentationsanker zum Fehlercode"},"error":{"type":"string","description":"Legacy/Alias: früherer Fehlercode (optional)"},"reason":{"type":"string","description":"Legacy/Alias: frühere Fehlerursache (optional)"}},"example":{"status":"error","code":"VALIDATION_FAILED","message":"Validierung fehlgeschlagen","requestId":"req-abc123","help_url":"/api/docs/errors#validation-failed","trace_id":"trace-abc123"}},"ErrorCodeEntry":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable error code (UPPER_SNAKE)","example":"NOT_FOUND"},"slug":{"type":"string","description":"Anchor slug used in help_url fragments","example":"not-found"},"http_status":{"type":"integer","description":"The typical HTTP status for this code","example":404},"retryable":{"type":"boolean","description":"Whether the identical request may succeed on a later retry","example":false},"meaning":{"type":"string","description":"What this code means"},"remediation":{"type":"string","description":"How a caller should react"},"help_url":{"type":"string","description":"Canonical documentation anchor for this code","example":"/api/docs/errors#not-found"}}},"ErrorEnvelope":{"type":"object","additionalProperties":false,"required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"}}},"ErrorLog":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"severity":{"type":"string","enum":["debug","info","warning","error","critical","fatal"]},"message":{"type":"string"},"stack_trace":{"type":"string","nullable":true},"source_file":{"type":"string","nullable":true},"source_line":{"type":"integer","nullable":true},"is_acknowledged":{"type":"integer"},"acknowledged_by":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"ErrorLogInput":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"severity":{"type":"string","enum":["debug","info","warning","error","critical","fatal"],"default":"error"},"stack_trace":{"type":"string"},"source_file":{"type":"string"},"source_line":{"type":"integer"},"created_at":{"type":"string"}}},"ErrorReportReadResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["id","error_id","event_type","event_version","created_at","payload"],"properties":{"id":{"type":"string","format":"uuid"},"error_id":{"type":"string","pattern":"^[A-Z0-9]{4}-[A-Z0-9]{6}$"},"event_type":{"type":"string","const":"shared.error.reported"},"event_version":{"type":"integer","minimum":1},"created_at":{"type":"string","format":"date-time"},"payload":{"type":"object","additionalProperties":true}}}}},"ErrorReportRequest":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","minLength":1,"maxLength":128,"description":"Fehlercode; erlaubt sind Buchstaben/Ziffern sowie . _ : -","pattern":"^[A-Za-z0-9._:-]+$"},"message":{"type":"string","minLength":1,"maxLength":5000},"details":{"type":"object","additionalProperties":true,"nullable":true},"actor_id":{"type":"string","maxLength":64,"nullable":true},"trace_id":{"type":"string","maxLength":64,"nullable":true},"error_id":{"type":"string","pattern":"^[A-Z0-9]{4}-[A-Z0-9]{6}$","nullable":true,"description":"Human-readable correlation ID shown by the crash boundary."},"tenant_id":{"type":"string","maxLength":64,"nullable":true,"description":"Mandant; normal aus Token/Policy, optional im Body"},"context":{"type":"object","additionalProperties":true,"nullable":true,"description":"z. B. endpoint, module, http_status"}},"examples":{"minimal":{"summary":"Minimaler Report","value":{"code":"INTERNAL_ERROR","message":"Unerwarteter Fehler im Checkout"}},"extended":{"summary":"Erweiterter Report","value":{"code":"API_VALIDATION_FAILED","message":"Feld 'email' fehlt","details":{"field":"email","requirement":"required"},"actor_id":"user-123","trace_id":"trace-abc123","context":{"endpoint":"/api/checkout/create-payment-intent","module":"checkout","http_status":400}}}}},"ErrorResponse":{"type":"object","description":"Canonical legacy JSON error envelope emitted by `App\\ErrorResponse`. RFC7807 endpoints use `ProblemDetails` instead, but may also include legacy `code`, `message`, `requestId`, and `error` members.\n","required":["status","code","message","requestId","help_url"],"properties":{"status":{"type":"string","enum":["error"],"example":"error"},"code":{"type":"string","example":"VALIDATION_FAILED"},"message":{"type":"string","example":"Validation failed."},"details":{"type":"object","nullable":true,"additionalProperties":true},"error":{"type":"string","nullable":true,"description":"Legacy error identifier kept for older clients."},"reason":{"type":"string","nullable":true,"description":"Legacy reason identifier."},"requestId":{"type":"string","description":"Korrelations-ID der Anfrage"},"help_url":{"type":"string","example":"/api/docs/errors#validation-failed"},"debug":{"type":"string","nullable":true,"description":"Nur in Entwicklungsumgebungen vorhanden"}}},"Escrow":{"type":"object","required":["id","payerUserId","subject","amount","status"],"properties":{"id":{"type":"integer"},"payerUserId":{"type":"string"},"counterpartyTenantId":{"type":"string","nullable":true},"counterpartyUserId":{"type":"string","nullable":true},"counterpartyRef":{"type":"string","nullable":true},"agentId":{"type":"string","nullable":true},"subject":{"type":"string"},"amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$"},"status":{"type":"string","enum":["pending_approval","locked","released","refunded","disputed","cancelled"]},"deliveryEventType":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"}}},"EscrowCreateRequest":{"type":"object","required":["subject","amount"],"properties":{"subject":{"type":"string","example":"Synthetic delivery"},"amount":{"$ref":"#/components/schemas/PositiveMoney"},"payerUserId":{"type":"string","example":"payer-demo"},"counterpartyTenantId":{"type":"string","example":"tenant-demo-b"},"counterpartyUserId":{"type":"string","example":"payee-demo"},"counterpartyRef":{"type":"string","example":"synthetic-order-1"},"deliveryEventType":{"type":"string","example":"synthetic.delivery.completed"},"note":{"type":"string","example":"Synthetic escrow example"}}},"EscrowListResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Escrow"}}}},"EscrowResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Escrow"}}},"EscrowTransitionRequest":{"type":"object","properties":{"reason":{"type":"string","example":"Synthetic operator decision"}}},"EuOssComputedReport":{"type":"object","required":["tenant_id","year","quarter","period_start","period_end","seller_country","entries","totals","routing","warnings"],"properties":{"tenant_id":{"type":"string"},"year":{"type":"integer"},"quarter":{"type":"integer"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"seller_country":{"type":"string","pattern":"^[A-Z]{2}$"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/EuOssEntry"}},"totals":{"$ref":"#/components/schemas/EuOssTotals"},"routing":{"$ref":"#/components/schemas/EuOssRouting"},"warnings":{"type":"array","items":{"type":"string"}}}},"EuOssComputedReportResponse":{"$ref":"#/components/schemas/ComputedEnvelope"},"EuOssEntry":{"type":"object","required":["country_code","amount_net","vat_rate_percent","vat_rate_basis_points","vat_amount"],"properties":{"country_code":{"type":"string","pattern":"^[A-Z]{2}$"},"amount_net":{"$ref":"#/components/schemas/FixedMoney"},"vat_rate_percent":{"allOf":[{"$ref":"#/components/schemas/FixedPercent"}],"deprecated":true,"description":"Display-only compatibility value; use vat_rate_basis_points for arithmetic."},"vat_rate_basis_points":{"type":"integer","minimum":0,"description":"Exact VAT percent multiplied by 100."},"vat_amount":{"$ref":"#/components/schemas/FixedMoney"},"charged_vat_amount":{"$ref":"#/components/schemas/FixedMoney"},"vat_deviation":{"$ref":"#/components/schemas/FixedMoney"},"vat_deviation_flagged":{"type":"boolean"}}},"EuOssError":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"EuOssPersistedReport":{"allOf":[{"$ref":"#/components/schemas/EuOssReportSummary"},{"type":"object","required":["entries","warnings"],"properties":{"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/EuOssEntry"}},"warnings":{"type":"array","items":{"type":"string"}}}}]},"EuOssPersistedReportResponse":{"$ref":"#/components/schemas/PersistedEnvelope"},"EuOssQuarterRequest":{"type":"object","additionalProperties":false,"required":["year","quarter"],"properties":{"year":{"type":"integer","minimum":2020,"maximum":2100},"quarter":{"type":"integer","minimum":1,"maximum":4}}},"EuOssReportListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["items","generated_at"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EuOssReportSummary"}},"generated_at":{"type":"string","format":"date-time"}}}}},"EuOssReportSummary":{"type":"object","required":["id","tenant_id","year","quarter","status","total_net","total_vat"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"year":{"type":"integer"},"quarter":{"type":"integer"},"status":{"type":"string","enum":["draft","submitted","accepted"]},"submitted_at":{"type":"string","nullable":true},"oss_reference":{"type":"string","nullable":true},"total_net":{"$ref":"#/components/schemas/FixedMoney"},"total_vat":{"$ref":"#/components/schemas/FixedMoney"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"EuOssRouting":{"type":"object","required":["oss_active","distance_sales","declared_in_oss","declared_in_ustva"],"properties":{"oss_active":{"type":"boolean"},"distance_sales":{"type":"string","enum":["oss","domestic_ustva"]},"declared_in_oss":{"type":"boolean"},"declared_in_ustva":{"type":"boolean"}}},"EuOssThresholdMonitor":{"type":"object","required":["tenant_id","window_start","window_end","total_eur","threshold_eur","obligated","by_country","recommended_action"],"properties":{"tenant_id":{"type":"string"},"window_start":{"type":"string","format":"date"},"window_end":{"type":"string","format":"date"},"total_eur":{"$ref":"#/components/schemas/FixedMoney"},"threshold_eur":{"$ref":"#/components/schemas/FixedMoney"},"obligated":{"type":"boolean"},"by_country":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FixedMoney"}},"recommended_action":{"type":"string","enum":["no_action","warn_owner","switch_to_oss"]}}},"EuOssThresholdMonitorResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/EuOssThresholdMonitor"}}},"EuOssThresholdStatus":{"type":"object","required":["tenant_id","year","total_distance_sales","threshold","obligated"],"properties":{"tenant_id":{"type":"string"},"year":{"type":"integer"},"total_distance_sales":{"$ref":"#/components/schemas/FixedMoney"},"threshold":{"$ref":"#/components/schemas/FixedMoney"},"obligated":{"type":"boolean"}}},"EuOssThresholdStatusResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/EuOssThresholdStatus"}}},"EuOssTotals":{"type":"object","required":["net","vat","net_string","vat_string"],"properties":{"net":{"$ref":"#/components/schemas/FixedMoney"},"vat":{"$ref":"#/components/schemas/FixedMoney"},"net_string":{"$ref":"#/components/schemas/FixedMoney"},"vat_string":{"$ref":"#/components/schemas/FixedMoney"}}},"EuOssVatRate":{"type":"object","required":["country_code","rate_type","rate_percent","rate_basis_points","valid_from"],"properties":{"country_code":{"type":"string","pattern":"^[A-Z]{2}$"},"rate_type":{"type":"string","enum":["standard","reduced_1","reduced_2","super_reduced"]},"rate_percent":{"allOf":[{"$ref":"#/components/schemas/FixedPercent"}],"deprecated":true,"description":"Display-only compatibility value; use rate_basis_points for arithmetic."},"rate_basis_points":{"type":"integer","minimum":0,"description":"Exact VAT percent multiplied by 100."},"valid_from":{"type":"string","format":"date"},"valid_to":{"type":"string","format":"date","nullable":true}}},"EuOssVatRateListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["items","country_count","generated_at"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/EuOssVatRate"}},"country_count":{"type":"integer"},"generated_at":{"type":"string","format":"date-time"}}}}},"EuerEconomicBucket":{"type":"object","required":["net","vat","gross","count","by_rate","rc13b"],"properties":{"net":{"type":"integer","description":"Net amount in cents"},"vat":{"type":"integer","description":"Ordinary collected/input VAT only, not self-assessed reverse charge"},"gross":{"type":"integer","description":"Supplier/customer amount in cents, without reverse-charge self-assessment"},"count":{"type":"integer"},"by_rate":{"type":"object","description":"Booked integer-percent keys or unknown; never inferred from net/VAT/account","additionalProperties":{"type":"object","properties":{"net":{"type":"integer"},"vat":{"type":"integer"},"gross":{"type":"integer"},"count":{"type":"integer"}}}},"rc13b":{"type":"object","required":["base","output","input"],"properties":{"base":{"type":"integer"},"output":{"type":"integer"},"input":{"type":"integer"}}}}},"EuerEconomicEntriesResponse":{"type":"object","required":["tenant_id","period","type","list","entries","pagination","basis","source_population","source_completeness"],"properties":{"tenant_id":{"type":"string"},"period":{"type":"object","additionalProperties":true},"type":{"type":"string","enum":["income","expense"]},"list":{"type":"string","enum":["gebucht","restliste"]},"basis":{"type":"string","enum":["bestaetigt","alle_gebuchten"]},"source_population":{"type":"string","enum":["double_entry_ledger","single_entry","legacy_restliste"]},"source_completeness":{"type":"string","enum":["UNVERIFIED"]},"source_warning_codes":{"type":"array","items":{"type":"string"}},"entry_totals":{"$ref":"#/components/schemas/EuerEconomicTotals"},"entries":{"type":"array","items":{"type":"object","required":["id","type","date","gross","source","evidence_target"],"properties":{"id":{"type":"string"},"type":{"type":"string","enum":["income","expense"]},"date":{"type":"string"},"net":{"type":"string","description":"Canonical decimal money, optional only on residual/legacy older surfaces"},"vat":{"type":"string"},"gross":{"type":"string"},"vat_rate_percent":{"type":"integer","nullable":true},"vat_status":{"type":"string"},"kind":{"type":"string"},"event":{"type":"string"},"booking_ids":{"type":"array","items":{"type":"string"}},"source_refs":{"type":"array","items":{"type":"string"}},"rc13b_base_cents":{"type":"integer"},"rc13b_output_cents":{"type":"integer"},"rc13b_input_cents":{"type":"integer"},"source":{"type":"object","additionalProperties":true,"properties":{"kind":{"type":"string","enum":["bank_import","invoice","manual","ledger","unknown"]},"record_href":{"type":"string","nullable":true,"description":"Existing canonical DocumentLinks graph route for the actual ledger booking target; no inferred journal focus"},"booking_ids":{"type":"array","items":{"type":"string"}}}},"evidence_target":{"type":"object","nullable":true,"additionalProperties":true}}}},"pagination":{"type":"object","required":["limit","offset","total","has_more"],"properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}}}}},"EuerEconomicTotals":{"type":"object","required":["income","expense"],"properties":{"income":{"$ref":"#/components/schemas/EuerEconomicBucket"},"expense":{"$ref":"#/components/schemas/EuerEconomicBucket"}}},"EurReport":{"type":"object","required":["year","tenant_id","generated_at","summary","months","income_by_category","expenses_by_category","finalization"],"properties":{"year":{"type":"integer"},"tenant_id":{"type":"string"},"generated_at":{"type":"string"},"finalization":{"$ref":"#/components/schemas/FinalizationStatus"},"summary":{"type":"object","required":["total_income_gross","total_income_net","total_income_vat","total_expenses_gross","total_expenses_net","total_expenses_vat","profit_net","vat_payable"],"properties":{"total_income_gross":{"type":"number"},"total_income_net":{"type":"number"},"total_income_vat":{"type":"number"},"total_expenses_gross":{"type":"number"},"total_expenses_net":{"type":"number"},"total_expenses_vat":{"type":"number"},"profit_net":{"type":"number"},"vat_payable":{"type":"number"}}},"entry_totals":{"$ref":"#/components/schemas/EuerEconomicTotals"},"basis":{"type":"string","enum":["bestaetigt","alle_gebuchten"]},"source":{"type":"string","enum":["double_entry_ledger","single_entry"]},"source_completeness":{"type":"string","enum":["UNVERIFIED"]},"source_warning_codes":{"type":"array","items":{"type":"string"}},"months":{"type":"array","items":{"type":"object","required":["month","month_name","income","expenses","profit"],"properties":{"month":{"type":"integer"},"month_name":{"type":"string"},"income":{"type":"object","required":["gross","net","vat","count"],"properties":{"gross":{"type":"number"},"net":{"type":"number"},"vat":{"type":"number"},"count":{"type":"integer"}}},"expenses":{"type":"object","required":["gross","net","vat","count"],"properties":{"gross":{"type":"number"},"net":{"type":"number"},"vat":{"type":"number"},"count":{"type":"integer"}}},"profit":{"type":"number"}}}},"income_by_category":{"type":"array","items":{"type":"object","required":["category","gross","net","vat","count"],"properties":{"category":{"type":"string"},"gross":{"type":"number"},"net":{"type":"number"},"vat":{"type":"number"},"count":{"type":"integer"}}}},"expenses_by_category":{"type":"array","items":{"type":"object","required":["category","gross","net","vat","count"],"properties":{"category":{"type":"string"},"gross":{"type":"number"},"net":{"type":"number"},"vat":{"type":"number"},"count":{"type":"integer"}}}},"by_business_division":{"type":"array","description":"Geschaeftsbereichs-Aufteilung derselben EUeR-Zeilen. Der Bereich ist eine Auswertungsdimension, kein eigenes Steuersubjekt: die Summe ueber alle Buckets ist exakt das ungeschnittene Gesamtergebnis. division_id null = Zeilen ohne zugeordneten Geschaeftsbereich.\n","items":{"type":"object","required":["division_id","division_name","income","expenses","profit_net","vat_payable"],"properties":{"division_id":{"type":"integer","nullable":true},"division_name":{"type":"string","nullable":true},"income":{"type":"object","required":["gross","net","vat","count"],"properties":{"gross":{"type":"number"},"net":{"type":"number"},"vat":{"type":"number"},"count":{"type":"integer"}}},"expenses":{"type":"object","required":["gross","net","vat","count"],"properties":{"gross":{"type":"number"},"net":{"type":"number"},"vat":{"type":"number"},"count":{"type":"integer"}}},"profit_net":{"type":"number"},"vat_payable":{"type":"number"}}}}}},"EvaluateRulesInput":{"type":"object","required":["bookings"],"properties":{"bookings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"check_in":{"type":"string","format":"date"},"check_out":{"type":"string","format":"date"},"guest_name":{"type":"string","x-pii":"contact"},"guest_email":{"type":"string","x-pii":"contact"},"room_type":{"type":"string"}}}},"today":{"type":"string","format":"date","description":"Override for testing (defaults to server date)"}}},"EvaluateRulesOutput":{"type":"object","properties":{"success":{"type":"boolean"},"actions":{"type":"array","items":{"type":"object","properties":{"action_type":{"type":"string"},"booking_id":{"type":"string"},"rule_id":{"type":"integer"},"rule_name":{"type":"string"},"priority":{"type":"string","enum":["normal","urgent"]},"creates_task":{"type":"boolean"},"draft_payload":{"type":"object"},"task":{"type":"object"}}}},"stats":{"type":"object","properties":{"bookings_evaluated":{"type":"integer"},"rules_matched":{"type":"integer"},"actions_generated":{"type":"integer"}}}}},"Event":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"integer","nullable":true},"voyage_id":{"type":"integer","nullable":true},"event_type":{"$ref":"#/components/schemas/EventType"},"custom_label":{"type":"string","maxLength":120,"nullable":true},"timestamp":{"type":"string","format":"date-time"},"latitude":{"type":"number","nullable":true},"longitude":{"type":"number","nullable":true},"accuracy":{"type":"number","nullable":true},"notes":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"EventCreateRequest":{"type":"object","required":["event_type","timestamp"],"properties":{"event_type":{"$ref":"#/components/schemas/EventType"},"timestamp":{"type":"string","format":"date-time"},"voyage_id":{"type":"integer","minimum":1,"nullable":true},"custom_label":{"type":"string","maxLength":120,"nullable":true,"description":"Required when event_type is `custom`."},"latitude":{"type":"number","minimum":-90,"maximum":90,"nullable":true},"longitude":{"type":"number","minimum":-180,"maximum":180,"nullable":true},"accuracy":{"type":"number","nullable":true},"notes":{"type":"string","nullable":true}}},"EventDeltaRequest":{"type":"object","properties":{"employee_ref":{"type":"string","nullable":true},"minutes_spent":{"type":"integer","minimum":0},"quantity_good":{"type":"integer","minimum":0},"quantity_scrap":{"type":"integer","minimum":0},"cost_delta_cents":{"type":"integer","minimum":0},"occurred_at":{"type":"string","nullable":true}}},"EventEnvelope":{"type":"object","description":"Event-Hülle (Shared-Eventing-Core)","required":["id","tenant_id","event_type","event_version","schema_ref","payload","created_at"],"properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string","minLength":1},"event_type":{"type":"string","minLength":1},"event_version":{"type":"integer","minimum":1},"schema_ref":{"type":"string","minLength":1},"payload":{"type":"object","additionalProperties":true},"actor_id":{"type":"string","nullable":true},"trace_id":{"type":"string","nullable":true},"idempotency_key":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"type":{"type":"string","nullable":true,"description":"Legacy/Alias von event_type (optional)"},"occurredAt":{"type":"string","format":"date-time","nullable":true,"description":"Legacy/Alias von created_at (optional)"}}},"EventInvitation":{"type":"object","additionalProperties":true},"EventListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"EventLogEntry":{"type":"object","properties":{"id":{"type":"string"},"connection_id":{"type":"string"},"direction":{"type":"string","enum":["inbound","outbound"]},"event_type":{"type":"string"},"partner_type":{"type":"string"},"status":{"type":"string","enum":["delivered","failed","skipped","received","rejected","accepted"]},"detail":{"type":"string"},"created_at":{"type":"string"}}},"EventRequest":{"allOf":[{"$ref":"#/components/schemas/EventDeltaRequest"},{"type":"object","required":["work_order_id","operation_ref"],"properties":{"work_order_id":{"type":"string"},"operation_ref":{"type":"string"}}}]},"EventResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Event"}}},"EventSession":{"type":"object","additionalProperties":true},"EventTrack":{"type":"object","additionalProperties":true},"EventType":{"type":"string","description":"Application-validated maneuver event type.","enum":["main-up","main-down","jib-up","jib-down","genoa-up","genoa-down","spinnaker-up","spinnaker-down","reef-1","reef-2","reef-3","reef-out","engine-on","engine-off","anchor-down","anchor-up","departure","landfall","tack","gybe","mob","crew-change","custom"]},"EventVenue":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"address":{"type":"string"},"capacity":{"type":"integer"},"rooms":{"type":"array","items":{"type":"object","additionalProperties":true}},"amenities":{"type":"object","additionalProperties":true},"floor_plan_url":{"type":"string","nullable":true},"availability":{"type":"object","additionalProperties":true}}},"EventsError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"Evidence":{"type":"string","enum":["belegt","nur_vorschlag","nur_abgelehnt","keine_verknuepfung"]},"EvidenceItem":{"type":"object","description":"ONE proof in a chain. No file path and no storage_path is ever returned — the client downloads through GET /api/document-manager/{id}/download, which it builds from `document.id`, so the authorisation check on that route cannot be routed around.\n","properties":{"linkId":{"type":"string","nullable":true,"description":"Null for a bank movement that proves a booking without any document hanging on it: there is no link row, and inventing one would claim a human decision nobody made.\n"},"kind":{"$ref":"#/components/schemas/EvidenceKind"},"via":{"type":"string","enum":["direkt","herkunft"],"description":"direkt = filed against this record; herkunft = reached through the booking's origin (the invoice, purchase invoice or bank movement it was made from). The distinction matters: \"the invoice this posting came from is documented\" is a weaker statement about THIS posting.\n"},"status":{"type":"string","nullable":true,"enum":["bestaetigt","vorgeschlagen","pruefliste","abgelehnt"]},"origin":{"type":"string","nullable":true,"enum":["manuell","automatisch"]},"confidence":{"type":"integer","nullable":true,"minimum":0,"maximum":100},"createdAt":{"type":"string","nullable":true},"decidedAt":{"type":"string","nullable":true},"documentId":{"type":"string","nullable":true},"document":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LinkDocument"}]},"orphan":{"type":"boolean","description":"True when the link names a document the store has no usable row for — absent, another tenant's, or soft-deleted. The item is still shown — hiding a broken link would be its own lie — but it proves nothing: its kind stays `other`, `document` is null, and it does not satisfy any expected kind.\n"},"counterpartType":{"type":"string","enum":["invoice","invoice_item","income","expense","purchase_invoice","e_invoice_import_entry","bank_import","bank_transaction","booking","accommodation_booking","time_entry","rental_agreement","skipper_logbook_entry","skipper_logbook_trip","crew_toern_offer","kanban_card","reference_draft"]},"counterpartId":{"type":"string"},"counterpart":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LinkTarget"}],"description":"Null when the record has meanwhile disappeared or has no candidate loader"}}},"EvidenceKind":{"type":"string","description":"WHAT KIND of proof a link contributes. Closed vocabulary — `documents.category` is free text and has drifted in the field, so the raw category is mapped onto one of these five. Which categories map onto which kind is tenant-configurable (config.php `evidence.category_kind_map`); the kinds themselves are not.\ninvoice = an invoice document (Rechnung, Quittung, Beleg); bank_transfer = a bank movement, i.e. proof the money actually moved; overview = an Auswertung/report showing the figure in context; source_export = the raw import the figure came from (Kontoauszug, CAMT, MT940); other = evidence exists but names no recognised kind — it is shown, and it never satisfies an expectation.\n","enum":["invoice","bank_transfer","overview","source_export","other"]},"EvidenceRequest":{"type":"object","required":["evidence_type","doc_ref"],"properties":{"evidence_type":{"type":"string","enum":["identity_doc","ticket_link","email_confirmation"]},"doc_ref":{"type":"string"}}},"EvidenceSummaryItem":{"type":"object","description":"The Beweiskette of ONE record, condensed to what a list row needs. Every requested id yields one of these, including ids with no evidence at all — an absent key would be one `??` away from being read as \"fine\".\n","properties":{"targetId":{"type":"string"},"proofState":{"type":"string","enum":["belegt","nur_vorschlag","nur_abgelehnt","keine_verknuepfung"],"description":"The Belegzustand, unchanged in meaning from GET /api/document-links/review: only a CONFIRMED link produces `belegt`. Derived (herkunft) links of a booking are folded in; a bank movement without any document is NOT, because the Belegpflicht is a statement about documents.\n"},"kinds":{"type":"object","additionalProperties":{"type":"integer"},"description":"Kind => number of CONFIRMED proofs of that kind. A proposal is never counted here, so an unreviewed machine guess cannot make a chain read as complete.\n"},"confirmedCount":{"type":"integer","description":"Sum of `kinds`"},"openCount":{"type":"integer","description":"Links awaiting a decision (vorgeschlagen + pruefliste)"},"orphanCount":{"type":"integer","description":"Links with no USABLE document row — absent, belonging to another tenant, or SOFT-DELETED (`documents.deleted_at`). This installation has two upload paths and only one of them writes a `documents` row, so a link can point at a file this API cannot serve; and a Beleg the owner threw away is shown nowhere else in the product, so it cannot be handed to a Pruefer either. Such a link counts towards NOTHING — not `kinds`, not `confirmedCount`, not `proofState`, not `complete` — because a position reported as `belegt` on the strength of a document nobody can open is worse than an open gap. It is reported here so the defect is visible instead of silently dropped. Always 0 on an installation that has no `documents` table at all: there an orphan is undetectable, and 0 means \"not accused\", not \"verified\".\n"},"missingKinds":{"type":"array","items":{"$ref":"#/components/schemas/EvidenceKind"},"description":"Expected kinds that no confirmed proof supplies"},"complete":{"type":"boolean","description":"True exactly when `missingKinds` is empty"}}},"Execution":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"job_id":{"type":"integer","example":1},"status":{"type":"string","enum":["running","completed","failed"],"example":"completed"},"started_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time","nullable":true},"duration_ms":{"type":"integer","nullable":true,"description":"Execution duration in milliseconds","example":1250},"output":{"type":"string","nullable":true,"description":"Handler output or result message"},"error_message":{"type":"string","nullable":true,"description":"Error message if execution failed"},"created_at":{"type":"string","format":"date-time"}}},"ExecutionCreate":{"type":"object","required":["job_id"],"properties":{"job_id":{"type":"integer","example":1},"status":{"type":"string","enum":["running","completed","failed"],"default":"running"},"started_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time","nullable":true},"duration_ms":{"type":"integer","nullable":true},"output":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true}}},"ExpectedSchemaFingerprint":{"type":"object","additionalProperties":false,"required":["version","sha256","table_count"],"description":"Canonical source-manifest fingerprint, derived independently from the exact pin without a database. Not proof of measured equality by itself.","properties":{"version":{"type":"integer","enum":[1]},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"table_count":{"type":"integer","minimum":1}}},"ExpenseCreate":{"type":"object","required":["amount","currency_code"],"properties":{"vendor_name":{"type":"string"},"description":{"type":"string"},"amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"vat_rate":{"type":"integer","minimum":0,"maximum":100},"currency_code":{"type":"string","pattern":"^[A-Z]{3}$"},"invoice_number":{"type":"string"},"account_fingerprint":{"type":"string","description":"SHA-256 of the compact own-account IBAN, prefixed sha256; empty when unavailable. Never derive from the visible mask."},"booking_date":{"type":"string","format":"date"},"payment_date":{"type":"string","format":"date"},"payment_status":{"type":"string"},"category":{"type":"string"},"business_division_id":{"type":"integer"},"fiscal_year":{"type":"integer"},"notes":{"type":"string"}}},"ExplainStep":{"type":"object","description":"{ id, kind: source|setting|input|line|subtotal|discount|tax|total|info, label, valueCents: int|null, formula?, operator?: + - = , source?: { type, id, label?, href? }, redacted?: true }","additionalProperties":true},"Explanation":{"type":"object","description":"{ type, id, field, label, currency, lang, status: explained|no_source, amountCents|null, recomputedCents|null, consistent: bool|null, highlightStep|null, noSource|null, steps: [ExplainStep], anomalies: [{ code, severity: warning|info, message, expectedCents?, actualCents?, stepId? }], hiddenSteps, text: { source: template|local-model, summary, model?, template?, localModel? } }","additionalProperties":true},"ExportManifest":{"type":"object","required":["metadata","entries"],"properties":{"metadata":{"type":"object","required":["export_date","system_version","tenant_id","chain_start","chain_end","total_entries","root_hash","chain_valid","hash_algorithm","gobd_compliant"],"properties":{"export_date":{"type":"string","format":"date-time","description":"UTC ISO-8601 timestamp of export generation"},"system_version":{"type":"string","example":"1.0.0"},"tenant_id":{"type":"string"},"chain_start":{"type":"string","format":"date-time","nullable":true,"description":"Timestamp of the first entry"},"chain_end":{"type":"string","format":"date-time","nullable":true,"description":"Timestamp of the last entry"},"total_entries":{"type":"integer"},"root_hash":{"type":"string","nullable":true,"description":"Hash of the most recent entry (chain tip)"},"chain_valid":{"type":"boolean","description":"Whether the chain was verified as intact at export time"},"hash_algorithm":{"type":"string","example":"SHA-256"},"gobd_compliant":{"type":"boolean","example":true},"retention_metadata":{"type":"object","description":"#12036/#36540: GoBD §147 AO 10-year retention proof emitted server-side for tax auditors.","properties":{"earliest_entry_date":{"type":"string","format":"date-time","nullable":true,"description":"Timestamp of the earliest entry in the export"},"latest_export_date":{"type":"string","format":"date-time","nullable":true,"description":"Timestamp of this export"},"retention_end_date":{"type":"string","format":"date-time","nullable":true,"description":"earliest_entry_date + 10 years (retention obligation end)"}}}}},"entries":{"type":"array","items":{"$ref":"#/components/schemas/AuditEntry"}}}},"ExportRequest":{"type":"object","required":["report_type"],"properties":{"report_type":{"type":"string","enum":["eur","revenue","invoice_monitor","configurations","eur_details","journal","bank_transactions","document_links","filings"]},"filters":{"type":"object"},"rows":{"type":"array","maxItems":100000,"items":{"type":"object","additionalProperties":{"nullable":true}}}}},"ExtErpConnector_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"ExtractionRunCoverage":{"type":"object","description":"How much of the tenant's archive this run actually reached (#38510). Reason codes and integers only: a storage directory name is another tenant's identifier and a file name is the document itself, so neither ever appears here.","required":["storage_roots_scanned","candidates_seen","candidates_processed","candidates_skipped","skipped","unreached_storage","complete"],"properties":{"storage_roots_scanned":{"type":"integer","minimum":0,"description":"Storage directories proven to belong to this canonical tenant."},"candidates_seen":{"type":"integer","minimum":0},"candidates_processed":{"type":"integer","minimum":0},"candidates_skipped":{"type":"integer","minimum":0},"skipped":{"type":"array","description":"Candidates seen but not processed, grouped by reason.","items":{"type":"object","required":["reason","documents"],"properties":{"reason":{"type":"string","enum":["limit_bound","ocr_unavailable"]},"documents":{"type":"integer","minimum":1}}}},"unreached_storage":{"type":"array","description":"Directories under the archive that could not be proven to belong (or not belong) to this tenant. They are never read, only counted.","items":{"type":"object","required":["reason","storage_directories"],"properties":{"reason":{"type":"string","enum":["tenant_unresolvable","tenant_alias_resolution_unavailable","legacy_document_without_tenant","storage_root_unreadable"]},"storage_directories":{"type":"integer","minimum":1}}}},"complete":{"type":"boolean","description":"true only when every storage directory was attributed AND every candidate was processed. A 200 response always carries true."}}},"FallbackRatio":{"type":"object","required":["before_basis_points","after_basis_points","before_fallback_minor","after_fallback_minor","before_total_minor","after_total_minor"],"properties":{"before_basis_points":{"type":"integer","minimum":0,"maximum":10000},"after_basis_points":{"type":"integer","minimum":0,"maximum":10000},"before_fallback_minor":{"type":"integer","minimum":0},"after_fallback_minor":{"type":"integer","minimum":0},"before_total_minor":{"type":"integer","minimum":0},"after_total_minor":{"type":"integer","minimum":0}}},"Faq":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"question":{"type":"string"},"answer":{"type":"string"},"category":{"type":"string"},"sort_order":{"type":"integer"},"is_published":{"type":"integer"},"legacy_id":{"type":"string","nullable":true}}},"FaqCreate":{"type":"object","required":["question","answer"],"properties":{"question":{"type":"string"},"answer":{"type":"string"},"category":{"type":"string","default":"general"},"sort_order":{"type":"integer","default":0},"is_published":{"type":"boolean","default":false},"legacy_id":{"type":"string"}}},"FaqUpdate":{"type":"object","properties":{"question":{"type":"string"},"answer":{"type":"string"},"category":{"type":"string"},"sort_order":{"type":"integer"},"is_published":{"type":"boolean"},"legacy_id":{"type":"string"}}},"FeatureRequest":{"type":"object","properties":{"id":{"type":"string"},"submitter_id":{"type":"string","nullable":true},"submitter_name":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"category":{"type":"string"},"visibility":{"type":"string","enum":["public","private"]},"status":{"type":"string","enum":["open","planned","in_progress","done","rejected"]},"priority":{"type":"string"},"admin_response":{"type":"string"},"linked_version":{"type":"string"},"vote_count":{"type":"integer"},"user_voted":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"FeatureRequestCreate":{"type":"object","required":["title"],"properties":{"title":{"type":"string","minLength":1,"pattern":"\\S","description":"Trimmed before storage; must not be blank."},"description":{"type":"string","default":""},"category":{"type":"string","default":""},"submitter_name":{"type":"string","default":""},"visibility":{"type":"string","default":"public","description":"public or private; other values fall back to public."},"tenant_id":{"type":"string","description":"Ignored; the verified authentication context always owns the tenant."},"priority":{"type":"string","description":"Accepted for compatibility; ignored on create (always medium)."},"admin_response":{"type":"string","description":"Accepted for compatibility; ignored on create (always empty)."},"linked_version":{"type":"string","description":"Accepted for compatibility; ignored on create (always empty)."}}},"FeatureRequestItemResponse":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/FeatureRequest"}}},"FeatureRequestListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FeatureRequest"}}}},"FeatureRequests_Error":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"}}},"FeatureRequests_SuccessResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true}}},"FeatureUsageBatch":{"type":"object","additionalProperties":false,"required":["v","events"],"properties":{"v":{"type":"integer","enum":[1]},"events":{"type":"array","minItems":1,"maxItems":50,"items":{"$ref":"#/components/schemas/FeatureUsageEvent"}}}},"FeatureUsageEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","additionalProperties":true}}},"FeatureUsageEvent":{"type":"object","additionalProperties":false,"required":["app","feature","kind","mode","outcome","at"],"properties":{"app":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{0,63}$","example":"invoicing"},"feature":{"type":"string","pattern":"^[a-z0-9][a-z0-9._:/-]{0,119}$","example":"invoicing.create-invoice"},"kind":{"type":"string","enum":["app","view","widget","action","command","demo","signup"]},"mode":{"type":"string","enum":["demo","live"]},"outcome":{"type":"string","enum":["ok","denied","error","cancelled"]},"step":{"type":"string","enum":["preview","confirm"]},"at":{"type":"string","format":"date-time"}}},"FeatureUsageIngestResult":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"accepted":{"type":"integer"},"scope":{"type":"string","enum":["tenant","public","opted_out","portal_ignored","unmeasured"]}}}}},"FederatedIntelligence_Envelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object"}}},"FederatedIntelligence_ErrorEnvelope":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"FeedMeta":{"type":"object","properties":{"next_after":{"type":"integer","format":"int64","description":"Cursor for the next pull (max seq of this page)"},"has_more":{"type":"boolean"},"head_seq":{"type":"integer","format":"int64"},"protocol_version":{"type":"integer","enum":[1]},"schema_manifest_hash":{"type":"string","nullable":true,"description":"sha256:<hex> of the AdminMigrations drift manifest"},"schema_effect_hash":{"type":"string","nullable":true,"description":"Bounded sha256 fingerprint of live tables, columns, indexes, and foreign keys"}}},"FeedbackCreateRequest":{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/FeedbackType"},"score":{"type":"integer","minimum":0,"maximum":10,"nullable":true},"text":{"type":"string","maxLength":5000,"nullable":true},"url":{"type":"string","maxLength":2048,"nullable":true},"source":{"type":"string","enum":["widget","api","import","email"],"default":"widget"},"context_json":{"type":"object","nullable":true,"additionalProperties":true},"screenshot":{"type":"string","description":"Base64-kodiertes PNG, max 300 KB","nullable":true}}},"FeedbackCreateResponse":{"type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string","example":"created"}}},"FeedbackEntry":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"integer"},"user_id":{"type":"string","nullable":true},"type":{"$ref":"#/components/schemas/FeedbackType"},"score":{"type":"integer","nullable":true},"sentiment":{"type":"string","enum":["positive","neutral","negative"],"nullable":true},"text":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"context_json":{"type":"object","nullable":true},"resolved_at":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"FeedbackListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FeedbackEntry"}},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"FeedbackSentimentDistribution":{"type":"object","properties":{"total":{"type":"integer"},"rated_total":{"type":"integer"},"unrated_total":{"type":"integer"},"distribution":{"type":"object","properties":{"positive":{"type":"integer"},"neutral":{"type":"integer"},"negative":{"type":"integer"}}}}},"FeedbackSummary":{"type":"object","properties":{"total":{"type":"integer"},"by_type":{"type":"object","additionalProperties":{"type":"integer"}},"nps_score":{"type":"number","nullable":true},"csat_score":{"type":"number","nullable":true},"unresolved_bugs":{"type":"integer"},"last_30_days":{"type":"integer"}}},"FeedbackType":{"type":"string","enum":["nps","csat","bug","review","feature_request","support"]},"Fehlliste":{"type":"object","required":["tenant_id","jahr","positionen","bilanz"],"properties":{"tenant_id":{"type":"string"},"jahr":{"type":"integer"},"rechtsform":{"type":["string","null"],"description":"Canonical legal-form group that selected this catalog."},"positionen":{"type":"array","items":{"$ref":"#/components/schemas/Position"}},"bilanz":{"$ref":"#/components/schemas/Bilanz"}}},"FewoProvisioningGuardCounts":{"type":"object","additionalProperties":false,"required":["ok","scope","read_only","target","counts"],"properties":{"ok":{"type":"boolean","enum":[true]},"read_only":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["fewo-provisioning-guard-counts"]},"target":{"type":"object","additionalProperties":false,"required":["site_name","base_url_host","git_commit"],"properties":{"site_name":{"type":"string","enum":["itt-m2"]},"base_url_host":{"type":"string","enum":["beta.m2.it-tremmel.de"]},"git_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"}}},"counts":{"type":"object","additionalProperties":false,"description":"Current snapshot, not simulated post-insert state. TRUE/UNKNOWN retain SQL three-valued semantics. All metrics are null only when official compatibility says not applicable.","required":["applicable","owner_count","slug_conflict_count","id_conflict_count","config_conflict_count","resolved_tenant_count","resolved_config_count","owner_present","contract_valid","contract_unknown","resolution_valid","resolution_unknown"],"properties":{"applicable":{"type":"boolean"},"owner_count":{"type":"integer","minimum":0,"nullable":true},"slug_conflict_count":{"type":"integer","minimum":0,"nullable":true},"id_conflict_count":{"type":"integer","minimum":0,"nullable":true},"config_conflict_count":{"type":"integer","minimum":0,"nullable":true},"resolved_tenant_count":{"type":"integer","minimum":0,"nullable":true},"resolved_config_count":{"type":"integer","minimum":0,"nullable":true},"owner_present":{"type":"boolean","nullable":true},"contract_valid":{"type":"boolean","nullable":true},"contract_unknown":{"type":"boolean","nullable":true},"resolution_valid":{"type":"boolean","nullable":true},"resolution_unknown":{"type":"boolean","nullable":true}}}}},"FewoSiteModeNoticeSet":{"type":"object","description":"Plain-text notice per language; absent languages use the website default.","properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"FileDescriptor":{"type":"object","required":["sha256","size"],"additionalProperties":false,"properties":{"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"size":{"type":"integer","format":"int64","minimum":0}}},"FileIntegrityError":{"type":"object","required":["ok","code"],"properties":{"ok":{"type":"boolean","enum":[false]},"code":{"type":"string"}},"additionalProperties":false},"FileIntegrityEvidence":{"type":"object","required":["path","status","role"],"properties":{"path":{"type":"string"},"status":{"type":"string","enum":["ok","missing","modified","unexpected"]},"role":{"type":"string"}},"additionalProperties":false},"FileIntegrityPaths":{"type":"object","required":["paths"],"properties":{"paths":{"type":"array","minItems":1,"maxItems":25,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":512}}},"additionalProperties":false},"FileIntegrityPreview":{"type":"object","required":["ok","paths","token","expires_at"],"additionalProperties":false,"properties":{"ok":{"type":"boolean","enum":[true]},"paths":{"type":"array","minItems":1,"maxItems":25,"uniqueItems":true,"items":{"type":"string"}},"token":{"type":"string","minLength":100,"maxLength":256,"pattern":"^[0-9]+\\.[a-f0-9]{32}\\.[a-f0-9]{64}$"},"expires_at":{"type":"string","format":"date-time"}}},"FileIntegrityRepairRequest":{"type":"object","required":["paths","confirmation_token"],"additionalProperties":false,"properties":{"paths":{"type":"array","minItems":1,"maxItems":25,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":512}},"confirmation_token":{"type":"string","minLength":100,"maxLength":256,"pattern":"^[0-9]+\\.[a-f0-9]{32}\\.[a-f0-9]{64}$"}}},"FileIntegrityRepairResult":{"type":"object","required":["ok","repaired"],"additionalProperties":false,"properties":{"ok":{"type":"boolean","enum":[true]},"repaired":{"type":"array","minItems":1,"maxItems":25,"uniqueItems":true,"items":{"type":"object","required":["path","backup"],"additionalProperties":false,"properties":{"path":{"type":"string"},"backup":{"type":"string"}}}}}},"FileIntegrityScan":{"type":"object","required":["ok","release","counts","evidence"],"properties":{"ok":{"type":"boolean","enum":[true]},"release":{"type":"string"},"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"evidence":{"type":"array","maxItems":10000,"items":{"$ref":"#/components/schemas/FileIntegrityEvidence"}}}},"FileMirrorManifest":{"type":"object","required":["protocol","schema","site_id","generation","previous_generation","file_count","total_bytes","files","tombstones"],"additionalProperties":false,"properties":{"protocol":{"type":"string","enum":["itt-file-mirror-v1"]},"schema":{"type":"integer","enum":[1]},"site_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,63}$"},"generation":{"type":"string","pattern":"^[0-9a-f]{64}$"},"previous_generation":{"type":"string","nullable":true,"pattern":"^[0-9a-f]{64}$"},"file_count":{"type":"integer","minimum":0},"total_bytes":{"type":"integer","format":"int64","minimum":0},"files":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FileDescriptor"}},"tombstones":{"type":"array","items":{"type":"string"}}}},"FileSync_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"Filing":{"type":"object","required":["filing_type","applicable","applicability_reason","readiness","missing_stations"],"properties":{"filing_type":{"type":"string","enum":["USt","EÜR","ESt","KSt","GewSt","LSt"]},"applicable":{"type":"boolean"},"applicability_reason":{"type":"string"},"readiness":{"type":"string","enum":["not_applicable","blocked","ready"]},"missing_stations":{"type":"array","items":{"type":"integer","minimum":1,"maximum":5}}}},"FillerRequest":{"type":"object","required":["grams"],"properties":{"grams":{"type":"integer","minimum":0,"example":1000,"description":"Tatsaechlich eingelegte Filler-Menge in Gramm (z.B. Trockeneis,\nGel-Pack). Wird gegen `filler.target_g` +/- Toleranz verglichen.\n"},"override":{"type":"boolean","default":false}}},"FillerResponse":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/PickSessionState"},"tolerance":{"$ref":"#/components/schemas/Tolerance"},"target_g":{"type":"integer","example":1000},"actual_g":{"type":"integer","example":1010},"delta_g":{"type":"integer","example":10}}},"FinalizationCounts":{"type":"object","required":["finalized","pending","paid_unfinalized","other"],"properties":{"finalized":{"type":"integer","description":"posted/finalized rows"},"pending":{"type":"integer","description":"unpaid rows a period-close would flip"},"paid_unfinalized":{"type":"integer","description":"paid rows a period-close would flip"},"other":{"type":"integer","description":"remaining statuses (overdue, cancelled, ...)"}}},"FinalizationStatus":{"type":"object","description":"Finalization state of the fiscal range (pure read — report GETs never finalize). Explicit finalization happens via the income/expenses finalize endpoints or the AccountingAudit period-close.\n","required":["fully_finalized","income","expenses"],"properties":{"fully_finalized":{"type":"boolean"},"income":{"$ref":"#/components/schemas/FinalizationCounts"},"expenses":{"$ref":"#/components/schemas/FinalizationCounts"}}},"FinanceForecastSourcesUnavailableError":{"type":"object","required":["success","error","code","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","enum":["forecast_sources_unavailable"]},"code":{"type":"string","enum":["forecast_sources_unavailable"]},"message":{"type":"string"}}},"Finance_ErrorResponse":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"Finance_MoneyAmount":{"type":"number","multipleOf":0.01,"description":"Existing JSON money boundary in major units. Runtime calculations aggregate via BCMath/integer cents before this compatibility representation is emitted."},"FindingCreateRequest":{"type":"object","required":["finding_no","severity","category","title","description_md","recommendation_md","owner_user_id"],"properties":{"finding_no":{"type":"string"},"severity":{"type":"string","enum":["critical","high","medium","low","observation"]},"category":{"type":"string"},"title":{"type":"string"},"description_md":{"type":"string"},"recommendation_md":{"type":"string"},"owner_user_id":{"type":"string"},"regulatory_ref":{"type":"string","nullable":true},"target_close_date":{"type":"string","nullable":true},"initial_status":{"type":"string","enum":["draft","open"],"default":"open"}}},"Fix":{"type":"object","properties":{"id":{"type":"string"},"incident_id":{"type":"string"},"workflow_id":{"type":"string"},"summary":{"type":"string"},"patch":{"type":"array","items":{"type":"object","additionalProperties":true}},"diagnosis":{"type":"string","nullable":true},"evidence":{"type":"object","additionalProperties":true,"nullable":true},"proposed_by":{"type":"string"},"status":{"type":"string","enum":["proposed","applied","rejected"]},"approved_by":{"type":"string","nullable":true},"approved_at":{"type":"string","nullable":true},"applied_at":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"FixedMoney":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$","example":"1234.50"},"FixedPercent":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","example":"25.50"},"FlagUnpaidRequest":{"type":"object","required":["opId","type","asOfDate","openAmount","vatAmount"],"properties":{"opId":{"type":"string","description":"Open-item identifier."},"type":{"type":"string","description":"Open-item side (e.g. output/input)."},"asOfDate":{"type":"string","format":"date"},"openAmount":{"$ref":"#/components/schemas/MoneyAmount"},"vatAmount":{"$ref":"#/components/schemas/MoneyAmount"}}},"FlowError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"invalid_date"},"message":{"type":"string"}}},"FlowLeadTime":{"type":"object","properties":{"transition":{"type":"string","enum":["lead_quote","quote_order","order_delivery","delivery_invoice","order_invoice","invoice_payment","quote_cash"]},"count":{"type":"integer"},"medianDays":{"type":"number","nullable":true},"p80Days":{"type":"number","nullable":true,"description":"Nearest-rank 80th percentile"}}},"FlowNextStep":{"type":"object","nullable":true,"properties":{"id":{"type":"string","example":"create-dunning","description":"Journey step, `follow-up` or `open`"},"action":{"type":"string","nullable":true,"example":"quote-to-cash.create-dunning","description":"Fabric action the record drawer previews and runs after confirmation"},"ref":{"$ref":"#/components/schemas/FlowRef"},"mutating":{"type":"boolean"},"command":{"type":"object","description":"Steering command (palette, chat, voice) of the same step","properties":{"moduleId":{"type":"string","example":"quote-to-cash"},"commandId":{"type":"string","example":"o2c-step"},"params":{"type":"object","additionalProperties":{"type":"string"}}}}}},"FlowRef":{"type":"object","properties":{"type":{"type":"string","example":"invoice","description":"Fabric entity type (quote, order, delivery-note, invoice, dunning, customer, ticket, project)"},"id":{"type":"string","example":"42"}}},"FlowStuckItem":{"type":"object","properties":{"key":{"type":"string","example":"invoice:42"},"kind":{"type":"string","enum":["quote_unanswered","quote_not_converted","order_not_invoiced","invoice_overdue","ticket_waiting","project_overdue"]},"stage":{"type":"string","example":"invoice"},"ref":{"$ref":"#/components/schemas/FlowRef"},"number":{"type":"string","example":"RE-2026-0041"},"title":{"type":"string"},"customerId":{"type":"string"},"customerName":{"type":"string"},"since":{"type":"string","example":"2026-10-01","description":"Day the wait started (quote/order day, due day, last ticket change, project end)"},"age":{"type":"integer","description":"Waiting time in `unit`"},"threshold":{"type":"integer"},"overBy":{"type":"integer"},"overByDays":{"type":"number"},"unit":{"type":"string","enum":["days","hours"]},"amountCents":{"type":"integer","description":"Money in integer minor units (open amount for invoices)"},"currency":{"type":"string","example":"EUR"},"severity":{"type":"string","enum":["urgent","warn"]},"dunningLevel":{"type":"integer"},"priority":{"type":"string"},"nextStep":{"$ref":"#/components/schemas/FlowNextStep"}}},"FlowThreshold":{"type":"object","properties":{"name":{"type":"string","example":"quoteDays"},"key":{"type":"string","example":"flow.threshold.quote_days"},"value":{"type":"integer"},"default":{"type":"integer"},"source":{"type":"string","example":"tenant","description":"Policy level the value comes from (`default` when none is set)"},"unit":{"type":"string","enum":["days","hours"]}}},"ForecastCreated":{"type":"object","required":["id","data_basis"],"properties":{"id":{"type":"string"},"data_basis":{"$ref":"#/components/schemas/DataBasis"}}},"ForecastDay":{"type":"object","additionalProperties":false,"required":["date","inflow","outflow","balance"],"properties":{"date":{"type":"string","format":"date"},"inflow":{"$ref":"#/components/schemas/MoneyAmount"},"outflow":{"$ref":"#/components/schemas/MoneyAmount"},"balance":{"$ref":"#/components/schemas/MoneyAmount"}}},"ForecastItem":{"type":"object","additionalProperties":false,"required":["kind","direction","reference","due_date","amount","currency","source_id","counterparty"],"properties":{"kind":{"type":"string","enum":["invoice","bill","subscription"]},"direction":{"type":"string","enum":["inflow","outflow"]},"reference":{"type":"string"},"due_date":{"type":"string","format":"date"},"amount":{"$ref":"#/components/schemas/MoneyAmount"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"source_id":{"type":"integer","minimum":1},"counterparty":{"type":"string"}}},"ForecastRequest":{"type":"object","properties":{"weeks_horizon":{"type":"integer","minimum":1,"maximum":104,"default":13},"base_currency":{"type":"string","pattern":"^[A-Z]{3}$","default":"EUR"},"anchor_date":{"type":"string","format":"date"}}},"ForeignTableGenerator":{"type":"object","required":["generator_kind","id","table","date_field","outputs"],"properties":{"generator_kind":{"type":"string","enum":["foreign_table"]},"id":{"type":"string","pattern":"^[a-zA-Z0-9._-]{1,64}$"},"table":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"date_field":{"type":"string"},"source_fields":{"type":"object","additionalProperties":{"type":"string"}},"filters":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"exclude_when":{"type":"array","description":"Generator-specific negative conditions; a matching condition excludes the source row.","items":{"$ref":"#/components/schemas/Condition"}},"join":{"type":"object","description":"Optional tenant-bound invoice or other foreign-table join.","required":["table","local_field","foreign_field","fields"],"properties":{"table":{"type":"string"},"local_field":{"type":"string"},"foreign_field":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"outputs":{"type":"array","minItems":1,"items":{"allOf":[{"$ref":"#/components/schemas/PostingDefinition"},{"type":"object","properties":{"date_field":{"type":"string"},"amount_field":{"type":"string"}}}]}}}},"ForgotPasswordRequest":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}}},"FormProofRun":{"type":"object","required":["id","kind","state","submit_until","cleanup_until"],"properties":{"id":{"type":"string","pattern":"^[a-f0-9]{32}$"},"kind":{"type":"string","enum":["booking","inquiry"]},"state":{"type":"string","enum":["armed","producing","submitted","cleanup_pending","closed"]},"submit_until":{"type":"integer"},"cleanup_until":{"type":"integer"},"revision":{"type":"integer"},"fixture":{"type":"object","description":"Only on arm; fixed neutral fields and verified owner receiver, never a run ID in guest fields. Booking includes one exact localized offline bank-transfer paymentMethod; online/provider/custom methods and conflicting aliases are forbidden. Inquiry has no client subject."},"mail_checks":{"type":"object","additionalProperties":false,"description":"GET only. Exact own receipt-bound outbox checks and separate encrypted guest-audit checks. No payload, address, ciphertext or key. Guest transport booleans describe the actual mailer result only, never mailbox arrival. A prepared-only outcome remains unconfirmed and blocks cleanup while its lease is active.","properties":{"scope":{"type":"string","enum":["persisted_outbox"]},"expected_count":{"type":"integer","minimum":1},"record_count":{"type":"integer","minimum":0},"receipt_matches":{"type":"boolean"},"html_body_count":{"type":"integer","minimum":0},"signature_once_count":{"type":"integer","minimum":0},"signature_matches_count":{"type":"integer","minimum":0},"text_signature_matches_count":{"type":"integer","minimum":0},"guest_body_persisted":{"type":"boolean"},"guest_audit":{"type":"object","additionalProperties":false,"description":"Booking only. Server-decrypted exact encrypted guest receipt, independent expected role/birth/locale/signature relations, and truthful prepared/sent/failed outcome. No body or recipient data.","required":["scope","record_count","receipt_matches","recipient_roles_match","reference_matches","locale_matches","signature_matches","text_signature_matches","transport_prepared","transport_sent","transport_failed"],"properties":{"scope":{"type":"string","enum":["encrypted_guest_audit"]},"record_count":{"type":"integer","minimum":0,"maximum":1},"receipt_matches":{"type":"boolean"},"recipient_roles_match":{"type":"boolean"},"reference_matches":{"type":"boolean"},"locale_matches":{"type":"boolean"},"signature_matches":{"type":"boolean"},"text_signature_matches":{"type":"boolean"},"transport_prepared":{"type":"boolean"},"transport_sent":{"type":"boolean"},"transport_failed":{"type":"boolean"}}},"outbox_complete":{"type":"boolean"},"locale_counts":{"type":"object","additionalProperties":false,"required":["de","en","es"],"properties":{"de":{"type":"integer","minimum":0},"en":{"type":"integer","minimum":0},"es":{"type":"integer","minimum":0}}}}},"receipts":{"type":"array","maxItems":4,"items":{"type":"object","required":["id","created_at"],"properties":{"id":{"type":"integer","minimum":1},"group":{"type":"string"},"request_id":{"type":"string"},"vorgang_id":{"type":"string"},"status":{"type":"string"},"created_at":{"type":"string"}}}}}},"FormatInput":{"type":"object","required":["name","carrier"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"carrier":{"type":"string","enum":["dpd","dhl","gls"]}}},"Formularspiegel":{"type":"object","required":["tenant_id","erklaerung","formular","zeitraum","felder","abdeckung","quellenregel"],"properties":{"tenant_id":{"type":"string"},"erklaerung":{"type":"string","enum":["ust","est","euer","gewst","kst","ebilanz","lst"]},"formular":{"type":"string","enum":["USt 2 A 2025","ESt 1 A mit Anlage V und Anlage V-FeWo 2025","Anlage EÜR 2025","GewSt 1 A 2025","KSt 1 mit Anlage ZVE 2025","E-Bilanz nach §5b EStG (Kerntaxonomie)","Lohnsteuer-Anmeldung 2025 (§41a EStG)"]},"formularjahr":{"type":"object","description":"Formularstand des Erklaerungsjahres (Jahr aus `zeitraum.bis`). `formular` nennt den Formularstand, aus dem Zeilen und Kennziffern stammen; 2025 ist endgueltig, 2026 nutzt den Formularstand 2025 VORLAEUFIG, jedes andere Jahr ist ein ausdruecklich ungepruefter Rueckfall (`katalog_bekannt=false`).\n","required":["jahr","katalogjahr","vorlaeufig","katalog_bekannt","hinweis"],"properties":{"jahr":{"type":"integer"},"katalogjahr":{"type":"integer"},"vorlaeufig":{"type":"boolean"},"katalog_bekannt":{"type":"boolean"},"hinweis":{"type":["string","null"]}}},"zeitraum":{"type":"object","required":["von","bis","perioden"],"properties":{"von":{"type":"string"},"bis":{"type":"string"},"perioden":{"type":"array","items":{"type":"string"}}}},"felder":{"type":"array","items":{"$ref":"#/components/schemas/FormularspiegelFeld"}},"abdeckung":{"type":"object","properties":{"vollstaendiger_strukturkatalog":{"type":"boolean"},"anzahl_felder":{"type":"integer"},"werte_belegt":{"type":"integer","description":"Felder mit einem Wert aus einem bestehenden tenantgebundenen Bericht."},"werte_unbelegt":{"type":"integer","description":"Leere Felder mit Status und offener Frage."}}},"quellenregel":{"type":"object","properties":{"werte_nur_aus":{"type":"array","items":{"type":"string","description":"Die Berichte, aus denen Werte ueberhaupt stammen duerfen. Die Liste ist die LAUFZEIT-Liste: `Anlage-V-Zuarbeit je Objekt` fehlte hier, obwohl der ESt-Formularspiegel sie seit der objektweisen Anlage V ausgibt — ein Vertrag, der weniger zusagt als die Laufzeit liefert, laesst einen echten Wert wie einen Vertragsbruch aussehen.\n","enum":["USt-Nebenbuch","ESt-Einkunftsartenbericht","Anlage-EÜR-Bericht","Anlage-V-Zuarbeit je Objekt"]}},"pdf_werte_verwendet":{"type":"boolean","enum":[false]},"keine_uebermittlung":{"type":"boolean","enum":[true]},"keine_feststellung":{"type":"boolean","enum":[true]}}}}},"FormularspiegelFeld":{"type":"object","required":["kennziffer","amtliche_referenz","feldname","wert","herkunft","status","offene_frage"],"properties":{"kennziffer":{"type":"string"},"elster_kennzahl":{"type":["string","null"]},"amtliche_referenz":{"type":"object","required":["art","wert"],"properties":{"art":{"type":"string","enum":["kennzahl","vorlagenzeile","taxonomieposition"]},"wert":{"type":"string"}}},"formularteil":{"type":"string"},"feldname":{"type":"string"},"bereich":{"type":"string"},"eingabeart":{"type":"string","enum":["owner","fachwert"]},"zuordnung":{"type":"object","description":"EÜR 2025: jede der 107 Zeilen wird einer bestehenden Ableitung oder einer bestätigten Owner-Angabe zugeordnet. Keine Quelle bedeutet keinen Nullbetrag.","required":["status","grund","formularversion"],"properties":{"status":{"type":"string","enum":["derived","owner","not_applicable"]},"grund":{"type":"string"},"berichtsfeld":{"type":["string","null"]},"kontenquelle":{"type":["string","null"]},"formularversion":{"type":"string"}}},"berechnungsbasis":{"type":"string","enum":["netto_bericht"],"description":"EÜR-Summen 23/75 und Ledger-Gewinn 76/77 übernehmen die bestehende Netto-Berichtsgrundlage; amtliche USt- und Fachkorrekturen vor Abgabe bestätigen. Kontenherkunft enthält Operandenkette; fehlt bleibt eine offene Gegenrechnung."},"nicht_zugeordnete_quellen":{"type":"array","description":"Nicht zugeordnete Legacy-Zeilen bleiben mit Betrag und Herkunft sichtbar an EÜR-Zeile 75. Solche Zeilen blockieren eine gemessene Summe.","items":{"type":"object","additionalProperties":true}},"nicht_zugeordnete_konten":{"type":"array","description":"Nicht explizit klassifizierte Konten/Kategorien bleiben mit ihrem Quellbetrag sichtbar an EÜR-Zeile 75; kein stilles Weglassen.","items":{"type":"object","additionalProperties":true}},"wert":{"type":["object","null"],"additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/UstBetragCents"},{"type":"string"}]}},"herkunft":{"type":["object","null"],"additionalProperties":true},"status":{"type":"string","enum":["belegt","abgeleitet","unbelegt","Owner-Angabe nötig","unplausibel"]},"offene_frage":{"type":["string","null"]}}},"FroxlorModule":{"type":"string","description":"Allowlisted Froxlor API module.","enum":["Customers","Domains","EmailAccounts","EmailForwarders","Mysqls","Ftps","Certificates","Cronjobs","DirOptions","Traffic","DataDump","DomainZones","SshKeys"]},"FroxlorProxyRequest":{"type":"object","properties":{"params":{"type":"object","additionalProperties":true,"description":"Free-form Froxlor API parameters. For non-admin (reseller) callers, the proxy injects `loginname` when not provided.\n"}}},"FroxlorProxyResponse":{"type":"object","description":"Raw Froxlor JSON response forwarded to the caller.","additionalProperties":true},"FroxlorProxy_ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}},"FulfilmentOrder":{"type":"object","required":["id","order_number","status","stage","created_at","age_days","total_cents","currency","items"],"properties":{"id":{"type":"string"},"order_number":{"type":"string"},"status":{"type":"string"},"stage":{"type":"string","enum":["open","picked","shipped","other"]},"created_at":{"type":"string"},"age_days":{"type":"integer"},"age_bucket":{"type":"string","enum":["0-1","2-3","4-7","8+"]},"total_cents":{"type":"integer"},"currency":{"type":"string"},"payment_method":{"type":"string"},"item_count":{"type":"integer"},"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string"},"name":{"type":"string"},"variant":{"type":"string"},"quantity":{"type":"integer"},"unit_price_cents":{"type":"integer"}}}},"customer":{"type":"object"},"shipping_option":{"type":"string"},"tracking":{"type":"object","nullable":true}}},"Gallery":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"is_published":{"type":"integer"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"GalleryImage":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"gallery_id":{"type":"integer"},"media_id":{"type":"integer"},"caption":{"type":"string","nullable":true},"sort_order":{"type":"integer"},"filename":{"type":"string","nullable":true},"original_name":{"type":"string","nullable":true},"mime_type":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true},"thumbnail_path":{"type":"string","nullable":true},"alt_text":{"type":"string","nullable":true}}},"GalleryInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"is_published":{"type":"integer","enum":[0,1]}}},"Gap":{"type":"object","required":["code","detail"],"properties":{"code":{"type":"string"},"detail":{"type":"string"}}},"GeneratedApp":{"type":"object","description":"{ id, slug, name{de,en,es}, entity, plural, icon, href, status: active|archived, createdAt, records (visible to the caller), nextDue: { date, recordId, title, field }|null, views, rights, reminders, level: edit|own|view, commands, planHash } (+ plan and model on GET /apps/{slug}; + warnings and message on create)","additionalProperties":true},"GenericObject":{"type":"object","additionalProperties":true},"GewstForeignPeReduction":{"type":"object","additionalProperties":false,"required":["source_id","country","amount_cents","provenance"],"properties":{"source_id":{"type":"string","minLength":1,"maxLength":191},"country":{"type":"string","pattern":"^[A-Za-z]{2}$"},"amount_cents":{"type":"integer","format":"int64","minimum":1},"provenance":{"type":"string","minLength":1,"maxLength":500}}},"GewstMunicipalAllocation":{"type":"object","required":["evidence_id","municipality_key","municipality_name","hebesatz_promille","wage_cents","rounded_wage_euros","allocation_kind","messbetrag_share_cents","tax_cents"],"properties":{"evidence_id":{"type":"string"},"municipality_key":{"type":"string"},"municipality_name":{"type":"string"},"hebesatz_promille":{"type":"integer"},"hebesatz_master_id":{"type":"string"},"wage_cents":{"type":"integer","format":"int64"},"rounded_wage_euros":{"type":"integer","format":"int64"},"allocation_kind":{"type":"string","enum":["ordinary_wages"]},"is_management_municipality":{"type":"boolean"},"messbetrag_share_cents":{"type":"integer","format":"int64"},"tax_cents":{"type":"integer","format":"int64"}}},"GuestConfigListResponse":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"GuestConfigResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":true}}},"GuestMessageWarning":{"type":"object","required":["code","text"],"properties":{"code":{"type":"string"},"text":{"type":"string"}}},"GuestbookEntryAdmin":{"type":"object","description":"Admin view of a guestbook entry with all fields","properties":{"id":{"type":"integer","example":1},"author_name":{"type":"string","example":"Anna Schmidt"},"author_email":{"type":"string","example":"support@it-tremmel.de"},"message":{"type":"string","example":"Great service, highly recommended!"},"rating":{"type":"integer","minimum":1,"maximum":5,"example":5},"status":{"type":"string","enum":["pending","approved","rejected","spam"],"example":"pending"},"ip_address":{"type":"string","example":"192.168.1.1"},"moderation_note":{"type":"string","example":"Verified customer"},"moderated_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"GuestbookEntryCreate":{"type":"object","description":"Backward-compatible request for the unversioned guestbook endpoint.\nLegacy clients may submit `author_name` and `message` without CAPTCHA fields.\nClients using CAPTCHA must send both `captcha_id` and `captcha_answer`; partial\nor invalid challenge data is rejected. Every accepted entry remains pending\nuntil an administrator approves it.\n","required":["author_name","message"],"properties":{"author_name":{"type":"string","maxLength":100,"example":"Anna Schmidt"},"author_email":{"type":"string","format":"email","example":"support@it-tremmel.de","description":"Optional email address"},"message":{"type":"string","maxLength":2000,"example":"Great service, highly recommended!"},"rating":{"type":"integer","minimum":1,"maximum":5,"default":5},"honeypot":{"type":"string","default":"","description":"Anti-spam honeypot field (must be empty)"},"captcha_id":{"type":"string","description":"Optional CAPTCHA challenge ID; requires captcha_answer when supplied","example":"4f0e2fb5b5456b168a0b7c6e90c5dfc1"},"captcha_answer":{"type":"string","description":"Optional CAPTCHA answer; requires captcha_id when supplied","example":"ABCD5"}}},"GuestbookEntryPublic":{"type":"object","description":"Public view of an approved guestbook entry (no email, IP, or moderation data)","properties":{"id":{"type":"integer","example":1},"author_name":{"type":"string","example":"Anna Schmidt"},"message":{"type":"string","example":"Great service, highly recommended!"},"rating":{"type":"integer","minimum":1,"maximum":5,"example":5},"created_at":{"type":"string","format":"date-time"}}},"GuestbookModerateRequest":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["pending","approved","rejected","spam"],"example":"approved"},"moderation_note":{"type":"string","example":"Verified customer","description":"Optional internal note about the moderation decision"},"promote_to_testimonial":{"type":"boolean","default":false,"description":"When true together with status=approved, starts the existing testimonial\nconsent workflow. The resulting testimonial remains unpublished in\npending_consent until the author confirms the generated consent token.\n"}}},"Guestbook_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"missing_message"},"message":{"type":"string","example":"Message is required"}}}}},"HRCoreSuccess":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":[]}},"HRCore_ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}},"HRCore_Checklist":{"type":"object","properties":{"employee_id":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string","nullable":true},"done":{"type":"boolean"},"done_at":{"type":"string","nullable":true},"done_by":{"type":"string","nullable":true}}}}}},"Handover":{"type":"object","description":"One tenant's side: id, key (RF-…), direction outgoing|incoming, status awaiting_consent|declined|expired|withdrawn|delivered|accepted|rejected|converted, partner {tenantId, label}, offeredFields, consentedFields, stay {from, to, persons}, terms, conversion {type, reference (incoming only), basisCents, at}, fee {cents, vatPercent, vatCents, grossCents, status none|draft|invoiced|settled|waived, invoiceId}; outgoing: source {type, id}; incoming: inquiryId, leadId, contact (consented data).\n"},"Handshake":{"type":"object","properties":{"id":{"type":"string"},"initiator_tenant_id":{"type":"string"},"partner_tenant_id":{"type":"string"},"workflow_type":{"type":"string"},"status":{"type":"string","enum":["pending","active","rejected","revoked"]},"initiator_label":{"type":"string"},"partner_label":{"type":"string"},"note":{"type":"string","nullable":true},"partner_consented_at":{"type":"string","nullable":true},"revoked_by":{"type":"string","nullable":true},"revoked_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"HandshakeEvent":{"type":"object","properties":{"id":{"type":"string"},"handshake_id":{"type":"string"},"source_tenant_id":{"type":"string"},"target_tenant_id":{"type":"string"},"workflow_type":{"type":"string"},"source_doc_type":{"type":"string"},"source_doc_ref":{"type":"string"},"target_doc_type":{"type":"string"},"target_doc_ref":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","accepted","rejected"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"HandshakeInput":{"type":"object","required":["partner_tenant_id","workflow_type"],"properties":{"partner_tenant_id":{"type":"string"},"workflow_type":{"type":"string","enum":["delivery_note_to_goods_receipt","purchase_order_to_sales_order","invoice_to_ap_bill","guest_experience_referral","community_product","handwritten_cards"]},"initiator_label":{"type":"string"},"partner_label":{"type":"string"},"note":{"type":"string"}}},"HashcashChallenge":{"type":"object","description":"{ scope: lead-widget:submit, challenge, issuedAt, difficultyBits, minDelaySeconds, expiresInSeconds } — mint ONE stamp for `lead-widget:submit|<challenge>` at issuedAt","additionalProperties":true},"HeadersCheckResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"url":{"type":"string","example":"https://example.com"},"status_code":{"type":"integer","example":200},"headers":{"type":"object","additionalProperties":{"type":"string"},"example":{"content-type":"text/html; charset=UTF-8","strict-transport-security":"max-age=31536000"}},"query_time_ms":{"type":"number","format":"float","example":234.56}}},"Health":{"type":"object","properties":{"tenant_id":{"type":"string"},"configured":{"type":"boolean"},"write_enabled":{"type":"boolean"},"status":{"type":"string","enum":["healthy","degraded"]},"queue_depth_pending":{"type":"integer"},"queue_depth_approved":{"type":"integer"},"queue_depth_failed":{"type":"integer"},"oldest_approved_at":{"type":"string","nullable":true},"last_successful_apply":{"type":"string","nullable":true},"last_failure":{"type":"string","nullable":true}}},"HealthCheck":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"endpoint_url":{"type":"string"},"server_name":{"type":"string","nullable":true},"status":{"type":"string","enum":["ok","broken","timeout","unknown"]},"response_time_ms":{"type":"integer","nullable":true},"error_message":{"type":"string","nullable":true},"checked_at":{"type":"string"}}},"HealthCheckInput":{"type":"object","required":["endpoint_url"],"properties":{"endpoint_url":{"type":"string"},"server_name":{"type":"string"},"status":{"type":"string","enum":["ok","broken","timeout","unknown"],"default":"ok"},"response_time_ms":{"type":"integer"},"error_message":{"type":"string"},"checked_at":{"type":"string"}}},"HealthChecks":{"type":"object","required":["database","disk","background_jobs","email_queue","rate_limit","cache"],"properties":{"database":{"$ref":"#/components/schemas/DatabaseCheck"},"disk":{"$ref":"#/components/schemas/DiskCheck"},"background_jobs":{"$ref":"#/components/schemas/BackgroundJobsCheck"},"email_queue":{"$ref":"#/components/schemas/EmailQueueCheck"},"operator_mailbox":{"$ref":"#/components/schemas/OperatorMailboxCheck"},"imap_inbox":{"$ref":"#/components/schemas/ImapInboxCheck"},"rate_limit":{"$ref":"#/components/schemas/RateLimitCheck"},"cache":{"$ref":"#/components/schemas/CacheCheck"}}},"HealthComponents":{"type":"object","description":"Public-safe status breadcrumb per subsystem for degraded or unhealthy responses","additionalProperties":{"$ref":"#/components/schemas/CheckStatus"}},"HealthEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Health"}}},"HealthResponse":{"allOf":[{"$ref":"#/components/schemas/EnvironmentFileHealth"}],"type":"object","required":["status","timestamp","version","checks"],"properties":{"status":{"$ref":"#/components/schemas/HealthStatus"},"timestamp":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the health check was performed","example":"2026-02-07T12:00:00Z"},"build":{"$ref":"#/components/schemas/PublicBuildInfo"},"deployment_identity":{"$ref":"#/components/schemas/DeploymentIdentity"},"version":{"type":"string","description":"Application version","example":"1.0.0"},"checks":{"$ref":"#/components/schemas/HealthChecks"},"components":{"$ref":"#/components/schemas/HealthComponents"},"component_reasons":{"type":"object","description":"Why each non-healthy component is not healthy (#29601). Same keys as `components`, but the cause instead of the bare state — `components` alone published `\"degraded\"` with no justification, which repeatedly cost live triage hours and produced wrong diagnoses. Present only when non-empty; also present on an otherwise healthy response when the only non-healthy entries are `not_applicable` ones. Public and monitoring-safe: counts, thresholds and column names only, never recipients, subjects, payloads, credentials or host names.\n","additionalProperties":{"type":"string"},"example":{"email_queue":"2 send attempt(s) failed within the last 24 hours — the mail transport rejected them or was unreachable."}},"not_applicable":{"type":"array","description":"Subsystems this site does not operate at all (#29601). Kept apart from `healthy` and from `failing` — merging them is what made an unconfigured subsystem indistinguishable from a working one.\n","items":{"type":"string"},"example":["email_queue"]},"warnings":{"type":"array","description":"Benign, status-non-gating conditions (e.g. an optional integration that is not configured). Present (and public) only when non-empty; never flips the overall status to degraded. Added in #27413.\n\nThe `deployment_sync` entry is present while the deployed backend and the deployed UI run different commits (staged backend-only deploy). Its status is `degraded` inside the tolerated window and escalates to `unhealthy` once the split exceeded `max_split_hours`. Even then the overall status is untouched unless `DEPLOYMENT_SPLIT_EXPIRY_DEGRADES=1` is configured, which turns an EXPIRED split into an overall `degraded` (HTTP 503).\n","items":{"type":"object","required":["subsystem","status","reason"],"properties":{"subsystem":{"type":"string","example":"ext_erp"},"status":{"type":"string","enum":["degraded","unhealthy"],"example":"degraded"},"reason":{"type":"string","example":"ExtERP queue health unavailable (optional connector not configured)."}}}}}},"HealthStatus":{"type":"string","enum":["healthy","degraded","unhealthy"],"description":"Overall application health status. healthy = all checks pass, degraded = some checks report warnings, unhealthy = critical checks failing.\n"},"HebesatzMasterRequest":{"type":"object","additionalProperties":false,"required":["municipality_key","municipality_name","applicable_from_year","applicable_to_year","hebesatz_promille","enacted_at","evidence_ref","evidence_hash"],"properties":{"municipality_key":{"type":"string","minLength":1,"maxLength":32},"municipality_name":{"type":"string","minLength":1,"maxLength":191},"applicable_from_year":{"type":"integer","minimum":1900,"maximum":2999},"applicable_to_year":{"type":"integer","minimum":1900,"maximum":2999},"hebesatz_promille":{"type":"integer","minimum":2000,"maximum":10000},"enacted_at":{"type":"string","format":"date"},"evidence_ref":{"type":"string","minLength":1,"maxLength":255},"evidence_hash":{"type":"string","pattern":"^[a-fA-F0-9]{64}$"}}},"HedgeDesignation":{"type":"object","required":["designation_ref","hedge_type"],"properties":{"designation_ref":{"type":"string","minLength":1},"hedge_type":{"type":"string","enum":["cash_flow","fair_value","net_investment"]},"relationship_kind":{"type":"string","enum":["single","portfolio","macro"],"default":"single"},"inception_document_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"designated_proportion_bps":{"type":"integer","minimum":1,"maximum":10000,"default":10000},"protected_term_start":{"type":"string","format":"date","nullable":true},"protected_term_end":{"type":"string","format":"date","nullable":true},"layer_ref":{"type":"string","maxLength":160,"nullable":true},"risk_component":{"type":"string","maxLength":160,"nullable":true},"hedged_item_legs":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/HedgeLeg"},"description":"Weights total exactly 10000 basis points."},"instrument_legs":{"type":"array","minItems":1,"items":{"$ref":"#/components/schemas/HedgeLeg"},"description":"Weights total exactly 10000 basis points."}}},"HedgeDiscontinuation":{"type":"object","required":["discontinued_at","reason","remaining_eligible_bps","recycling_method"],"properties":{"discontinued_at":{"type":"string","format":"date"},"reason":{"type":"string","minLength":1,"maxLength":255},"remaining_eligible_bps":{"type":"integer","minimum":0,"maximum":10000},"recycling_method":{"type":"string","enum":["immediate","forecast_transaction","amortization"]},"recycle_from":{"type":"string","format":"date"},"recycle_until":{"type":"string","format":"date"},"basis_adjustment_target":{"type":"string","maxLength":160,"description":"Explicit inventory or asset target for forecast-transaction basis adjustment. Requires a cash-flow hedge with an opening carrying amount."}}},"HedgeLeg":{"type":"object","description":"allocation_bps is optional only when every leg on the same side omits it; that legacy form derives deterministic pro-rata weights from amount_cents. When supplied, every leg on that side must supply it and the total must be 10000.","properties":{"hedged_item":{"type":"string","minLength":1},"instrument":{"type":"string","minLength":1},"notional":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,10})?$"},"notional_cents":{"type":"integer","minimum":1},"amount_cents":{"type":"integer","minimum":1},"allocation_bps":{"type":"integer","minimum":1,"maximum":10000}}},"HedgeMeasurement":{"type":"object","required":["relationship_id","as_of","hedged_item_fv_change","instrument_fv_change","source_hash"],"properties":{"relationship_id":{"type":"string","minLength":1},"as_of":{"type":"string","format":"date"},"hedged_item_fv_change":{"type":"string"},"instrument_fv_change":{"type":"string","description":"Total credit-adjusted instrument FV change before the excluded hedge-cost split."},"source_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"designated_component_fv_change_cents":{"type":"integer"},"hedge_cost_fv_change_cents":{"type":"integer"},"hedge_cost_component":{"type":"string","enum":["forward_points","option_time_value","currency_basis_spread"],"description":"The three hedge-cost fields require each other. Designated component plus hedge cost must equal the total instrument FV change exactly in integer cents."}}},"HedgeReserveRelease":{"type":"object","required":["as_of","source_hash"],"properties":{"as_of":{"type":"string","format":"date"},"source_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"gl_posting_id":{"type":"string","maxLength":64}},"description":"The server derives the cumulative amount due from the persisted recycle_from/recycle_until schedule. Callers never supply a release amount."},"HistoryEntry":{"type":"object","required":["id","expression","result","timestamp"],"properties":{"id":{"type":"string","description":"Unique identifier for the history entry","example":"65f1a2b3c4d5e-abc12345"},"expression":{"type":"string","description":"The mathematical expression that was calculated","example":"2+3*4"},"result":{"type":"number","description":"The result of the calculation","example":14},"timestamp":{"type":"integer","description":"Unix timestamp in milliseconds when the calculation was made","example":1710432000000}}},"HostMetricsResponse":{"type":"object","required":["measured_at","load","cpu","memory","disk"],"properties":{"measured_at":{"type":"string","format":"date-time"},"load":{"type":"object","required":["one_minute","five_minutes","fifteen_minutes","cores","one_minute_percent_of_cores"],"additionalProperties":true},"cpu":{"type":"object","description":"CPU percentage is explicitly a load1/core approximation, not sampled utilization.","required":["percent","method"],"additionalProperties":true},"memory":{"$ref":"#/components/schemas/HostSpaceMetrics"},"disk":{"$ref":"#/components/schemas/HostSpaceMetrics"}}},"HostSpaceMetrics":{"type":"object","required":["available","total_gb","free_gb","used_gb","used_percent"],"properties":{"available":{"type":"boolean"},"total_gb":{"type":"number","format":"float","nullable":true},"free_gb":{"type":"number","format":"float","nullable":true},"used_gb":{"type":"number","format":"float","nullable":true},"used_percent":{"type":"number","format":"float","minimum":0,"maximum":100,"nullable":true}}},"IcsViewerEvent":{"type":"object","properties":{"uid":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"location":{"type":"string"},"rrule":{"type":"string"},"all_day":{"type":"boolean"},"start":{"type":"string","description":"ISO date for all-day events, ISO date-time otherwise"},"start_date":{"type":"string","format":"date"},"end_exclusive":{"type":"string","description":"The raw DTEND, EXCLUSIVE for all-day events"},"end_inclusive":{"type":"string","format":"date","nullable":true,"description":"Last day actually covered (DTEND minus one day); null for timed events"},"end_date":{"type":"string","format":"date"},"day_count":{"type":"integer","minimum":1},"transp":{"type":"string","description":"OPAQUE, TRANSPARENT or empty"},"busy":{"type":"boolean","description":"False only for TRANSP:TRANSPARENT"},"status":{"type":"string"},"tzid":{"type":"string"}}},"IcsViewerResult":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"tenant_id":{"type":"string"},"calendar":{"type":"object","properties":{"name":{"type":"string","description":"X-WR-CALNAME"},"prodid":{"type":"string"},"method":{"type":"string"}}},"total_events":{"type":"integer"},"returned_events":{"type":"integer"},"truncated":{"type":"boolean","description":"True when more than max_events matched"},"raw":{"type":"string","description":"The calendar source bytes, for debugging"},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["url","text"]},"url":{"type":"string","format":"uri"},"name":{"type":"string"},"bytes":{"type":"integer"},"content_type":{"type":"string"}}},"events":{"type":"array","items":{"$ref":"#/components/schemas/IcsViewerEvent"}}}}}},"IdentityTokenError":{"type":"object","additionalProperties":false,"required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"}}},"IdentityTokenRequest":{"type":"object","additionalProperties":false,"required":["key","value","purpose"],"properties":{"key":{"type":"string","enum":["id"]},"value":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","maxLength":20},"purpose":{"type":"string","enum":["portal-offer-customer-v1"]}}},"IdentityTokenResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","additionalProperties":false,"required":["token","purpose","normalization","unique_within_source"],"properties":{"token":{"type":"string","pattern":"^[a-f0-9]{64}$"},"purpose":{"type":"string","enum":["portal-offer-customer-v1"]},"normalization":{"type":"string","enum":["trim-ascii-lower-v1"]},"unique_within_source":{"type":"boolean","enum":[true],"description":"Exactly one normalized email in this allowlisted source"}}}}},"ImageList":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"images":{"type":"array","items":{"$ref":"#/components/schemas/ShopProductImage"}}}}}},"ImapEmail":{"type":"object","properties":{"uid":{"type":"integer"},"message_id":{"type":"string"},"subject":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"cc":{"type":"string"},"bcc":{"type":"string"},"reply_to":{"type":"string"},"date":{"type":"string"},"body_plain":{"type":"string"},"body_html":{"type":"string"},"headers_raw":{"type":"string","description":"Immer LEER, solange pseudonymisiert wird."},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"mime":{"type":"string"},"size":{"type":"integer"}}}},"pseudonymization":{"type":"object","description":"Nur vorhanden, wenn pseudonymisiert wurde.","properties":{"applied":{"type":"boolean"},"failed":{"type":"boolean","description":"true = geschwaerzt statt maskiert; nie Klartext."},"surface_mode":{"type":"string"},"body_sender_name":{"type":"boolean"},"body_third_party_names":{"type":"boolean"},"attachment_names":{"type":"boolean"},"headers_raw_dropped":{"type":"boolean"},"skipped_short_name_parts":{"type":"array","items":{"type":"string"}}}}}},"ImapInboxCheck":{"type":"object","required":["status"],"description":"Advisory (never gates readiness): the inbox guard in front of every consumer that turns app-inbox mail into a reply proposal, receipt or task. `not_applicable` without IMAP_HOST/IMAP_USERNAME. `mode` says whether it runs in dry run (default until the go-live marker IMAP_INBOX_GO_LIVE is set) and why; `counts` are the instance-wide sums of the current and the previous hour (would_create_<kind>, admitted_<kind>, spam_skipped, rate_limited, test_recipient_skipped). A benign `degraded` carries IMAP_DRAFT_RATE_LIMITED (reply proposals refused over IMAP_DRAFT_RATE_LIMIT_PER_HOUR) or IMAP_INBOX_COUNTERS_UNAVAILABLE. Counts and codes only: never a tenant, subject or address. The 24-h summary is the CLI named in `summary_command`.\n","properties":{"status":{"$ref":"#/components/schemas/CheckStatus"},"benign":{"type":"boolean"},"inbox_configured":{"type":"boolean"},"mode":{"type":"object","properties":{"inbox_configured":{"type":"boolean"},"dry_run":{"type":"boolean"},"reason":{"type":"string","enum":["inbox_not_configured","dry_run_explicit","dry_run_value_invalid","go_live_marker_missing","go_live_marker_invalid","go_live_marker_in_future","go_live_marker_set"]},"go_live":{"type":"string","nullable":true,"format":"date"},"draft_limit_per_hour":{"type":"integer","minimum":1}}},"window_hours":{"type":"integer"},"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"codes":{"type":"array","items":{"type":"string","enum":["IMAP_INBOX_DRY_RUN","IMAP_DRAFT_RATE_LIMITED","IMAP_INBOX_COUNTERS_UNAVAILABLE"]}},"summary_command":{"type":"string"},"message":{"type":"string"}}},"ImportEnvelope":{"type":"object","additionalProperties":false,"required":["success","tenant","batch_id","batch_hash","idempotent_replay","bookings","snapshot_sha256","mapping_sha256","record_count","outcomes"],"properties":{"success":{"type":"boolean","enum":[true]},"tenant":{"type":"string","enum":["fewo"]},"batch_id":{"type":"string","pattern":"^fewo-[a-f0-9]{24}$"},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotent_replay":{"type":"boolean"},"bookings":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["booking_id","external_key","created","skipped","reason","identity_basis","accounting","source_booking_id","source_record_index","source_payload_sha256","batch_hash","outcome"],"properties":{"booking_id":{"type":"integer","minimum":1,"nullable":true},"external_key":{"type":"string","nullable":true},"created":{"type":"boolean"},"status":{"type":"string","enum":["processed","not_applicable","reconciliation_required"]},"action":{"type":"string","enum":["reconciliation_required"]},"source_booking_id":{"type":"integer","minimum":1},"source_booking_status":{"type":"string"},"source_record_index":{"type":"integer","minimum":0},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"updated":{"type":"boolean","description":"True when an existing imported booking was refreshed because the source payload changed (master file wins for content fields)."},"source_record_id":{"type":"integer","minimum":1,"description":"Immutable tenant-bound import_record DocumentLinks target, including unresolved sources without a booking."},"source_document_id":{"type":"string","description":"Canonical stored source document linked through DocumentLinks."},"skipped":{"type":"boolean"},"reason":{"type":"string","nullable":true,"description":"calendar_block fuer uebersprungene Sperren; possible_double_booking, wenn dieser Satz auf einen Bestandssatz mit exakt demselben Zeitraum und einer ANDEREN Buchungsnummer trifft — gemeldet, nie ueberschrieben."},"identity_basis":{"type":"string","nullable":true,"description":"Woran die Identitaet dieses Satzes haengt. fallback_stay_hash bedeutet — der Satz nennt keine Buchungsnummer, der Aufenthalt selbst wurde gehasht. Ein Rueckfall, keine Identitaet.","enum":["booking_number","external_ref","fallback_stay_hash"]},"accounting":{"type":"object","additionalProperties":false,"required":["status","reason"],"properties":{"status":{"type":"string","enum":["completed","invoice_created","not_run","not_applicable","in_review","error"]},"reason":{"type":"string","description":"Stable lifecycle, invoice-bridge or reconciliation reason code; no source PII."}}},"invoice_accounting":{"type":"object","required":["status","reason"],"properties":{"status":{"type":"string"},"reason":{"type":"string"}}},"source_payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["create","update","unchanged","cancel","cancelled","not_applicable","anonymized_legacy_record","reconciliation_required","cancellation_missing_predecessor"]}}}},"snapshot_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mapping_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"record_count":{"type":"integer","minimum":1},"outcomes":{"type":"object","additionalProperties":{"type":"integer","minimum":0}}}},"ImportFromEurRequest":{"type":"object","required":["source","date_from","date_to"],"properties":{"source":{"type":"string","enum":["income","expense","both"],"description":"Which EUeR table to import from; both aggregates both tables in date order","example":"income"},"date_from":{"type":"string","format":"date","example":"2025-01-01"},"date_to":{"type":"string","format":"date","example":"2025-12-31"}}},"ImportFromEurResponse":{"type":"object","required":["success","imported","booking_ids","rejected"],"properties":{"success":{"type":"boolean","example":true},"imported":{"type":"integer","description":"Number of bookings created","example":5},"booking_ids":{"type":"array","items":{"type":"integer"},"example":[10,11,12,13,14]},"rejected":{"type":"array","description":"Source rows not posted, for example because their period is closed","items":{"type":"object","required":["row","source","source_id","booking_date","reason","message"],"properties":{"row":{"type":"integer"},"source":{"type":"string","enum":["income","expense"]},"source_id":{"type":"string"},"booking_date":{"type":"string","format":"date"},"reason":{"type":"string","enum":["period_closed"]},"message":{"type":"string"}}}},"message":{"type":"string","description":"Only present when imported is 0"}}},"ImportRowRule":{"type":"object","additionalProperties":false,"required":["id","conditions","set"],"properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9._-]{1,64}$"},"conditions":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","additionalProperties":false,"required":["field","type","value"],"properties":{"field":{"type":"string","enum":["text","document_no","account","counter_account"]},"type":{"type":"string","enum":["contains","equals","starts_with","ends_with"]},"value":{"type":"string","minLength":1,"maxLength":255}}}},"set":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"account":{"type":"string","pattern":"^[A-Za-z0-9]{1,32}$"},"counter_account":{"type":"string","pattern":"^[A-Za-z0-9]{1,32}$"},"tax_code":{"type":"string","pattern":"^[A-Za-z0-9]{1,32}$"},"tax_amount_minor":{"type":"string","pattern":"^[0-9]{1,12}$","description":"VAT stated on the receipt in minor units; wins over the computed split when within 1 cent per receipt item of net x rate."},"tax_item_count":{"type":"string","pattern":"^[1-9][0-9]{0,2}$","description":"Number of receipt line items the receipt VAT was rounded over (tolerance in cents); requires tax_amount_minor."}}},"reason":{"type":"string","maxLength":255}}},"ImportedBookingOutputReference":{"type":"object","additionalProperties":false,"required":["booking_id","batch_hash","source_record_index","mapping_sha256","purpose"],"description":"Value-free reference to tenant-scoped protected immutable import evidence and its exact mapping version. No clear-value read operation exists.","properties":{"booking_id":{"type":"integer","minimum":1},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"source_record_index":{"type":"integer","minimum":0},"mapping_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"purpose":{"type":"string","enum":["invoice_pdf","owner_email_draft","checkin_info"]}}},"InboundWebhookPayloadV1":{"type":"object","additionalProperties":false,"required":["event","delivery_id","timestamp","data"],"properties":{"event":{"type":"string","minLength":1,"description":"Event name being delivered.","example":"invoicing.invoice.created"},"delivery_id":{"type":"string","minLength":1,"description":"Stable delivery id. Must match X-Webhook-Delivery-Id.","example":"wh_01jv3h7xv6q1m6d3zv2s9t6g2p"},"timestamp":{"type":"string","pattern":"^[0-9]+$","description":"Unix timestamp in seconds. Must match X-Webhook-Timestamp.","example":"1763203200"},"data":{"type":"object","additionalProperties":true,"description":"Event-specific payload object.","example":{"invoice_id":"inv_123","status":"paid"}}}},"InboxAutopilotError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"InboxAutopilotItem":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"channel":{"type":"string","enum":["email","chat","telegram"]},"external_ref":{"type":"string","nullable":true},"from_address":{"type":"string","nullable":true},"subject":{"type":"string","nullable":true},"body":{"type":"string"},"language":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"priority":{"type":"string"},"matched_ticket_id":{"type":"integer","nullable":true},"matched_rule_id":{"type":"string","nullable":true},"assigned_to":{"type":"string","nullable":true},"escalated":{"type":"boolean"},"draft_reply":{"type":"string","nullable":true},"draft_source":{"type":"string","nullable":true,"enum":["template","llm",null]},"status":{"type":"string","enum":["pending","awaiting_approval","approved","rejected"]},"triage_log":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":true}},"received_at":{"type":"string"},"triaged_at":{"type":"string","nullable":true},"decided_at":{"type":"string","nullable":true},"decided_by":{"type":"string","nullable":true},"decision_note":{"type":"string","nullable":true}}},"InboxAutopilotRule":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"title":{"type":"string"},"prompt":{"type":"string","description":"Plain-language escalation rule edited by the customer."},"assignee":{"type":"string","nullable":true},"priority":{"type":"string","enum":["normal","high","urgent"]},"active":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"InboxGuardDecision":{"type":"object","description":"Entscheidung des Postfach-Waechters — nur Codes, nie Betreff oder Adresse.","properties":{"outcome":{"type":"string","enum":["admitted","dry_run","spam_skipped","test_recipient_skipped","rate_limited","refused"]},"kind":{"type":"string","enum":["draft","receipt","task"]},"reason":{"type":"string"},"dry_run":{"type":"boolean"},"limit_per_hour":{"type":"integer"}}},"InboxGuardMeta":{"type":"object","description":"Sicht des Postfach-Waechters fuer Verbraucher, die selbst etwas aus der\nMail bauen (Antwortvorschlag, Beleg, Aufgabe). `dry_run: true` heisst:\nnichts anlegen, nichts versenden, nur zaehlen (Standard, solange keine\nGo-live-Markierung IMAP_INBOX_GO_LIVE gesetzt ist). `spam: true` heisst:\naus dieser Mail entsteht nie etwas. In der Liste nur der Ordner-Befund\n(Junk/Spam), in der Einzelansicht zusaetzlich die Spam-Kopfzeilen. Das\nLesen zaehlt nichts und aendert keine Markierung.\n","required":["dry_run","mode_reason","spam","spam_reason"],"properties":{"dry_run":{"type":"boolean"},"mode_reason":{"type":"string","enum":["inbox_not_configured","dry_run_explicit","dry_run_value_invalid","go_live_marker_missing","go_live_marker_invalid","go_live_marker_in_future","go_live_marker_set"]},"spam":{"type":"boolean"},"spam_reason":{"type":["string","null"],"enum":["x_spam_flag","x_spam_status","x_spam","x_spamd_result","x_spam_action","x_spam_level","junk_folder",null]}}},"Incident":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"workflow_id":{"type":"string"},"node_id":{"type":"string"},"field_key":{"type":"string","nullable":true},"signal_type":{"type":"string"},"signal_count":{"type":"integer"},"window_started_at":{"type":"string","nullable":true},"status":{"type":"string","enum":["detected","diagnosing","fix_proposed","applied","verified","dismissed"]},"ai_job_id":{"type":"string","nullable":true},"detected_at":{"type":"string"},"updated_at":{"type":"string"}}},"IncidentDetail":{"allOf":[{"$ref":"#/components/schemas/Incident"},{"type":"object","properties":{"fixes":{"type":"array","items":{"$ref":"#/components/schemas/Fix"}},"signals":{"type":"array","items":{"type":"object","additionalProperties":true}},"log":{"type":"array","items":{"$ref":"#/components/schemas/LogEntry"}}}}]},"Income":{"type":"object","required":["id","tenant_id","amount","vat_rate","vat_amount","net_amount","payment_status","created_at","updated_at"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string","nullable":true},"customer_name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"vat_rate":{"type":"integer","minimum":0,"maximum":100},"vat_amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"net_amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"invoice_number":{"type":"string","nullable":true},"booking_date":{"type":"string","format":"date","nullable":true},"payment_date":{"type":"string","format":"date","nullable":true},"payment_status":{"type":"string"},"category":{"type":"string","nullable":true},"business_division_id":{"type":"integer","nullable":true},"notes":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"IncomeCreate":{"type":"object","required":["amount","currency_code"],"properties":{"customer_id":{"type":"string"},"customer_name":{"type":"string"},"description":{"type":"string"},"amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"vat_rate":{"type":"integer","minimum":0,"maximum":100},"currency_code":{"type":"string","pattern":"^[A-Z]{3}$"},"invoice_number":{"type":"string"},"booking_date":{"type":"string","format":"date"},"payment_date":{"type":"string","format":"date"},"payment_status":{"type":"string"},"category":{"type":"string"},"business_division_id":{"type":"integer"},"notes":{"type":"string"}}},"IncomeStatement":{"type":"object","required":["date_from","date_to","revenue","expenses","total_revenue","total_expenses","profit","booking_count"],"properties":{"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"revenue":{"type":"array","items":{"$ref":"#/components/schemas/IncomeStatementEntry"}},"expenses":{"type":"array","items":{"$ref":"#/components/schemas/IncomeStatementEntry"}},"total_revenue":{"type":"number","format":"double"},"total_expenses":{"type":"number","format":"double"},"profit":{"type":"number","format":"double"},"booking_count":{"type":"integer","minimum":0,"description":"Number of double-entry bookings in the requested period.","example":42}}},"IncomeStatementEntry":{"type":"object","required":["account_number","name","balance"],"properties":{"account_number":{"type":"string"},"name":{"type":"string"},"category":{"type":"string","nullable":true},"balance":{"type":"number","format":"double"}}},"InsightAction":{"type":"object","properties":{"id":{"type":"string","example":"offer"},"label":{"type":"string"},"summary":{"type":"string"},"primary":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/InsightField"}}}},"InsightActionRequest":{"type":"object","required":["action"],"properties":{"action":{"type":"string","example":"follow-up"},"fields":{"type":"object","additionalProperties":true,"description":"Edited field values (money in integer cents)"},"confirm":{"type":"boolean","description":"execute only: must be true"},"previewHash":{"type":"string","description":"execute only: hash of the confirmed preview; a different plan answers 409 preview_changed"}}},"InsightDecision":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["snoozed","dismissed","restored","unchanged"]},"item":{"$ref":"#/components/schemas/InsightItem"}}},"InsightExecution":{"type":"object","properties":{"success":{"type":"boolean"},"status":{"type":"string","enum":["executed","unchanged","failed"]},"item":{"$ref":"#/components/schemas/InsightItem"},"run":{"type":"object","nullable":true,"additionalProperties":true,"description":"The recipe-engine run with every step outcome and created record"},"trail":{"type":"object","nullable":true,"additionalProperties":true,"description":"auditId, documentId, linked DocumentLinks targets"}}},"InsightField":{"type":"object","properties":{"name":{"type":"string","example":"offerTotalCents"},"type":{"type":"string","enum":["cents","int","date","datetime","text","textarea"]},"value":{"oneOf":[{"type":"integer"},{"type":"string"}],"description":"Default (money in integer cents)"},"label":{"type":"string"},"required":{"type":"boolean"},"min":{"type":"integer"},"max":{"type":"integer"}}},"InsightItem":{"type":"object","properties":{"key":{"type":"string","example":"fewo-gap:apt-sea:2026-11-05:2026-11-08"},"detector":{"type":"string","enum":["fewo-gap","lead-high-value","invoice-overdue","quote-stale"]},"kind":{"type":"string","enum":["opportunity","risk"]},"priority":{"type":"string","enum":["high","medium","low"]},"app":{"type":"string","example":"accommodation-admin"},"title":{"type":"string"},"reason":{"type":"string","description":"Why it was detected, with the values"},"facts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"oneOf":[{"type":"integer"},{"type":"string"}]},"format":{"type":"string","enum":["cents","int","days","nights","date","text","percent"]}}}},"valueCents":{"type":"integer","nullable":true,"description":"Expected value in integer cents where computable"},"detectedAt":{"type":"string","format":"date"},"dueDate":{"type":"string","format":"date","nullable":true},"source":{"$ref":"#/components/schemas/InsightRef"},"links":{"type":"array","items":{"$ref":"#/components/schemas/InsightRef"}},"actions":{"type":"array","items":{"$ref":"#/components/schemas/InsightAction"}},"textSource":{"type":"string","enum":["template"]},"state":{"type":"string","enum":["open","snoozed","dismissed","done","failed"]},"snoozedUntil":{"type":"string","format":"date","nullable":true},"runId":{"type":"string","nullable":true,"description":"workflow_rule_runs.id of the execution"},"executedAction":{"type":"string","nullable":true},"trail":{"type":"object","nullable":true,"additionalProperties":true},"stale":{"type":"boolean","description":"The situation is no longer detected (history tabs)"}}},"InsightList":{"type":"object","properties":{"success":{"type":"boolean"},"enabled":{"type":"boolean"},"items":{"type":"array","items":{"$ref":"#/components/schemas/InsightItem"}},"counts":{"type":"object","properties":{"open":{"type":"integer"},"high":{"type":"integer"},"opportunities":{"type":"integer"},"risks":{"type":"integer"},"snoozed":{"type":"integer"},"dismissed":{"type":"integer"},"done":{"type":"integer"},"opportunityCents":{"type":"integer"},"riskCents":{"type":"integer"}}},"sources":{"type":"array","items":{"type":"object","properties":{"detector":{"type":"string"},"label":{"type":"string"},"status":{"type":"string","enum":["ok","unavailable","error"]},"count":{"type":"integer"}}}},"thresholds":{"type":"object","additionalProperties":{"type":"integer"}},"generatedAt":{"type":"string","format":"date-time"},"textSource":{"type":"string","enum":["template"]}}},"InsightPreview":{"type":"object","properties":{"success":{"type":"boolean"},"preview":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/InsightItem"},"action":{"type":"string"},"values":{"type":"object","additionalProperties":true},"steps":{"type":"array","items":{"$ref":"#/components/schemas/InsightStep"}},"blocked":{"type":"array","items":{"type":"string"}},"previewHash":{"type":"string"},"sendsToCustomer":{"type":"boolean","example":false}}}}},"InsightRef":{"type":"object","properties":{"type":{"type":"string","example":"lead","description":"Fabric record type (lead, invoice, quote, customer, accommodation-booking)"},"id":{"type":"string"},"label":{"type":"string"},"app":{"type":"string"}}},"InsightStep":{"type":"object","properties":{"moduleId":{"type":"string","example":"workflow"},"commandId":{"type":"string","example":"create_follow_up"},"parameters":{"type":"object","additionalProperties":{"type":"string"}},"label":{"type":"string"},"effect":{"type":"string","enum":["task","calendar","draft","proposal","price-rule","offer-draft"]}}},"Insights_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"InstantBookingRequest":{"allOf":[{"$ref":"#/components/schemas/PublicBookingFields"},{"type":"object","required":["bookingMode"],"properties":{"bookingMode":{"type":"string","const":"instant"}}}],"description":"Only published when Stripe checkout and webhook keys are configured consistently. Single room only. Same CSRF and proof requirements. A pending reservation and checkout URL are returned; only a signature-verified paid callback confirms it. On checkout failure the request is retained; never resubmit automatically."},"IntakeAnalysis":{"type":"object","properties":{"type":{"type":"string","enum":["invoice","contract","delivery_note","cv","receipt","letter","quote_request","business_card","other"]},"confidence":{"type":"integer","minimum":0,"maximum":100},"signals":{"type":"array","items":{"type":"string"}},"fields":{"type":"object","properties":{"date":{"$ref":"#/components/schemas/IntakeField"},"amountCents":{"$ref":"#/components/schemas/IntakeField"},"counterparty":{"$ref":"#/components/schemas/IntakeField"},"documentNumber":{"$ref":"#/components/schemas/IntakeField"},"endDate":{"$ref":"#/components/schemas/IntakeField"}}},"textSource":{"type":"string","enum":["text","pdf","filename","server","none"]}}},"IntakeDropPlan":{"type":"object","properties":{"success":{"type":"boolean"},"stored":{"type":"boolean"},"dryRun":{"type":"boolean"},"document":{"$ref":"#/components/schemas/Document"},"analysis":{"$ref":"#/components/schemas/IntakeAnalysis"},"email":{"type":"object","additionalProperties":{"type":"string"}},"customer":{"$ref":"#/components/schemas/IntakeRecordRef"},"primary":{"$ref":"#/components/schemas/IntakeProposal"},"alternatives":{"type":"array","items":{"$ref":"#/components/schemas/IntakeProposal"}},"duplicate":{"type":"object","nullable":true,"properties":{"documentId":{"type":"string"},"name":{"type":"string"},"reason":{"type":"string","enum":["checksum","document_number"]},"createdAt":{"type":"string"}}},"assist":{"type":"object","additionalProperties":true}}},"IntakeField":{"type":"object","required":["value","confidence","source"],"properties":{"value":{"oneOf":[{"type":"string"},{"type":"integer"}],"description":"ISO day for date/endDate, integer cents for amountCents, text otherwise."},"confidence":{"type":"integer","minimum":0,"maximum":100},"source":{"type":"string","enum":["text","filename","user","server"]}}},"IntakeProposal":{"type":"object","properties":{"id":{"type":"string"},"docType":{"type":"string"},"app":{"type":"string"},"module":{"type":"string"},"label":{"type":"object","additionalProperties":{"type":"string"}},"appLabel":{"type":"object","additionalProperties":{"type":"string"}},"confidence":{"type":"integer"},"category":{"type":"string"},"action":{"type":"string"},"command":{"type":"object","additionalProperties":true},"link":{"type":"string"},"server":{"type":"string","enum":["belegeingang","reminder","file"]},"subject":{"$ref":"#/components/schemas/IntakeRecordRef"},"needsSubject":{"type":"string"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"object","additionalProperties":{"type":"string"}},"required":{"type":"boolean"},"value":{"type":"string"}}}},"source":{"type":"string","enum":["rules","context","local-model"]}}},"IntakeRecordRef":{"type":"object","required":["type","id"],"properties":{"type":{"type":"string","pattern":"^[a-z][a-z0-9-]{0,48}$"},"id":{"type":"string"},"label":{"type":"string"},"edgeId":{"oneOf":[{"type":"string"},{"type":"integer"}]}}},"IntakeRequestState":{"type":"object","properties":{"status":{"type":"string","enum":["requested","approved","rejected","signed","declined"]},"requestedAt":{"type":"string"},"assignee":{"type":"string"},"decidedAt":{"type":"string"},"remoteId":{"type":"string"}}},"InterimClearingTransferReport":{"type":"object","properties":{"execute":{"type":"boolean"},"clarification_account":{"type":"string","example":"1370"},"totals":{"type":"object","description":"Sum over the planned (dry run) or cleared (execute) items, integer cents.","properties":{"count":{"type":"integer"},"gross_cents":{"type":"integer"},"net_cents":{"type":"integer"},"vat_cents":{"type":"integer"},"euer_profit_delta_cents":{"type":"integer","description":"EÜR profit change (revenue net, or the neutralised expense of a money-in-transit leg)."}}},"items":{"type":"array","items":{"type":"object","properties":{"booking_id":{"type":"string"},"type":{"type":"string","enum":["revenue","money_in_transit"]},"counter_booking_id":{"type":"string"},"euer_profit_delta_cents":{"type":"integer"},"status":{"type":"string","enum":["planned","cleared","already_cleared","refused","failed","not_attempted"]},"reason":{"type":"string","description":"Named refusal or failure, e.g. origin_not_on_clarification_account."},"contra_account":{"type":"string"},"vat_rate":{"type":"integer"},"booking_date":{"type":"string","format":"date"},"gross_cents":{"type":"integer"},"net_cents":{"type":"integer"},"vat_cents":{"type":"integer"},"booking_text":{"type":"string"},"source_document_id":{"type":"string"},"journal_id":{"type":"string"},"euer_income_id":{"type":"string","nullable":true},"legs":{"type":"array","items":{"type":"object","properties":{"leg":{"type":"string","enum":["net","output_vat","main"]},"id":{"type":"string"},"debit":{"type":"string"},"credit":{"type":"string"},"amount_cents":{"type":"integer"},"tax_rate":{"type":"integer"},"tax_amount_cents":{"type":"integer"}}}},"vat_ledger":{"type":"object","properties":{"posted":{"type":"boolean"},"entry_ids":{"type":"array","items":{"type":"string"}}}}}}}}},"InternalNoteTemplate":{"type":"object","properties":{"key":{"type":"string"},"title":{"type":"string"},"category":{"type":"string"},"content":{"type":"string"}}},"InternalTicketNote":{"allOf":[{"$ref":"#/components/schemas/TicketMessage"},{"type":"object","properties":{"pinned":{"type":"boolean"},"customer_visible":{"type":"boolean"},"note_type":{"type":"string","enum":["internal"]}}}]},"InternalTicketNoteCreate":{"type":"object","properties":{"message":{"type":"string"},"is_pinned":{"type":"boolean"},"pinned":{"type":"boolean"},"template_key":{"type":"string"}}},"IntrastatAuthorityReceiptRequest":{"type":"object","required":["authorityReceipt"],"additionalProperties":false,"properties":{"authorityReceipt":{"type":"string","minLength":1,"maxLength":128},"authorityResponse":{"type":"string"}}},"IntrastatAuthoritySubmission":{"type":"object","required":["id","report_id","status","payload_sha256","idempotency_key","created_at"],"properties":{"id":{"type":"integer"},"report_id":{"type":"integer"},"status":{"type":"string","enum":["queued","submitted","rejected"]},"payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string"},"authority_receipt":{"type":"string","nullable":true},"response_sha256":{"type":"string","nullable":true},"created_at":{"type":"string"},"submitted_at":{"type":"string","nullable":true}}},"IntrastatReport":{"type":"object","required":["id","tenant_id","year","month","flow","status","item_count"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"year":{"type":"integer"},"month":{"type":"integer"},"flow":{"type":"string","enum":["dispatch","arrival"]},"status":{"type":"string","enum":["draft","queued","submitted","accepted","superseded","not_reportable"]},"submitted_at":{"type":"string","nullable":true},"dba_reference":{"type":"string","nullable":true},"total_value":{"type":"string"},"total_weight_kg":{"type":"string"},"item_count":{"type":"integer"},"obligated":{"type":"boolean","nullable":true},"replaces_report_id":{"type":"integer","nullable":true},"authority_submission":{"$ref":"#/components/schemas/IntrastatAuthoritySubmission"}}},"IntrastatReportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/IntrastatReport"}}},"IntrastatSubmitRequest":{"type":"object","required":["year","month","flow"],"additionalProperties":false,"properties":{"year":{"type":"integer","minimum":2000,"maximum":2100},"month":{"type":"integer","minimum":1,"maximum":12},"flow":{"type":"string","enum":["dispatch","arrival"]},"fileVoluntarily":{"type":"boolean","default":false}}},"InvalidEventTypeErrorResponse":{"type":"object","required":["success","error","code","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","enum":["invalid_event_type"]},"code":{"type":"string","enum":["invalid_event_type"]},"message":{"type":"string"}}},"InventoryAutopilotError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"InventoryAutopilotProposal":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"run_date":{"type":"string"},"mrp_run_id":{"type":"integer","nullable":true},"mrp_suggestion_id":{"type":"integer","nullable":true},"item_id":{"type":"integer"},"quantity":{"type":"number"},"need_by_date":{"type":"string"},"release_date":{"type":"string","nullable":true},"supplier_id":{"type":"integer","nullable":true},"supplier_score":{"type":"number","nullable":true},"supplier_grade":{"type":"string","nullable":true},"promise_on_time_rate":{"type":"number","nullable":true},"confidence":{"type":"number"},"route":{"type":"string","enum":["approval","hands_free","rfq"]},"rfq_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["awaiting_approval","approved","auto_approved","rejected","rfq_queued"]},"po_payload":{"type":"object","nullable":true,"additionalProperties":true},"decision_log":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":true}},"created_at":{"type":"string"},"decided_at":{"type":"string","nullable":true},"decided_by":{"type":"string","nullable":true},"decision_note":{"type":"string","nullable":true}}},"InventoryAutopilotSupplier":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"supplier_id":{"type":"integer"},"approved_count":{"type":"integer"},"rejected_count":{"type":"integer"},"approval_ratio":{"type":"number","description":"Learned buyer approval ratio (Laplace-smoothed, 0..1)."},"hands_free_enabled":{"type":"boolean"},"hands_free_threshold":{"type":"number"},"updated_at":{"type":"string"}}},"InventoryCommandRequest":{"type":"object","description":"Inventory command payload. Accepted fields depend on the operation; handlers ignore unrelated optional fields and validate required domain values with HTTP 422.","additionalProperties":true,"properties":{"id":{"type":"string"},"item_id":{"type":"string"},"location_id":{"type":"string"},"warehouse_id":{"type":"string"},"batch_id":{"type":"string"},"lot_id":{"type":"string"},"user_id":{"type":"string"},"status":{"type":"string"},"reason":{"type":"string"},"note":{"type":"string"},"actor":{"type":"string"},"qty":{"type":"number"},"quantity":{"type":"number"},"counted_qty":{"type":"number"},"system_qty":{"type":"number"},"parent_qty":{"type":"number"},"unit_cost_cents":{"type":"integer","format":"int64"},"line_value_cents":{"type":"integer","format":"int64"}}},"InventoryData":{"description":"Tenant-scoped inventory result returned by the owning handler.","oneOf":[{"type":"object","additionalProperties":true},{"type":"array","items":{"type":"object","additionalProperties":true}},{"type":"string"},{"type":"number"},{"type":"boolean"}],"nullable":true},"InventoryDisclosureFields":{"type":"object","description":"Optionale artikelbezogene Informationspflichten nach EU 2023/2673.","properties":{"reparability_score":{"type":"integer","minimum":0,"maximum":100,"nullable":true},"spare_parts_available":{"type":"integer","enum":[0,1],"nullable":true},"spare_parts_cost_cents":{"type":"integer","minimum":0,"nullable":true,"description":"Cent-Ganzzahl."},"spare_parts_ordering":{"type":"string","nullable":true},"repair_instructions":{"type":"string","nullable":true},"repair_restrictions":{"type":"string","nullable":true},"eco_delivery_options":{"type":"string","nullable":true}}},"InventoryErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Stable machine-readable error code."},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"InventoryExplorerMove":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"batch_id":{"type":"string"},"article_id":{"type":"string"},"from_location_id":{"type":"string"},"to_location_id":{"type":"string"},"quantity":{"type":"number"},"reason_notes":{"type":"string","nullable":true},"moved_by":{"type":"string"},"moved_at":{"type":"string"},"status":{"type":"string"}}},"InventoryItem":{"allOf":[{"$ref":"#/components/schemas/InventoryDisclosureFields"},{"type":"object","required":["id","tenant_id","sku","name"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"sku":{"type":"string"},"name":{"type":"string"}}}]},"InventoryItemResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/InventoryItem"}}},"InventorySuccessEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/InventoryData"},"meta":{"type":"object","additionalProperties":true}}},"InvestmentPropertyInput":{"type":"object","required":["fixed_asset_id","building_id","property_use","effective_date","carrying_basis","carrying_amount_cents","idempotency_key"],"properties":{"fixed_asset_id":{"type":"integer","minimum":1},"building_id":{"type":"string","minLength":1},"property_use":{"type":"string","enum":["owner_occupied","rental_investment","mixed_use"]},"effective_date":{"type":"string","format":"date"},"carrying_basis":{"type":"string","enum":["hgb_cost_model"]},"carrying_amount_cents":{"type":"integer","minimum":0,"description":"Must equal canonical fixed-asset/schedule book value"},"fair_value_cents":{"type":"integer","minimum":0,"nullable":true},"valuation_date":{"type":"string","format":"date","nullable":true},"valuation_method":{"type":"string","nullable":true},"valuation_provider":{"type":"string","nullable":true},"valuation_source":{"type":"string","nullable":true},"evidence_ref":{"type":"string","nullable":true},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","nullable":true},"expected_version":{"type":"integer","minimum":0},"idempotency_key":{"type":"string","minLength":1,"maxLength":128}},"oneOf":[{"not":{"required":["fair_value_cents"]}},{"required":["fair_value_cents"],"properties":{"fair_value_cents":{"nullable":true,"enum":[null]}}},{"required":["fair_value_cents","valuation_date","valuation_method","valuation_provider","valuation_source","evidence_ref","evidence_sha256"],"properties":{"fair_value_cents":{"type":"integer","minimum":0}}}]},"InvestmentPropertyItem":{"type":"object","required":["id","fixed_asset_id","building_id","property_use","effective_date","carrying_basis","carrying_amount_cents","carrying_evidence_date","carrying_evidence_ref","carrying_evidence_revision","carrying_evidence_sha256","version","command_sha256","request_sha256","idempotency_key","recorded_at"],"properties":{"id":{"type":"integer"},"fixed_asset_id":{"type":"integer"},"building_id":{"type":"string"},"asset_no":{"type":"string"},"name":{"type":"string"},"property_use":{"type":"string","enum":["owner_occupied","rental_investment","mixed_use"]},"effective_date":{"type":"string","format":"date"},"carrying_basis":{"type":"string","enum":["hgb_cost_model"]},"carrying_amount_cents":{"type":"integer"},"carrying_evidence_date":{"type":"string","format":"date"},"carrying_evidence_ref":{"type":"string"},"carrying_evidence_revision":{"type":"string"},"carrying_evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"fair_value_cents":{"type":"integer","nullable":true},"valuation_date":{"type":"string","format":"date","nullable":true},"valuation_method":{"type":"string","nullable":true},"valuation_provider":{"type":"string","nullable":true},"valuation_source":{"type":"string","nullable":true},"evidence_ref":{"type":"string","nullable":true},"evidence_sha256":{"type":"string","nullable":true},"version":{"type":"integer","minimum":1},"supersedes_id":{"type":"integer","nullable":true},"command_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"request_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string"},"recorded_at":{"type":"string"},"operation":{"type":"string","enum":["created","replay"]}}},"InvestmentPropertyReportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/InvestmentPropertyItem"}}}}}},"InvestmentPropertyResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/InvestmentPropertyItem"}}},"Invoice":{"type":"object","properties":{"id":{"type":"integer"},"invoice_number":{"type":"string","example":"INV-2026-001"},"invoice_date":{"type":"string","example":"2026-03-01"},"due_date":{"type":"string","example":"2026-03-15"},"status":{"type":"string","example":"paid"},"net_amount":{"type":"number","example":49},"vat_amount":{"type":"number","example":9.31},"gross_amount":{"type":"number","example":58.31},"still_due":{"type":"number","example":0},"created_at":{"type":"string"}}},"InvoiceAccountingSyncJobOutput":{"type":"object","additionalProperties":true,"properties":{"success":{"type":"boolean"},"output":{"oneOf":[{"type":"string"},{"type":"array","items":[]},{"type":"object","additionalProperties":true}],"nullable":true}}},"InvoiceAccountingSyncQueueRow":{"type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string","example":"pending"},"attempts":{"type":"integer"},"last_error":{"type":"string","nullable":true},"remote_id":{"type":"string","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"InvoiceAccountingSyncResult":{"type":"object","properties":{"invoice":{"allOf":[{"$ref":"#/components/schemas/Invoice"}],"nullable":true},"queue_row":{"allOf":[{"$ref":"#/components/schemas/InvoiceAccountingSyncQueueRow"}],"nullable":true},"job_output":{"$ref":"#/components/schemas/InvoiceAccountingSyncJobOutput"}}},"InvoiceBatchPaymentInput":{"type":"object","required":["invoice_ids"],"properties":{"invoice_ids":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"integer"},{"type":"string"}]}},"payment_date":{"type":"string","format":"date"},"payment_method":{"type":"string"},"payment_reference":{"type":"string"},"currency":{"type":"string"},"reference_text":{"type":"string"}}},"InvoiceBatchPaymentResult":{"type":"object","properties":{"count":{"type":"integer"},"invoices":{"type":"array","items":{"$ref":"#/components/schemas/Invoice"}}}},"InvoiceCollectionOptionsResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","required":["invoice_id","invoice_number","payable","payment_link","payment_plan","settlements"],"properties":{"invoice_id":{"type":"integer"},"invoice_number":{"type":"string"},"payable":{"type":"boolean"},"payment_link":{"nullable":true,"type":"object","required":["url","expires_at"],"properties":{"url":{"type":"string"},"expires_at":{"type":"string","nullable":true}}},"payment_plan":{"nullable":true,"type":"object","required":["status","schedule"],"properties":{"status":{"type":"string","enum":["under_review","approved","sent"]},"schedule":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"settlements":{"type":"array","items":{"type":"object","required":["transaction_id","amount_cents","currency","status","booked_at","is_demo"],"properties":{"transaction_id":{"type":"string"},"amount_cents":{"type":"integer","description":"Integer minor units"},"currency":{"type":"string","minLength":3,"maxLength":3},"status":{"type":"string","enum":["applied","reversed"]},"booked_at":{"type":"string","nullable":true},"is_demo":{"type":"integer","enum":[0,1]}}}}}}}},"InvoiceDispute":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"invoice_id":{"type":"integer"},"invoice_item_id":{"type":"integer"},"status":{"type":"string","enum":["submitted","under_review","resolved","rejected"]},"reason":{"type":"string"},"resolution_note":{"type":"string","nullable":true},"submitted_by":{"type":"string","nullable":true},"submitted_at":{"type":"string","format":"date-time"},"reviewed_by":{"type":"string","nullable":true},"reviewed_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"InvoiceDisputeInput":{"type":"object","required":["invoice_item_id","reason"],"properties":{"invoice_item_id":{"type":"integer"},"reason":{"type":"string"}}},"InvoiceDisputeReviewInput":{"type":"object","properties":{"status":{"type":"string","enum":["submitted","under_review","resolved","rejected"]},"resolution_note":{"type":"string"}}},"InvoiceIncomeSyncResult":{"type":"object","required":["dry_run","source_available","effective_statuses","matched_before_status_filter","status_filtered_out","outcome","explanation_key","count","created","would_create","skipped_duplicate","skipped_period_closed","errors","totals","results"],"properties":{"dry_run":{"type":"boolean"},"source_available":{"type":"boolean","description":"False when the invoices table is unavailable; distinct from an empty candidate set."},"effective_statuses":{"type":"array","description":"Status filter actually applied after request or tenant-default resolution.","items":{"type":"string","enum":["draft","sent","paid","overdue","partially_paid"]}},"matched_before_status_filter":{"type":"integer","minimum":0,"description":"Tenant/date/source candidates before applying effective_statuses."},"status_filtered_out":{"type":"integer","minimum":0,"description":"Number of otherwise matching candidates excluded by effective_statuses."},"outcome":{"type":"string","enum":["source_missing","no_candidates","status_filter_excluded_candidates","dry_run_preview","completed"]},"explanation_key":{"type":"string","description":"Machine-readable i18n key derived from outcome; no localized prose is returned.","enum":["accounting.invoice_income_sync.source_missing","accounting.invoice_income_sync.no_candidates","accounting.invoice_income_sync.status_filter_excluded_candidates","accounting.invoice_income_sync.dry_run_preview","accounting.invoice_income_sync.completed"]},"count":{"type":"integer","description":"Candidate invoices examined"},"created":{"type":"integer"},"would_create":{"type":"integer","description":"Rows a commit run would create (dry_run only)"},"skipped_duplicate":{"type":"integer"},"skipped_period_closed":{"type":"integer"},"errors":{"type":"integer"},"totals":{"type":"object","description":"Sums over created/would_create rows (decimal strings)","properties":{"net":{"type":"string"},"vat":{"type":"string"},"gross":{"type":"string"}}},"results":{"type":"array","items":{"type":"object","required":["invoice_id","invoice_number","status"],"properties":{"invoice_id":{"type":"integer"},"invoice_number":{"type":"string"},"status":{"type":"string","enum":["created","would_create","skipped_duplicate","skipped_period_closed","error"]},"income_id":{"type":"integer"},"reason":{"type":"string","description":"Machine-readable error reason (error rows only)"},"net_amount":{"type":"string"},"vat_amount":{"type":"string"},"gross_amount":{"type":"string"},"vat_rate":{"type":"string"}}}}}},"InvoiceInput":{"type":"object","properties":{"customer_id":{"type":"string"},"invoice_number":{"type":"string"},"invoice_date":{"type":"string","format":"date"},"due_date":{"type":"string","format":"date"},"status":{"type":"string"},"net_amount":{"type":"number"},"vat_amount":{"type":"number"},"gross_amount":{"type":"number"},"current_amount":{"type":"number"},"still_due":{"type":"number"},"payment_terms_days":{"type":"integer"},"late_fee_active":{"type":"boolean"},"sepa_type":{"type":"string"},"invoice_type":{"type":"string"},"annotation":{"type":"string"},"legacy_id":{"type":"string"}}},"InvoiceItem":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string","nullable":true},"invoice_id":{"type":"integer"},"item_number":{"type":"integer","nullable":true},"name1":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"quantity":{"type":"number"},"unit_price":{"type":"number"},"vat_rate":{"type":"number"},"item_status":{"type":"string","enum":["draft","upcoming","current","invoiced","cancelled"]},"effective_date":{"type":"string","format":"date","nullable":true},"annotation":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true},"legacy_source":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"InvoiceItemInput":{"type":"object","properties":{"customer_id":{"type":"string"},"item_number":{"type":"integer"},"name1":{"type":"string"},"description":{"type":"string"},"quantity":{"type":"number"},"unit_price":{"type":"number"},"vat_rate":{"type":"number"},"item_status":{"type":"string"},"effective_date":{"type":"string","format":"date"},"annotation":{"type":"string"},"legacy_id":{"type":"string"},"legacy_source":{"type":"string"}}},"InvoiceNetwork_Document":{"type":"object","description":"One tenant's side: id, direction outgoing|incoming, status delivered|disputed|approved|part_paid|paid, partner {tenantId, label}, invoice {id (issuer only), number, date, dueDate, currency, netCents, vatCents, grossCents, buyerOrderRef}, match {status matched|differences|unmatched, kind purchase_order|accepted_quote, ref {id (recipient only), label}, comparison (recipient only), candidates (recipient only)}, lines [Line], openDisputes, approval {at, automatic} | null, payment {paidCents, openCents, paidAt, reference, reportedAt}, deliveredAt, actions.\n"},"InvoiceReminder":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"invoice_id":{"type":"integer"},"reminder_date":{"type":"string","format":"date","nullable":true},"step":{"type":"integer"},"status":{"type":"string","enum":["pending","sent","acknowledged","blocked"]},"email_sent_at":{"type":"string","format":"date-time","nullable":true},"annotation":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"InvoiceReminderInput":{"type":"object","properties":{"reminder_date":{"type":"string","format":"date"},"step":{"type":"integer"},"status":{"type":"string"},"email_sent_at":{"type":"string","format":"date-time"},"annotation":{"type":"string"}}},"InvoiceSpec":{"type":"object","properties":{"vat_mode":{"type":"string","enum":["standard","kleinunternehmer"]},"recipients":{"type":"array","maxItems":30,"items":{"type":"object","properties":{"customer_id":{"type":"string","description":"Existing customer of the tenant"},"name":{"type":"string"}}}},"items":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","required":["description","unit_price_cents"],"properties":{"description":{"type":"string"},"quantity":{"type":"string","pattern":"^\\d{1,6}(\\.\\d{1,2})?$"},"unit_price_cents":{"type":"integer","minimum":0},"vat_rate":{"type":"integer","enum":[0,7,19]}}}}}},"InvoiceTemplate":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"header_html":{"type":"string","nullable":true},"footer_html":{"type":"string","nullable":true},"logo_placement":{"type":"string","enum":["top-left","top-center","top-right","bottom-left","bottom-right","hidden"]},"color_scheme":{"type":"object","additionalProperties":true},"is_default":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"InvoiceTemplateInput":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"header_html":{"type":"string"},"footer_html":{"type":"string"},"logo_placement":{"type":"string","enum":["top-left","top-center","top-right","bottom-left","bottom-right","hidden"]},"color_scheme":{"type":"object","additionalProperties":true},"is_default":{"type":"boolean"}}},"Invoicing_CreditNote":{"type":"object","required":["id","credit_note_number","currency","net_amount","tax_amount","gross_amount"],"properties":{"id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"credit_note_number":{"type":"string","nullable":true},"original_invoice_id":{"oneOf":[{"type":"integer"},{"type":"string"}],"nullable":true},"original_invoice_number":{"type":"string","nullable":true},"invoice_date":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"status":{"type":"string","nullable":true},"customer_id":{"type":"string","nullable":true},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"net_amount":{"type":"string","pattern":"^\\d+\\.\\d{2}$"},"tax_amount":{"type":"string","pattern":"^\\d+\\.\\d{2}$"},"gross_amount":{"type":"string","pattern":"^\\d+\\.\\d{2}$"},"signed_net_amount":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$"},"signed_tax_amount":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$"},"signed_gross_amount":{"type":"string","pattern":"^-?\\d+\\.\\d{2}$"},"annotation":{"type":"string","nullable":true},"created_at":{"type":"string","nullable":true},"updated_at":{"type":"string","nullable":true}}},"Invoicing_Invoice":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string","nullable":true},"invoice_number":{"type":"string","nullable":true},"invoice_date":{"type":"string","format":"date","nullable":true},"due_date":{"type":"string","format":"date","nullable":true},"status":{"type":"string","enum":["draft","planned","sent","paid","partially_paid","overdue","cancelled","credited"]},"net_amount":{"type":"number"},"vat_amount":{"type":"number"},"gross_amount":{"type":"number"},"current_amount":{"type":"number"},"still_due":{"type":"number"},"payment_terms_days":{"type":"integer","nullable":true},"late_fee_active":{"type":"integer"},"sepa_type":{"type":"string","nullable":true},"invoice_type":{"type":"string","enum":["auto","manual","recurring","credit_note"]},"annotation":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true},"einvoice_validation_status":{"type":"string","enum":["not_run","passed","failed"]},"einvoice_validation_errors_json":{"type":"string","nullable":true,"description":"JSON array with exact EN-16931 validator findings."},"einvoice_validated_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"Invoicing_SuccessResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true}}},"ItemList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Record"}}}},"IttAuditIndexMetadata":{"type":"object","additionalProperties":false,"required":["ok","scope","report","attestation"],"properties":{"ok":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["itt-audit-index-metadata"]},"attestation":{"type":"string"},"report":{"type":"object","additionalProperties":false,"required":["schema_version","migration","observed_at","engine_version","columns","indexes","state_matches","target"],"properties":{"schema_version":{"type":"integer","enum":[1]},"migration":{"type":"string","enum":["20260724_020401_repair_zz_audit_log_index_mysql.sql"]},"observed_at":{"type":"string","format":"date-time"},"engine_version":{"type":"string"},"state_matches":{"type":"boolean"},"columns":{"type":"array","maxItems":3,"items":{"type":"object","additionalProperties":false,"required":["COLUMN_NAME","DATA_TYPE","CHARACTER_MAXIMUM_LENGTH","COLUMN_TYPE"],"properties":{"COLUMN_NAME":{"type":"string","enum":["tenant_id","action","created_at"]},"DATA_TYPE":{"type":"string"},"CHARACTER_MAXIMUM_LENGTH":{"type":"integer","nullable":true},"COLUMN_TYPE":{"type":"string"}}}},"indexes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["INDEX_NAME","NON_UNIQUE","SEQ_IN_INDEX","COLUMN_NAME","SUB_PART","INDEX_TYPE"],"properties":{"INDEX_NAME":{"type":"string","enum":["idx_reconcile_c557d44ef2a5"]},"NON_UNIQUE":{"type":"integer"},"SEQ_IN_INDEX":{"type":"integer"},"COLUMN_NAME":{"type":"string","nullable":true},"SUB_PART":{"type":"integer","nullable":true},"INDEX_TYPE":{"type":"string"}}}},"target":{"type":"object","additionalProperties":false,"required":["site_name","base_url_host","git_commit"],"properties":{"site_name":{"type":"string","nullable":true},"base_url_host":{"type":"string","nullable":true},"git_commit":{"type":"string","nullable":true}}}}}}},"IttFinancialColumnMetadata":{"type":"object","additionalProperties":false,"required":["ok","scope","tables","complete","expected_column_count","column_count"],"properties":{"ok":{"type":"boolean","enum":[true],"description":"Diagnostic success only; not schema compliance."},"scope":{"type":"string","enum":["itt-financial-column-metadata"]},"complete":{"type":"boolean"},"expected_column_count":{"type":"integer","enum":[26]},"column_count":{"type":"integer","minimum":0,"maximum":26},"tables":{"type":"object","additionalProperties":false,"required":["payment_transactions","bank_transactions","invoices","tenants"],"properties":{"payment_transactions":{"$ref":"#/components/schemas/IttFinancialMetadataTable"},"bank_transactions":{"$ref":"#/components/schemas/IttFinancialMetadataTable"},"invoices":{"$ref":"#/components/schemas/IttFinancialMetadataTable"},"tenants":{"$ref":"#/components/schemas/IttFinancialMetadataTable"}}}}},"IttFinancialMetadataTable":{"type":"object","additionalProperties":false,"required":["exists","table_type","columns","missing_columns","complete"],"properties":{"exists":{"type":"boolean","description":"Independent relation existence including views; true even if no selected columns exist."},"table_type":{"type":"string","nullable":true,"description":"Native TABLE_TYPE such as BASE TABLE or VIEW; null if absent."},"complete":{"type":"boolean"},"missing_columns":{"type":"array","items":{"type":"string"}},"columns":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["COLUMN_NAME","DATA_TYPE","COLUMN_TYPE","CHARACTER_MAXIMUM_LENGTH","CHARACTER_SET_NAME","COLLATION_NAME","IS_NULLABLE","EXTRA"],"properties":{"COLUMN_NAME":{"type":"string"},"DATA_TYPE":{"type":"string"},"COLUMN_TYPE":{"type":"string"},"CHARACTER_MAXIMUM_LENGTH":{"type":"integer","nullable":true},"CHARACTER_SET_NAME":{"type":"string","nullable":true},"COLLATION_NAME":{"type":"string","nullable":true},"IS_NULLABLE":{"type":"string","enum":["YES","NO"]},"EXTRA":{"type":"string"}}}}}},"Job":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["voice_transcribe","llm_chat","document_ocr"]},"status":{"type":"string","enum":["queued","claimed","done","failed","expired"]},"target_hint":{"type":"string","nullable":true},"delivery_state":{"type":["string","null"],"enum":["pending_review","approved","rejected","auto_released","review_unavailable",null]},"result_text":{"type":"string","nullable":true},"result":{"type":"object","nullable":true,"description":"Restored with server-written provenance only; null in a list item whose result was withheld (error_class pseudonym_restore_failed)"},"error":{"type":"string","nullable":true,"description":"Worker error text; null when it carries a pseudonym"},"created_at":{"type":"string","format":"date-time"},"claimed_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"expires_at":{"type":"string","format":"date-time"},"worker_id":{"type":"string","nullable":true}}},"JobCreate":{"type":"object","required":["name"],"properties":{"name":{"type":"string","example":"Daily Cleanup"},"description":{"type":"string","nullable":true},"schedule":{"type":"string","default":"* * * * *","example":"0 2 * * *"},"handler_class":{"type":"string","example":"App\\Jobs\\CleanupHandler"},"is_active":{"type":"integer","enum":[0,1],"default":1},"last_run_at":{"type":"string","format":"date-time","nullable":true},"next_run_at":{"type":"string","format":"date-time","nullable":true},"run_count":{"type":"integer","default":0},"priority":{"type":"string","enum":["high","normal","low"],"default":"normal"},"timezone":{"type":"string","nullable":true,"description":"IANA timezone the cron schedule is evaluated in (DST-safe). Null / empty falls back to the configured default (Europe/Berlin).\n","example":"Europe/Berlin"},"max_retries":{"type":"integer","minimum":0,"maximum":100,"default":3,"description":"#26667 — number of transient-failure retries before dead-letter. Out-of-range values are rejected with HTTP 422.\n"},"timeout_seconds":{"type":"integer","minimum":1,"maximum":3600,"nullable":true,"description":"#26667 — per-job runtime limit. Null falls back to the executor default (300s). Out-of-range values are rejected with HTTP 422.\n"}}},"JobUpdate":{"type":"object","description":"Partial update - only provided fields are changed","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"schedule":{"type":"string"},"handler_class":{"type":"string"},"is_active":{"type":"integer","enum":[0,1]},"last_run_at":{"type":"string","format":"date-time","nullable":true},"next_run_at":{"type":"string","format":"date-time","nullable":true},"run_count":{"type":"integer"},"priority":{"type":"string","enum":["high","normal","low"]},"timezone":{"type":"string","nullable":true,"description":"IANA timezone the cron schedule is evaluated in (DST-safe). Null / empty falls back to the configured default (Europe/Berlin).\n","example":"Europe/Berlin"},"max_retries":{"type":"integer","minimum":0,"maximum":100,"description":"#26667 — retune the transient-failure retry budget. Out-of-range values are rejected with HTTP 422.\n"},"timeout_seconds":{"type":"integer","minimum":1,"maximum":3600,"nullable":true,"description":"#26667 — retune the per-job runtime limit (null clears back to the executor default). Out-of-range values are rejected with HTTP 422.\n"}}},"JournalEntry":{"type":"object","properties":{"seq":{"type":"integer","format":"int64","description":"Global monotonic replication cursor"},"txn_id":{"type":"string","description":"Groups statements of one primary transaction"},"stmt_index":{"type":"integer","description":"Statement order inside the transaction"},"tenant_id":{"type":"string"},"origin_instance":{"type":"string"},"actor_id":{"type":"string","nullable":true},"trace_id":{"type":"string","nullable":true},"event_type":{"type":"string","nullable":true,"description":"Tier-1 semantic annotation when known"},"sql_text":{"type":"string"},"params_json":{"type":"string","description":"JSON-encoded resolved bound parameters"},"affected_rows":{"type":"integer","nullable":true},"created_at":{"type":"string"}}},"JournalReconciliationLineageSelector":{"type":"object","additionalProperties":false,"description":"Echo unchanged inside preview/create plan. Root has three null expected values and no issues; terminal_head has three hashes and no issues; blocked has null expected values and issue codes and cannot authorize a new review. The opaque digest binds server-held tenant/source/topology and is not external export authority.","required":["schema_version","source_document_id","state","expected_parent_revision_id","expected_terminal_job_id","expected_terminal_manifest_sha256","selector_sha256","issues"],"properties":{"schema_version":{"type":"string","enum":["journal_reconciliation_lineage_selector/v1"]},"source_document_id":{"type":"string"},"state":{"type":"string","enum":["root","terminal_head","blocked"]},"expected_parent_revision_id":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$"},"expected_terminal_job_id":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$"},"expected_terminal_manifest_sha256":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$"},"selector_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"issues":{"type":"array","items":{"type":"string"}}}},"JournalReconciliationResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["placeholder_count","matched_count","unmatched_count","review_items"],"properties":{"placeholder_count":{"type":"integer","minimum":0},"matched_count":{"type":"integer","minimum":0},"unmatched_count":{"type":"integer","minimum":0},"review_items":{"type":"array","description":"Unresolved rows only. Raw booking, invoice, payment and bank identifiers are deliberately omitted.","items":{"$ref":"#/components/schemas/JournalReviewItem"}}}}}},"JournalReviewItem":{"type":"object","additionalProperties":false,"required":["tenant","booking_date","booking_line","purpose_code","reason_code","candidate_count","next_evidence_code"],"properties":{"tenant":{"type":"string","description":"Authenticated tenant scope owning the booking line."},"booking_date":{"type":"string","format":"date"},"booking_line":{"type":"string","description":"Data-minimised amount and account direction without counterparties or source references."},"purpose_code":{"type":"string","enum":["unclear_payment","unassigned_revenue","historic_revenue"]},"reason_code":{"type":"string","enum":["bank_source_missing","bank_source_ambiguous","invoice_identity_missing","invoice_identity_ambiguous","source_evidence_missing"]},"candidate_count":{"type":"integer","minimum":0},"next_evidence_code":{"type":"string","enum":["select_bank_source","provide_invoice_source","link_payment_evidence"]}}},"JournalVatLedgerBackfillReport":{"type":"object","description":"What the backfill declared (or would declare) in the vat_ledger.","properties":{"tenant_id":{"type":"string"},"execute":{"type":"boolean","description":"false = preview only, nothing was written."},"vat_accounts":{"type":"array","description":"The VAT accounts recognised in this tenant's own chart.","items":{"type":"string"}},"candidates":{"type":"integer"},"posted":{"type":"integer","description":"Rows declared (or, in a preview, that would be declared)."},"skipped":{"type":"integer"},"mirror_reversals":{"type":"integer","description":"Reversed originals whose vat_ledger mirror was still declared and was (or, in a preview, would be) reversed."},"totals":{"type":"object","properties":{"net":{"type":"string","description":"Sum of the declared Bemessungsgrundlagen (scale 2).","example":"1724.25"},"vat":{"type":"string","description":"Sum of the declared tax amounts (scale 2).","example":"327.61"}}},"rows":{"type":"array","items":{"$ref":"#/components/schemas/JournalVatLedgerBackfillRow"}}}},"JournalVatLedgerBackfillRow":{"type":"object","properties":{"booking_id":{"type":"string"},"posted":{"type":"boolean"},"reason":{"type":"string","description":"reverse_charge_13b | vat_movement | no_vat_account | no_vat_rate | already_mirrored | is_storno | reversed | reversed_mirror_live | reversed_mirror_reversed"},"document_id":{"type":"string","description":"The vat_ledger document_id, e.g. `de_booking:3751`."},"entry_ids":{"type":"array","items":{"type":"string"}},"net_amount":{"type":"string"},"vat_amount":{"type":"string"},"vat_rate":{"type":"string"},"base_source":{"type":"string","description":"expenses_row | supplied | derived_from_tax"},"kennziffern":{"type":"array","description":"The UStVA boxes this row feeds.","items":{"type":"string"}},"direction":{"type":"string","enum":["collect","pay"]}}},"JsonExportResult":{"type":"object","properties":{"export_id":{"type":"string"},"format":{"type":"string","enum":["json"]},"report_type":{"type":"string"},"filters":{"type":"object"},"row_count":{"type":"integer"},"columns":{"type":"array","items":{"type":"string"}},"rows":{"type":"array","items":{"type":"object"}},"generated_at":{"type":"string"},"filename":{"type":"string"}}},"JsonRpcRequest":{"type":"object","required":["jsonrpc","method"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"description":"String or integer; omit for notifications.","oneOf":[{"type":"string"},{"type":"integer"}]},"method":{"type":"string","enum":["initialize","ping","tools/list","tools/call","notifications/initialized","notifications/cancelled"]},"params":{"type":"object","description":"Method parameters. For tools/call: {\"name\": <tool>, \"arguments\": <object per the tool's inputSchema from tools/list>}.\n"}},"additionalProperties":false},"JsonRpcResponse":{"type":"object","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{"description":"Mirrors the request id (null when it could not be read).","oneOf":[{"type":"string"},{"type":"integer"}],"nullable":true},"result":{"type":"object","description":"Present on success (mutually exclusive with error)."},"error":{"type":"object","description":"Present on failure (mutually exclusive with result).","required":["code","message"],"properties":{"code":{"type":"integer","description":"-32700 parse error, -32600 invalid request, -32601 method not found, -32602 invalid params, -32001 auth required.\n"},"message":{"type":"string"},"data":{"type":"object"}}}}},"KanbanBoards_Conflict":{"type":"object","description":"409 — the board moved on. `current` carries the newest board so the client rebases without another request.","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","enum":["version_conflict","card_moved_meanwhile","already_shared"]},"message":{"type":"string"},"current":{"type":"object","properties":{"board":{"$ref":"#/components/schemas/Board"},"version":{"type":"integer"}}}}},"KanbanBoards_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"Key":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,127}$"},"KeyboxCode":{"type":"object","required":["id","room_id","month","code"],"properties":{"id":{"type":"integer"},"room_id":{"type":"string"},"month":{"type":"string"},"code":{"type":"string","format":"password","x-sensitive":true},"note":{"type":"string","nullable":true}}},"KeyboxCodeFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"keybox_id":{"type":"integer","minimum":1},"code":{"type":"string","minLength":1,"format":"password","x-sensitive":true,"description":"Secret. Never include this value in logs or error messages."},"gueltig_von":{"type":"string","format":"date"},"gueltig_bis":{"type":"string","format":"date","nullable":true}}},"KeyboxCodeInput":{"type":"object","required":["room_id","month","code"],"additionalProperties":false,"properties":{"room_id":{"type":"string","minLength":1,"maxLength":80},"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},"code":{"type":"string","minLength":1,"maxLength":40,"writeOnly":true},"note":{"type":"string","nullable":true,"maxLength":255}}},"KeyboxCodeList":{"type":"object","required":["success","codes","total"],"properties":{"success":{"type":"boolean","enum":[true]},"codes":{"type":"array","items":{"$ref":"#/components/schemas/KeyboxCode"}},"total":{"type":"integer","minimum":0}}},"KeyboxError":{"type":"object","required":["success","code","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"code":{"type":"string","enum":["invalid_month","invalid_room_id","invalid_request_body","invalid_batch_size","invalid_batch_row","apartment_not_found","validation_failed","invalid_id","keybox_code_not_found","database_error"]},"error":{"type":"string"},"message":{"type":"string"}}},"KeyboxFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"unit_id":{"type":"integer","minimum":1},"bezeichnung":{"type":"string","minLength":1},"aktiv":{"type":"integer","enum":[0,1]}}},"KeyboxInput":{"allOf":[{"$ref":"#/components/schemas/KeyboxFields"}],"required":["unit_id","bezeichnung"]},"KeyboxResolution":{"type":"object","required":["bezeichnung","code","gueltig_von"],"properties":{"bezeichnung":{"type":"string"},"code":{"type":"string"},"gueltig_von":{"type":"string","format":"date"},"gueltig_bis":{"type":"string","format":"date","nullable":true}}},"KeyboxUpsertResult":{"oneOf":[{"type":"object","required":["success","code"],"properties":{"success":{"type":"boolean","enum":[true]},"code":{"$ref":"#/components/schemas/KeyboxCode"}}},{"type":"object","required":["success","counts","results"],"properties":{"success":{"type":"boolean"},"counts":{"type":"object"},"results":{"type":"array","items":{"type":"object"}}}}]},"KnowledgeBaseArticle":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"title":{"type":"string"},"content":{"type":"string"},"category":{"type":"string"},"category_id":{"type":"integer","nullable":true,"minimum":1},"is_published":{"type":"integer"},"author":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"KnowledgeBaseArticleCreate":{"type":"object","required":["title","content"],"properties":{"source_ticket_id":{"type":"string","pattern":"^[1-9][0-9]*$","description":"Staff-only solved ticket source; forces an unpublished draft and internal provenance."},"neutralized":{"type":"boolean","description":"Must be true for a ticket solution copy; confirms manual privacy review."},"title":{"type":"string"},"content":{"type":"string"},"category":{"type":"string","default":"general"},"category_id":{"type":"integer","nullable":true,"minimum":1},"is_published":{"type":"boolean","default":false},"author":{"type":"string"},"legacy_id":{"type":"string"}}},"KnowledgeBaseArticleUpdate":{"type":"object","properties":{"title":{"type":"string"},"content":{"type":"string"},"category":{"type":"string"},"category_id":{"type":"integer","nullable":true,"minimum":1},"is_published":{"type":"boolean"},"author":{"type":"string"},"legacy_id":{"type":"string"}}},"KnowledgeBaseCategory":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string","nullable":true},"parent_id":{"type":"integer","nullable":true},"sort_order":{"type":"integer"},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"KnowledgeBaseCategoryCreate":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"icon":{"type":"string"},"parent_id":{"type":"integer","nullable":true},"sort_order":{"type":"integer"}}},"KnowledgeBaseCategoryReorder":{"type":"object","required":["sort_order"],"properties":{"sort_order":{"type":"integer"},"parent_id":{"type":"integer","nullable":true}}},"KnowledgeBaseCategoryStats":{"type":"object","properties":{"category":{"$ref":"#/components/schemas/KnowledgeBaseCategory"},"article_count":{"type":"integer"},"total_views":{"type":"integer"}}},"KnowledgeBaseCategoryTreeNode":{"allOf":[{"$ref":"#/components/schemas/KnowledgeBaseCategory"},{"type":"object","properties":{"children":{"type":"array","items":{"$ref":"#/components/schemas/KnowledgeBaseCategoryTreeNode"}}}}]},"KnowledgeBaseEffectivenessArticle":{"allOf":[{"$ref":"#/components/schemas/KnowledgeBaseEffectivenessTopic"},{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"is_published":{"type":"integer"},"created_at":{"type":"string","format":"date-time","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}}}]},"KnowledgeBaseEffectivenessResponse":{"type":"object","properties":{"summary":{"$ref":"#/components/schemas/KnowledgeBaseEffectivenessSummary"},"by_topic":{"type":"array","items":{"$ref":"#/components/schemas/KnowledgeBaseEffectivenessTopic"}},"by_article":{"type":"array","items":{"$ref":"#/components/schemas/KnowledgeBaseEffectivenessArticle"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"KnowledgeBaseEffectivenessSummary":{"type":"object","properties":{"article_count":{"type":"integer"},"topic_count":{"type":"integer"},"total_views":{"type":"integer"}}},"KnowledgeBaseEffectivenessTopic":{"type":"object","properties":{"topic":{"type":"string"},"article_count":{"type":"integer"},"total_views":{"type":"integer"},"unique_viewers":{"type":"integer"},"viewers_with_follow_up_ticket":{"type":"integer"},"viewers_without_follow_up_ticket":{"type":"integer"},"ticket_conversion_rate":{"type":"number","format":"float","nullable":true},"effectiveness_rate":{"type":"number","format":"float","nullable":true},"is_effective":{"type":"boolean"}}},"KontenrahmenAlignmentConflict":{"type":"object","required":["account","kept_as","kept_type","target_name","target_type","postings","postings_measured","published_type","drift"],"properties":{"account":{"type":"string"},"kept_as":{"type":"string","description":"The name the tenant's chart stores today."},"kept_type":{"type":"string","description":"The type the tenant's chart stores today."},"target_name":{"type":"string"},"target_type":{"type":"string"},"postings":{"type":"integer","minimum":0,"description":"Bookings touching this account, debit or credit."},"postings_measured":{"type":"boolean","description":"False when the posting counts could not be read at all. `postings`\nis then 0 because there is no number to report, NOT because nothing\nis booked — an unread count is unmeasured, never zero, and a\nzero-booking confirmation is refused while this is false.\n"},"published_type":{"type":"string","description":"The type every derived report actually publishes for this number.\nIt is the configured chart's value wherever that chart defines the\nnumber, and the stored value only where it does not — so it can\ndiffer from kept_type.\n"},"drift":{"type":"string","enum":["name_only","meaning"],"description":"name_only — published_type already equals target_type, so adopting\nthe target definition moves no derived figure.\nmeaning — adopting it would change what derivations compute.\n"}}},"KontenrahmenAlignmentPlan":{"type":"object","required":["decision","from","to","conflicts","missing","orphaned","setting_matches_target","chart_conformity","actions"],"properties":{"decision":{"type":"string","enum":["noop","top_up","refuse","confirm_zero_booking"],"description":"Derived from the chart, never from the setting. `noop` means the\nchart already holds every target account with the target's name and\ntype — the single exception being a chart that cannot be read at\nall, which reports noop because a diagnostic must not invent a\ndefect.\n"},"from":{"type":"string","description":"The tenant's configured Kontenrahmen."},"to":{"type":"string","description":"The target measured against."},"setting_matches_target":{"type":"boolean","description":"Whether the SETTING would change. A separate question from whether\nthe chart has work to do, and answered separately on purpose.\n"},"chart_conformity":{"type":"object","nullable":true,"description":"Which Kontenrahmen the books follow, and how well.","properties":{"configured_variant":{"type":"string"},"verdict":{"type":"string","enum":["conforms","contradicts","inert"]},"accounts_total":{"type":"integer","minimum":0},"readings":{"type":"object","properties":{"confirmed":{"type":"integer","minimum":0},"retyped":{"type":"integer","minimum":0},"legacy":{"type":"integer","minimum":0}}},"follows":{"type":"object","additionalProperties":{"type":"object","properties":{"matched":{"type":"integer","minimum":0},"of":{"type":"integer","minimum":0}}}}}},"conflicts":{"type":"array","items":{"$ref":"#/components/schemas/KontenrahmenAlignmentConflict"}},"missing":{"type":"array","description":"Account numbers the target defines and the chart lacks.","items":{"type":"string"}},"orphaned":{"type":"array","description":"Account numbers the chart keeps that the target does not define.\nThey are never removed and never retyped — inventing a definition\nfor them would be inventing a foreign Kontenrahmen.\n","items":{"type":"string"}},"actions":{"type":"array","description":"One named action per account the plan mentions.","items":{"type":"object","required":["account","action"],"properties":{"account":{"type":"string"},"action":{"type":"string","enum":["add","rename","blocked_meaning_collision","keep_without_counterpart"]},"kept_as":{"type":"string"},"kept_type":{"type":"string"},"published_type":{"type":"string"},"target_name":{"type":"string"},"target_type":{"type":"string"},"postings":{"type":"integer","minimum":0}}}}}},"KonzernControlTransitionEvidence":{"type":"object","additionalProperties":true,"required":["id","tenant_id","parent_tenant_id","subsidiary_tenant_id","control_date","resulting_ownership_bps","remeasurement_gain_loss_cents","goodwill_cents","bargain_purchase_cents","currency","valuation_evidence_id","valuation_evidence_sha256","evidence_sha256"],"properties":{"id":{"type":"integer","format":"int64"},"tenant_id":{"type":"string"},"parent_tenant_id":{"type":"string"},"subsidiary_tenant_id":{"type":"string"},"control_date":{"type":"string","format":"date"},"resulting_ownership_bps":{"type":"integer","minimum":5000,"maximum":10000},"remeasurement_gain_loss_cents":{"type":"integer","format":"int64"},"goodwill_cents":{"type":"integer","format":"int64","minimum":0},"bargain_purchase_cents":{"type":"integer","format":"int64","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"valuation_evidence_id":{"type":"integer","format":"int64"},"valuation_evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"KonzernControlTransitionInput":{"type":"object","additionalProperties":false,"required":["parent_tenant_id","subsidiary_tenant_id","control_date","prior_ownership_bps","acquired_ownership_bps","prior_interest_carrying_cents","prior_interest_fair_value_cents","new_consideration_cents","nci_fair_value_cents","fair_value_net_assets_cents","currency","valuation_evidence_id","valuation_evidence_sha256"],"properties":{"parent_tenant_id":{"type":"string","minLength":1,"maxLength":64},"subsidiary_tenant_id":{"type":"string","minLength":1,"maxLength":64},"control_date":{"type":"string","format":"date"},"prior_ownership_bps":{"type":"integer","minimum":1,"maximum":4999},"acquired_ownership_bps":{"type":"integer","minimum":1,"maximum":9999},"prior_interest_carrying_cents":{"type":"integer","format":"int64","minimum":0},"prior_interest_fair_value_cents":{"type":"integer","format":"int64","minimum":0},"new_consideration_cents":{"type":"integer","format":"int64","minimum":0},"nci_fair_value_cents":{"type":"integer","format":"int64","minimum":0},"fair_value_net_assets_cents":{"type":"integer","format":"int64","minimum":0},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"valuation_evidence_id":{"type":"integer","format":"int64","minimum":1},"valuation_evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"KonzernControlTransitionSuccess":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/KonzernControlTransitionEvidence"}}},"KonzernControlValuationEvidence":{"type":"object","additionalProperties":true,"required":["id","tenant_id","evidence_key","parent_tenant_id","subsidiary_tenant_id","control_date","currency","evidence_sha256","source_reference"],"properties":{"id":{"type":"integer","format":"int64"},"tenant_id":{"type":"string"},"evidence_key":{"type":"string"},"parent_tenant_id":{"type":"string"},"subsidiary_tenant_id":{"type":"string"},"control_date":{"type":"string","format":"date"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"source_reference":{"type":"string"}}},"KonzernControlValuationEvidenceInput":{"type":"object","additionalProperties":false,"required":["evidence_key","parent_tenant_id","subsidiary_tenant_id","control_date","currency","prior_ownership_bps","acquired_ownership_bps","prior_interest_carrying_cents","prior_interest_fair_value_cents","new_consideration_cents","nci_fair_value_cents","fair_value_net_assets_cents","source_reference"],"properties":{"evidence_key":{"type":"string","minLength":1,"maxLength":64},"parent_tenant_id":{"type":"string","minLength":1,"maxLength":64},"subsidiary_tenant_id":{"type":"string","minLength":1,"maxLength":64},"control_date":{"type":"string","format":"date"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"prior_ownership_bps":{"type":"integer","minimum":1,"maximum":9999},"acquired_ownership_bps":{"type":"integer","minimum":1,"maximum":9999},"prior_interest_carrying_cents":{"type":"integer","format":"int64","minimum":0},"prior_interest_fair_value_cents":{"type":"integer","format":"int64","minimum":0},"new_consideration_cents":{"type":"integer","format":"int64","minimum":0},"nci_fair_value_cents":{"type":"integer","format":"int64","minimum":0},"fair_value_net_assets_cents":{"type":"integer","format":"int64","minimum":0},"source_reference":{"type":"string","minLength":1,"maxLength":128}}},"KonzernControlValuationEvidenceSuccess":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/KonzernControlValuationEvidence"}}},"KonzernFirstConsolidationInput":{"type":"object","additionalProperties":false,"required":["parent_tenant_id","subsidiary_tenant_id","acquisition_date","evidence_period_start","evidence_period_end","investment_cost_cents","ownership_bps","subsidiary_equity_cents","group_currency","fx_evidence_sha256","allocations"],"properties":{"parent_tenant_id":{"type":"string","minLength":1,"maxLength":64},"subsidiary_tenant_id":{"type":"string","minLength":1,"maxLength":64},"acquisition_date":{"type":"string","format":"date"},"evidence_period_start":{"type":"string","format":"date"},"evidence_period_end":{"type":"string","format":"date"},"investment_cost_cents":{"type":"integer","format":"int64","minimum":0},"ownership_bps":{"type":"integer","minimum":1,"maximum":10000},"subsidiary_equity_cents":{"type":"integer","format":"int64"},"group_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"fx_evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"allocations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["allocation_key","description","total_step_up_cents"],"properties":{"allocation_key":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,63}$"},"description":{"type":"string","minLength":1,"maxLength":255},"total_step_up_cents":{"type":"integer","format":"int64","minimum":0}}}}}},"KonzernGrantInput":{"type":"object","additionalProperties":false,"required":["user_id","target_tenant_id"],"properties":{"user_id":{"type":"string","minLength":1},"target_tenant_id":{"type":"string","minLength":1}}},"KonzernHyperinflationPolicy":{"type":"object","additionalProperties":false,"required":["applicable","tenant_id","source_tenant_id","period_key","functional_currency","authority","provider","evidence_sha256"],"properties":{"applicable":{"type":"boolean"},"tenant_id":{"type":"string","minLength":1},"source_tenant_id":{"type":"string","minLength":1},"period_key":{"type":"string"},"functional_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"authority":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","minLength":1,"maxLength":256},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"base_date":{"type":"string","format":"date"},"base_index":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,18})(?:\\.\\d{1,12})?$"},"closing_date":{"type":"string","format":"date"},"closing_index":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,18})(?:\\.\\d{1,12})?$"},"factor":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,18})(?:\\.\\d{1,12})?$","description":"Optional exact control assertion against the server-derived, 12-place half-away-rounded ratio."}},"oneOf":[{"properties":{"applicable":{"enum":[true]}},"required":["base_date","base_index","closing_date","closing_index"]},{"properties":{"applicable":{"enum":[false]}},"not":{"anyOf":[{"required":["base_date"]},{"required":["base_index"]},{"required":["closing_date"]},{"required":["closing_index"]},{"required":["factor"]}]}}]},"KonzernSnapshotInput":{"type":"object","required":["source_tenant_id","period_key","liquidity_cents"],"properties":{"source_tenant_id":{"type":"string","minLength":1,"maxLength":64},"period_key":{"type":"string","pattern":"^\\\\d{4}-(?:0[1-9]|1[0-2])$"},"functional_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"group_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"liquidity_cents":{"type":"integer","format":"int64","description":"Full unscaled monetary cash; closing rate."},"authoritative_equity_cents":{"type":"integer","format":"int64","nullable":true,"description":"Full unscaled genuine equity; historical rate; never inferred from liquidity."},"non_monetary_assets_cents":{"type":"integer","format":"int64","description":"Defined non-monetary basis, restated before historical-rate FX."},"associate_cost_cents":{"type":"integer","format":"int64"},"associate_cumulative_profit_share_cents":{"type":"integer","format":"int64"},"associate_profit_cents":{"type":"integer","format":"int64","description":"Current 100% associate result; the server derives the ownership share."},"dividends_received_cents":{"type":"integer","format":"int64","minimum":0},"eligible_net_investment_cents":{"type":"integer","format":"int64","minimum":0,"description":"Explicit eligible long-term net investment extending the ordinary loss cap."},"net_investment_evidence":{"type":"object","additionalProperties":false,"required":["type","classification","evidence_id","source_system","evidence_payload","evidence_sha256","tenant_id","associate_entity_id","period_key","currency","amount_cents"],"properties":{"type":{"type":"string","enum":["long_term_net_investment"]},"classification":{"type":"string","enum":["subordinated_loan","long_term_receivable"]},"evidence_id":{"type":"string","minLength":1},"source_system":{"type":"string","minLength":1},"evidence_payload":{"type":"object"},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tenant_id":{"type":"string","minLength":1},"associate_entity_id":{"type":"string","minLength":1},"period_key":{"type":"string","pattern":"^\\\\d{4}-(?:0[1-9]|1[0-2])$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"amount_cents":{"type":"integer","format":"int64","minimum":1}}},"obligation_evidence":{"type":"object","additionalProperties":false,"required":["type","classification","evidence_id","source_system","evidence_payload","evidence_sha256","tenant_id","associate_entity_id","period_key","currency","amount_cents"],"properties":{"type":{"type":"string","enum":["legal","constructive"]},"classification":{"type":"string","enum":["legal_obligation","constructive_obligation"]},"evidence_id":{"type":"string","minLength":1},"source_system":{"type":"string","minLength":1},"evidence_payload":{"type":"object","description":"Exact evidence payload whose canonical JSON SHA-256 must match evidence_sha256."},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tenant_id":{"type":"string","minLength":1},"associate_entity_id":{"type":"string","minLength":1},"period_key":{"type":"string","pattern":"^\\\\d{4}-(?:0[1-9]|1[0-2])$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"amount_cents":{"type":"integer","format":"int64","minimum":1}}},"hyperinflation_policy":{"$ref":"#/components/schemas/KonzernHyperinflationPolicy"},"fx_rates":{"type":"object","required":["closing","historical","tenant_id","source_tenant_id","period_key","source_currency","target_currency","provider","evidence_sha256","average_evidence"],"properties":{"closing":{"type":"string"},"average":{"type":"string","description":"Optional assertion; must exactly match the evidence-derived rate."},"average_evidence":{"type":"object","additionalProperties":false,"description":"Supply exactly one method: transactions are preferred when available; otherwise intervals must exactly cover the period. Mixed evidence is rejected.","oneOf":[{"required":["transactions"]},{"required":["intervals"]}],"properties":{"transactions":{"type":"array","items":{"type":"object","required":["occurred_on","amount_cents","rate"],"properties":{"occurred_on":{"type":"string","format":"date"},"amount_cents":{"type":"integer","format":"int64"},"rate":{"type":"string"}}}},"intervals":{"type":"array","items":{"type":"object","required":["start_on","end_before","rate"],"properties":{"start_on":{"type":"string","format":"date"},"end_before":{"type":"string","format":"date","description":"Exclusive interval end."},"rate":{"type":"string"}}}}}},"historical":{"type":"string"},"tenant_id":{"type":"string"},"source_tenant_id":{"type":"string"},"period_key":{"type":"string"},"source_currency":{"type":"string"},"target_currency":{"type":"string"},"provider":{"type":"string","minLength":1},"evidence_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}}},"LabelResponse":{"type":"object","required":["label_url","tracking_number"],"properties":{"state":{"$ref":"#/components/schemas/PickSessionState"},"label_url":{"type":"string","format":"uri","description":"Signed/short-lived URL des DPD-Label-PDFs.","example":"https://erp.example/labels/abc.pdf"},"tracking_number":{"type":"string","example":"01234567890123"},"carrier":{"type":"string","example":"DPD"}}},"LandgangPosition":{"type":"object","additionalProperties":false,"required":["lat","lng"],"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}}},"LateShipmentCredit":{"type":"object","description":"Vom Late-Shipment-Cron erfasste, tenant-scoped Kundengutschrift.","required":["id","order_public_id","target_delivery_date","threshold_hours","credit_amount_eur","finance_backend","email_status","created_at"],"properties":{"id":{"type":"integer","minimum":1},"order_public_id":{"type":"string"},"tracking_number":{"type":"string","nullable":true},"target_delivery_date":{"type":"string","format":"date"},"threshold_hours":{"type":"integer","minimum":0},"credit_amount_eur":{"type":"string","pattern":"^\\d+\\.\\d{2}$","description":"Dezimalbetrag als String; niemals binaerer Float."},"finance_backend":{"type":"string"},"finance_reference":{"type":"string","nullable":true},"customer_name":{"type":"string","nullable":true},"customer_email":{"type":"string","format":"email","nullable":true},"email_status":{"type":"string"},"email_error_message":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"LeadWidget":{"type":"object","description":"{ id, type: quote|appointment|price-calculator, name, locale: de|en|es, allowedOrigins: [origin], theme: { mode: auto|light|dark, accent: #rrggbb|null }, calculator: { productId, productName|null, available, autoSendQuote }|null, active, key, keyVersion, embed: { scriptPath, configPath }, form: { targetType: lead-widget, targetId, title, fields }, stats: { submissions30d, lastSubmissionAt }, createdAt, updatedAt }","additionalProperties":true},"LeadWidgetInput":{"type":"object","description":"{ name, type: quote|appointment|price-calculator (create only), locale?: de|en|es, allowedOrigins: ['https://host[:port]' | 'http://localhost[:port]'] (1-10, exact, no wildcard), theme?: { mode?, accent? }, calculator?: { productId, autoSendQuote?: bool (default false: the server-priced quote waits as a draft; true: also prepare a categorized email draft; never send automatically, delivery requires confirmed quote send) } (price-calculator only, productId required on create and kept on update when omitted; a product of the caller's own calculator), active?: bool (update only) }","additionalProperties":true},"LeaveApplication":{"type":"object","properties":{"application_id":{"type":"string"},"employee_id":{"type":"string"},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date"},"days":{"type":"number"},"status":{"type":"string","enum":["open","approved","rejected","cancelled"]},"reason":{"type":"string","nullable":true},"updated_at":{"type":"string"}}},"LeaveDecisionResult":{"type":"object","description":"Das gespeicherte Event plus der aktuelle Stand des Antrags","properties":{"id":{"type":"string"},"tenantId":{"type":"string"},"eventType":{"type":"string"},"payload":{"type":"object"},"application":{"allOf":[{"$ref":"#/components/schemas/LeaveApplication"}],"nullable":true}}},"LeaveEnvelope":{"type":"object","required":["tenantId","eventType","eventVersion","schemaRef","payload"],"properties":{"tenantId":{"type":"string","description":"Muss dem angemeldeten Mandanten entsprechen"},"eventType":{"type":"string","enum":["timetracking.leave.application_submitted","timetracking.leave.application_approved","timetracking.leave.application_rejected","timetracking.leave.application_cancelled"]},"eventVersion":{"type":"integer"},"schemaRef":{"type":"string"},"payload":{"type":"object","properties":{"employeeId":{"type":"string","description":"Beim Antrag Pflicht; Mitarbeiter nur für sich selbst"},"from_date":{"type":"string","format":"date"},"to_date":{"type":"string","format":"date"},"days":{"type":"number","description":"Wird serverseitig aus den Arbeitstagen berechnet"},"reason":{"type":"string","description":"Ablehnungsgrund oder Notiz"}}}}},"LegacyImportResponse":{"type":"object","properties":{"imported":{"type":"integer"}}},"LegacyMigrationListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"tenant_id":{"type":"string"},"count":{"type":"integer"},"items":{"type":"array","items":{"type":"object","additionalProperties":true}},"field_status":{"type":"object","description":"Optional out-of-band per-FIELD pseudonymization status, emitted only to privacy/pseudonymization/admin roles or an API key with `pii.field-status:read`. For every other caller this member is omitted completely; it is never returned as empty or false. Pseudonymized values are plausible surfaces and deliberately NOT recognizable as pseudonyms in the value itself, so consumers read this map to learn which columns are replaced. The status describes the column, never an individual row. `unclassified` is the fail-closed marker for a column whose treatment cannot be proven.\n","additionalProperties":{"type":"string","enum":["raw","pseudonymized","pseudonymized_unclassified","unclassified"]}}},"required":["success","tenant_id","count","items"]},"LegacyPayslipApprovalApplyRequest":{"allOf":[{"$ref":"#/components/schemas/LegacyPayslipApprovalDryRunRequest"},{"type":"object","required":["expected_selection_sha256"],"properties":{"expected_selection_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}]},"LegacyPayslipApprovalDryRunRequest":{"type":"object","additionalProperties":false,"required":["year","expected_count"],"properties":{"year":{"type":"integer","minimum":2000,"maximum":2100},"expected_count":{"type":"integer","minimum":1,"maximum":100}}},"LegacyPayslipApprovalResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","required":["applied","year","selected","pending","already_applied","selection_sha256","changed"],"properties":{"applied":{"type":"boolean"},"year":{"type":"integer"},"selected":{"type":"integer","minimum":1},"pending":{"type":"integer","minimum":0},"already_applied":{"type":"integer","minimum":0},"selection_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"changed":{"type":"integer","minimum":0}}}}},"LicenseAdminView":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"license_key":{"type":"string","description":"Recognizable masked key; the reusable cleartext key is never returned by read or update operations.","example":"ITT-*************DDDD"},"customer_name":{"type":"string"},"customer_email":{"type":"string"},"allowed_domains":{"type":"array","items":{"type":"string"}},"feature_entitlements":{"type":"array","items":{"type":"string"}},"max_domains":{"type":"integer"},"is_active":{"type":"integer","enum":[0,1]},"expires_at":{"type":"string","format":"date","nullable":true},"grace_period_days":{"type":"integer"},"notes":{"type":"string"}}},"LicenseCreateResponse":{"allOf":[{"$ref":"#/components/schemas/LicenseAdminView"},{"type":"object","properties":{"license_key":{"type":"string","description":"Cleartext key returned exactly once when the license is created.","example":"ITT-AAAA-BBBB-CCCC-DDDD"}}}]},"LicenseListResponse":{"type":"object","required":["licenses","total","page","limit"],"properties":{"licenses":{"type":"array","items":{"$ref":"#/components/schemas/LicenseAdminView"}},"total":{"type":"integer"},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":200}}},"Lieferweg":{"type":"object","required":["aktion","label"],"properties":{"aktion":{"type":"string","enum":["upload","import","formular","stammdaten","system"]},"ziel":{"type":["string","null"],"description":"In-app target path"},"label":{"type":"string"}}},"LifeBookPeriodInput":{"type":"object","required":["period"],"additionalProperties":false,"properties":{"period":{"type":"string","pattern":"^20[0-9]{2}(-W[0-9]{2})?$"}}},"Line":{"type":"object","description":"pos, description, quantity (decimal string), unit, unitPrice (decimal string), vatPercent (integer), netCents (integer), itemId (issuer side only), dispute {status open|accepted|rejected|withdrawn, reason, at, answer, answeredAt} | null"},"LineEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Line"}}},"LineListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Line"}}}},"LineListResponse":{"$ref":"#/components/schemas/LineListEnvelope"},"LinePatch":{"allOf":[{"$ref":"#/components/schemas/LineWrite"}]},"LineResponse":{"$ref":"#/components/schemas/LineEnvelope"},"LineWrite":{"type":"object","properties":{"order":{"type":"integer","default":0},"lineKey":{"type":"string"},"label":{"type":"string"},"sourceType":{"$ref":"#/components/schemas/SourceType"},"sourceConfig":{"type":"object","additionalProperties":true},"isSubtotal":{"type":"boolean","default":false}}},"LinkDocument":{"type":"object","description":"The stored Beleg side, so the person sees what they are filing.","properties":{"id":{"type":"string"},"name":{"type":"string"},"originalFilename":{"type":"string"},"mimeType":{"type":"string"},"category":{"type":"string"},"createdAt":{"type":"string"}}},"LinkTarget":{"type":"object","description":"The business record a link points at, in the shape the scoring engine already used. The amount is INTEGER MINOR UNITS and is the same value the engine compared — it is not recomputed here, so the figure a person reads on the review surface cannot round differently from the one the decision rested on.\n","properties":{"targetType":{"type":"string","enum":["invoice","invoice_item","dunning_run","receivable","income","expense","purchase_invoice","e_invoice_import_entry","accrual_config","bank_import","bank_transaction","bank_statement_line","cash_register_transaction","zero_touch_document","booking","booking_stapel","accommodation_booking","accommodation_offer","time_entry","payslip","personnel_contract","payroll_run","portal_subscription","portal_order","portal_mail_event","portal_inquiry","contact_inquiry","email_outbox","review_email_draft","portal_mail_document","subscription_charge","tax_filing","tax_pilot_clarification","rental_agreement","skipper_logbook_entry","skipper_logbook_trip","crew_toern_offer","whistleblower_case","audit_trail_entry","cashflow_forecast_line","cashflow_forecast_run","payment_transaction","agent_token","kanban_card","reference_draft"]},"targetId":{"type":"string"},"amountCents":{"type":"integer","nullable":true,"description":"Magnitude in integer minor units when the target table proves an amount; null for non-money records"},"direction":{"type":"string","nullable":true,"enum":["einnahme","ausgabe"]},"date":{"type":"string"},"account":{"type":"string","description":"Tenant-owned bank connection or debit account when the source supplies one"},"contraAccount":{"type":"string","description":"Credit account of a journal booking"},"journalId":{"type":"string","description":"Journal identity of a booking"},"signedAmountCents":{"type":"integer","nullable":true,"description":"Exact signed stored booking amount; no inferred cash direction"},"valueDate":{"type":"string","description":"Value date of an imported bank statement line (bank_statement_line only)"},"currency":{"type":"string","description":"ISO 4217 currency of amountCents for an imported bank statement line (bank_statement_line only)"},"reference":{"type":"string","description":"Invoice number, or the reference line of a bank transaction"},"counterparty":{"type":"string"}}},"LiquidityPlan_ErrorResponse":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"LiquidityPlan_Line":{"type":"object","required":["id","tenant_id","schema_id","line_order","line_key","label","source_type","is_subtotal","source_config"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string","description":"Server-derived authenticated tenant binding."},"schema_id":{"type":"string"},"line_order":{"type":"integer"},"line_key":{"type":"string"},"label":{"type":"string"},"source_type":{"$ref":"#/components/schemas/SourceType"},"source_config_json":{"type":"string","nullable":true},"is_subtotal":{"type":"boolean"},"source_config":{"type":"object","additionalProperties":true}}},"ListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"tenant_id":{"type":"string"},"entity":{"type":"string"},"mapped":{"type":"boolean"}}}}},"LiveUploadEntry":{"type":"object","required":["path","size","mtime","sha256"],"additionalProperties":false,"properties":{"path":{"type":"string","maxLength":4096,"description":"Relative protocol path `<logical-root>/<relative>`"},"size":{"type":"integer","format":"int64","minimum":0},"mtime":{"type":"integer","format":"int64","minimum":0},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"LocalizedDeEnEs":{"type":"object","required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"LocalizedMessages":{"type":"object","required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"LocalizedText":{"type":"object","required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"LogEntry":{"type":"object","properties":{"id":{"type":"integer"},"incident_id":{"type":"string","nullable":true},"fix_id":{"type":"string","nullable":true},"actor":{"type":"string"},"action":{"type":"string"},"details_json":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"LoginRequest":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"},"rememberMe":{"type":"boolean"},"totp_code":{"type":"string","nullable":true}}},"LoginSuccessResponse":{"type":"object","properties":{"message":{"type":"string"},"userId":{"type":"integer"},"displayName":{"type":"string"},"userType":{"type":"string"},"must_change_password":{"type":"boolean"},"token":{"type":"string","nullable":true},"expiresIn":{"type":"integer"},"auth":{"$ref":"#/components/schemas/AuthTransport"}}},"LoginTwoFactorRequiredResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"requires_2fa":{"type":"boolean","enum":[true]},"challenge":{"type":"string","enum":["totp"]},"twofa_challenge":{"type":"string","nullable":true},"error":{"type":"string","enum":["two_factor_required","invalid_totp_code"]}}},"MailAddress":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"email":{"type":"string","maxLength":254}}},"MailContextAction":{"type":"object","required":["id","type","label"],"description":"compose → compose{}, open-url → url, copy → text","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["compose","open-url","copy"]},"label":{"type":"string"},"tone":{"type":"string","enum":["neutral","good","warning","critical"]},"confirm":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"compose":{"type":"object","required":["mode","to","cc","bcc","subject","position","saveAs"],"properties":{"mode":{"type":"string","enum":["reply","replyAll","forward","new"]},"to":{"type":"array","items":{"$ref":"#/components/schemas/MailAddress"}},"cc":{"type":"array","items":{"$ref":"#/components/schemas/MailAddress"}},"bcc":{"type":"array","items":{"$ref":"#/components/schemas/MailAddress"}},"subject":{"type":"string"},"bodyHtml":{"type":"string"},"bodyText":{"type":"string"},"position":{"type":"string","enum":["above-quote","replace"]},"identityEmail":{"type":"string"},"saveAs":{"type":"string","enum":["open","draft"]}}}}},"MailContextCard":{"type":"object","required":["id","kind","title","subtitle","icon","url","tone","badges","facts","tables","series","actions","notes"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["customer","invoices","portal-user","generic"]},"title":{"type":"string"},"subtitle":{"type":"string"},"icon":{"type":"string"},"url":{"type":"string"},"tone":{"type":"string","enum":["neutral","good","warning","critical"]},"badges":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"tone":{"type":"string"}}}},"facts":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"url":{"type":"string"}}}},"tables":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"columns":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"align":{"type":"string","enum":["left","right"]},"format":{"type":"string","enum":["text","money","date","status"]}}}},"rows":{"type":"array","items":{"type":"object","additionalProperties":{"type":"string"}}},"moreUrl":{"type":"string"}}}},"series":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"kind":{"type":"string","enum":["columns"]},"unit":{"type":"string"},"points":{"type":"array","items":{"type":"object","properties":{"t":{"type":"string"},"v":{"type":"number"},"tone":{"type":"string"}}}}}}},"actions":{"type":"array","items":{"$ref":"#/components/schemas/MailContextAction"}},"notes":{"type":"array","items":{"type":"string"}}}},"MailContextRequest":{"type":"object","required":["contract","message"],"properties":{"contract":{"type":"string","enum":["mail-context/v1"]},"message":{"type":"object","properties":{"messageId":{"type":"string","maxLength":998},"date":{"type":"string","description":"ISO-8601"},"direction":{"type":"string","enum":["incoming","outgoing"]},"from":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/MailAddress"}},"replyTo":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/MailAddress"}},"to":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/MailAddress"}},"cc":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/MailAddress"}},"subject":{"type":"string","maxLength":2000},"text":{"type":"string","description":"Plain text, optional, may be truncated; used for extraction only."},"textTruncated":{"type":"boolean"},"account":{"type":"object","properties":{"email":{"type":"string"}}},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Allowlist: list-id."}}},"client":{"type":"object","properties":{"app":{"type":"string"},"extension":{"type":"string"},"version":{"type":"string"},"locale":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string","enum":["compose","open-url","copy"]}}}}}},"MailContextResponse":{"type":"object","required":["contract","ttlSeconds","generatedAt","matchedOn","cards","actions"],"properties":{"contract":{"type":"string","enum":["mail-context/v1"]},"ttlSeconds":{"type":"integer"},"generatedAt":{"type":"string","format":"date-time"},"matchedOn":{"type":"array","items":{"type":"string"},"description":"<kind>:<value>, e.g. email:x@y, invoice-number:2030-17"},"cards":{"type":"array","items":{"$ref":"#/components/schemas/MailContextCard"}},"actions":{"type":"array","items":{"$ref":"#/components/schemas/MailContextAction"}}}},"MailQueueSnapshot":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"queue_size":{"type":"integer"},"deferred_count":{"type":"integer"},"bounced_count":{"type":"integer"},"oldest_message_age_seconds":{"type":"integer"},"created_at":{"type":"string"}}},"MailQueueSnapshotInput":{"type":"object","properties":{"queue_size":{"type":"integer"},"deferred_count":{"type":"integer"},"bounced_count":{"type":"integer"},"oldest_message_age_seconds":{"type":"integer"}}},"MalwareScan":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"scan_type":{"type":"string","enum":["full","quick","custom"]},"status":{"type":"string","enum":["pending","running","completed","failed"]},"started_at":{"type":"string"},"completed_at":{"type":"string","nullable":true},"files_scanned":{"type":"integer"},"threats_found":{"type":"integer"},"scan_path":{"type":"string"},"findings":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"MalwareScanTriggerInput":{"type":"object","properties":{"scan_type":{"type":"string","enum":["full","quick","custom"],"default":"quick"},"scan_path":{"type":"string"}}},"ManagedVpsCommitment":{"type":"object","additionalProperties":false,"required":["id","state","plan_id","offer_id","order_id","subscription_id","snapshot","accepted_at","activated_at","created_at","billing_starts_at_activation"],"properties":{"id":{"type":"string"},"state":{"type":"string","enum":["quoted","accepted","active"]},"plan_id":{"type":"string"},"offer_id":{"type":"string"},"order_id":{"type":"string","nullable":true},"subscription_id":{"type":"string","nullable":true},"accepted_at":{"type":"string","nullable":true},"activated_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"billing_starts_at_activation":{"type":"boolean","enum":[true]},"snapshot":{"type":"object","description":"Immutable agreed terms from backend/config/managed-vps-retail.json, not a new catalog lookup","required":["plan_id","termsVersion","validUntilDate","catalogVersion","ramGb","vcpus","storageGb","storageType","termMonths","billingPeriod","priceCents","currency","vatPercent","priceBasis","priceKind","promoAvailable","location","managed","rootAccess","takeoverAfterManagement","sourceTimestamp"],"properties":{"plan_id":{"type":"string"},"termsVersion":{"type":"string","enum":["managed-vps-v1"]},"validUntilDate":{"type":"string","format":"date","description":"Unaccepted quote expires after this Europe/Berlin calendar date; accepted contracts retain their agreed terms."},"catalogVersion":{"type":"integer"},"ramGb":{"type":"integer"},"vcpus":{"type":"integer"},"storageGb":{"type":"integer"},"storageType":{"type":"string"},"termMonths":{"type":"integer","enum":[1]},"billingPeriod":{"type":"string","enum":["month"]},"priceCents":{"type":"integer","minimum":1},"currency":{"type":"string","enum":["EUR"]},"vatPercent":{"type":"integer","enum":[19]},"priceBasis":{"type":"string","enum":["retail-gross"]},"priceKind":{"type":"string"},"promoAvailable":{"type":"boolean"},"location":{"type":"string"},"managed":{"type":"boolean","enum":[true]},"rootAccess":{"type":"boolean","enum":[false]},"takeoverAfterManagement":{"type":"boolean","enum":[true]},"sourceTimestamp":{"type":"string","nullable":true}}}}},"ManagedVpsCommitmentList":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ManagedVpsCommitment"}}}},"ManualMatchRequest":{"type":"object","required":["invoice_id"],"properties":{"invoice_id":{"type":"integer","minimum":1},"confidence":{"type":"string","enum":["weak","strong","exact"]},"customer_override":{"type":"boolean","default":false},"override_customer_mismatch":{"type":"boolean","deprecated":true}}},"ManualMatchResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/BankTransaction"}}},"MatchResult":{"type":"object","required":["transaction_id","invoice_id","confidence","customer_agreement_verified"],"properties":{"transaction_id":{"type":"integer","minimum":1},"invoice_id":{"type":"integer","minimum":1},"confidence":{"type":"string","enum":["weak","strong","exact"]},"customer_agreement_verified":{"type":"boolean"}}},"MeResponse":{"type":"object","properties":{"id":{"type":"integer"},"email":{"type":"string","format":"email"},"displayName":{"type":"string"},"userType":{"type":"string"},"tenantId":{"type":"string","nullable":true}}},"MediaFile":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"filename":{"type":"string"},"original_name":{"type":"string","nullable":true},"mime_type":{"type":"string"},"file_size":{"type":"integer"},"content_hash":{"type":"string","nullable":true},"thumbnail_path":{"type":"string","nullable":true},"alt_text":{"type":"string","nullable":true},"uploaded_by":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"MediaFileInput":{"type":"object","properties":{"filename":{"type":"string"},"original_name":{"type":"string","nullable":true},"mime_type":{"type":"string"},"file_size":{"type":"integer"},"content_hash":{"type":"string","nullable":true},"thumbnail_path":{"type":"string","nullable":true},"alt_text":{"type":"string","nullable":true},"uploaded_by":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true}}},"MembershipConsistencyCounters":{"type":"object","additionalProperties":false,"required":["revoked_sichtbar","email_only_ohne_user_id","mehrzeilen_nutzer"],"description":"Aggregate-only membership rollout counters; never contains person-level data.","properties":{"revoked_sichtbar":{"type":"integer","minimum":0},"email_only_ohne_user_id":{"type":"integer","minimum":0},"mehrzeilen_nutzer":{"type":"integer","minimum":0}}},"MessageResponse":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]},"Messaging_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"MetaInfo":{"type":"object","properties":{"generatedAt":{"type":"string","format":"date-time"},"dataFreshness":{"type":"string","format":"date-time"},"nextUpdateAt":{"type":"string","format":"date-time"}}},"MeterOccupancyReport":{"type":"object","properties":{"unit_id":{"type":"string"},"meter_type":{"type":"string"},"unit":{"type":"string"},"threshold":{"type":"string"},"intervals":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date","description":"Exclusive interval end; checkout night is vacant"},"occupied_nights":{"type":"integer"},"vacant_nights":{"type":"integer"},"unknown_nights":{"type":"integer"},"consumption":{"type":"string","nullable":true},"vacant_consumption":{"type":"string","nullable":true},"occupied_per_night":{"type":"string","nullable":true,"description":"Truncated to three decimal places; only homogeneous occupied intervals"},"allocation":{"type":"string","enum":["vacant","occupied","mixed","unknown","meter_reset"]},"conspicuous":{"type":"boolean"}}}}}},"MeterOccupancyRequest":{"type":"object","required":["meter_id","unit_id","meter_type","unit","readings"],"properties":{"meter_id":{"type":"string","minLength":1,"maxLength":191},"unit_id":{"type":"string","minLength":1,"maxLength":191,"description":"Explicit user-chosen unit ID from this tenant's occupancy configuration"},"meter_type":{"type":"string","enum":["water","electricity","gas","heating"]},"unit":{"type":"string","enum":["m3","kWh","MWh"]},"threshold":{"type":"string","pattern":"^(0|[1-9][0-9]{0,8})(\\.[0-9]{1,3})?$","description":"Allowed consumption per vacant night in the meter's physical unit"},"readings":{"type":"array","minItems":2,"maxItems":500,"description":"Strictly increasing dates; no more than 366 nights","items":{"type":"object","required":["date","value"],"properties":{"date":{"type":"string","format":"date"},"value":{"type":"string","pattern":"^(0|[1-9][0-9]{0,8})(\\.[0-9]{1,3})?$"}}}}}},"Metric":{"type":"object","properties":{"key":{"type":"string","enum":["revenue","utilization","bookingsLost","bookingsGained","bookingsShifted","freeGaps","waitDays","turnedAway","regularsLost"]},"unit":{"type":"string","enum":["cents","bps","count","days","stays","tenths_days"]},"baseline":{"type":"integer"},"scenario":{"type":"integer"},"delta":{"type":"integer"},"band":{"type":"object","nullable":true,"properties":{"p10":{"type":"integer"},"p90":{"type":"integer"}}},"why":{"$ref":"#/components/schemas/Explanation"}}},"MiddlewareError":{"type":"object","additionalProperties":false,"required":["status","code","message","error","requestId"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string"},"message":{"type":"string"},"error":{"type":"string"},"requestId":{"type":"string"},"help_url":{"type":"string"}}},"MigrationArtifactAttestation":{"type":"object","additionalProperties":false,"required":["schema","build_commit","driver","source","file_count","files","tree_sha256","runtime_files","runtime_tree_sha256"],"properties":{"schema":{"type":"string","enum":["it-tremmel/migration-artifact-attestation-v2"]},"build_commit":{"type":"string","pattern":"^[0-9a-f]{7,40}$"},"driver":{"type":"string","enum":["mysql","pgsql","sqlite"]},"source":{"type":"string","enum":["bundled","configured"]},"file_count":{"type":"integer","minimum":0},"files":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["filename","sha256"],"properties":{"filename":{"type":"string","pattern":"^[A-Za-z0-9_.-]+\\.sql$"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"applied_checksum":{"type":"string","nullable":true,"pattern":"^[0-9a-f]{64}$","description":"Read-only completed ledger checksum observed before this run; null when absent or in progress."}}}},"tree_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"runtime_files":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["component","path","sha256"],"properties":{"component":{"type":"string","pattern":"^[a-z][a-z0-9_]+$"},"path":{"type":"string","pattern":"^(src|config)/[A-Za-z0-9_./-]+$"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"}}}},"runtime_tree_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"}}},"MigrationRunRejection":{"type":"object","additionalProperties":false,"description":"Authenticated refusal before any migration file executes; a supplied run_id is atomically persisted as terminal400 and returned unchanged by the signed status route.","required":["ok","error","code","dry_run","applied","errors","execution_state","run_evidence_contract"],"properties":{"ok":{"type":"boolean","enum":[false]},"error":{"type":"string"},"code":{"type":"string","enum":["MIGRATION_SCOPE_INVALID","MIGRATION_FILENAME_UNKNOWN","PRODUCTION_CONTEXT_INVALID","PRODUCTION_CONFIG_OR_CANDIDATE_MISMATCH","PRODUCTION_DATABASE_MISMATCH","PRODUCTION_RUNTIME_BINDING_MISMATCH"]},"dry_run":{"type":"boolean"},"applied":{"type":"array","maxItems":0,"items":{"type":"string"}},"errors":{"type":"array","minItems":1,"items":{"type":"string"}},"execution_state":{"type":"string","enum":["not_executed"]},"run_evidence_contract":{"type":"string","enum":["atomic-run-claims-v2"]},"unknown":{"type":"array","items":{"type":"string"}},"run_id":{"type":"string","pattern":"^[a-f0-9]{32}$"},"run_state":{"type":"string","enum":["terminal"]},"http_status":{"type":"integer","enum":[400]}}},"MigrationRunRequest":{"type":"object","additionalProperties":false,"properties":{"production_context":{"$ref":"#/components/schemas/ProductionMigrationContext"},"run_id":{"type":"string","pattern":"^[a-f0-9]{32}$","description":"Stable caller-minted execution id bound to the server-computed canonical request and tenant/installation scope. Same id with another payload conflicts409; identical beta retries return existing status without re-execution. A production_context apply replay is refused409 PRODUCTION_APPROVAL_ALREADY_USED; signed GET run status remains available for transport recovery."},"dry_run":{"type":"boolean","description":"When `true`, list pending migrations without applying them."},"only":{"type":"array","description":"Optional list of migration filenames to limit the run to pending matches.","items":{"type":"string"}}},"example":{"dry_run":true}},"MigrationRunResponse":{"type":"object","required":["ok","dry_run","applied","skipped_already_applied","pending_remaining","checksum_mismatches","repair_effect_mismatches","migration_artifact","errors"],"properties":{"production_context":{"$ref":"#/components/schemas/ProductionMigrationContext"},"run_id":{"type":"string","pattern":"^[a-f0-9]{32}$"},"run_state":{"type":"string","enum":["running","terminal"]},"http_status":{"type":"integer","minimum":100,"maximum":599},"run_evidence_contract":{"type":"string","enum":["atomic-run-claims-v2"],"description":"Advertised by adopted runtimes; recovery clients must not infer durable terminal400 refusals when this marker is absent."},"ok":{"type":"boolean"},"dry_run":{"type":"boolean"},"applied":{"type":"array","items":{"type":"string"}},"skipped_already_applied":{"type":"array","items":{"type":"string"}},"pending_remaining":{"type":"array","items":{"type":"string"}},"checksum_mismatches":{"type":"array","description":"Every ALREADY-APPLIED migration whose file bytes no longer hash to the\nchecksum its ledger row recorded. The dry run performs the identical\nverification as the real run, so a green dry run is a real statement\nabout the next real run. Non-empty means the run applied nothing\n(fail-closed) unless `allow_checksum_drift` was set. Resolve by\nregistering the recorded hash in LockedMigrationCompatibility — an\napplied migration file is byte-wise immutable and must never be edited\nto make hashes agree.\n","items":{"type":"object","required":["migration","expected","actual","message"],"properties":{"migration":{"type":"string","description":"Migration filename."},"expected":{"type":"string","description":"SHA-256 the ledger recorded when the file was applied."},"actual":{"type":"string","description":"SHA-256 of the shipped file."},"message":{"type":"string"}}}},"repair_effect_mismatches":{"type":"array","description":"Applied append-only repairs whose declared index postconditions are absent.","items":{"type":"object","required":["migration","table","index","code","message"],"properties":{"migration":{"type":"string"},"table":{"type":"string"},"index":{"type":"string"},"code":{"type":"string","enum":["applied_repair_effect_missing","repair_effect_not_observable"]},"message":{"type":"string"}}}},"trigger_prerequisites":{"$ref":"#/components/schemas/PendingTriggerPrerequisites"},"compatibility_metadata":{"type":"array","description":"Schema-only preflight measurements from the checksum-pinned tenant-FK hook; no business values or SQL excerpts.","items":{"type":"object","additionalProperties":false,"required":["migration","measurement"],"properties":{"migration":{"type":"string"},"measurement":{"type":"object","description":"Measured parent/child type, charset, collation, nullability, engine, leading-index and attribute classes; measurement_phase is preflight."}}}},"migration_artifact":{"$ref":"#/components/schemas/MigrationArtifactAttestation"},"failure_diagnostics":{"type":"array","maxItems":4,"description":"Generic throwable and bounded previous causes, outermost first. No exception messages, SQL, traces or absolute paths. Retained in signed terminal status and reduced deploy evidence; absent on older runtimes.","items":{"type":"object","additionalProperties":false,"required":["phase","exception_class","code_location","sqlstate","driver_errno"],"properties":{"phase":{"type":"string","enum":["connect","inspect","execute"]},"exception_class":{"type":"string"},"code_location":{"type":"string","nullable":true,"description":"Repository-relative backend/src PHP file and line, or null for external code."},"sqlstate":{"type":"string","nullable":true,"pattern":"^[0-9A-Z]{5}$"},"driver_errno":{"type":"integer","nullable":true,"minimum":1,"maximum":65535}}}},"errors":{"type":"array","items":{"type":"string"}}}},"MigrationSync_PaginationMeta":{"type":"object","required":["page","per_page","total","total_pages"],"properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"},"total_pages":{"type":"integer"}}},"MirrorRulesView":{"type":"object","properties":{"default_action":{"type":"string","enum":["mirror","skip"],"description":"Action for tables no app rule matches ('mirror' = unchanged behavior)."},"rules":{"type":"array","items":{"type":"object","properties":{"app_slug":{"type":"string"},"action":{"type":"string","enum":["mirror","skip"]},"table_prefixes":{"type":"array","items":{"type":"string"},"description":"Explicit table-prefix override; empty = mechanical slug mapping."}}}},"known_apps":{"type":"array","items":{"type":"string"},"description":"Backend module names as kebab-case suggestion slugs (GET only)."}}},"Mode":{"type":"string","enum":["M","standard"],"default":"standard"},"ModerationItem":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"listing_id":{"type":"string"},"user_id":{"type":"string","nullable":true},"content_hash":{"type":"string"},"classification":{"type":"string","enum":["pending","accepted","rejected","flagged"]},"problems":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"decided_by":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"listing_title":{"type":"string","nullable":true},"listing_status":{"type":"string","nullable":true},"listing_owner_pseudonym":{"type":"string","pattern":"^portal-user-[a-f0-9]{12}$"}}},"ModuleBase/DataSink_Error":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}},"required":["success","error","message"]},"ModuleConfig":{"type":"object","properties":{"success":{"type":"boolean","example":true},"module_id":{"type":"string","example":"timetracking"},"config":{"type":"object","description":"Effective configuration (defaults merged with overrides)"},"defaults":{"type":"object","description":"Default values from schema"},"version":{"type":"integer","example":3},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"ModuleSummary":{"type":"object","properties":{"id":{"type":"string","example":"timetracking"},"title":{"type":"string","example":"Timetracking"},"description":{"type":"string"},"configured":{"type":"boolean","example":true},"version":{"type":"integer","example":3}}},"MonetizationMode":{"type":"string","enum":["free","pay_per_action","subscription","resale"],"description":"Effective monetization mode from the policy cascade (admin > reseller > tenant > user). free = every real action runs without charging.\n"},"Money":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$","example":"12.34"},"MoneyAmount":{"description":"Monetary amount as an integer in minor units (cents) or a decimal string with at most two fraction digits. Never a binary float literal.\n","oneOf":[{"type":"integer"},{"type":"string"}],"example":"50000.00"},"MoneyInput":{"oneOf":[{"type":"string","pattern":"^-?[0-9]+(?:\\.[0-9]+)?$"},{"type":"number"}],"description":"Major-unit decimal normalized to an exact two-decimal BCMath value before persistence."},"MoneyOutput":{"oneOf":[{"type":"number","multipleOf":0.01},{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"}],"description":"Compatibility number; values beyond JavaScript safe range remain exact decimal strings."},"MonitoredInvoice":{"type":"object","properties":{"id":{"type":"integer"},"invoice_number":{"type":"string"},"invoice_date":{"type":"string"},"status":{"type":"string"},"gross_amount":{"type":"number"},"still_due":{"type":"number"},"validation_status":{"type":"string","enum":["ok","missing_number","overdue","zero_amount"]}}},"MonitoredInvoiceDetail":{"allOf":[{"$ref":"#/components/schemas/MonitoredInvoice"},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}}}}]},"MonitoredItem":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"item_type":{"type":"string"},"endpoint_url":{"type":"string","nullable":true,"description":"Homepage / public URL probed for the expected HTTP status."},"health_endpoint_url":{"type":"string","nullable":true,"description":"Optional backend health endpoint (e.g. /api/health). Probed distinctly from the homepage: requires HTTP 200 and a non-unhealthy body, so a backend-down condition is detected even when the homepage still serves."},"expected_status_code":{"type":"integer","nullable":true},"check_interval_minutes":{"type":"integer"},"timeout_ms":{"type":"integer"},"last_synthetic_check_at":{"type":"string","nullable":true},"last_check_date":{"type":"string","nullable":true},"days_overdue":{"type":"integer"},"yellow_threshold":{"type":"integer"},"red_threshold":{"type":"integer"},"status":{"type":"string","enum":["green","yellow","red"]},"annotation":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"MonitoredItemInput":{"type":"object","required":["name"],"properties":{"name":{"type":"string"},"item_type":{"type":"string","enum":["server","service","database","backup","certificate","other"],"default":"server"},"endpoint_url":{"type":"string","nullable":true},"health_endpoint_url":{"type":"string","nullable":true,"description":"Optional backend health endpoint probed distinctly from the homepage."},"expected_status_code":{"type":"integer","default":200},"check_interval_minutes":{"type":"integer","default":5},"timeout_ms":{"type":"integer","default":5000},"last_check_date":{"type":"string","nullable":true},"days_overdue":{"type":"integer","default":0},"yellow_threshold":{"type":"integer","default":7},"red_threshold":{"type":"integer","default":14},"status":{"type":"string","enum":["green","yellow","red"],"default":"green"},"annotation":{"type":"string","nullable":true}}},"MonitoringHealth":{"type":"object","properties":{"status":{"type":"string","enum":["healthy","degraded","unhealthy"]},"checked_at":{"type":"string"},"components":{"type":"object","properties":{"database":{"$ref":"#/components/schemas/MonitoringHealthComponent"},"queue":{"$ref":"#/components/schemas/MonitoringHealthComponent"},"critical_modules":{"$ref":"#/components/schemas/MonitoringHealthComponent"}},"additionalProperties":true}}},"MonitoringHealthComponent":{"type":"object","properties":{"status":{"type":"string","enum":["healthy","degraded","unhealthy","unknown"]}},"additionalProperties":true},"Monitoring_ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"Monitoring_SuccessMessage":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}}},"MultiLocationKpis":{"type":"object","additionalProperties":true,"description":"F45 — money as integer cents; the former float fields revenue, avgOrder and stockValue are gone (no consumer).","properties":{"revenueCents":{"type":"integer"},"orders":{"type":"integer"},"avgOrderCents":{"type":"integer"},"staffHours":{"type":"number"},"stockValueCents":{"type":"integer"},"meta":{"type":"object","additionalProperties":true}}},"MultiLocationLocation":{"type":"object","properties":{"id":{"type":"integer"},"tenantId":{"type":"string"},"name":{"type":"string"},"type":{"type":"string","enum":["branch","warehouse","popup","office","remote"]},"address":{"type":"string","nullable":true},"timezone":{"type":"string"},"countryCode":{"type":"string","nullable":true},"vatId":{"type":"string","nullable":true},"active":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}},"MultiLocation_Snapshot":{"type":"object","additionalProperties":true},"MutationRequest":{"type":"object","required":["confirmation","safe_boundary"],"properties":{"confirmation":{"type":"boolean","enum":[true]},"safe_boundary":{"$ref":"#/components/schemas/SafeBoundary"}},"additionalProperties":true},"MutationResult":{"type":"object","additionalProperties":true},"MyAppsPortalOrder":{"type":"object","properties":{"id":{"type":"integer","example":12},"tenantId":{"type":"string","example":"default"},"userId":{"type":"integer","nullable":true},"orderNumber":{"type":"string","example":"ORD-2026-0042"},"status":{"type":"string","example":"pending_transfer"},"paymentMethod":{"type":"string","example":"bank_transfer"},"paymentReference":{"type":"string","nullable":true},"totalAmount":{"type":"string","description":"Decimal string with two fraction digits","example":"19.90"},"netAmount":{"type":"string","nullable":true},"vatAmount":{"type":"string","nullable":true},"vatRate":{"type":"string","nullable":true},"currency":{"type":"string","example":"EUR"},"invoiceNumber":{"type":"string","nullable":true},"items":{"type":"array","items":{"type":"object"}},"contact":{"type":"object"},"economics":{"type":"object","nullable":true,"description":"Exact per-order gross, fee, evidenced postage and net projection.","properties":{"revenueGrossCents":{"type":"integer","nullable":true},"paymentFeeCents":{"type":"integer","nullable":true},"postageCents":{"type":"integer","nullable":true},"netCents":{"type":"integer","nullable":true},"classification":{"type":"object","required":["legalEntity","businessField","stream","proofState"],"properties":{"legalEntity":{"type":"string","nullable":true},"businessField":{"type":"string","nullable":true},"stream":{"type":"string","nullable":true,"enum":["business","private"]},"proofState":{"type":"string","enum":["proven","missing","conflict"]}}},"proof":{"type":"object","properties":{"revenue":{"type":"string","enum":["proven","missing","conflict"]},"fee":{"type":"string","enum":["proven","missing","conflict"]},"postage":{"type":"string","enum":["proven","missing","not_applicable"]},"classification":{"type":"string","enum":["proven","missing","conflict"]}}},"legs":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["receipt","settlement","fee","postage","neutral"]},"marker":{"type":"string","enum":["+","-",""]},"amountCents":{"type":"integer","nullable":true},"targetType":{"type":"string"},"targetId":{"type":"string","nullable":true},"proofState":{"type":"string"}}}}}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}},"MyAppsPortalOrderSummary":{"type":"object","description":"Page-local totals. Money is aggregated in integer minor units per currency; pageTotalAmount/currency are null when the page mixes currencies (use totalsByCurrency).","properties":{"count":{"type":"integer","example":2},"byStatus":{"type":"object","additionalProperties":{"type":"integer"}},"totalsByCurrency":{"type":"object","additionalProperties":{"type":"object","properties":{"totalMinorUnits":{"type":"integer","example":1990},"totalAmount":{"type":"string","example":"19.90"},"orderCount":{"type":"integer","example":1}}}},"pageTotalAmount":{"type":"string","nullable":true,"example":"19.90"},"currency":{"type":"string","nullable":true,"example":"EUR"}}},"MyCapacityPolicy":{"type":"object","additionalProperties":false,"required":["version","enabled","timezone","windows","blocks"],"properties":{"version":{"type":"integer","minimum":0},"enabled":{"type":"boolean"},"timezone":{"type":"string","example":"Europe/Berlin"},"windows":{"type":"array","maxItems":28,"items":{"type":"object","additionalProperties":false,"required":["day","start","end"],"properties":{"day":{"type":"integer","minimum":1,"maximum":7,"description":"ISO weekday; Monday is 1"},"start":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$"},"end":{"type":"string","pattern":"^(?:[01]\\d|2[0-3]):[0-5]\\d$"}}}},"blocks":{"type":"array","maxItems":200,"items":{"type":"object","additionalProperties":false,"required":["start","end"],"properties":{"start":{"type":"string","format":"date-time"},"end":{"type":"string","format":"date-time"}}}}}},"MyDayFeed":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"date":{"type":"string","example":"2026-10-27"},"generatedAt":{"type":"string","format":"date-time"},"lang":{"type":"string","enum":["de","en","es"]},"briefing":{"type":"object","properties":{"greeting":{"type":"string"},"summary":{"type":"string","example":"3 Freigaben warten, 2 Tickets über SLA, Liquidität ok."},"lines":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"tone":{"type":"string","enum":["urgent","warn","info","ok"]},"count":{"type":"integer"},"text":{"type":"string"}}}}}},"groups":{"type":"object","properties":{"now":{"type":"integer"},"today":{"type":"integer"},"week":{"type":"integer"}}},"count":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/components/schemas/MyDayItem"}},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"app":{"type":"string"},"kind":{"type":"string"},"server":{"type":"string","nullable":true},"status":{"type":"string","enum":["ok","error","unavailable","unconfirmed","forbidden","browser"]},"count":{"type":"integer"},"confirmations":{"type":"array","description":"Own unconfirmed cancellation entries; never counted as due items.","items":{"type":"object","properties":{"label":{"type":"string"},"href":{"type":"string"}}}}}}},"prefs":{"type":"object","additionalProperties":true}}}}},"MyDayItem":{"type":"object","properties":{"key":{"type":"string","example":"erp-tasks.due|kanban-card:c-42","description":"Stable key for snooze/done: <source>|<type>:<id>[#<item id>]"},"source":{"type":"string","example":"erp-tasks.due"},"app":{"type":"string","example":"erp-tasks"},"kind":{"type":"string","enum":["approval","ticket","task","follow-up","invoice","appointment","shift","leave","close","finance","deal","other"]},"group":{"type":"string","enum":["now","today","week"]},"ref":{"type":"object","properties":{"type":{"type":"string","example":"kanban-card"},"id":{"type":"string","example":"c-42"}}},"id":{"type":"string","description":"Item id when one record has several items"},"label":{"type":"string"},"subtitle":{"type":"string"},"due":{"type":"string","example":"2026-10-28T10:00","description":"ISO day or local date-time"},"severity":{"type":"string","enum":["urgent","warn","info"]},"reason":{"type":"string","example":"überfällig seit 2 Tag(en)"},"amountCents":{"type":"integer","description":"Money in integer minor units"},"currency":{"type":"string","example":"EUR"},"actions":{"type":"array","items":{"type":"string"},"description":"Inline action ids of the source (run in the app)"},"href":{"type":"string"}}},"MyDayKeyRequest":{"type":"object","required":["key"],"properties":{"key":{"type":"string","example":"erp-tasks.due|kanban-card:c-42"},"until":{"type":"string","format":"date","description":"snooze only: first day the item shows again (default tomorrow)"},"lang":{"type":"string","enum":["de","en","es"]}}},"MyDayKeyResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"key":{"type":"string"},"action":{"type":"string","enum":["snooze","done","restore"]},"until":{"type":"string","format":"date"},"done":{"type":"string","format":"date"}}}}},"MyDay_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"Nameservers":{"type":"array","minItems":1,"maxItems":13,"items":{"oneOf":[{"type":"string","description":"Nameserver hostname"},{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string"},"address":{"type":"string","description":"Optional glue IP address"}}}]}},"NegotiationCase":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"customer_id":{"type":"string"},"customer_name":{"type":"string","nullable":true},"receivables":{"type":"array","description":"Snapshot of the overdue items the case was opened for","items":{"type":"object","properties":{"op_id":{"type":"string"},"invoice_number":{"type":"string"},"open_amount":{"type":"string"},"currency":{"type":"string"},"due_date":{"type":"string"}}}},"total_open":{"type":"string"},"currency":{"type":"string"},"status":{"type":"string","enum":["open","negotiating","promise_open","settled","escalated","cancelled"]},"broken_promise_count":{"type":"integer"},"kept_promise_count":{"type":"integer"},"notes":{"type":"string","nullable":true},"moves":{"type":"array","description":"Present on the detail endpoint","items":{"$ref":"#/components/schemas/NegotiationMove"}},"promises":{"type":"array","description":"Present on the detail endpoint","items":{"$ref":"#/components/schemas/NegotiationPromise"}},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"NegotiationCorridor":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"max_installments":{"type":"integer"},"max_term_months":{"type":"integer"},"min_installment_amount":{"type":"string"},"max_discount_pct":{"type":"string"},"interest_pct":{"type":"string"},"promise_grace_days":{"type":"integer"},"escalation_broken_promises":{"type":"integer"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"NegotiationMove":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"case_id":{"type":"string"},"move_type":{"type":"string","enum":["installment_plan","correspondence","promise_to_pay","payment_match","escalation","settlement"]},"payload":{"type":"object","description":"Schedule + drafted letter for plans; reason/evidence for escalations"},"status":{"type":"string","enum":["proposed","approved","sent","reverted","rejected"]},"proposed_by":{"type":"string"},"approved_by":{"type":"string","nullable":true},"approved_at":{"type":"string","nullable":true},"sent_at":{"type":"string","nullable":true},"reverted_by":{"type":"string","nullable":true},"reverted_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"NegotiationPromise":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"case_id":{"type":"string"},"move_id":{"type":"string","nullable":true},"installment_no":{"type":"integer"},"promised_amount":{"type":"string"},"currency":{"type":"string"},"promised_date":{"type":"string"},"status":{"type":"string","enum":["open","kept","broken"]},"matched_transaction_id":{"type":"string","nullable":true},"matched_amount":{"type":"string","nullable":true},"matched_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"Newsletter":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string","nullable":true},"status":{"type":"string"},"scheduled_at":{"type":"string","format":"date-time","nullable":true},"sent_at":{"type":"string","format":"date-time","nullable":true},"recipient_count":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"NewsletterInput":{"type":"object","properties":{"subject":{"type":"string"},"body_html":{"type":"string"},"body_text":{"type":"string"},"status":{"type":"string"},"scheduled_at":{"type":"string"},"recipient_count":{"type":"integer"}}},"NextAction":{"type":"object","required":["label","actor","action_ref"],"properties":{"label":{"type":"string"},"actor":{"type":"string","enum":["owner","system","delegierbar"]},"action_ref":{"type":"string"}}},"NonNegativeMoney":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","example":"125.50"},"Notification":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"title":{"type":"string"},"message":{"type":"string"},"channel":{"type":"string"},"group_id":{"type":"string","nullable":true},"status":{"type":"string"},"content_hash":{"type":"string","nullable":true},"sent_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"NotificationChannel":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"name":{"type":"string","example":"Ops Telegram"},"channel_type":{"type":"string","enum":["signal","telegram","slack","teams","on_call","webhook","email"],"example":"telegram"},"config":{"type":"object","description":"Channel-specific configuration (e.g. bot_token, chat_id for Telegram)","additionalProperties":true,"example":{"bot_token":"123456:ABC-DEF","chat_id":"-1001234567890"}},"config_json":{"type":"string","description":"Raw JSON string of config (internal)"},"is_active":{"type":"integer","enum":[0,1],"example":1},"created_at":{"type":"string","format":"date-time","example":"2025-06-15 10:00:00"},"updated_at":{"type":"string","format":"date-time","example":"2025-06-15 10:00:00"}}},"NotificationChannelCreate":{"type":"object","required":["name","channel_type"],"properties":{"name":{"type":"string","example":"Ops Telegram"},"channel_type":{"type":"string","enum":["signal","telegram","slack","teams","on_call","webhook","email"],"example":"telegram"},"config":{"type":"object","additionalProperties":true,"description":"Channel-specific configuration"},"is_active":{"type":"integer","enum":[0,1],"default":1}}},"NotificationChannelUpdate":{"type":"object","description":"Partial update -- only provided fields are changed","properties":{"name":{"type":"string"},"channel_type":{"type":"string","enum":["signal","telegram","slack","teams","on_call","webhook","email"]},"config":{"type":"object","additionalProperties":true},"is_active":{"type":"integer","enum":[0,1]}}},"NotificationInput":{"type":"object","properties":{"title":{"type":"string"},"message":{"type":"string"},"channel":{"type":"string","enum":["system","email","push","sms"]},"group_id":{"type":"string"},"status":{"type":"string"},"content_hash":{"type":"string"},"sent_at":{"type":"string"}}},"NotificationLogEntry":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"channel_id":{"type":"integer","example":1},"event_type":{"type":"string","example":"test"},"message":{"type":"string","example":"Test notification from ITT"},"status":{"type":"string","enum":["pending","retrying","sent","failed","skipped","queued"],"example":"sent"},"attempt_count":{"type":"integer","minimum":0,"description":"Number of logical delivery attempts for this channel.","example":2},"error_message":{"type":"string","nullable":true,"example":null},"sent_at":{"type":"string","format":"date-time","nullable":true,"example":"2025-06-15 10:05:00"},"created_at":{"type":"string","format":"date-time","example":"2025-06-15 10:05:00"},"last_attempt_at":{"type":"string","format":"date-time","nullable":true},"delivery_updated_at":{"type":"string","format":"date-time","nullable":true},"delivery_attempts":{"type":"array","items":{"type":"object","required":["attempt_number","status","attempted_at","transport_attempts"],"properties":{"attempt_number":{"type":"integer","minimum":1},"status":{"type":"string","enum":["retrying","sent","failed"]},"error_message":{"type":"string","nullable":true},"attempted_at":{"type":"string","format":"date-time"},"completed_at":{"type":"string","format":"date-time","nullable":true},"transport_attempts":{"type":"array","description":"Adapter-level retry details, for example individual webhook attempts.","items":{"type":"object","additionalProperties":true}}}}},"channel_name":{"type":"string","description":"Joined from notification_channels","example":"Ops Telegram"},"channel_type":{"type":"string","description":"Joined from notification_channels","example":"telegram"}}},"NotificationRule":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"channel_id":{"type":"integer","example":1},"event_type":{"type":"string","enum":["invoice_overdue","invoice_created","invoice_paid","invoice_sent","payment_received","booking_created","errand_approved","errand_submitted","errand_decided","accounting_large_income","accounting_large_expense","system_alert","support.ticket.sla_at_risk","support.ticket.sla_breached","support.ticket.escalated","custom"],"example":"invoice_overdue"},"severity":{"type":"string","enum":["info","warning","critical"],"example":"warning"},"template":{"type":"string","example":"Invoice {invoice_id} is overdue by {days} days"},"is_active":{"type":"integer","enum":[0,1],"example":1},"channel_name":{"type":"string","description":"Joined from notification_channels","example":"Ops Telegram"},"channel_type":{"type":"string","description":"Joined from notification_channels","example":"telegram"},"created_at":{"type":"string","format":"date-time"}}},"NotificationRuleCreate":{"type":"object","required":["channel_id","event_type"],"properties":{"channel_id":{"type":"integer","example":1},"event_type":{"type":"string","enum":["invoice_overdue","invoice_created","invoice_paid","invoice_sent","payment_received","booking_created","errand_approved","errand_submitted","errand_decided","accounting_large_income","accounting_large_expense","system_alert","support.ticket.sla_at_risk","support.ticket.sla_breached","support.ticket.escalated","custom"],"example":"invoice_overdue"},"severity":{"type":"string","enum":["info","warning","critical"],"default":"info"},"template":{"type":"string","example":"Invoice {invoice_id} is overdue"},"is_active":{"type":"integer","enum":[0,1],"default":1}}},"NotificationRuleUpdate":{"type":"object","description":"Partial update -- only provided fields are changed","properties":{"channel_id":{"type":"integer"},"event_type":{"type":"string","enum":["invoice_overdue","invoice_created","invoice_paid","invoice_sent","payment_received","booking_created","errand_approved","errand_submitted","errand_decided","accounting_large_income","accounting_large_expense","system_alert","support.ticket.sla_at_risk","support.ticket.sla_breached","support.ticket.escalated","custom"]},"severity":{"type":"string","enum":["info","warning","critical"]},"template":{"type":"string"},"is_active":{"type":"integer","enum":[0,1]}}},"Notifications_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"validation"},"message":{"type":"string","example":"Name is required"}}}}},"NullableMoney":{"allOf":[{"$ref":"#/components/schemas/Money"}],"nullable":true},"O2CStepRequest":{"type":"object","required":["step","stage","id"],"properties":{"step":{"type":"string","enum":["create-quote","convert-to-order","create-delivery-note","create-invoice","match-payment","create-dunning","post-booking"]},"stage":{"type":"string","enum":["lead","quote","order","delivery_note","invoice","payment","dunning","booking"]},"id":{"type":"string"},"input":{"type":"object","description":"Step input; omitted = the preview's defaults.","properties":{"bankLineId":{"type":"string","description":"match-payment: the bank line (bank_sync_transactions id) that pays the invoice"},"lines":{"type":"array","description":"create-delivery-note: quantities to deliver now (partial delivery); default = everything open","items":{"type":"object","required":["lineId","quantity"],"properties":{"lineId":{"type":"string"},"quantity":{"type":"string","pattern":"^[0-9]+(\\.[0-9]{1,4})?$"}}}},"invoiceLines":{"type":"array","minItems":1,"maxItems":50,"description":"create-invoice from an approved order, billed by effort (time & material, e.g. a project's booked hours and billable expenses): the draft invoice carries exactly these lines, the server computes all amounts in cents and applies the customer's VAT rate (vatPercent is informative only), and the order stays open for the next partial invoice. 422 invalid_quantity on an invalid line.","items":{"type":"object","required":["description","quantity","unitPriceCents"],"properties":{"description":{"type":"string","maxLength":200},"quantity":{"oneOf":[{"type":"number","exclusiveMinimum":0},{"type":"string","pattern":"^[0-9]{1,6}(\\.[0-9]{1,4})?$"}]},"unitPriceCents":{"type":"integer","minimum":0,"description":"net unit price in cents"},"vatPercent":{"type":"integer","minimum":0,"maximum":100}}}}}},"demo":{"type":"boolean","description":"steps only: the free demo path — the answer is the DEMO document the step would write (number DEMO, isDemo true), nothing is written (no record, no number from the gapless sequence, no DocumentLinks edge, no posting), so it never reaches accounting, DATEV or the e-invoice export (200)."},"charge":{"type":"object","description":"steps only, chargeable real steps (create-invoice = invoice.create.real, create-dunning = dunning.send.real): what the user confirmed in the preview. While no ledger enforces charges the step runs as before; once one does, 422 charge_confirmation_required / price_unknown / insufficient_balance and 409 price_changed / charge_already_committed answer with the quote and decision in `details`.","properties":{"requestId":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$","description":"idempotency key of this run"},"acceptedAmountCents":{"type":"integer","minimum":0,"description":"the price shown in the preview"}}}}},"OAuthAuthorizationResponse":{"type":"object","properties":{"authorizationUrl":{"type":"string"}}},"OAuthExchangeRequest":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}},"OAuthExchangeResponse":{"type":"object","properties":{"token":{"type":"string","nullable":true},"expiresIn":{"type":"integer"},"auth":{"type":"object","properties":{"issuedCookie":{"type":"boolean"},"issuedBearer":{"type":"boolean"}}}}},"OAuthLinkingClient":{"type":"object","properties":{"client_id":{"type":"string","description":"itt_oac_<16hex>"},"name":{"type":"string"},"client_type":{"type":"string","enum":["public","confidential"]},"token_endpoint_auth_method":{"type":"string","enum":["none","client_secret_basic"]},"redirect_uris":{"type":"array","items":{"type":"string"}},"scopes":{"type":"array","items":{"type":"string"}},"is_active":{"type":"boolean"},"created_at":{"type":"string","nullable":true},"disabled_at":{"type":"string","nullable":true}}},"OAuthProvidersResponse":{"type":"object","properties":{"providers":{"type":"array","items":{"type":"string"}},"auth":{"type":"object","properties":{"provider":{"type":"string"},"configured":{"type":"boolean"},"mode":{"type":"string"},"login_path":{"type":"string","nullable":true},"callback_path":{"type":"string","nullable":true}}},"health":{"type":"object","additionalProperties":{"type":"string"}}}},"ObjectEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","additionalProperties":true},"meta":{"type":"object","properties":{"entity":{"type":"string"},"mapped":{"type":"boolean"}}}}},"OffenlegungPackage":{"type":"object","required":["stichtag","size_class"],"description":"Prepare-and-copy Offenlegung package. When the underlying Bilanz is incomplete (no Eröffnungsbilanz) the endpoint returns 422 and a reduced package with blocked=true, completeness and block_reason set, and the mode/verkuerzte_bilanz/anhang/checklist omitted (no incomplete figures are ever disclosed).\n","properties":{"stichtag":{"type":"string","format":"date"},"blocked":{"type":"boolean","description":"True when the Bilanz is incomplete; the package is a gate shell only."},"block_reason":{"type":"string"},"completeness":{"type":"object","properties":{"is_complete":{"type":"boolean"},"missing_opening_balance":{"type":"boolean"}}},"size_class":{"type":"object","description":"Hgb267SizeClass classification (size_class, label, criteria, thresholds)."},"mode":{"type":"string","enum":["hinterlegung","offenlegung"]},"mode_label":{"type":"string"},"verkuerzte_bilanz":{"type":"object","required":["depth","aktiva","passiva","total_aktiva","total_passiva"],"properties":{"depth":{"type":"string","enum":["groups","positions","full"]},"aktiva":{"type":"array","items":{"type":"object"}},"passiva":{"type":"array","items":{"type":"object"}},"total_aktiva":{"type":"string"},"total_passiva":{"type":"string"}}},"anhang":{"type":"object","required":["required","basis","items"],"properties":{"required":{"type":"boolean"},"basis":{"type":"string"},"items":{"type":"array","items":{"type":"object","required":["key","label"],"properties":{"key":{"type":"string"},"label":{"type":"string"}}}}}},"checklist":{"type":"object","required":["deadline","deadline_basis","steps"],"properties":{"deadline":{"type":"string","format":"date"},"deadline_basis":{"type":"string"},"ordnungsgeld_hint":{"type":"string"},"steps":{"type":"array","items":{"type":"object","required":["key","label"],"properties":{"key":{"type":"string"},"label":{"type":"string"}}}}}},"is_balanced":{"type":"boolean"}}},"Offer":{"type":"object","properties":{"offer_id":{"type":"string"},"tenant_id":{"type":"string"},"user_id":{"type":"integer"},"created_by":{"type":"integer"},"title":{"type":"string","example":"Starter Bundle"},"description":{"type":"string"},"bundle_config":{"type":"array","items":{"$ref":"#/components/schemas/BundleConfigItem"}},"status":{"type":"string","enum":["pending","accepted","declined","expired"],"example":"pending"},"created_at":{"type":"string"},"expires_at":{"type":"string","nullable":true},"accepted_at":{"type":"string","nullable":true},"declined_at":{"type":"string","nullable":true}}},"OfferInput":{"type":"object","required":["title"],"properties":{"customer_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price":{"type":"number"},"offer_date":{"type":"string","format":"date"},"valid_until_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["draft","sent","accepted","rejected","expired"]},"annotation":{"type":"string"},"legacy_id":{"type":"string"}}},"OffsetProposal":{"type":"object","description":"A proposed matchable AR/AP offset for a partner.","additionalProperties":true},"OffsetRun":{"type":"object","description":"An offset run and its matched open items.","additionalProperties":true},"OidcDiscovery":{"type":"object","additionalProperties":true,"properties":{"issuer":{"type":"string","format":"uri"},"authorization_endpoint":{"type":"string","format":"uri"},"token_endpoint":{"type":"string","format":"uri"},"userinfo_endpoint":{"type":"string","format":"uri"}}},"OidcSessionResponse":{"type":"object","properties":{"token":{"type":"string","nullable":true},"auth":{"$ref":"#/components/schemas/AuthTransport"}}},"OidcTokenRequest":{"type":"object","required":["grant_type","client_id","redirect_uri","code"],"properties":{"grant_type":{"type":"string","enum":["authorization_code"]},"client_id":{"type":"string"},"client_secret":{"type":"string"},"redirect_uri":{"type":"string","format":"uri"},"code":{"type":"string"},"code_verifier":{"type":"string"}}},"OidcTokenResponse":{"type":"object","required":["access_token","id_token","token_type"],"properties":{"access_token":{"type":"string"},"id_token":{"type":"string"},"token_type":{"type":"string","example":"Bearer"},"expires_in":{"type":"integer"}}},"OidcUserInfo":{"type":"object","required":["sub"],"properties":{"sub":{"type":"string"},"email":{"type":"string","format":"email"}}},"Ok":{"type":"object","properties":{"ok":{"type":"boolean"}}},"OnlineShop_Error":{"type":"object","properties":{"error":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}}}},"OnsitePresenceFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"datum_von":{"type":"string","format":"date"},"datum_bis":{"type":"string","format":"date"},"kontakt_id":{"type":"integer","minimum":1,"nullable":true},"status":{"type":"string","enum":["present","absent","uncertain"]},"notiz":{"type":"string","nullable":true}}},"OnsitePresenceInput":{"allOf":[{"$ref":"#/components/schemas/OnsitePresenceFields"}],"required":["datum_von","datum_bis","status"]},"OpcacheProbeResponse":{"type":"object","required":["ok","supported","cached","runtime_id","hits","proof_mode","proof_value"],"properties":{"ok":{"type":"boolean"},"supported":{"type":"boolean"},"cached":{"type":"boolean"},"runtime_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"hits":{"type":"integer","nullable":true},"proof_mode":{"type":"string","nullable":true},"proof_value":{"type":"integer","nullable":true}}},"OpcacheResetResponse":{"type":"object","required":["ok","supported","reset"],"properties":{"ok":{"type":"boolean"},"supported":{"type":"boolean"},"reset":{"type":"boolean"}}},"OpeningBalance":{"type":"object","required":["fiscal_year","booking_date","kontenrahmen_type","lines","total_soll","total_haben","is_balanced","exists","source_reference_types","legacy_detected","preview_only"],"properties":{"fiscal_year":{"type":"integer","example":2025},"booking_date":{"type":"string","format":"date","description":"Tenant-specific fiscal-year start used as EBK booking date."},"kontenrahmen_type":{"type":"string","enum":["skr03","skr04"]},"lines":{"type":"array","items":{"$ref":"#/components/schemas/OpeningBalanceLine"}},"total_soll":{"type":"string"},"total_haben":{"type":"string"},"is_balanced":{"type":"boolean"},"exists":{"type":"boolean"},"source_reference_types":{"type":"array","description":"Reference types of recognized effective carry-forward rows.","items":{"type":"string"}},"legacy_detected":{"type":"boolean","description":"True when technical 9000/9008/9009 legacy rows were recognized."},"preview_only":{"type":"boolean","description":"True only for a validated, rolled-back POST preview."},"would_replace_legacy":{"type":"boolean","description":"Preview-only signal that execution would reverse legacy carry-forward rows."}}},"OpeningBalanceLine":{"type":"object","required":["account_number","name","side","amount"],"properties":{"account_number":{"type":"string","example":"1200"},"name":{"type":"string","example":"Bank"},"side":{"type":"string","enum":["soll","haben"]},"amount":{"type":"string","description":"Positive decimal amount (DECIMAL(15,2))","example":"50000.00"}}},"OperationsIntegrityCheck":{"type":"object","required":["key","scope","cost","execution","name","description","sources","verdict","execution_state","expected","actual","findings","duration_ms"],"properties":{"key":{"type":"string"},"scope":{"type":"string","enum":["tenant","platform"]},"cost":{"type":"string","enum":["cheap","expensive"]},"execution":{"type":"string","enum":["automatic","on_demand"]},"name":{"$ref":"#/components/schemas/LocalizedText"},"description":{"$ref":"#/components/schemas/LocalizedText"},"sources":{"type":"array","items":{"type":"string"}},"verdict":{"type":"string","enum":["passed","failed","unknown"]},"execution_state":{"type":"string","enum":["completed","not_run","not_determinable"]},"expected":{"type":"object","additionalProperties":true},"actual":{"type":"object","additionalProperties":true},"findings":{"type":"array","items":{"type":"object","additionalProperties":true}},"checked_at":{"type":"string"},"duration_ms":{"type":"integer","minimum":0},"error_code":{"type":["string","null"]}}},"OperationsIntegrityListResponse":{"type":"object","required":["success","data","meta"],"properties":{"success":{"const":true},"data":{"type":"object","required":["checks"],"properties":{"checks":{"type":"array","items":{"$ref":"#/components/schemas/OperationsIntegrityCheck"}}}},"meta":{"type":"object","required":["read_only","verdicts"],"properties":{"read_only":{"const":true},"verdicts":{"type":"array","items":{"type":"string","enum":["passed","failed","unknown"]}}}}}},"OperatorMailboxCheck":{"type":"object","required":["status"],"description":"Advisory (benign, never gates readiness): the site's operator recipient keys (MAIL_TO, MAIL_RECIPIENT_DEFAULT) and sender keys (MAIL_FROM_ADDRESS, MAIL_ENVELOPE_SENDER, MAIL_SENDER) compared with the declared operator mailboxes (MAIL_OPERATOR_ADDRESSES, the MAIL_SIGNATURE e-mail line, the owner draft mailbox, the per-target MAIL_OPERATOR_RECIPIENTS_BY_HOST map). flagged_keys maps a recipient key (or IMAP_USERNAME) to its role code: the SMTP sender account, an archive mailbox or the retired test domain (owner rule 2026-11-10: the sender account is never a recipient or a read inbox, archives take emergency copies only). Carries codes and key names only, never an address.\n","properties":{"status":{"$ref":"#/components/schemas/CheckStatus"},"benign":{"type":"boolean"},"declared":{"type":"integer","minimum":0},"codes":{"type":"array","items":{"type":"string","enum":["MAIL_OPERATOR_RECIPIENT_UNDECLARED","MAIL_OPERATOR_SENDER_UNDECLARED","MAIL_OPERATOR_DECLARATION_MISSING","MAIL_OPERATOR_RECIPIENT_IS_SENDER_ONLY","MAIL_IMAP_INBOX_IS_SENDER_ONLY","MAIL_RECIPIENT_TARGET_UNRESOLVED","MAIL_OPERATOR_RECIPIENT_IS_ARCHIVE_ONLY","MAIL_OPERATOR_RECIPIENT_ON_RETIRED_TEST_DOMAIN"]}},"undeclared_keys":{"type":"array","items":{"type":"string"}},"flagged_keys":{"type":"object","additionalProperties":{"type":"string","enum":["MAIL_OPERATOR_RECIPIENT_IS_SENDER_ONLY","MAIL_IMAP_INBOX_IS_SENDER_ONLY","MAIL_OPERATOR_RECIPIENT_IS_ARCHIVE_ONLY","MAIL_OPERATOR_RECIPIENT_ON_RETIRED_TEST_DOMAIN"]}},"message":{"type":"string"}}},"Order":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"status":{"type":"string","enum":["pending","awaiting_payment","mandate_created","paid","payment_failed","payment_error","picked","shipped","delivered","returned","cancelled","completed","partially_refunded","refunded","refund_pending","refund_failed"]},"payment_method":{"type":"string","enum":["paypal","sepa","free"]},"items_json":{"type":"string","description":"JSON-encoded cart items"},"contact_json":{"type":"string","description":"JSON-encoded contact information"},"total_amount":{"type":"number","format":"float"},"currency":{"type":"string","example":"EUR"},"legal_consent":{"type":"integer","enum":[0,1]},"paypal_payment_id":{"type":"string","nullable":true},"sepa_mandate_id":{"type":"string","nullable":true},"transaction_id":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"OrderFulfillmentInput":{"type":"object","properties":{"fulfillment_status":{"type":"string","enum":["pending","processing","shipped","delivered"]},"tracking_number":{"type":"string","nullable":true}}},"OrderInput":{"type":"object","properties":{"customer_id":{"type":"string"},"public_order_id":{"type":"string"},"order_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["unapproved","approved","processing","completed","cancelled"]},"fulfillment_status":{"type":"string","enum":["pending","processing","shipped","delivered"]},"tracking_number":{"type":"string","nullable":true},"order_data":{"type":"object"},"annotation":{"type":"string"},"legacy_id":{"type":"string"}}},"Orders_Offer":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"price":{"type":"number"},"offer_date":{"type":"string","format":"date"},"valid_until_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["draft","sent","accepted","rejected","expired"]},"annotation":{"type":"string"},"legacy_id":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"Orders_Order":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string"},"public_order_id":{"type":"string"},"order_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["unapproved","approved","processing","completed","cancelled"]},"fulfillment_status":{"type":"string","enum":["pending","processing","shipped","delivered"]},"tracking_number":{"type":"string","nullable":true},"order_data":{"type":"string","description":"JSON-encoded order data"},"annotation":{"type":"string"},"legacy_id":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"OrgUnit":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the org unit","example":"bereich-buergerservice"},"name":{"type":"string","description":"Display name","example":"Buergerservice"},"type":{"type":"string","enum":["bereich","abteilung","team"],"description":"Hierarchy level"},"parentId":{"type":"string","nullable":true,"description":"ID of the parent org unit (null for root units)"},"hasChildren":{"type":"boolean","description":"Whether this org unit has child units"},"childCount":{"type":"integer","minimum":0,"description":"Number of direct child org units"}},"required":["id","name","type","hasChildren","childCount"]},"OverrideRequest":{"type":"object","required":["state","reason"],"properties":{"state":{"$ref":"#/components/schemas/PickSessionState"},"reason":{"type":"string","minLength":3,"example":"Waage defekt, manuell freigegeben durch Schichtleiter."},"payload":{"type":"object","additionalProperties":true,"description":"Optionale Zusatzdaten, die mit der Override-Audit-Zeile\npersistiert werden (z.B. `{actual_weight_g, expected_g}` bei\nForce-Weighing).\n"}}},"OwnerInboxAnswer":{"allOf":[{"$ref":"#/components/schemas/OwnerInboxResponse"},{"type":"object","required":["answer_id","answered_at"],"properties":{"answer_id":{"type":"string"},"answered_at":{"type":"string","format":"date-time"}}}]},"OwnerInboxResponse":{"type":"object","additionalProperties":false,"required":["source","set_id","qid","selected","text"],"properties":{"source":{"type":"string","maxLength":191},"set_id":{"type":"string","maxLength":191},"qid":{"type":"string","maxLength":191},"selected":{"type":"array","maxItems":100,"uniqueItems":true,"items":{"type":"string","maxLength":512}},"text":{"type":"string","maxLength":8192}}},"OwnerInboxSnapshot":{"type":"object","additionalProperties":false,"required":["schema","generated_at","items"],"properties":{"schema":{"type":"string","enum":["owner-inbox-sync/v1"]},"generated_at":{"type":"string","format":"date-time"},"items":{"type":"array","maxItems":2000,"items":{"type":"object","additionalProperties":false,"required":["stable_id","source","kind","priority","state","summary","questions"],"properties":{"stable_id":{"type":"string","maxLength":191},"source":{"type":"string","maxLength":191},"kind":{"type":"string","enum":["question","todo","suggestion"]},"priority":{"type":"string","maxLength":64,"description":"Producer priority; low starts collapsed in the app"},"state":{"type":"string","maxLength":64,"description":"Only open permits an answer"},"summary":{"type":"string","maxLength":8192},"questions":{"type":"array","maxItems":50,"items":{"type":"object","additionalProperties":false,"required":["set_id","qid","header","question","multiSelect","options"],"properties":{"set_id":{"type":"string","maxLength":191},"qid":{"type":"string","maxLength":191},"header":{"type":"string","maxLength":512},"question":{"type":"string","maxLength":8192},"multiSelect":{"type":"boolean"},"options":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["label","description"],"properties":{"label":{"type":"string","maxLength":512},"description":{"type":"string","maxLength":4096}}}}}}}}}}}},"Page":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"parent_id":{"type":"integer","nullable":true},"title":{"type":"string"},"slug":{"type":"string"},"content_html":{"type":"string","nullable":true},"content_json":{"type":"string","nullable":true},"language":{"type":"string","enum":["de","en"]},"is_published":{"type":"integer"},"sort_order":{"type":"integer"},"meta_title":{"type":"string","nullable":true},"meta_description":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PageInput":{"type":"object","properties":{"parent_id":{"type":"integer","nullable":true},"title":{"type":"string"},"slug":{"type":"string"},"content_html":{"type":"string","nullable":true},"content_json":{"type":"string","nullable":true},"language":{"type":"string","enum":["de","en"]},"is_published":{"type":"integer","enum":[0,1]},"sort_order":{"type":"integer"},"meta_title":{"type":"string","nullable":true},"meta_description":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true}}},"PageMeta":{"type":"object","properties":{"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"},"total_pages":{"type":"integer"}}},"PageResult":{"allOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"object","properties":{"items":{"type":"array","items":{"anyOf":[{"type":"object"}]}}}}]},"PaginatedBackupRecords":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/BackupRecord"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedChatMessages":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChatMessage"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedChatTopics":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ChatTopic"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedDeployments":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Deployment"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedDiskUsage":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DiskUsageSnapshot"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedEmailDrafts":{"type":"object","properties":{"success":{"type":"boolean"},"capabilities":{"type":"object","properties":{"compose_idempotency":{"type":"boolean"}}},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmailDraft"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedEmailTemplates":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EmailTemplate"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedErrorLogs":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ErrorLog"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedHealthChecks":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/HealthCheck"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedMailQueueSnapshots":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MailQueueSnapshot"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedMalwareScans":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MalwareScan"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedMonitoredItems":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MonitoredItem"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedNewsletters":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Newsletter"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedNotifications":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"PaginatedSubscribers":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Subscriber"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"Pagination":{"type":"object","description":"Pagination-Metadaten (Shared)","required":["page","size","total","pages"],"properties":{"page":{"type":"integer","minimum":1},"size":{"type":"integer","minimum":1,"maximum":200},"total":{"type":"integer","minimum":0},"pages":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":0,"description":"Legacy: Offset-Pagination Limit (optional)"},"offset":{"type":"integer","minimum":0,"description":"Legacy: Offset-Pagination Offset (optional)"}}},"PaginationMeta":{"type":"object","required":["total","limit","offset"],"properties":{"total":{"type":"integer","minimum":0},"limit":{"type":"integer","minimum":1,"maximum":500},"offset":{"type":"integer","minimum":0}}},"ParticipationSettings":{"type":"object","properties":{"configured":{"type":"boolean"},"optedIn":{"type":"boolean"},"industryCode":{"type":"string","nullable":true},"sizeBand":{"type":"string","nullable":true},"optedInAt":{"type":"string","nullable":true},"optedOutAt":{"type":"string","nullable":true},"kMin":{"type":"integer"}}},"Partnership":{"type":"object","description":"id (handshake), status pending|active|rejected|revoked, role initiator|partner, partner {tenantId, label}, terms, termsAgreedAt, sharesAvailability, partnerSharesAvailability, canAccept, canRevoke"},"PasskeyCreationOptions":{"description":"PublicKeyCredentialCreationOptionsJSON as consumed by navigator.credentials.create() / @simplewebauthn/browser startRegistration(). The challenge is single-use, bound to tenant, user, session, RP-ID and origin, and expires after PASSKEY_CHALLENGE_TTL_SECONDS.\n","type":"object","additionalProperties":true,"properties":{"challenge":{"type":"string","description":"base64url"},"rp":{"type":"object","additionalProperties":true},"user":{"type":"object","additionalProperties":true},"pubKeyCredParams":{"type":"array","items":{"type":"object","additionalProperties":true}},"timeout":{"type":"integer","nullable":true},"excludeCredentials":{"type":"array","items":{"type":"object","additionalProperties":true}},"attestation":{"type":"string","nullable":true}}},"PasskeyCredentialResponse":{"description":"The browser's PublicKeyCredential serialised as JSON (RegistrationResponseJSON or AuthenticationResponseJSON). May be sent bare or wrapped as { credential: {...}, label: \"...\" }.\n","type":"object","additionalProperties":true,"properties":{"credential":{"type":"object","additionalProperties":true},"label":{"type":"string","nullable":true,"maxLength":120},"id":{"type":"string"},"rawId":{"type":"string"},"type":{"type":"string"},"response":{"type":"object","additionalProperties":true}}},"PasskeyDeletedResponse":{"type":"object","properties":{"success":{"type":"boolean"}}},"PasskeyListResponse":{"type":"object","properties":{"passkeys":{"type":"array","items":{"$ref":"#/components/schemas/PasskeySummary"}}}},"PasskeyRegisteredResponse":{"type":"object","properties":{"success":{"type":"boolean"},"id":{"type":"string","description":"base64url credential id, usable for DELETE /api/auth/passkey/{id}"}}},"PasskeyRequestOptions":{"description":"PublicKeyCredentialRequestOptionsJSON as consumed by navigator.credentials.get() / @simplewebauthn/browser startAuthentication(). Deliberately without allowCredentials (no account oracle); the browser picks a discoverable credential.\n","type":"object","additionalProperties":true,"properties":{"challenge":{"type":"string","description":"base64url"},"rpId":{"type":"string"},"timeout":{"type":"integer","nullable":true},"userVerification":{"type":"string","nullable":true},"allowCredentials":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"PasskeySummary":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string","nullable":true},"created_at":{"type":"string","nullable":true},"last_used_at":{"type":"string","nullable":true}}},"PaymentBasis/Contracts_Error":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"}}},"PaymentFeedEvent":{"type":"object","required":["id","tenant_id","external_id","amount_minor","currency","received_at"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"external_id":{"type":"integer","description":"The feed's stable integer id — the ONLY dedupe key."},"consumer":{"type":"string"},"amount_minor":{"type":"integer","description":"Integer minor units (cents). Never a float."},"currency":{"type":"string"},"payer":{"type":"string"},"reference":{"type":"string"},"source_type":{"type":["string","null"]},"source_id":{"type":["string","null"]},"app":{"type":["string","null"]},"device":{"type":["string","null"]},"received_at":{"type":"string","description":"Business time (arrival of the payment) — report basis."},"parsed_at":{"type":["string","null"],"description":"Backfill artifact; stored for audit, worthless for reports."},"link_count":{"type":"integer"},"link_target_type":{"type":["string","null"]},"link_target_id":{"type":["string","null"]},"link_status":{"type":["string","null"]}}},"PaymentFeedPeek":{"type":"object","properties":{"consumer":{"type":"string"},"mode":{"type":"string"},"count":{"type":"integer"},"new_since_last_call":{"type":["integer","null"]},"truncated":{"type":"boolean"},"mixed_currency":{"type":"boolean"},"totals":{"type":"object","additionalProperties":{"type":"integer"}},"processed_on_call_warning":{"type":"boolean"}}},"PaymentFeedPollRun":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"consumer":{"type":"string"},"mode":{"type":"string","enum":["consume","peek"]},"pages":{"type":"integer"},"fetched_count":{"type":"integer"},"new_count":{"type":"integer"},"duplicate_count":{"type":"integer"},"invalid_count":{"type":"integer"},"linked_count":{"type":"integer"},"new_since_last_call":{"type":["integer","null"]},"truncated_drained":{"type":"integer"},"mixed_currency":{"type":"integer"},"processed_on_call_warning":{"type":"integer"},"totals_json":{"type":"string"},"error":{"type":["string","null"]},"started_at":{"type":"string"},"finished_at":{"type":["string","null"]}}},"PaymentRun":{"type":"object","additionalProperties":true},"PaymentRunDraftRequest":{"type":"object","required":["op_ids","run_date"],"properties":{"op_ids":{"type":"array","items":{"type":"integer"}},"run_date":{"type":"string","format":"date"}}},"PaymentRunItem":{"type":"object","additionalProperties":true},"PaymentTransaction":{"type":"object","additionalProperties":true,"required":["id","tenant_id","source","transaction_date","amount","currency","status"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"source":{"type":"string"},"external_id":{"type":["string","null"]},"transaction_date":{"type":"string","format":"date"},"amount":{"$ref":"#/components/schemas/Money"},"captured_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"disputed_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"sender_name":{"type":["string","null"],"x-pii":{"category":"contact","strategy":"fullname"}},"sender_iban":{"type":["string","null"],"x-pii":{"category":"financial","strategy":"iban"}},"reference_text":{"type":["string","null"],"x-pii":{"category":"financial","strategy":"inline_iban"}},"status":{"type":"string","enum":["pending","imported","unmatched","initiated","processing","succeeded","completed","matched","settled","reconciled","failed","refunded","disputed","cancelled","reversed","voided"]},"invoice_id":{"type":["string","null"]},"customer_reference":{"type":["string","null"],"x-pii":{"category":"contact","strategy":"customer_reference"}}}},"PaymentTransactionCreate":{"type":"object","required":["source","amount","currency"],"properties":{"source":{"type":"string"},"amount":{"$ref":"#/components/schemas/Money"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"status":{"type":"string","enum":["pending","initiated","processing","failed","cancelled"]},"invoice_id":{"type":["string","null"]},"captured_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"disputed_amount":{"$ref":"#/components/schemas/NonNegativeMoney"}}},"PaymentTransactionUpdate":{"type":"object","minProperties":1,"properties":{"source":{"type":"string"},"amount":{"$ref":"#/components/schemas/Money"},"currency":{"type":"string"},"status":{"type":"string"},"invoice_id":{"type":["string","null"]},"captured_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"disputed_amount":{"$ref":"#/components/schemas/NonNegativeMoney"}}},"Payments_Error":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","const":false},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}},"Payments_Money":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$","example":"125.50"},"PayrollPeriodActivitySummary":{"type":"object","properties":{"id":{"type":"integer"},"service_date":{"type":"string"},"activity_description":{"type":"string"},"actual_minutes":{"type":"integer"},"agreement_id":{"type":"integer","nullable":true},"agreement_name":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"amount":{"type":"string"},"resolved":{"type":"boolean"},"reason":{"type":"string","nullable":true}}},"PayrollPeriodSummary":{"type":"object","properties":{"user_id":{"type":"string"},"user_name":{"type":"string","nullable":true},"year":{"type":"integer"},"month":{"type":"integer"},"activity_count":{"type":"integer"},"resolved_activity_count":{"type":"integer"},"unresolved_activity_count":{"type":"integer"},"total_minutes":{"type":"integer"},"agreement_ids":{"type":"array","items":{"type":"integer"}},"currency":{"type":"string","nullable":true},"currency_breakdown":{"type":"object","additionalProperties":{"type":"string"}},"has_currency_conflict":{"type":"boolean"},"gross_amount":{"type":"string","nullable":true},"net_amount":{"type":"string","nullable":true},"tax_amount":{"type":"string"},"social_insurance_amount":{"type":"string"},"activities":{"type":"array","items":{"$ref":"#/components/schemas/PayrollPeriodActivitySummary"}}}},"PayrollStatement":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"user_name":{"type":"string","nullable":true},"year":{"type":"integer"},"month":{"type":"integer"},"gross_amount":{"type":"number"},"net_amount":{"type":"number"},"tax_amount":{"type":"number"},"social_insurance_amount":{"type":"number"},"status":{"type":"string","enum":["draft","finalized"]},"details":{"type":"string","nullable":true},"finalized_at":{"type":"string","nullable":true},"legacy_id":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PayrollStatementInput":{"type":"object","required":["user_id","year","month"],"properties":{"user_id":{"type":"string"},"user_name":{"type":"string"},"year":{"type":"integer"},"month":{"type":"integer"},"gross_amount":{"type":"number"},"net_amount":{"type":"number"},"tax_amount":{"type":"number"},"social_insurance_amount":{"type":"number"},"status":{"type":"string","default":"draft"},"details":{"type":"string"},"legacy_id":{"type":"string"}}},"PdfExportRequest":{"type":"object","required":["report_type"],"properties":{"report_type":{"type":"string","enum":["eur","revenue","invoice_monitor","configurations","eur_details","journal","bank_transactions","document_links","filings"]},"filters":{"type":"object"},"format":{"type":"string","enum":["portrait","landscape"],"default":"portrait"}}},"PdfExportResult":{"type":"object","properties":{"export_id":{"type":"string"},"format":{"type":"string"},"orientation":{"type":"string"},"report_type":{"type":"string"},"filters":{"type":"object"},"generated_at":{"type":"string"},"filename":{"type":"string"},"status":{"type":"string"}}},"PendingTriggerPrerequisites":{"type":"object","additionalProperties":false,"required":["migrations"],"description":"Read-only preflight for five checksum-pinned accounting trigger migrations. Matching definitions can be retained without DDL; requires_create is not proof that this account has the necessary privilege. No bodies, grants, account identities or business rows.","properties":{"binary_logging":{"type":"boolean"},"trusted_creators":{"type":"boolean"},"migrations":{"type":"array","maxItems":5,"items":{"type":"object","additionalProperties":false,"required":["migration","guards","requires_create"],"properties":{"migration":{"type":"string"},"requires_create":{"type":"boolean"},"guards":{"type":"array","minItems":1,"maxItems":2,"items":{"type":"object","additionalProperties":false,"required":["name","table","event","state"],"properties":{"name":{"type":"string"},"table":{"type":"string","enum":["de_bookings","de_accounts"]},"event":{"type":"string","enum":["UPDATE","INSERT"]},"state":{"type":"string","enum":["matching","different","missing"]}}}}}}}}},"PenpalAddressInput":{"type":"object","description":"{ name (2-100), addition? (0-80, c/o line), street (3-120), postalCode (3-12), city (2-80), country (ISO 3166-1 alpha-2) } — only ever returned to its owner","additionalProperties":true},"PenpalLetter":{"type":"object","description":"{ id: pp_<24 hex>, conversationId, direction: outgoing|incoming, status, style: classic|script|large, locale, body (outgoing always; incoming only once arrived, else null), hasScan, replyToId, waitingFor: recipient_consent|recipient_address|own_address|book_consent|postage|null, steps: { written, printed, posted, arrived }, createdAt, updatedAt, canEdit, canCancel, canConfirmArrival, addressUse: { count, lastAt } (incoming only: how often YOUR address was rendered for printing) }","additionalProperties":true},"PenpalOverview":{"type":"object","description":"{ me: { nickname }, address: { status: none|pending|letter_sent|verified, verifiedAt, letter, address (own fields only) }, credits: { postage, book }, prices: { postage: { product, unitCents, currency }, book: {…} }, correspondences: [{ conversationId, penfriend (nickname), lastMessageAt, consent: { mine, theirs }, penfriendAddressReady, letters: [PenpalLetter], books: [{ year, letters, consent: { mine, theirs }, ready, orders: [{ id, year, status, orderedByMe, shipTo: self|penfriend, steps }] }] }], attention: [{ type: consent_requested|confirm_arrival|book_consent_requested|address_needed, … }] }","additionalProperties":true},"PenpalPrintItem":{"type":"object","description":"{ id, kind: letter|verification|book, status: queued|printed|posted, style, locale, from (nickname), to (nickname), bookYear, hasScan, creditProduct, creditOrderId, printJobId, renderCount, lastRenderedAt, queuedAt, printedAt, postedAt } — never an address or a letter text","additionalProperties":true},"Percent":{"type":"number","minimum":0,"maximum":100,"multipleOf":0.01},"PerformanceReview":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"integer"},"employee_id":{"type":"string"},"cycle":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","in_progress","completed","archived"]},"rating":{"type":"number","nullable":true},"goals":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":true}},"notes":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string","nullable":true}}},"PerformanceReviewUpsertRequest":{"type":"object","additionalProperties":true,"properties":{"employee_id":{"type":"string"},"cycle":{"type":"string"},"status":{"type":"string","enum":["draft","in_progress","completed","archived"]},"rating":{"type":"number"},"notes":{"type":"string"}}},"Period":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["daily","weekly","monthly","yearly"]}},"required":["from","to","granularity"]},"PeriodCloseCopilotError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"PeriodCloseCopilotItem":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"run_id":{"type":"string"},"area":{"type":"string","enum":["close_checks","accruals","op_matching","vat","datev"]},"check_key":{"type":"string"},"severity":{"type":"string","enum":["blocker","warning","ok"]},"title":{"type":"string"},"detail":{"type":"string","nullable":true},"proposed_action":{"type":"object","nullable":true,"description":"Machine-executable fix the copilot proposes; runs only after explicit approval."},"action_status":{"type":"string","enum":["none","proposed","executed","failed","dismissed"]},"approved_by":{"type":"string","nullable":true},"executed_at":{"type":"string","nullable":true},"dismissed_by":{"type":"string","nullable":true},"dismiss_reason":{"type":"string","nullable":true},"result":{"type":"object","nullable":true,"description":"Execution evidence recorded after an approved action ran."},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PeriodCloseCopilotRun":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"period_key":{"type":"string","example":"2026-06"},"period_type":{"type":"string"},"status":{"type":"string","enum":["open","closed","dismissed"]},"blocker_count":{"type":"integer"},"warning_count":{"type":"integer"},"ok_count":{"type":"integer"},"open_blocker_count":{"type":"integer"},"ready_to_close":{"type":"boolean"},"summary":{"type":"object"},"started_by":{"type":"string"},"decision":{"type":"string","nullable":true,"enum":["close","dismiss",null]},"decided_by":{"type":"string","nullable":true},"decided_at":{"type":"string","nullable":true},"decision_note":{"type":"string","nullable":true},"close_session_id":{"type":"string","nullable":true,"description":"PeriodClose close-session id once the run was decided with close."},"items":{"type":"array","items":{"$ref":"#/components/schemas/PeriodCloseCopilotItem"}},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PeriodKey":{"type":"string","pattern":"^[0-9]{4}-(0[1-9]|1[0-2])$"},"PeriodicListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/PeriodicValue"}}}},"PeriodicListResponse":{"$ref":"#/components/schemas/PeriodicListEnvelope"},"PeriodicValue":{"type":"object","required":["id","tenant_id","schema_id","line_key","period_key","amount","updated_at"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string","description":"Server-derived authenticated tenant binding."},"schema_id":{"type":"string"},"line_key":{"type":"string"},"period_key":{"$ref":"#/components/schemas/PeriodKey"},"amount":{"type":"number","multipleOf":0.01},"updated_at":{"type":"string"}}},"PeriodicValueWrite":{"type":"object","required":["lineKey","periodKey","amount"],"properties":{"lineKey":{"type":"string","minLength":1},"periodKey":{"$ref":"#/components/schemas/PeriodKey"},"amount":{"$ref":"#/components/schemas/MoneyInput"}}},"PersistedEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/EuOssPersistedReport"}}},"PersonaUpdateRequest":{"type":"object","required":["persona_id"],"properties":{"persona_id":{"type":"string","nullable":true}}},"PersonnelDocument":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"integer"},"employee_id":{"type":"string"},"category":{"type":"string","nullable":true},"title":{"type":"string"},"file_url":{"type":"string","nullable":true},"acknowledged_at":{"type":"string","nullable":true},"acknowledged_by":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"PersonnelDocumentAcknowledgeRequest":{"type":"object","required":["acknowledged_by"],"properties":{"acknowledged_by":{"type":"string"}}},"PersonnelDocumentUpsertRequest":{"type":"object","additionalProperties":true,"properties":{"employee_id":{"type":"string"},"category":{"type":"string"},"title":{"type":"string"},"file_url":{"type":"string"}}},"PickAndPack_Error":{"type":"object","description":"Fehler-Envelope wie von allen iced-Backend-Handlern emittiert.\n`code` ist machine-readable (siehe Endpunkt-spezifische Fehlerlisten),\n`message` ist human-readable.\n","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","description":"Fehlercode (siehe Endpunkt-Doku).","example":"INVALID_TRANSITION"},"message":{"type":"string","example":"Cannot weigh while in state 'picking'"},"details":{"type":"object","description":"Endpoint-spezifischer Diagnose-Kontext. Bei\n`INVALID_TRANSITION` enthaelt `details` `{from, to, allowed[], reason?}`.\n","additionalProperties":true,"nullable":true}},"example":{"success":false,"error":"INVALID_TRANSITION","message":"Cannot weigh while in state 'picking'","details":{"from":"picking","to":"weighing","allowed":["packing"],"reason":"weigh_before_pack"}}},"PickAndPack_OrderInput":{"type":"object","description":"Order-Skelett fuer `POST /sessions`. Items werden Server-seitig mit\nStockItem-Stamm (Dimensionen, Gewicht, Popularitaet) angereichert.\n","required":["id","items"],"properties":{"id":{"type":"string","example":"shopify-#1234"},"ship_address":{"type":"object","properties":{"name":{"type":"string"},"street":{"type":"string"},"zip":{"type":"string"},"city":{"type":"string"},"country":{"type":"string","example":"DE"}}},"items":{"type":"array","minItems":1,"items":{"type":"object","required":["sku","quantity"],"properties":{"sku":{"type":"string","example":"ICE-CREAM-VANILLA-500ML"},"quantity":{"type":"integer","minimum":1,"example":2}}}}}},"PickPackAnomaly":{"type":"object","required":["anomaly_key","anomaly_type","severity","session_id","resolved"],"properties":{"anomaly_key":{"type":"string","pattern":"^[a-f0-9]{64}$"},"anomaly_type":{"type":"string","enum":["pack_time","override_count_per_sku","filler_variance_g"]},"severity":{"type":"string","enum":["low","med","high"]},"session_id":{"type":"string"},"sku":{"type":"string","nullable":true},"z_score":{"type":"number","format":"float"},"observed":{"type":"number","format":"float"},"baseline_mean":{"type":"number","format":"float"},"baseline_stddev":{"type":"number","format":"float"},"suspected_root_cause":{"type":"string"},"detected_at":{"type":"string","format":"date-time"},"resolved":{"type":"boolean"},"resolved_at":{"type":"string","format":"date-time","nullable":true}}},"PickPackBalanceSuccess":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object"}}},"PickPackOperatorHeatmapRow":{"oneOf":[{"type":"object","additionalProperties":{"type":"number","nullable":true}},{"type":"array","items":{"type":"number","nullable":true}}]},"PickPackWaveSuccess":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object"}}},"PickSession":{"type":"object","description":"PickSession-Stammdaten (1:1 zu `pick_sessions`-Row).","properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string"},"ship_date":{"type":"string","format":"date","example":"2026-05-21"},"state":{"$ref":"#/components/schemas/PickSessionState"},"order_id":{"type":"string","example":"shopify-#1234"},"box_sku":{"type":"string","example":"BOX-XS-300x200x100","description":"Karton-SKU aus BinPackingService #27719"},"environment_factor":{"type":"number","format":"float","example":1.2,"description":"Wetter-/Umweltfaktor (Trockeneis-Bedarf), 1.0 = neutral"},"actual_weight_g":{"type":"integer","nullable":true,"example":1230},"actual_filler_g":{"type":"integer","nullable":true,"example":1000},"tracking_number":{"type":"string","nullable":true,"example":"01234567890123"},"label_url":{"type":"string","nullable":true,"format":"uri","example":"https://erp.example/labels/abc.pdf"},"created_at":{"type":"string","format":"date-time"},"started_at":{"type":"string","format":"date-time","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true}}},"PickSessionItem":{"type":"object","description":"Einzelne Pick-Position innerhalb einer Session.","properties":{"id":{"type":"string","format":"uuid"},"session_id":{"type":"string","format":"uuid"},"sku":{"type":"string","example":"ICE-CREAM-VANILLA-500ML"},"name":{"type":"string","example":"Vanilla 500ml"},"quantity":{"type":"integer","minimum":1,"example":2},"scanned":{"type":"integer","minimum":0,"example":1},"expected_weight_g":{"type":"integer","nullable":true},"location_hint":{"type":"string","nullable":true,"example":"A-12-3"},"popularity":{"type":"number","format":"float","nullable":true,"description":"Avg-Popularity-Score aus ItemPopularityService (#27715) fuer Walking-Order."}}},"PickSessionState":{"type":"string","description":"Aktueller State der Session laut PickSessionStateMachine.\nTerminal-States: `finished`, `cancelled`, `error`.\n","enum":["open","picking","packing","weighing","filling","labeled","finished","error","cancelled"],"example":"weighing"},"PickSessionView":{"type":"object","description":"Komplette Session-Sicht (state + items + totals + filler). Wird von\n`POST /sessions` (201) und `GET /sessions/{id}` (200) zurueckgegeben.\n","properties":{"session":{"$ref":"#/components/schemas/PickSession"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PickSessionItem"}},"box":{"type":"object","nullable":true,"description":"Karton-Empfehlung aus BinPackingService (#27719).","properties":{"sku":{"type":"string"},"length_mm":{"type":"integer"},"width_mm":{"type":"integer"},"height_mm":{"type":"integer"},"tare_g":{"type":"integer"}}},"totals":{"type":"object","properties":{"items_total":{"type":"integer","example":5},"items_scanned":{"type":"integer","example":3},"expected_weight_g":{"type":"integer","example":1200,"description":"Summe der Soll-Gewichte plus Karton-Tara."}}},"filler":{"type":"object","nullable":true,"description":"Aktive Filler-Strategie fuer den Tag (#27722).","properties":{"strategy":{"type":"string","example":"dry_ice"},"target_g":{"type":"integer","example":1000},"tolerance_low_g":{"type":"integer","example":950},"tolerance_high_g":{"type":"integer","example":1100}}}}},"Plan":{"type":"object","properties":{"tier":{"type":"string","example":"business"},"monthly_base_cents":{"type":"integer","example":4900},"has_payment_config":{"type":"boolean","example":true}}},"PlanLimits":{"type":"object","description":"Free-form Froxlor hosting limits (diskspace, traffic, mysqls...).","additionalProperties":true},"PlanResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"environment":{"type":"object","additionalProperties":true},"plan":{"type":"object","properties":{"ops":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["environment","members","board","automation","dashboard","view","form","navigation","theme","recipe","app","leadWidget"]},"key":{"type":"string"},"label":{"type":"string"},"action":{"type":"string","enum":["create","update","unchanged","remove","keep"]},"changes":{"type":"array","items":{"type":"object","additionalProperties":true}},"warnings":{"type":"array","items":{"type":"string"}}}}},"summary":{"type":"object","additionalProperties":{"type":"integer"}},"changes":{"type":"boolean"}}},"planHash":{"type":"string"},"spec":{"type":"object","additionalProperties":true},"warnings":{"type":"array","items":{"type":"object","additionalProperties":true}},"status":{"type":"string","enum":["created","updated","unchanged"]},"workspace":{"$ref":"#/components/schemas/WorkspacePlan"}}}}},"PlannedInvoice":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"integer"},"customer_name":{"type":"string","nullable":true},"planned_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["planned","created","cancelled"]},"items":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/PlannedInvoiceItem"}},"annotation":{"type":"string","nullable":true},"created_invoice_id":{"type":"integer","nullable":true},"legacy_id":{"type":"integer","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PlannedInvoiceExecutionResult":{"allOf":[{"$ref":"#/components/schemas/SuccessResponse"},{"type":"object","properties":{"created_count":{"type":"integer"},"skipped_count":{"type":"integer"},"created":{"type":"array","items":{"type":"object","properties":{"planned_invoice_id":{"type":"integer"},"invoice_id":{"type":"integer"}}}}}}]},"PlannedInvoiceInput":{"type":"object","required":["customer_id","planned_date"],"properties":{"customer_id":{"type":"integer"},"customer_name":{"type":"string"},"planned_date":{"type":"string","format":"date"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PlannedInvoiceItem"}},"annotation":{"type":"string"}}},"PlannedInvoiceItem":{"type":"object","required":["description","unit_price"],"properties":{"description":{"type":"string"},"quantity":{"type":"string","description":"Decimal string, non-negative."},"unit_price":{"type":"string","description":"Decimal string with two fraction digits."},"vat_rate":{"type":"string","description":"VAT percentage as a decimal string, for example \"19\"."}}},"PlannedInvoiceUpdate":{"type":"object","properties":{"planned_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["planned","cancelled"]},"customer_name":{"type":"string","nullable":true},"items":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/PlannedInvoiceItem"}},"annotation":{"type":"string","nullable":true}}},"PlansResponse":{"type":"object","required":["plans"],"properties":{"plans":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PlanLimits"}}}},"PlatformReleaseCachedNotesResult":{"type":"object","required":["release_id","version","notes_md","fetched_at"],"properties":{"release_id":{"type":"string"},"version":{"type":"string"},"notes_md":{"type":"string"},"fetched_at":{"type":"string"}}},"PlatformReleaseCheckResult":{"oneOf":[{"type":"object","required":["update_available","visibility"],"properties":{"update_available":{"type":"boolean","enum":[false]},"visibility":{"type":"string","enum":["public","tenant"]}}},{"type":"object","required":["update_available","release_id","latest_version","min_version","severity","notes","download_url","sha256","visibility"],"properties":{"update_available":{"type":"boolean","enum":[true]},"release_id":{"type":"string"},"latest_version":{"type":"string"},"min_version":{"type":["string","null"]},"severity":{"type":"string"},"notes":{"type":"string"},"download_url":{"type":["string","null"]},"sha256":{"type":["string","null"]},"visibility":{"type":"string","enum":["public","tenant"]}}}]},"PlatformReleaseCronResult":{"type":"object","required":["status","update_available","version"],"properties":{"status":{"type":"string","description":"disabled when feed configuration is absent; checked or the poll result status otherwise."},"update_available":{"type":"boolean"},"version":{"type":"string"}}},"PlatformReleaseLatestResult":{"type":"object","required":["id","bundle_id","channel","version","published_at","notes","download_url","min_version","severity","sha256","signature","visibility"],"properties":{"id":{"type":"string"},"bundle_id":{"type":"string"},"channel":{"type":"string"},"version":{"type":"string"},"published_at":{"type":"string"},"notes":{"type":"string"},"download_url":{"type":["string","null"]},"min_version":{"type":["string","null"]},"severity":{"type":"string"},"sha256":{"type":["string","null"]},"signature":{"type":["string","null"]},"visibility":{"type":"string","enum":["public","tenant"]}}},"PlatformReleaseNotesResult":{"type":"object","required":["id","bundle_id","channel","version","notes_md","visibility"],"properties":{"id":{"type":"string"},"bundle_id":{"type":"string"},"channel":{"type":"string"},"version":{"type":"string"},"notes_md":{"type":"string"},"visibility":{"type":"string","enum":["public","tenant"]}}},"PlatformReleaseNotificationConfig":{"description":"Provider configuration persisted unchanged; these are the fields consumed by the notifier. Non-array input becomes an empty array.","oneOf":[{"type":"object","properties":{"tenant_id":{"type":"string"},"channel_id":{"type":"string"},"to":{"type":"string"},"subject":{"type":"string"},"chat_id":{"type":"string"},"template_name":{"type":"string"},"template_language":{"type":"string"},"template_components":{"type":"array","description":"Provider template components passed through without interpretation or item validation by this module.","items":{"type":["object","array","string","number","boolean","null"]}}}},{"type":"array","description":"JSON lists are also persisted unchanged; named provider fields are only interpreted for object configs.","items":{"type":["object","array","string","number","boolean","null"]}}]},"PlatformReleaseNotificationResult":{"type":"object","required":["rule_id","channel_type","status"],"properties":{"rule_id":{"type":"string"},"channel_type":{"type":"string","enum":["email","telegram","whatsapp"]},"status":{"type":"string"},"implemented":{"type":"boolean"},"external_message_id":{"type":["string","null"]},"error":{"type":"string","description":"Present instead of delivery details when dispatch fails."}}},"PlatformReleaseNotificationRule":{"type":"object","required":["id","bundle_id","channel_type","channel_config_json","channel_config","severity_filter","enabled","created_at","updated_at"],"properties":{"id":{"type":"string"},"bundle_id":{"type":"string"},"channel_type":{"type":"string","enum":["email","telegram","whatsapp"]},"channel_config_json":{"type":"string","description":"Serialized persisted provider configuration."},"channel_config":{"$ref":"#/components/schemas/PlatformReleaseNotificationConfig"},"severity_filter":{"type":["string","null"]},"enabled":{"type":"boolean"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PlatformReleaseNotificationRuleInput":{"type":"object","required":["bundle_id","channel_type"],"properties":{"id":{"type":["string","null"],"description":"Existing identifier to update; missing or blank generates an identifier."},"bundle_id":{"type":"string"},"channel_type":{"type":"string","enum":["email","telegram","whatsapp"]},"channel_config":{"$ref":"#/components/schemas/PlatformReleaseNotificationConfig"},"severity_filter":{"type":["string","null"],"description":"Exact severity match; missing or blank matches all severities."},"enabled":{"type":"boolean","default":true}}},"PlatformReleaseNotificationRuleList":{"type":"object","required":["rules"],"properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/PlatformReleaseNotificationRule"}}}},"PlatformReleasePublishInput":{"type":"object","required":["bundle_id","channel","version"],"properties":{"bundle_id":{"type":"string","description":"Must match the authenticated bundle header."},"channel":{"type":"string","enum":["stable","beta","edge","frozen"]},"version":{"type":"string","minLength":1,"pattern":"\\S"},"visibility":{"type":"string","enum":["public","tenant"],"default":"public"},"tenant_id":{"type":"string","description":"Required and nonblank for tenant visibility; ignored for public releases."},"published_at":{"type":"string","description":"Defaults to current UTC when missing or blank."},"notes_md":{"type":"string","default":""},"download_url":{"type":["string","null"]},"min_version":{"type":["string","null"]},"severity":{"type":"string","default":"minor"},"sha256":{"type":["string","null"]},"signature":{"type":["string","null"]}}},"PlatformReleasePublishKey":{"type":"object","required":["bundle_id","publish_key"],"properties":{"bundle_id":{"type":"string"},"publish_key":{"type":"string","minLength":1}}},"PlatformReleasePublishResult":{"type":"object","required":["success","id","bundle_id","channel","version","visibility","tenant_id","published_at","notification_results"],"properties":{"success":{"type":"boolean","enum":[true]},"id":{"type":"string"},"bundle_id":{"type":"string"},"channel":{"type":"string","enum":["stable","beta","edge","frozen"]},"version":{"type":"string"},"visibility":{"type":"string","enum":["public","tenant"]},"tenant_id":{"type":["string","null"]},"published_at":{"type":"string"},"notification_results":{"type":"array","items":{"$ref":"#/components/schemas/PlatformReleaseNotificationResult"}}}},"PlatformReleaseTenantKey":{"type":"object","required":["bundle_id","tenant_id","tenant_key"],"properties":{"bundle_id":{"type":"string"},"tenant_id":{"type":"string"},"tenant_key":{"type":"string","minLength":1}}},"PlatformReleaseTenantKeyRevocation":{"type":"object","required":["bundle_id","tenant_id","revoked"],"properties":{"bundle_id":{"type":"string"},"tenant_id":{"type":"string"},"revoked":{"type":"integer","minimum":0}}},"PolicyDocCreateRequest":{"type":"object","required":["code","title","category","content_md","owner_user_id"],"properties":{"code":{"type":"string"},"title":{"type":"string"},"category":{"type":"string","enum":["security","privacy","hr","finance","operations","custom"]},"content_md":{"type":"string"},"attestation_cadence":{"type":"string","enum":["once","annually","semi_annually","quarterly","on_change"],"default":"once"},"owner_user_id":{"type":"string"},"requires_attestation_from_role":{"type":"string","nullable":true},"effective_from":{"type":"string","nullable":true},"effective_to":{"type":"string","nullable":true},"supersedes_id":{"type":"string","nullable":true}}},"PortalAdmin_Error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","nullable":true},"trace_id":{"type":"string"}}},"PortalAgeGateErrorFields":{"type":"object","description":"Additional 422 fields of an age-switch rejection (codes age_out_of_range, age_birth_year_required, age_birth_year_invalid).","properties":{"ageGate":{"$ref":"#/components/schemas/PortalAgeGateHint"}}},"PortalAgeGateHint":{"type":"object","additionalProperties":false,"required":["code","subject","field","limits","redirect"],"description":"Age switch answer (owner q-20261114T202855Z-8e1f60). Present only when the tenant's portal.ageGateEnabled switch is on and a policy is declared; never echoes the submitted birth year.","properties":{"code":{"type":"string","enum":["age_out_of_range","age_birth_year_required","age_birth_year_invalid"]},"subject":{"type":"string","enum":["own","searched"]},"field":{"type":"string","description":"birthYear or birthDate (registration); geburtsjahr, gesuchte_altersgruppe_von or gesuchte_altersgruppe_bis (listings)."},"limits":{"type":"object","additionalProperties":false,"required":["min","max"],"properties":{"min":{"type":"integer","nullable":true},"max":{"type":"integer","nullable":true}}},"redirect":{"type":"object","nullable":true,"additionalProperties":false,"required":["portal","url","noticeKey"],"description":"Matching portal for the notice link; url keeps the request's environment prefix (beta.) and ends in the target's canonical domain, or in the host age-policy.json declares for the response language (redirect.languages, e.g. English).","properties":{"portal":{"type":"string"},"url":{"type":"string","format":"uri","nullable":true},"noticeKey":{"type":"string","nullable":true,"enum":["minorToKidsPortal","adultToAdultPortal",null]}}}}},"PortalAgeGateListingError":{"type":"object","additionalProperties":true,"required":["error","code","field","message","errors","ageGate"],"description":"Listing save rejected by the tenant's hard age limits.","properties":{"error":{"type":"string","enum":["age_out_of_range","age_birth_year_required","age_birth_year_invalid"]},"code":{"type":"string","enum":["age_out_of_range","age_birth_year_required","age_birth_year_invalid"]},"field":{"type":"string"},"message":{"type":"string"},"errors":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["field","code","message"],"properties":{"field":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"}}}},"ageGate":{"$ref":"#/components/schemas/PortalAgeGateHint"}}},"PortalAgeGateReport":{"type":"object","additionalProperties":false,"required":["enabled","tenantId","referenceDate","policy","listings","counts"],"properties":{"enabled":{"type":"boolean","description":"Whether the switch is on for this tenant; the report itself works either way."},"tenantId":{"type":"string"},"referenceDate":{"type":"string","format":"date"},"policy":{"type":"object","additionalProperties":true},"listings":{"type":"integer","minimum":0},"counts":{"type":"object","additionalProperties":false,"required":["ownAgeOutOfRange","searchedAgeOutOfRange","birthYearMissing","birthYearInvalid","compliant"],"properties":{"ownAgeOutOfRange":{"type":"integer","minimum":0},"searchedAgeOutOfRange":{"type":"integer","minimum":0},"birthYearMissing":{"type":"integer","minimum":0},"birthYearInvalid":{"type":"integer","minimum":0},"compliant":{"type":"integer","minimum":0}}},"listingIds":{"type":"object","additionalProperties":{"type":"array","maxItems":500,"items":{"type":"integer"}},"description":"Only with ids=1; at most 500 internal ids per category."}}},"PortalAmountDifference":{"type":"object","required":["gross_amount","net_amount","vat_amount"],"properties":{"gross_amount":{"type":"string","pattern":"^-?[0-9]+[.][0-9]{2}$"},"net_amount":{"type":"string","pattern":"^-?[0-9]+[.][0-9]{2}$"},"vat_amount":{"type":"string","pattern":"^-?[0-9]+[.][0-9]{2}$"}}},"PortalBounceAccount":{"type":"object","required":["user_id","email","status","first_bounced_at","deactivate_at","deactivated_at"],"properties":{"user_id":{"type":"integer","minimum":1},"email":{"type":"string","format":"email"},"status":{"type":"string","enum":["pending","deactivated"]},"first_bounced_at":{"type":"string","format":"date-time"},"deactivate_at":{"type":"string","format":"date-time"},"deactivated_at":{"type":"string","format":"date-time","nullable":true}}},"PortalClassicSyncReportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["run_id","tenant_id","mode","status","totals","mappings"],"properties":{"run_id":{"type":"string"},"tenant_id":{"type":"string"},"mode":{"type":"string","enum":["dry-run","apply"]},"status":{"type":"string","enum":["ok","partial","failed"]},"error_code":{"type":"string","nullable":true},"totals":{"type":"object","additionalProperties":{"type":"integer"}},"mappings":{"type":"object","additionalProperties":true}}}}},"PortalClassicSyncRunRequest":{"type":"object","properties":{"mappings":{"type":"array","description":"Optional subset of mapping ids; default all mappings of the tenant.","items":{"type":"string"}}}},"PortalContactProofError":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"trace_id":{"type":"string"},"details":{"nullable":true}}},"PortalContactProofResponse":{"type":"object","required":["tenant_id","mode"],"properties":{"tenant_id":{"type":"string"},"mode":{"type":"string","enum":["captcha","hashcash"]},"entitlement":{"type":"object","description":"Only with mode=hashcash: the session user's own active extra service.","properties":{"kind":{"type":"string","description":"kontakt_plus, premium_listing, verified_listing or subscription:<tier>"},"valid_until":{"type":"string","format":"date"}}},"hashcash":{"type":"object","description":"Only with mode=hashcash.","properties":{"form_token":{"type":"string"},"tasks":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"difficulty":{"type":"integer","minimum":1}}}},"required_successes":{"type":"integer","minimum":1},"total":{"type":"integer","minimum":1},"submit_fields":{"type":"array","items":{"type":"string"}}}}}},"PortalCustomerAliasDetail":{"type":"object","required":["userId","canonicalUserId","customerNumber","originalCustomerNumber","memberUserIds","orders","ordersTotal","offset","aliasRevision"],"properties":{"userId":{"type":"integer"},"canonicalUserId":{"type":"integer"},"customerNumber":{"type":"string"},"originalCustomerNumber":{"type":"string"},"customerId":{"type":"integer","minimum":1,"nullable":true,"description":"Existing tenant-scoped canonical CRM record for profile editing and history; null when unmapped. Never grants CRM access."},"memberUserIds":{"type":"array","items":{"type":"integer"}},"ordersTotal":{"type":"integer","minimum":0},"offset":{"type":"integer","minimum":0},"aliasRevision":{"type":"integer","minimum":0},"orders":{"type":"array","maxItems":50,"items":{"type":"object","required":["id","userId","orderNumber","invoiceNumber","documentLinksUrl"],"properties":{"id":{"type":"integer"},"userId":{"type":"integer"},"orderNumber":{"type":"string"},"invoiceNumber":{"type":"string","nullable":true},"documentLinksUrl":{"type":"string"}}}}}},"PortalCustomerAliasTarget":{"type":"object","required":["targetUserId"],"properties":{"targetUserId":{"type":"integer","minimum":1}},"additionalProperties":false},"PortalCustomerAliasUndoTarget":{"type":"object","required":["targetUserId","expectedRevision"],"properties":{"targetUserId":{"type":"integer","minimum":1},"expectedRevision":{"type":"integer","minimum":1}},"additionalProperties":false},"PortalDeletePortalAccountContactBlocksIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::removeContactBlock error payload for HTTP 400.","x-handler-derived":"InquiryHandler::removeContactBlock"},"PortalDeletePortalAccountContactBlocksIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::removeContactBlock error payload for HTTP 401.","x-handler-derived":"InquiryHandler::removeContactBlock"},"PortalDeletePortalAccountContactBlocksIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::removeContactBlock error payload for HTTP 403.","x-handler-derived":"InquiryHandler::removeContactBlock"},"PortalDeletePortalAccountContactBlocksIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::removeContactBlock error payload for HTTP 404.","x-handler-derived":"InquiryHandler::removeContactBlock"},"PortalDeletePortalAccountContactBlocksIdResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by InquiryHandler::removeContactBlock."}}},"PortalDeletePortalAccountListingsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteListing error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::deleteListing"},"PortalDeletePortalAccountListingsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteListing error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::deleteListing"},"PortalDeletePortalAccountListingsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteListing error payload for HTTP 404.","x-handler-derived":"PortalAccountHandler::deleteListing"},"PortalDeletePortalAccountListingsIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteListing error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::deleteListing"},"PortalDeletePortalAccountListingsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteListing error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::deleteListing"},"PortalDeletePortalAccountListingsIdImagesImageIndexError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteImage error payload for HTTP 400.","x-handler-derived":"PortalAccountHandler::deleteImage"},"PortalDeletePortalAccountListingsIdImagesImageIndexError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteImage error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::deleteImage"},"PortalDeletePortalAccountListingsIdImagesImageIndexError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteImage error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::deleteImage"},"PortalDeletePortalAccountListingsIdImagesImageIndexError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteImage error payload for HTTP 404.","x-handler-derived":"PortalAccountHandler::deleteImage"},"PortalDeletePortalAccountListingsIdImagesImageIndexError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteImage error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::deleteImage"},"PortalDeletePortalAccountListingsIdImagesImageIndexError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteImage error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::deleteImage"},"PortalDeletePortalAccountListingsIdImagesImageIndexResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ImageUploadHandler::delete."},"id":{"description":"Field serialized by ImageUploadHandler::delete."},"code":{"description":"Field serialized by ImageUploadHandler::delete."},"message":{"description":"Field serialized by ImageUploadHandler::delete."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"trace_id":{"description":"Field serialized by ImageUploadHandler::delete."}}},"PortalDeletePortalAccountListingsIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAccountHandler::deleteListing."},"id":{"description":"Field serialized by PortalAccountHandler::deleteListing."},"account_deleted":{"type":"boolean","description":"CORE-09: true when the caller's last listing was deleted together with the account."},"code":{"description":"Field serialized by PortalAccountHandler::deleteListing."},"message":{"description":"Field serialized by PortalAccountHandler::deleteListing."}}},"PortalDeletePortalBlocksBlockIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::delete error payload for HTTP 400.","x-handler-derived":"BlocksHandler::delete"},"PortalDeletePortalBlocksBlockIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::delete error payload for HTTP 401.","x-handler-derived":"BlocksHandler::delete"},"PortalDeletePortalBlocksBlockIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::delete error payload for HTTP 403.","x-handler-derived":"BlocksHandler::delete"},"PortalDeletePortalBlocksBlockIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::delete error payload for HTTP 404.","x-handler-derived":"BlocksHandler::delete"},"PortalDeletePortalBlocksBlockIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::delete error payload for HTTP 500.","x-handler-derived":"BlocksHandler::delete"},"PortalDeletePortalBlocksBlockIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by BlocksHandler::delete."},"message":{"description":"Field serialized by BlocksHandler::delete."},"details":{"description":"Field serialized by BlocksHandler::delete."},"trace_id":{"description":"Field serialized by BlocksHandler::delete."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalDeletePortalFavoritesListingIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::remove error payload for HTTP 400.","x-handler-derived":"FavoritesHandler::remove"},"PortalDeletePortalFavoritesListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::remove error payload for HTTP 401.","x-handler-derived":"FavoritesHandler::remove"},"PortalDeletePortalFavoritesListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::remove error payload for HTTP 403.","x-handler-derived":"FavoritesHandler::remove"},"PortalDeletePortalFavoritesListingIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::remove error payload for HTTP 500.","x-handler-derived":"FavoritesHandler::remove"},"PortalDeletePortalFavoritesListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by FavoritesHandler::remove."},"message":{"description":"Field serialized by FavoritesHandler::remove."},"details":{"description":"Field serialized by FavoritesHandler::remove."},"trace_id":{"description":"Field serialized by FavoritesHandler::remove."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalDeletePortalInquiriesIdReplyDraftError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::closeReplyDraft error payload for HTTP 400.","x-handler-derived":"InquiryHandler::closeReplyDraft"},"PortalDeletePortalInquiriesIdReplyDraftError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::closeReplyDraft error payload for HTTP 401.","x-handler-derived":"InquiryHandler::closeReplyDraft"},"PortalDeletePortalInquiriesIdReplyDraftError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::closeReplyDraft error payload for HTTP 403.","x-handler-derived":"InquiryHandler::closeReplyDraft"},"PortalDeletePortalInquiriesIdReplyDraftError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::closeReplyDraft error payload for HTTP 404.","x-handler-derived":"InquiryHandler::closeReplyDraft"},"PortalDeletePortalInquiriesIdReplyDraftResponse":{"type":"object","additionalProperties":false,"properties":{"ok":{"description":"Field serialized by InquiryHandler::closeReplyDraft."},"status":{"description":"Field serialized by InquiryHandler::closeReplyDraft."}}},"PortalDeletePortalInquiryWaitingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::deleteWaiting error payload for HTTP 403.","x-handler-derived":"InquiryHandler::deleteWaiting"},"PortalDeletePortalInquiryWaitingIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::deleteWaiting.","x-handler-record":"InquiryHandler::deleteWaiting"},"PortalDeletePortalListingBoostsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::delete error payload for HTTP 400.","x-handler-derived":"ListingBoostHandler::delete"},"PortalDeletePortalListingBoostsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::delete error payload for HTTP 401.","x-handler-derived":"ListingBoostHandler::delete"},"PortalDeletePortalListingBoostsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::delete error payload for HTTP 403.","x-handler-derived":"ListingBoostHandler::delete"},"PortalDeletePortalListingBoostsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::delete error payload for HTTP 404.","x-handler-derived":"ListingBoostHandler::delete"},"PortalDeletePortalListingBoostsIdError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::delete error payload for HTTP 409.","x-handler-derived":"ListingBoostHandler::delete"},"PortalDeletePortalListingBoostsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::delete error payload for HTTP 500.","x-handler-derived":"ListingBoostHandler::delete"},"PortalDeletePortalListingBoostsIdResponse":{"type":"object","additionalProperties":false,"properties":{"boost":{"description":"Field serialized by ListingBoostHandler::delete."}}},"PortalDeletePortalListingsIdMediaMediaIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::removeMedia error payload for HTTP 400.","x-handler-derived":"ListingsHandler::removeMedia"},"PortalDeletePortalListingsIdMediaMediaIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::removeMedia error payload for HTTP 401.","x-handler-derived":"ListingsHandler::removeMedia"},"PortalDeletePortalListingsIdMediaMediaIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::removeMedia error payload for HTTP 403.","x-handler-derived":"ListingsHandler::removeMedia"},"PortalDeletePortalListingsIdMediaMediaIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::removeMedia error payload for HTTP 404.","x-handler-derived":"ListingsHandler::removeMedia"},"PortalDeletePortalListingsIdMediaMediaIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::removeMedia error payload for HTTP 500.","x-handler-derived":"ListingsHandler::removeMedia"},"PortalDeletePortalListingsIdMediaMediaIdResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalDeletePortalListingsIdTagsTagIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::unassignFromListing error payload for HTTP 400.","x-handler-derived":"TagsHandler::unassignFromListing"},"PortalDeletePortalListingsIdTagsTagIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::unassignFromListing error payload for HTTP 500.","x-handler-derived":"TagsHandler::unassignFromListing"},"PortalDeletePortalListingsIdTagsTagIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by TagsHandler::unassignFromListing."},"message":{"description":"Field serialized by TagsHandler::unassignFromListing."},"details":{"description":"Field serialized by TagsHandler::unassignFromListing."},"trace_id":{"description":"Field serialized by TagsHandler::unassignFromListing."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalDeletePortalMessagesRepliesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::delete error payload for HTTP 400.","x-handler-derived":"QuickRepliesHandler::delete"},"PortalDeletePortalMessagesRepliesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::delete error payload for HTTP 403.","x-handler-derived":"QuickRepliesHandler::delete"},"PortalDeletePortalMessagesRepliesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::delete error payload for HTTP 404.","x-handler-derived":"QuickRepliesHandler::delete"},"PortalDeletePortalMessagesRepliesIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::delete error payload for HTTP 500.","x-handler-derived":"QuickRepliesHandler::delete"},"PortalDeletePortalMessagesRepliesIdResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalDeletePortalSubscriptionsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::delete error payload for HTTP 400.","x-handler-derived":"SubscriptionsHandler::delete"},"PortalDeletePortalSubscriptionsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::delete error payload for HTTP 401.","x-handler-derived":"SubscriptionsHandler::delete"},"PortalDeletePortalSubscriptionsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::delete error payload for HTTP 403.","x-handler-derived":"SubscriptionsHandler::delete"},"PortalDeletePortalSubscriptionsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::delete error payload for HTTP 404.","x-handler-derived":"SubscriptionsHandler::delete"},"PortalDeletePortalSubscriptionsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::delete error payload for HTTP 500.","x-handler-derived":"SubscriptionsHandler::delete"},"PortalDeletePortalSubscriptionsIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SubscriptionsHandler::delete."},"message":{"description":"Field serialized by SubscriptionsHandler::delete."},"details":{"description":"Field serialized by SubscriptionsHandler::delete."},"trace_id":{"description":"Field serialized by SubscriptionsHandler::delete."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalDeletePortalTagsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::delete error payload for HTTP 400.","x-handler-derived":"TagsHandler::delete"},"PortalDeletePortalTagsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::delete error payload for HTTP 403.","x-handler-derived":"TagsHandler::delete"},"PortalDeletePortalTagsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::delete error payload for HTTP 404.","x-handler-derived":"TagsHandler::delete"},"PortalDeletePortalTagsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::delete error payload for HTTP 500.","x-handler-derived":"TagsHandler::delete"},"PortalDeletePortalTagsIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by TagsHandler::delete."},"message":{"description":"Field serialized by TagsHandler::delete."},"details":{"description":"Field serialized by TagsHandler::delete."},"trace_id":{"description":"Field serialized by TagsHandler::delete."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalDeletePortalTenantIdAdminBlocklistIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::removeFromBlocklist error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::removeFromBlocklist"},"PortalDeletePortalTenantIdAdminBlocklistIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::removeFromBlocklist error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::removeFromBlocklist"},"PortalDeletePortalTenantIdAdminBlocklistIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::removeFromBlocklist error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::removeFromBlocklist"},"PortalDeletePortalTenantIdAdminBlocklistIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::removeFromBlocklist error payload for HTTP 404.","x-handler-derived":"PortalAdminBlocklistHandler::removeFromBlocklist"},"PortalDeletePortalTenantIdAdminBlocklistIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::removeFromBlocklist error payload for HTTP 429.","x-handler-derived":"PortalAdminBlocklistHandler::removeFromBlocklist"},"PortalDeletePortalTenantIdAdminBlocklistIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminBlocklistHandler::removeFromBlocklist."},"message":{"description":"Field serialized by PortalAdminBlocklistHandler::removeFromBlocklist."}}},"PortalDeletePortalTenantIdAdminDomainsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::delete error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::delete"},"PortalDeletePortalTenantIdAdminDomainsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::delete error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::delete"},"PortalDeletePortalTenantIdAdminDomainsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::delete error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::delete"},"PortalDeletePortalTenantIdAdminDomainsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::delete error payload for HTTP 404.","x-handler-derived":"DomainMappingHandler::delete"},"PortalDeletePortalTenantIdAdminDomainsIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by DomainMappingHandler::delete."},"message":{"description":"Field serialized by DomainMappingHandler::delete."}}},"PortalDeletePortalTenantIdAdminGuestbookIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::delete error payload for HTTP 400.","x-handler-derived":"GuestbookHandler::delete"},"PortalDeletePortalTenantIdAdminGuestbookIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::delete error payload for HTTP 401.","x-handler-derived":"GuestbookHandler::delete"},"PortalDeletePortalTenantIdAdminGuestbookIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::delete error payload for HTTP 403.","x-handler-derived":"GuestbookHandler::delete"},"PortalDeletePortalTenantIdAdminGuestbookIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::delete error payload for HTTP 404.","x-handler-derived":"GuestbookHandler::delete"},"PortalDeletePortalTenantIdAdminGuestbookIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::delete error payload for HTTP 500.","x-handler-derived":"GuestbookHandler::delete"},"PortalDeletePortalTenantIdAdminGuestbookIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by GuestbookHandler::delete."},"id":{"description":"Field serialized by GuestbookHandler::delete."},"code":{"description":"Field serialized by GuestbookHandler::delete."},"message":{"description":"Field serialized by GuestbookHandler::delete."}}},"PortalDeletePortalTenantIdAdminPagesSlugError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::deletePage error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::deletePage"},"PortalDeletePortalTenantIdAdminPagesSlugError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::deletePage error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::deletePage"},"PortalDeletePortalTenantIdAdminPagesSlugError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::deletePage error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::deletePage"},"PortalDeletePortalTenantIdAdminPagesSlugError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::deletePage error payload for HTTP 404.","x-handler-derived":"PortalAdminBlocklistHandler::deletePage"},"PortalDeletePortalTenantIdAdminPagesSlugError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::deletePage error payload for HTTP 429.","x-handler-derived":"PortalAdminBlocklistHandler::deletePage"},"PortalDeletePortalTenantIdAdminPagesSlugResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminBlocklistHandler::deletePage."},"message":{"description":"Field serialized by PortalAdminBlocklistHandler::deletePage."}}},"PortalDeletePortalTenantIdAdminProblematicUsersEmailError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::remove error payload for HTTP 400.","x-handler-derived":"ProblematicUserHandler::remove"},"PortalDeletePortalTenantIdAdminProblematicUsersEmailError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::remove error payload for HTTP 401.","x-handler-derived":"ProblematicUserHandler::remove"},"PortalDeletePortalTenantIdAdminProblematicUsersEmailError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::remove error payload for HTTP 403.","x-handler-derived":"ProblematicUserHandler::remove"},"PortalDeletePortalTenantIdAdminProblematicUsersEmailError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::remove error payload for HTTP 404.","x-handler-derived":"ProblematicUserHandler::remove"},"PortalDeletePortalTenantIdAdminProblematicUsersEmailError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::remove error payload for HTTP 429.","x-handler-derived":"ProblematicUserHandler::remove"},"PortalDeletePortalTenantIdAdminProblematicUsersEmailResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ProblematicUserHandler::remove."},"message":{"description":"Field serialized by ProblematicUserHandler::remove."},"code":{"description":"Field serialized by ProblematicUserHandler::remove."}}},"PortalDeletePortalTenantIdAdminSupportInboxStandardTextsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalDeletePortalTenantIdAdminSupportInboxStandardTextsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalDeletePortalTenantIdAdminSupportInboxStandardTextsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalDeletePortalTenantIdAdminSupportInboxStandardTextsIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalDeletePortalTenantIdAdminSupportInboxStandardTextsIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::templates.","x-handler-record":"PortalSupportLibraryHandler::templates"},"PortalDeletePortalTenantIdAdminUsersUserIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::delete error payload for HTTP 400.","x-handler-derived":"PortalAdminUsersHandler::delete"},"PortalDeletePortalTenantIdAdminUsersUserIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::delete error payload for HTTP 401.","x-handler-derived":"PortalAdminUsersHandler::delete"},"PortalDeletePortalTenantIdAdminUsersUserIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::delete error payload for HTTP 403.","x-handler-derived":"PortalAdminUsersHandler::delete"},"PortalDeletePortalTenantIdAdminUsersUserIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::delete error payload for HTTP 404.","x-handler-derived":"PortalAdminUsersHandler::delete"},"PortalDeletePortalTenantIdAdminUsersUserIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::delete error payload for HTTP 429.","x-handler-derived":"PortalAdminUsersHandler::delete"},"PortalDeletePortalTenantIdAdminUsersUserIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminUsersHandler::delete."},"message":{"description":"Field serialized by PortalAdminUsersHandler::delete."}}},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 413.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalDeletePortalTenantIdAttachmentsKindResourceIdAttachmentIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAttachmentHandler::handle."},"shop":{"description":"Field serialized by PortalAttachmentHandler::handle."},"items":{"description":"Field serialized by PortalAttachmentHandler::handle."},"can_edit":{"description":"Field serialized by PortalAttachmentHandler::handle."},"deleted":{"description":"Field serialized by PortalAttachmentHandler::handle."},"id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"listing_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"title":{"description":"Field serialized by PortalAttachmentHandler::handle."},"media_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"filename":{"description":"Field serialized by PortalAttachmentHandler::handle."},"mime_type":{"description":"Field serialized by PortalAttachmentHandler::handle."},"size_bytes":{"description":"Field serialized by PortalAttachmentHandler::handle."},"embed_url":{"description":"Field serialized by PortalAttachmentHandler::handle."}}},"PortalDeletePortalTenantIdAuthEmailChangeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::cancel error payload for HTTP 400.","x-handler-derived":"PortalEmailChangeHandler::cancel"},"PortalDeletePortalTenantIdAuthEmailChangeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::cancel error payload for HTTP 401.","x-handler-derived":"PortalEmailChangeHandler::cancel"},"PortalDeletePortalTenantIdAuthEmailChangeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::cancel error payload for HTTP 403.","x-handler-derived":"PortalEmailChangeHandler::cancel"},"PortalDeletePortalTenantIdAuthEmailChangeError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::cancel error payload for HTTP 404.","x-handler-derived":"PortalEmailChangeHandler::cancel"},"PortalDeletePortalTenantIdAuthEmailChangeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::cancel error payload for HTTP 429.","x-handler-derived":"PortalEmailChangeHandler::cancel"},"PortalDeletePortalTenantIdAuthEmailChangeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::cancel error payload for HTTP 500.","x-handler-derived":"PortalEmailChangeHandler::cancel"},"PortalDeletePortalTenantIdAuthEmailChangeResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalEmailChangeHandler::cancel."},"message":{"description":"Field serialized by PortalEmailChangeHandler::cancel."}}},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::remove error payload for HTTP 400.","x-handler-derived":"PortalLinkedLoginsHandler::remove"},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::remove error payload for HTTP 401.","x-handler-derived":"PortalLinkedLoginsHandler::remove"},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::remove error payload for HTTP 403.","x-handler-derived":"PortalLinkedLoginsHandler::remove"},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::remove error payload for HTTP 404.","x-handler-derived":"PortalLinkedLoginsHandler::remove"},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::remove error payload for HTTP 429.","x-handler-derived":"PortalLinkedLoginsHandler::remove"},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::remove error payload for HTTP 500.","x-handler-derived":"PortalLinkedLoginsHandler::remove"},"PortalDeletePortalTenantIdAuthLinkedLoginsLinkIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLinkedLoginsHandler::remove."},"message":{"description":"Field serialized by PortalLinkedLoginsHandler::remove."}}},"PortalDeletePortalTenantIdBuilderListingsPortalIdListingIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::deleteListing error payload for HTTP 400.","x-handler-derived":"BuilderListingHandler::deleteListing"},"PortalDeletePortalTenantIdBuilderListingsPortalIdListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::deleteListing error payload for HTTP 401.","x-handler-derived":"BuilderListingHandler::deleteListing"},"PortalDeletePortalTenantIdBuilderListingsPortalIdListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::deleteListing error payload for HTTP 403.","x-handler-derived":"BuilderListingHandler::deleteListing"},"PortalDeletePortalTenantIdBuilderListingsPortalIdListingIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::deleteListing error payload for HTTP 404.","x-handler-derived":"BuilderListingHandler::deleteListing"},"PortalDeletePortalTenantIdBuilderListingsPortalIdListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"deleted":{"description":"Field serialized by BuilderListingHandler::deleteListing."},"success":{"description":"Field serialized by BuilderListingHandler::deleteListing."},"error":{"description":"Field serialized by BuilderListingHandler::deleteListing."}}},"PortalDeletePortalTenantIdBuilderModelsPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::deleteModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::deleteModel"},"PortalDeletePortalTenantIdBuilderModelsPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::deleteModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::deleteModel"},"PortalDeletePortalTenantIdBuilderModelsPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::deleteModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::deleteModel"},"PortalDeletePortalTenantIdBuilderModelsPortalIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::deleteModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::deleteModel"},"PortalDeletePortalTenantIdBuilderModelsPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"deleted":{"description":"Field serialized by PortalBuilderHandler::deleteModel."},"success":{"description":"Field serialized by PortalBuilderHandler::deleteModel."},"error":{"description":"Field serialized by PortalBuilderHandler::deleteModel."}}},"PortalDeletePortalTenantIdCartError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::clear error payload for HTTP 400.","x-handler-derived":"PortalCartHandler::clear"},"PortalDeletePortalTenantIdCartError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::clear error payload for HTTP 401.","x-handler-derived":"PortalCartHandler::clear"},"PortalDeletePortalTenantIdCartError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::clear error payload for HTTP 403.","x-handler-derived":"PortalCartHandler::clear"},"PortalDeletePortalTenantIdCartError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::clear error payload for HTTP 429.","x-handler-derived":"PortalCartHandler::clear"},"PortalDeletePortalTenantIdCartItemIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::removeItem error payload for HTTP 400.","x-handler-derived":"PortalCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::removeItem error payload for HTTP 401.","x-handler-derived":"PortalCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::removeItem error payload for HTTP 403.","x-handler-derived":"PortalCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::removeItem error payload for HTTP 429.","x-handler-derived":"PortalCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCartHandler::removeItem."},"message":{"description":"Field serialized by PortalCartHandler::removeItem."},"success":{"description":"Field serialized by PortalCartHandler::removeItem."},"cart":{"description":"Field serialized by PortalCartHandler::removeItem."},"itemCount":{"description":"Field serialized by PortalCartHandler::removeItem."}}},"PortalDeletePortalTenantIdCartItemsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::removeItem error payload for HTTP 400.","x-handler-derived":"ShoppingCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::removeItem error payload for HTTP 401.","x-handler-derived":"ShoppingCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::removeItem error payload for HTTP 403.","x-handler-derived":"ShoppingCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::removeItem error payload for HTTP 404.","x-handler-derived":"ShoppingCartHandler::removeItem"},"PortalDeletePortalTenantIdCartItemsIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ShoppingCartHandler::removeItem."},"message":{"description":"Field serialized by ShoppingCartHandler::removeItem."},"success":{"description":"Field serialized by ShoppingCartHandler::removeItem."},"cart":{"description":"Field serialized by ShoppingCartHandler::removeItem."},"itemCount":{"description":"Field serialized by ShoppingCartHandler::removeItem."}}},"PortalDeletePortalTenantIdCartResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCartHandler::clear."},"message":{"description":"Field serialized by PortalCartHandler::clear."},"success":{"description":"Field serialized by PortalCartHandler::clear."},"cart":{"description":"Field serialized by PortalCartHandler::clear."},"itemCount":{"description":"Field serialized by PortalCartHandler::clear."},"total":{"description":"Field serialized by PortalCartHandler::clear."}}},"PortalDeletePortalTenantIdFavoriteCategoriesCategoryIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 401.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalDeletePortalTenantIdFavoriteCategoriesCategoryIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 403.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalDeletePortalTenantIdFavoriteCategoriesCategoryIdResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"success":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"id":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"name":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"code":{"description":"Field serialized by FavoriteDetailsHandler::categories."}}},"PortalDeletePortalTenantIdFavoritesListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::remove error payload for HTTP 401.","x-handler-derived":"FavoritesHandler::remove"},"PortalDeletePortalTenantIdFavoritesListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::remove error payload for HTTP 403.","x-handler-derived":"FavoritesHandler::remove"},"PortalDeletePortalTenantIdFavoritesListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"listing_id":{"description":"Field serialized by FavoritesHandler::remove."},"favorite":{"description":"Field serialized by FavoritesHandler::remove."},"code":{"description":"Field serialized by FavoritesHandler::remove."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalDeletePortalTenantIdListingsListingIdImagesImageIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::delete error payload for HTTP 400.","x-handler-derived":"ImageUploadHandler::delete"},"PortalDeletePortalTenantIdListingsListingIdImagesImageIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::delete error payload for HTTP 401.","x-handler-derived":"ImageUploadHandler::delete"},"PortalDeletePortalTenantIdListingsListingIdImagesImageIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::delete error payload for HTTP 403.","x-handler-derived":"ImageUploadHandler::delete"},"PortalDeletePortalTenantIdListingsListingIdImagesImageIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::delete error payload for HTTP 404.","x-handler-derived":"ImageUploadHandler::delete"},"PortalDeletePortalTenantIdListingsListingIdImagesImageIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::delete error payload for HTTP 500.","x-handler-derived":"ImageUploadHandler::delete"},"PortalDeletePortalTenantIdListingsListingIdImagesImageIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ImageUploadHandler::delete."},"id":{"description":"Field serialized by ImageUploadHandler::delete."},"trace_id":{"description":"Field serialized by ImageUploadHandler::delete."},"code":{"description":"Field serialized by ImageUploadHandler::delete."},"message":{"description":"Field serialized by ImageUploadHandler::delete."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalDeletePortalTenantIdListingsTransfersTransferIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::revoke error payload for HTTP 400.","x-handler-derived":"PortalListingTransferHandler::revoke"},"PortalDeletePortalTenantIdListingsTransfersTransferIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::revoke error payload for HTTP 401.","x-handler-derived":"PortalListingTransferHandler::revoke"},"PortalDeletePortalTenantIdListingsTransfersTransferIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::revoke error payload for HTTP 403.","x-handler-derived":"PortalListingTransferHandler::revoke"},"PortalDeletePortalTenantIdListingsTransfersTransferIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::revoke error payload for HTTP 404.","x-handler-derived":"PortalListingTransferHandler::revoke"},"PortalDeletePortalTenantIdListingsTransfersTransferIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::revoke error payload for HTTP 429.","x-handler-derived":"PortalListingTransferHandler::revoke"},"PortalDeletePortalTenantIdListingsTransfersTransferIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::revoke error payload for HTTP 500.","x-handler-derived":"PortalListingTransferHandler::revoke"},"PortalDeletePortalTenantIdListingsTransfersTransferIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingTransferHandler::revoke."},"message":{"description":"Field serialized by PortalListingTransferHandler::revoke."}}},"PortalDeletePortalTenantIdRedirectsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::delete error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::delete"},"PortalDeletePortalTenantIdRedirectsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::delete error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::delete"},"PortalDeletePortalTenantIdRedirectsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::delete error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::delete"},"PortalDeletePortalTenantIdRedirectsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::delete error payload for HTTP 404.","x-handler-derived":"PortalLegacyRedirectHandler::delete"},"PortalDeletePortalTenantIdRedirectsIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLegacyRedirectHandler::delete."},"message":{"description":"Field serialized by PortalLegacyRedirectHandler::delete."}}},"PortalDeletePortalTenantIdSavedSearchesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::delete error payload for HTTP 400.","x-handler-derived":"SavedSearchesHandler::delete"},"PortalDeletePortalTenantIdSavedSearchesIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::delete error payload for HTTP 401.","x-handler-derived":"SavedSearchesHandler::delete"},"PortalDeletePortalTenantIdSavedSearchesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::delete error payload for HTTP 403.","x-handler-derived":"SavedSearchesHandler::delete"},"PortalDeletePortalTenantIdSavedSearchesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::delete error payload for HTTP 404.","x-handler-derived":"SavedSearchesHandler::delete"},"PortalDeletePortalTenantIdSavedSearchesIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by SavedSearchesHandler::delete."},"id":{"description":"Field serialized by SavedSearchesHandler::delete."},"code":{"description":"Field serialized by SavedSearchesHandler::delete."},"message":{"description":"Field serialized by SavedSearchesHandler::delete."}}},"PortalDeletePortalTenantIdSeoPagesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::deletePage error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::deletePage"},"PortalDeletePortalTenantIdSeoPagesIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::deletePage error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::deletePage"},"PortalDeletePortalTenantIdSeoPagesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::deletePage error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::deletePage"},"PortalDeletePortalTenantIdSeoPagesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::deletePage error payload for HTTP 404.","x-handler-derived":"PortalSeoHandler::deletePage"},"PortalDeletePortalTenantIdSeoPagesIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSeoHandler::deletePage."},"message":{"description":"Field serialized by PortalSeoHandler::deletePage."}}},"PortalDeletePortalTenantIdSeoPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::delete error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::delete"},"PortalDeletePortalTenantIdSeoPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::delete error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::delete"},"PortalDeletePortalTenantIdSeoPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::delete error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::delete"},"PortalDeletePortalTenantIdSeoPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSeoHandler::delete."},"message":{"description":"Field serialized by PortalSeoHandler::delete."}}},"PortalDocumentTemplateListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","required":["templates"],"properties":{"templates":{"type":"array","items":{"type":"object","required":["id","name","document_type","paper_size","variables"],"properties":{"id":{"type":"integer"},"name":{"type":"string"},"document_type":{"type":"string"},"paper_size":{"type":"string"},"variables":{"type":"array","items":{"type":"string"}}}}}}}}},"PortalDunningReviewEntry":{"type":"object","required":["entry_id","invoice_id","invoice_number","order_id","due_date","open_amount","currency","level_key","fee_amount","interest_amount","text_template","document_id","action","skip_reason","skipped_by","skipped_at"],"properties":{"entry_id":{"type":"string"},"invoice_id":{"type":"string"},"invoice_number":{"type":"string"},"order_id":{"type":"string"},"due_date":{"type":"string","format":"date"},"open_amount":{"type":"string"},"currency":{"type":"string"},"level_key":{"type":"string"},"fee_amount":{"type":"string"},"interest_amount":{"type":"string"},"text_template":{"type":"string"},"document_id":{"type":"string"},"action":{"type":"string","enum":["include","exclude"]},"skip_reason":{"type":"string","nullable":true},"skipped_by":{"type":"string","nullable":true},"skipped_at":{"type":"string","nullable":true}}},"PortalDunningReviewEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["run_id","as_of_date","review_only","replayed","entries","unready_invoice_count"],"properties":{"run_id":{"type":"string"},"as_of_date":{"type":"string","format":"date"},"review_only":{"type":"boolean","enum":[true]},"replayed":{"type":"boolean"},"unready_invoice_count":{"type":"integer","minimum":0},"entries":{"type":"array","items":{"$ref":"#/components/schemas/PortalDunningReviewEntry"}}}}}},"PortalErrorEnvelope":{"type":"object","additionalProperties":true,"properties":{"success":{"type":"boolean","enum":[false]},"status":{"type":"string"},"error":{"type":"string","description":"Stable machine-readable error code."},"code":{"type":"string","description":"Stable machine-readable error code used by newer handlers."},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true},"requestId":{"type":"string"}}},"PortalForwardListingPayload":{"type":"object","additionalProperties":false,"required":["title","description","fields","visibility","show_for","show_images_for","show_in_search","images"],"properties":{"title":{"type":"string","maxLength":4000},"description":{"type":"string","maxLength":64000},"fields":{"type":"object","additionalProperties":true,"description":"Only explicitly approved schema keys."},"visibility":{"type":"string","enum":["public","private"]},"show_for":{"type":"string","enum":["all","none"]},"show_images_for":{"type":"string","enum":["all","none"]},"show_in_search":{"type":"integer","enum":[0,1]},"images":{"type":"array","maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["url","caption"],"properties":{"url":{"type":"string","maxLength":500},"caption":{"type":"string","maxLength":4000}}}}}},"PortalForwardProfilePayload":{"type":"object","additionalProperties":false,"required":["display_name"],"description":"Only public individually released fields; no email, legal, website or account fields.","properties":{"display_name":{"type":"string","minLength":1,"maxLength":80},"bio":{"type":"string","maxLength":4000},"interests":{"type":"array","maxItems":20,"items":{"type":"string","maxLength":40}},"photo":{"type":"string","maxLength":500,"description":"HTTPS or own /api/portal/img/ reference; empty clears the reference."}}},"PortalForwardSyncEvent":{"type":"object","required":["version","tenant_id","origin","event_id","entity","entity_id","mapping_id","classic_key","changed_at","payload_hash","payload"],"properties":{"version":{"type":"integer","enum":[1]},"tenant_id":{"type":"string"},"origin":{"type":"string","enum":["beta","classic"]},"event_id":{"type":"string"},"entity":{"type":"string","enum":["listings","profiles"]},"entity_id":{"type":"string","description":"Listing UUID or mapped numeric profile user ID."},"mapping_id":{"type":"string"},"classic_key":{"type":"string"},"changed_at":{"type":"string","format":"date-time"},"payload_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"payload":{"oneOf":[{"$ref":"#/components/schemas/PortalForwardListingPayload"},{"$ref":"#/components/schemas/PortalForwardProfilePayload"}]}}},"PortalGetOpenapiYamlResponse":{"type":"string","description":"Document body written by OpenApiServeAction::__invoke."},"PortalGetPortalAccountContactBlocksError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::contactBlocks error payload for HTTP 401.","x-handler-derived":"InquiryHandler::contactBlocks"},"PortalGetPortalAccountContactBlocksError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::contactBlocks error payload for HTTP 403.","x-handler-derived":"InquiryHandler::contactBlocks"},"PortalGetPortalAccountContactBlocksResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::contactBlocks.","x-handler-record":"InquiryHandler::contactBlocks"},"PortalGetPortalAccountFlashcardsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::get error payload for HTTP 401.","x-handler-derived":"PortalFlashcardsHandler::get"},"PortalGetPortalAccountFlashcardsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::get error payload for HTTP 403.","x-handler-derived":"PortalFlashcardsHandler::get"},"PortalGetPortalAccountFlashcardsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::get error payload for HTTP 500.","x-handler-derived":"PortalFlashcardsHandler::get"},"PortalGetPortalAccountFlashcardsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalFlashcardsHandler::get."},"data":{"description":"Field serialized by PortalFlashcardsHandler::get."},"namespace":{"description":"Field serialized by PortalFlashcardsHandler::get."},"blob":{"description":"Field serialized by PortalFlashcardsHandler::get."},"version":{"description":"Field serialized by PortalFlashcardsHandler::get."},"updated_at":{"description":"Field serialized by PortalFlashcardsHandler::get."}}},"PortalGetPortalAccountInquiriesIdWritingDayError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::get error payload for HTTP 400.","x-handler-derived":"InquiryWritingDayHandler::get"},"PortalGetPortalAccountInquiriesIdWritingDayError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::get error payload for HTTP 401.","x-handler-derived":"InquiryWritingDayHandler::get"},"PortalGetPortalAccountInquiriesIdWritingDayError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::get error payload for HTTP 403.","x-handler-derived":"InquiryWritingDayHandler::get"},"PortalGetPortalAccountInquiriesIdWritingDayError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::get error payload for HTTP 404.","x-handler-derived":"InquiryWritingDayHandler::get"},"PortalGetPortalAccountInquiriesIdWritingDayError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::get error payload for HTTP 422.","x-handler-derived":"InquiryWritingDayHandler::get"},"PortalGetPortalAccountInquiriesIdWritingDayResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by InquiryWritingDayHandler::get."}}},"PortalGetPortalAccountInquirySettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::accountInquirySettings error payload for HTTP 401.","x-handler-derived":"InquiryHandler::accountInquirySettings"},"PortalGetPortalAccountInquirySettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::accountInquirySettings error payload for HTTP 403.","x-handler-derived":"InquiryHandler::accountInquirySettings"},"PortalGetPortalAccountListingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::myListings error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::myListings"},"PortalGetPortalAccountListingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::myListings error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::myListings"},"PortalGetPortalAccountListingsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalAccountHandler::myListings.","type":"array","items":{"type":"object","properties":{"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}}}}},"PortalGetPortalAccountProfileError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::show error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::show"},"PortalGetPortalAccountProfileError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::show error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::show"},"PortalGetPortalAccountProfileError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::show error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::show"},"PortalGetPortalAccountSettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::getSettings error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::getSettings"},"PortalGetPortalAccountSettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::getSettings error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::getSettings"},"PortalGetPortalAccountSettingsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalAccountHandler::getSettings.","x-handler-record":"PortalAccountHandler::getSettings"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::listVersions error payload for HTTP 400.","x-handler-derived":"CmsVersionHandler::listVersions"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::listVersions error payload for HTTP 401.","x-handler-derived":"CmsVersionHandler::listVersions"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::listVersions error payload for HTTP 403.","x-handler-derived":"CmsVersionHandler::listVersions"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by CmsVersionHandler::listVersions."},"items":{"description":"Field serialized by CmsVersionHandler::listVersions."}}},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsVersionIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::getVersion error payload for HTTP 400.","x-handler-derived":"CmsVersionHandler::getVersion"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsVersionIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::getVersion error payload for HTTP 401.","x-handler-derived":"CmsVersionHandler::getVersion"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsVersionIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::getVersion error payload for HTTP 403.","x-handler-derived":"CmsVersionHandler::getVersion"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsVersionIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::getVersion error payload for HTTP 404.","x-handler-derived":"CmsVersionHandler::getVersion"},"PortalGetPortalAdminTenantIdCmsPagesSlugVersionsVersionIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by CmsVersionHandler::getVersion."},"data":{"description":"Field serialized by CmsVersionHandler::getVersion."}}},"PortalGetPortalAdminVerificationSubmissionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 400.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalAdminVerificationSubmissionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 401.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalAdminVerificationSubmissionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 403.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalAdminVerificationSubmissionsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 500.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalAdminVerificationSubmissionsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOwnerVerificationHandler::listAdmin."},"items":{"description":"Field serialized by PortalOwnerVerificationHandler::listAdmin."}}},"PortalGetPortalAnalyticsCategoriesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryAnalytics error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::categoryAnalytics"},"PortalGetPortalAnalyticsCategoriesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryAnalytics error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::categoryAnalytics"},"PortalGetPortalAnalyticsCategoriesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryAnalytics error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::categoryAnalytics"},"PortalGetPortalAnalyticsCategoriesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryAnalytics error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::categoryAnalytics"},"PortalGetPortalAnalyticsCategoriesResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::categoryAnalytics."},"categories":{"description":"Field serialized by PortalListingsHandler::categoryAnalytics."}}},"PortalGetPortalAssistantConfigError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::config error payload for HTTP 400.","x-handler-derived":"PortalAssistantHandler::config"},"PortalGetPortalAssistantConfigError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::config error payload for HTTP 403.","x-handler-derived":"PortalAssistantHandler::config"},"PortalGetPortalAssistantConfigError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::config error payload for HTTP 404.","x-handler-derived":"PortalAssistantHandler::config"},"PortalGetPortalAssistantConfigError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::config error payload for HTTP 422.","x-handler-derived":"PortalAssistantHandler::config"},"PortalGetPortalAssistantConfigError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::config error payload for HTTP 503.","x-handler-derived":"PortalAssistantHandler::config"},"PortalGetPortalBlocksError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::list error payload for HTTP 400.","x-handler-derived":"BlocksHandler::list"},"PortalGetPortalBlocksError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::list error payload for HTTP 401.","x-handler-derived":"BlocksHandler::list"},"PortalGetPortalBlocksError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::list error payload for HTTP 403.","x-handler-derived":"BlocksHandler::list"},"PortalGetPortalBlocksError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::list error payload for HTTP 500.","x-handler-derived":"BlocksHandler::list"},"PortalGetPortalBlocksResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by BlocksHandler::list."},"page":{"description":"Field serialized by BlocksHandler::list."},"size":{"description":"Field serialized by BlocksHandler::list."},"total":{"description":"Field serialized by BlocksHandler::list."},"pages":{"description":"Field serialized by BlocksHandler::list."},"code":{"description":"Field serialized by BlocksHandler::list."},"message":{"description":"Field serialized by BlocksHandler::list."},"details":{"description":"Field serialized by BlocksHandler::list."},"trace_id":{"description":"Field serialized by BlocksHandler::list."}}},"PortalGetPortalBulkOperationsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::listOperations error payload for HTTP 400.","x-handler-derived":"BulkHandler::listOperations"},"PortalGetPortalBulkOperationsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::listOperations error payload for HTTP 401.","x-handler-derived":"BulkHandler::listOperations"},"PortalGetPortalBulkOperationsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::listOperations error payload for HTTP 403.","x-handler-derived":"BulkHandler::listOperations"},"PortalGetPortalBulkOperationsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::listOperations error payload for HTTP 500.","x-handler-derived":"BulkHandler::listOperations"},"PortalGetPortalBulkOperationsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by BulkHandler::listOperations."},"message":{"description":"Field serialized by BulkHandler::listOperations."},"details":{"description":"Field serialized by BulkHandler::listOperations."},"trace_id":{"description":"Field serialized by BulkHandler::listOperations."}}},"PortalGetPortalCatalogResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalCatalogHandler::catalog."},"total":{"description":"Field serialized by PortalCatalogHandler::catalog."},"facets":{"description":"Field serialized by PortalCatalogHandler::catalog."}}},"PortalGetPortalCategoriesIdListingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryListings error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::categoryListings"},"PortalGetPortalCategoriesIdListingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryListings error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::categoryListings"},"PortalGetPortalCategoriesIdListingsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryListings error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::categoryListings"},"PortalGetPortalCategoriesIdListingsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryListings error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::categoryListings"},"PortalGetPortalCategoriesIdListingsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryListings error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::categoryListings"},"PortalGetPortalCategoriesIdListingsResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::categoryListings."},"category":{"description":"Field serialized by PortalListingsHandler::categoryListings."},"items":{"description":"Field serialized by PortalListingsHandler::categoryListings."}}},"PortalGetPortalCategoriesIdStatsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryStats error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::categoryStats"},"PortalGetPortalCategoriesIdStatsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryStats error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::categoryStats"},"PortalGetPortalCategoriesIdStatsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryStats error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::categoryStats"},"PortalGetPortalCategoriesIdStatsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryStats error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::categoryStats"},"PortalGetPortalCategoriesIdStatsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryStats error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::categoryStats"},"PortalGetPortalCategoriesIdStatsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingsHandler::categoryStats.","x-handler-record":"PortalListingsHandler::categoryStats"},"PortalGetPortalCategoriesTreeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryTree error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::categoryTree"},"PortalGetPortalCategoriesTreeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryTree error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::categoryTree"},"PortalGetPortalCategoriesTreeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryTree error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::categoryTree"},"PortalGetPortalCategoriesTreeError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::categoryTree error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::categoryTree"},"PortalGetPortalCategoriesTreeResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::categoryTree."},"categories":{"description":"Field serialized by PortalListingsHandler::categoryTree."}}},"PortalGetPortalClaimsPendingError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalClaimsPendingError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalClaimsPendingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalClaimsPendingError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalClaimsPendingResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::listPending."},"items":{"description":"Field serialized by PortalListingClaimsHandler::listPending."}}},"PortalGetPortalConfigResponse":{"type":"object","additionalProperties":false,"properties":{"allowedPortals":{"description":"Field serialized by PortalConfigHandler::__invoke."},"defaultPortal":{"description":"Field serialized by PortalConfigHandler::__invoke."},"multi":{"description":"Field serialized by PortalConfigHandler::__invoke."},"allowSwitch":{"description":"Field serialized by PortalConfigHandler::__invoke."},"passwordMinLength":{"type":"integer","minimum":8,"maximum":1024}}},"PortalGetPortalContactLimitError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::contactLimit error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::contactLimit"},"PortalGetPortalContactLimitError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::contactLimit error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::contactLimit"},"PortalGetPortalContactLimitResponse":{"type":"object","additionalProperties":false,"description":"Anfrage-Kontingent des angemeldeten Nutzers aus PORTAL_INQUIRY_RATE_LIMIT_POLICIES (Owner-Thema Nr. 78). remaining/limit/period beschreiben das bindende Fenster; null = unbegrenzt.","properties":{"remaining":{"type":["integer","null"]},"limit":{"type":["integer","null"]},"period":{"type":["string","null"],"description":"day | week | month | <n>d"},"periodDays":{"type":["integer","null"]},"isPremium":{"type":"boolean","description":"Absender-Freistellung durch eine aktive Zusatzleistung (reliefTier)."},"reliefTier":{"type":["string","null"]},"addonListing":{"type":"boolean"},"senderBonus":{"type":"integer","description":"PO-1: extra inquiries per window from an active verified/premium add-on of the sender."},"senderBonusTier":{"type":["string","null"]},"availableAt":{"type":["string","null"],"description":"PO-2: UTC time the quota allows the next inquiry; null while one is still free."},"enabled":{"type":"boolean"},"windows":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"key":{"type":"string"},"days":{"type":"integer"},"limit":{"type":["integer","null"]},"used":{"type":"integer"},"remaining":{"type":["integer","null"]},"hardCeiling":{"type":"boolean"},"relieved":{"type":"boolean"}}}},"source":{"type":"string"}}},"PortalGetPortalConversationsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::conversations error payload for HTTP 400.","x-handler-derived":"MessagesHandler::conversations"},"PortalGetPortalConversationsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::conversations error payload for HTTP 401.","x-handler-derived":"MessagesHandler::conversations"},"PortalGetPortalConversationsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::conversations error payload for HTTP 500.","x-handler-derived":"MessagesHandler::conversations"},"PortalGetPortalConversationsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by MessagesHandler::conversations."},"page":{"description":"Field serialized by MessagesHandler::conversations."},"size":{"description":"Field serialized by MessagesHandler::conversations."},"total":{"description":"Field serialized by MessagesHandler::conversations."},"pages":{"description":"Field serialized by MessagesHandler::conversations."},"code":{"description":"Field serialized by MessagesHandler::conversations."},"message":{"description":"Field serialized by MessagesHandler::conversations."},"details":{"description":"Field serialized by MessagesHandler::conversations."},"trace_id":{"description":"Field serialized by MessagesHandler::conversations."}}},"PortalGetPortalFavoritesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::list error payload for HTTP 400.","x-handler-derived":"FavoritesHandler::list"},"PortalGetPortalFavoritesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::list error payload for HTTP 401.","x-handler-derived":"FavoritesHandler::list"},"PortalGetPortalFavoritesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::list error payload for HTTP 403.","x-handler-derived":"FavoritesHandler::list"},"PortalGetPortalFavoritesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::list error payload for HTTP 500.","x-handler-derived":"FavoritesHandler::list"},"PortalGetPortalFavoritesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by FavoritesHandler::list."},"page":{"description":"Field serialized by FavoritesHandler::list."},"size":{"description":"Field serialized by FavoritesHandler::list."},"total":{"description":"Field serialized by FavoritesHandler::list."},"pages":{"description":"Field serialized by FavoritesHandler::list."},"code":{"description":"Field serialized by FavoritesHandler::list."},"message":{"description":"Field serialized by FavoritesHandler::list."},"details":{"description":"Field serialized by FavoritesHandler::list."},"trace_id":{"description":"Field serialized by FavoritesHandler::list."}}},"PortalGetPortalFeaturedError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featured error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::featured"},"PortalGetPortalFeaturedError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featured error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::featured"},"PortalGetPortalFeaturedError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featured error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::featured"},"PortalGetPortalFeaturedError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featured error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::featured"},"PortalGetPortalFeaturedResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::featured."},"total":{"description":"Field serialized by PortalListingsHandler::featured."},"items":{"description":"Field serialized by PortalListingsHandler::featured."}}},"PortalGetPortalFeaturedRevenueError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredRevenue error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::featuredRevenue"},"PortalGetPortalFeaturedRevenueError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredRevenue error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::featuredRevenue"},"PortalGetPortalFeaturedRevenueError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredRevenue error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::featuredRevenue"},"PortalGetPortalFeaturedRevenueError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredRevenue error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::featuredRevenue"},"PortalGetPortalFeaturedRevenueResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::featuredRevenue."},"currency":{"description":"Field serialized by PortalListingsHandler::featuredRevenue."},"totals":{"description":"Field serialized by PortalListingsHandler::featuredRevenue."},"currentMonth":{"description":"Field serialized by PortalListingsHandler::featuredRevenue."},"byPlacement":{"description":"Field serialized by PortalListingsHandler::featuredRevenue."}}},"PortalGetPortalFeaturedSlotsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredSlots error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::featuredSlots"},"PortalGetPortalFeaturedSlotsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredSlots error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::featuredSlots"},"PortalGetPortalFeaturedSlotsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredSlots error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::featuredSlots"},"PortalGetPortalFeaturedSlotsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featuredSlots error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::featuredSlots"},"PortalGetPortalFeaturedSlotsResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::featuredSlots."},"currency":{"description":"Field serialized by PortalListingsHandler::featuredSlots."},"slots":{"description":"Field serialized by PortalListingsHandler::featuredSlots."}}},"PortalGetPortalIconsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::icons error payload for HTTP 400.","x-handler-derived":"PortalSchemaHandler::icons"},"PortalGetPortalIconsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::icons error payload for HTTP 404.","x-handler-derived":"PortalSchemaHandler::icons"},"PortalGetPortalIconsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::icons error payload for HTTP 500.","x-handler-derived":"PortalSchemaHandler::icons"},"PortalGetPortalIconsResponse":{"type":"object","additionalProperties":false,"properties":{"icons":{"description":"Field serialized by PortalSchemaHandler::icons."},"code":{"description":"Field serialized by PortalSchemaHandler::icons."},"message":{"description":"Field serialized by PortalSchemaHandler::icons."},"details":{"description":"Field serialized by PortalSchemaHandler::icons."}}},"PortalGetPortalImgPortalIdListingIdFilenameError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalImageHandler::serve error payload for HTTP 404.","x-handler-derived":"PortalImageHandler::serve"},"PortalGetPortalImgPortalIdListingIdFilenameResponse":{"type":"string","format":"binary","description":"Binary body streamed by PortalImageHandler::serve."},"PortalGetPortalInquiriesIdReplyDraftError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyDraft error payload for HTTP 401.","x-handler-derived":"InquiryHandler::replyDraft"},"PortalGetPortalInquiriesIdReplyDraftError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyDraft error payload for HTTP 403.","x-handler-derived":"InquiryHandler::replyDraft"},"PortalGetPortalInquiriesIdReplyDraftError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyDraft error payload for HTTP 404.","x-handler-derived":"InquiryHandler::replyDraft"},"PortalGetPortalInquiriesIdReplyDraftResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::replyDraft.","x-handler-record":"InquiryHandler::replyDraft"},"PortalGetPortalInquiriesReplyDraftsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyDrafts error payload for HTTP 401.","x-handler-derived":"InquiryHandler::replyDrafts"},"PortalGetPortalInquiriesReplyDraftsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyDrafts error payload for HTTP 403.","x-handler-derived":"InquiryHandler::replyDrafts"},"PortalGetPortalInquiriesReplyDraftsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::replyDrafts.","x-handler-record":"InquiryHandler::replyDrafts"},"PortalGetPortalInquiriesStatsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::stats error payload for HTTP 401.","x-handler-derived":"InquiryHandler::stats"},"PortalGetPortalInquiriesStatsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::stats error payload for HTTP 403.","x-handler-derived":"InquiryHandler::stats"},"PortalGetPortalInquiriesStatsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::stats error payload for HTTP 500.","x-handler-derived":"InquiryHandler::stats"},"PortalGetPortalInquiriesStatsResponse":{"type":"object","additionalProperties":false,"properties":{"response_rate":{"description":"Field serialized by InquiryHandler::stats."},"average_response_time_hours":{"description":"Field serialized by InquiryHandler::stats."},"conversion_rate":{"description":"Field serialized by InquiryHandler::stats."},"totals":{"description":"Field serialized by InquiryHandler::stats."},"received_inquiries":{"description":"Field serialized by InquiryHandler::stats."},"replied_inquiries":{"description":"Field serialized by InquiryHandler::stats."},"listing_views":{"description":"Field serialized by InquiryHandler::stats."},"trace_id":{"description":"Field serialized by InquiryHandler::stats."}}},"PortalGetPortalInquiryWaitingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::listWaiting error payload for HTTP 403.","x-handler-derived":"InquiryHandler::listWaiting"},"PortalGetPortalKeywordsOpportunitiesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordOpportunities error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::keywordOpportunities"},"PortalGetPortalKeywordsOpportunitiesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordOpportunities error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::keywordOpportunities"},"PortalGetPortalKeywordsOpportunitiesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordOpportunities error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::keywordOpportunities"},"PortalGetPortalKeywordsOpportunitiesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordOpportunities error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::keywordOpportunities"},"PortalGetPortalKeywordsOpportunitiesResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::keywordOpportunities."},"sampleSize":{"description":"Field serialized by PortalListingsHandler::keywordOpportunities."},"opportunities":{"description":"Field serialized by PortalListingsHandler::keywordOpportunities."},"method":{"description":"Field serialized by PortalListingsHandler::keywordOpportunities."}}},"PortalGetPortalListingBoostsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::list error payload for HTTP 400.","x-handler-derived":"ListingBoostHandler::list"},"PortalGetPortalListingBoostsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::list error payload for HTTP 401.","x-handler-derived":"ListingBoostHandler::list"},"PortalGetPortalListingBoostsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::list error payload for HTTP 403.","x-handler-derived":"ListingBoostHandler::list"},"PortalGetPortalListingBoostsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::list error payload for HTTP 500.","x-handler-derived":"ListingBoostHandler::list"},"PortalGetPortalListingBoostsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by ListingBoostHandler::list."}}},"PortalGetPortalListingsCompareError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::compare error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::compare"},"PortalGetPortalListingsCompareError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::compare error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::compare"},"PortalGetPortalListingsCompareError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::compare error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::compare"},"PortalGetPortalListingsCompareError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::compare error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::compare"},"PortalGetPortalListingsCompareResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::compare."},"listingIds":{"description":"Field serialized by PortalListingsHandler::compare."},"fields":{"description":"Field serialized by PortalListingsHandler::compare."},"items":{"description":"Field serialized by PortalListingsHandler::compare."}}},"PortalGetPortalListingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::list error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::list"},"PortalGetPortalListingsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::list error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::list"},"PortalGetPortalListingsEsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::list error payload for HTTP 500.","x-handler-derived":"ListingsHandler::list"},"PortalGetPortalListingsEsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by ListingsHandler::list."},"page":{"description":"Field serialized by ListingsHandler::list."},"size":{"description":"Field serialized by ListingsHandler::list."},"total":{"description":"Field serialized by ListingsHandler::list."},"pages":{"description":"Field serialized by ListingsHandler::list."}}},"PortalGetPortalListingsIdBenchmarkError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::benchmark error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::benchmark"},"PortalGetPortalListingsIdBenchmarkError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::benchmark error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::benchmark"},"PortalGetPortalListingsIdBenchmarkError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::benchmark error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::benchmark"},"PortalGetPortalListingsIdBenchmarkError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::benchmark error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::benchmark"},"PortalGetPortalListingsIdBenchmarkError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::benchmark error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::benchmark"},"PortalGetPortalListingsIdBenchmarkResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingsHandler::benchmark.","x-handler-record":"PortalListingsHandler::benchmark"},"PortalGetPortalListingsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::detail error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::detail"},"PortalGetPortalListingsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::detail error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::detail"},"PortalGetPortalListingsIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::detail error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::detail"},"PortalGetPortalListingsIdInquiriesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::listForListing error payload for HTTP 401.","x-handler-derived":"InquiryHandler::listForListing"},"PortalGetPortalListingsIdInquiriesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::listForListing error payload for HTTP 403.","x-handler-derived":"InquiryHandler::listForListing"},"PortalGetPortalListingsIdInquiriesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::listForListing error payload for HTTP 404.","x-handler-derived":"InquiryHandler::listForListing"},"PortalGetPortalListingsIdInquiriesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::listForListing error payload for HTTP 500.","x-handler-derived":"InquiryHandler::listForListing"},"PortalGetPortalListingsIdInquiriesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by InquiryHandler::listForListing."},"page":{"description":"Field serialized by InquiryHandler::listForListing."},"size":{"description":"Field serialized by InquiryHandler::listForListing."},"total":{"description":"Field serialized by InquiryHandler::listForListing."},"pages":{"description":"Field serialized by InquiryHandler::listForListing."}}},"PortalGetPortalListingsIdInquiryPolicyError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::inquiryPolicy error payload for HTTP 404.","x-handler-derived":"InquiryHandler::inquiryPolicy"},"PortalGetPortalListingsIdInquiryPolicyError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::inquiryPolicy error payload for HTTP 429.","x-handler-derived":"InquiryHandler::inquiryPolicy"},"PortalGetPortalListingsIdInquiryPolicyError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::inquiryPolicy error payload for HTTP 503.","x-handler-derived":"InquiryHandler::inquiryPolicy"},"PortalGetPortalListingsIdInquiryPolicyResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::inquiryPolicy.","x-handler-record":"InquiryHandler::inquiryPolicy"},"PortalGetPortalListingsIdInquirySettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::inquirySettings error payload for HTTP 401.","x-handler-derived":"InquiryHandler::inquirySettings"},"PortalGetPortalListingsIdInquirySettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::inquirySettings error payload for HTTP 403.","x-handler-derived":"InquiryHandler::inquirySettings"},"PortalGetPortalListingsIdInquirySettingsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::inquirySettings error payload for HTTP 404.","x-handler-derived":"InquiryHandler::inquirySettings"},"PortalGetPortalListingsIdIsOpenError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::isOpen error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdIsOpenError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::isOpen error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdIsOpenError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::isOpen error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdIsOpenError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::isOpen error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdIsOpenError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::isOpen error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdIsOpenError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::isOpen error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdIsOpenResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingsHandler::isOpen.","x-handler-record":"PortalListingsHandler::isOpen"},"PortalGetPortalListingsIdKeywordRankingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordRankings error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::keywordRankings"},"PortalGetPortalListingsIdKeywordRankingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordRankings error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::keywordRankings"},"PortalGetPortalListingsIdKeywordRankingsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordRankings error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::keywordRankings"},"PortalGetPortalListingsIdKeywordRankingsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordRankings error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::keywordRankings"},"PortalGetPortalListingsIdKeywordRankingsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::keywordRankings error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::keywordRankings"},"PortalGetPortalListingsIdKeywordRankingsResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::keywordRankings."},"listingId":{"description":"Field serialized by PortalListingsHandler::keywordRankings."},"trackedKeywordCount":{"description":"Field serialized by PortalListingsHandler::keywordRankings."},"rankings":{"description":"Field serialized by PortalListingsHandler::keywordRankings."},"method":{"description":"Field serialized by PortalListingsHandler::keywordRankings."}}},"PortalGetPortalListingsIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingsHandler::detail.","x-handler-record":"PortalListingsHandler::detail"},"PortalGetPortalListingsIdSeoScoreError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoScore error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::seoScore"},"PortalGetPortalListingsIdSeoScoreError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoScore error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::seoScore"},"PortalGetPortalListingsIdSeoScoreError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoScore error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::seoScore"},"PortalGetPortalListingsIdSeoScoreError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoScore error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::seoScore"},"PortalGetPortalListingsIdSeoScoreError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoScore error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::seoScore"},"PortalGetPortalListingsIdSeoScoreResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingsHandler::seoScore.","x-handler-record":"PortalListingsHandler::seoScore"},"PortalGetPortalListingsIdShareError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::share error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::share"},"PortalGetPortalListingsIdShareError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::share error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::share"},"PortalGetPortalListingsIdShareError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::share error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::share"},"PortalGetPortalListingsIdShareError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::share error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::share"},"PortalGetPortalListingsIdShareError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::share error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::share"},"PortalGetPortalListingsIdShareResponse":{"type":"object","additionalProperties":false,"properties":{"listingId":{"description":"Field serialized by PortalListingsHandler::share."},"portalId":{"description":"Field serialized by PortalListingsHandler::share."},"url":{"description":"Field serialized by PortalListingsHandler::share."},"shareUrls":{"description":"Field serialized by PortalListingsHandler::share."},"meta":{"description":"Field serialized by PortalListingsHandler::share."}}},"PortalGetPortalListingsIdSimilarError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalListingsIdSimilarError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalListingsIdSimilarError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalListingsIdSimilarError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalListingsIdSimilarError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalListingsIdSimilarResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::similar."},"listingId":{"description":"Field serialized by PortalListingsHandler::similar."},"items":{"description":"Field serialized by PortalListingsHandler::similar."}}},"PortalGetPortalListingsIdStructuredDataError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::structuredData error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::structuredData"},"PortalGetPortalListingsIdStructuredDataError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::structuredData error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::structuredData"},"PortalGetPortalListingsIdStructuredDataError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::structuredData error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::structuredData"},"PortalGetPortalListingsIdStructuredDataError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::structuredData error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::structuredData"},"PortalGetPortalListingsIdStructuredDataError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::structuredData error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::structuredData"},"PortalGetPortalListingsIdStructuredDataResponse":{"type":"object","additionalProperties":false,"properties":{"listingId":{"description":"Field serialized by PortalListingsHandler::structuredData."},"portalId":{"description":"Field serialized by PortalListingsHandler::structuredData."},"url":{"description":"Field serialized by PortalListingsHandler::structuredData."},"schemaType":{"description":"Field serialized by PortalListingsHandler::structuredData."},"structuredData":{"description":"Field serialized by PortalListingsHandler::structuredData."},"jsonLd":{"description":"Field serialized by PortalListingsHandler::structuredData."},"markup":{"description":"Field serialized by PortalListingsHandler::structuredData."}}},"PortalGetPortalListingsIdSuggestionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::suggestions error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::suggestions"},"PortalGetPortalListingsIdSuggestionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::suggestions error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::suggestions"},"PortalGetPortalListingsIdSuggestionsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::suggestions error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::suggestions"},"PortalGetPortalListingsIdSuggestionsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::suggestions error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::suggestions"},"PortalGetPortalListingsIdSuggestionsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::suggestions error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::suggestions"},"PortalGetPortalListingsIdSuggestionsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingsHandler::suggestions.","x-handler-record":"PortalListingsHandler::suggestions"},"PortalGetPortalListingsOpenNowError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::openNow error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::openNow"},"PortalGetPortalListingsOpenNowError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::openNow error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::openNow"},"PortalGetPortalListingsOpenNowError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::openNow error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::openNow"},"PortalGetPortalListingsOpenNowResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::openNow."},"category":{"description":"Field serialized by PortalListingsHandler::openNow."},"checkedAt":{"description":"Field serialized by PortalListingsHandler::openNow."},"items":{"description":"Field serialized by PortalListingsHandler::openNow."}}},"PortalGetPortalListingsQualityError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::listByQuality error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::listByQuality"},"PortalGetPortalListingsQualityError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::listByQuality error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::listByQuality"},"PortalGetPortalListingsQualityResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"page":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"pageSize":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"total":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"sort":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"by":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"dir":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"filtersApplied":{"description":"Field serialized by PortalListingsHandler::listByQuality."},"items":{"description":"Field serialized by PortalListingsHandler::listByQuality."}}},"PortalGetPortalListingsResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::list."},"page":{"description":"Field serialized by PortalListingsHandler::list."},"pageSize":{"description":"Field serialized by PortalListingsHandler::list."},"total":{"description":"Field serialized by PortalListingsHandler::list."},"sort":{"description":"Field serialized by PortalListingsHandler::list."},"by":{"description":"Field serialized by PortalListingsHandler::list."},"dir":{"description":"Field serialized by PortalListingsHandler::list."},"filtersApplied":{"description":"Field serialized by PortalListingsHandler::list."},"items":{"description":"Field serialized by PortalListingsHandler::list."}}},"PortalGetPortalMessagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::list error payload for HTTP 400.","x-handler-derived":"MessagesHandler::list"},"PortalGetPortalMessagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::list error payload for HTTP 401.","x-handler-derived":"MessagesHandler::list"},"PortalGetPortalMessagesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::list error payload for HTTP 500.","x-handler-derived":"MessagesHandler::list"},"PortalGetPortalMessagesRepliesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::list error payload for HTTP 400.","x-handler-derived":"QuickRepliesHandler::list"},"PortalGetPortalMessagesRepliesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::list error payload for HTTP 500.","x-handler-derived":"QuickRepliesHandler::list"},"PortalGetPortalMessagesRepliesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by QuickRepliesHandler::list."},"page":{"description":"Field serialized by QuickRepliesHandler::list."},"size":{"description":"Field serialized by QuickRepliesHandler::list."},"total":{"description":"Field serialized by QuickRepliesHandler::list."},"pages":{"description":"Field serialized by QuickRepliesHandler::list."}}},"PortalGetPortalMessagesResponse":{"type":"object","additionalProperties":false,"properties":{"unreadCount":{"description":"Field serialized by MessagesHandler::list."},"count":{"description":"Field serialized by MessagesHandler::list."},"items":{"description":"Field serialized by MessagesHandler::list."},"page":{"description":"Field serialized by MessagesHandler::list."},"size":{"description":"Field serialized by MessagesHandler::list."},"total":{"description":"Field serialized by MessagesHandler::list."},"pages":{"description":"Field serialized by MessagesHandler::list."},"code":{"description":"Field serialized by MessagesHandler::list."},"message":{"description":"Field serialized by MessagesHandler::list."},"details":{"description":"Field serialized by MessagesHandler::list."},"trace_id":{"description":"Field serialized by MessagesHandler::list."}}},"PortalGetPortalMessagesTemplatesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TemplatesHandler::list error payload for HTTP 400.","x-handler-derived":"TemplatesHandler::list"},"PortalGetPortalMessagesTemplatesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TemplatesHandler::list error payload for HTTP 500.","x-handler-derived":"TemplatesHandler::list"},"PortalGetPortalMessagesTemplatesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by TemplatesHandler::list."},"page":{"description":"Field serialized by TemplatesHandler::list."},"size":{"description":"Field serialized by TemplatesHandler::list."},"total":{"description":"Field serialized by TemplatesHandler::list."},"pages":{"description":"Field serialized by TemplatesHandler::list."}}},"PortalGetPortalModelError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModelHandler::model error payload for HTTP 400.","x-handler-derived":"PortalModelHandler::model"},"PortalGetPortalModelError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModelHandler::model error payload for HTTP 404.","x-handler-derived":"PortalModelHandler::model"},"PortalGetPortalModelError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModelHandler::model error payload for HTTP 500.","x-handler-derived":"PortalModelHandler::model"},"PortalGetPortalModelResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalModelHandler::model."},"message":{"description":"Field serialized by PortalModelHandler::model."},"details":{"description":"Field serialized by PortalModelHandler::model."}}},"PortalGetPortalModelsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModelHandler::models error payload for HTTP 500.","x-handler-derived":"PortalModelHandler::models"},"PortalGetPortalModelsResponse":{"type":"object","additionalProperties":false,"properties":{"portals":{"description":"Field serialized by PortalModelHandler::models."},"code":{"description":"Field serialized by PortalModelHandler::models."},"message":{"description":"Field serialized by PortalModelHandler::models."},"details":{"description":"Field serialized by PortalModelHandler::models."}}},"PortalGetPortalModerationAbuseReportsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::listAbuseReports error payload for HTTP 400.","x-handler-derived":"AbuseReportsHandler::listAbuseReports"},"PortalGetPortalModerationAbuseReportsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::listAbuseReports error payload for HTTP 401.","x-handler-derived":"AbuseReportsHandler::listAbuseReports"},"PortalGetPortalModerationAbuseReportsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::listAbuseReports error payload for HTTP 403.","x-handler-derived":"AbuseReportsHandler::listAbuseReports"},"PortalGetPortalModerationAbuseReportsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::listAbuseReports error payload for HTTP 500.","x-handler-derived":"AbuseReportsHandler::listAbuseReports"},"PortalGetPortalModerationAbuseReportsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"page":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"size":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"total":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"pages":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"code":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"message":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"details":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."},"trace_id":{"description":"Field serialized by AbuseReportsHandler::listAbuseReports."}}},"PortalGetPortalModerationReportsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 400.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalModerationReportsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 401.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalModerationReportsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 403.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalModerationReportsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 500.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalModerationReportsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by ReportsHandler::listReports."},"page":{"description":"Field serialized by ReportsHandler::listReports."},"size":{"description":"Field serialized by ReportsHandler::listReports."},"total":{"description":"Field serialized by ReportsHandler::listReports."},"pages":{"description":"Field serialized by ReportsHandler::listReports."},"code":{"description":"Field serialized by ReportsHandler::listReports."},"message":{"description":"Field serialized by ReportsHandler::listReports."},"details":{"description":"Field serialized by ReportsHandler::listReports."},"trace_id":{"description":"Field serialized by ReportsHandler::listReports."}}},"PortalGetPortalOpenapiError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"OpenApiServeAction::serve error payload for HTTP 503.","x-handler-derived":"OpenApiServeAction::serve"},"PortalGetPortalOpenapiResponse":{"type":"string","description":"Document body written by OpenApiServeAction::serve."},"PortalGetPortalPortalsResponse":{"type":"object","additionalProperties":false,"properties":{"allowSwitch":{"description":"Field serialized by PortalCatalogHandler::__invoke."},"defaultPortalId":{"description":"Field serialized by PortalCatalogHandler::__invoke."},"items":{"description":"Portal metadata. Only the host-resolved default portal includes shop.currency and shop.products (id, name, sku, integer priceMinor, duration, listingRequired, active suggestedProductIds). Suggestions never carry prices or select cart items automatically. Response is no-store."}}},"PortalGetPortalPromotionsActiveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::active error payload for HTTP 401.","x-handler-derived":"PortalPromotionsHandler::active"},"PortalGetPortalPromotionsActiveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::active error payload for HTTP 403.","x-handler-derived":"PortalPromotionsHandler::active"},"PortalGetPortalPromotionsActiveError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::active error payload for HTTP 500.","x-handler-derived":"PortalPromotionsHandler::active"},"PortalGetPortalPromotionsActiveResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalPromotionsHandler::active."},"items":{"description":"Field serialized by PortalPromotionsHandler::active."}}},"PortalGetPortalPromotionsIdPerformanceError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::performance error payload for HTTP 401.","x-handler-derived":"PortalPromotionsHandler::performance"},"PortalGetPortalPromotionsIdPerformanceError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::performance error payload for HTTP 403.","x-handler-derived":"PortalPromotionsHandler::performance"},"PortalGetPortalPromotionsIdPerformanceError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::performance error payload for HTTP 404.","x-handler-derived":"PortalPromotionsHandler::performance"},"PortalGetPortalPromotionsIdPerformanceError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::performance error payload for HTTP 500.","x-handler-derived":"PortalPromotionsHandler::performance"},"PortalGetPortalPromotionsIdPerformanceResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalPromotionsHandler::performance.","x-handler-record":"PortalPromotionsHandler::performance"},"PortalGetPortalPromotionsRoiError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::roi error payload for HTTP 401.","x-handler-derived":"PortalPromotionsHandler::roi"},"PortalGetPortalPromotionsRoiError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::roi error payload for HTTP 403.","x-handler-derived":"PortalPromotionsHandler::roi"},"PortalGetPortalPromotionsRoiError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::roi error payload for HTTP 500.","x-handler-derived":"PortalPromotionsHandler::roi"},"PortalGetPortalPromotionsRoiResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalPromotionsHandler::roi."},"summary":{"description":"Field serialized by PortalPromotionsHandler::roi."},"campaignCount":{"description":"Field serialized by PortalPromotionsHandler::roi."}}},"PortalGetPortalPublicPriceListError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PublicPriceListHandler::list error payload for HTTP 401.","x-handler-derived":"PublicPriceListHandler::list"},"PortalGetPortalPublicPriceListError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PublicPriceListHandler::list error payload for HTTP 403.","x-handler-derived":"PublicPriceListHandler::list"},"PortalGetPortalRecommendationsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::recommendations error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::recommendations"},"PortalGetPortalRecommendationsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::recommendations error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::recommendations"},"PortalGetPortalRecommendationsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::recommendations error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::recommendations"},"PortalGetPortalRecommendationsResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::recommendations."},"items":{"description":"Field serialized by PortalListingsHandler::recommendations."},"signals":{"description":"Field serialized by PortalListingsHandler::recommendations."}}},"PortalGetPortalReviewsModerationStatsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalReviewsModerationStatsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalReviewsModerationStatsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalReviewsModerationStatsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalReviewsModerationStatsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::moderationStats."},"stats":{"description":"Field serialized by PortalReviewModerationHandler::moderationStats."},"approvalRate":{"description":"Field serialized by PortalReviewModerationHandler::moderationStats."}}},"PortalGetPortalReviewsPendingError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalReviewsPendingError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalReviewsPendingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalReviewsPendingError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalReviewsPendingResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::listPending."},"items":{"description":"Field serialized by PortalReviewModerationHandler::listPending."}}},"PortalGetPortalSchemaError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::schema error payload for HTTP 400.","x-handler-derived":"PortalSchemaHandler::schema"},"PortalGetPortalSchemaError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::schema error payload for HTTP 404.","x-handler-derived":"PortalSchemaHandler::schema"},"PortalGetPortalSchemaError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::schema error payload for HTTP 500.","x-handler-derived":"PortalSchemaHandler::schema"},"PortalGetPortalSchemaError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaHandler::schema error payload for HTTP 503.","x-handler-derived":"PortalSchemaHandler::schema"},"PortalGetPortalSchemaResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalSchemaHandler::schema."},"message":{"description":"Field serialized by PortalSchemaHandler::schema."},"details":{"description":"Field serialized by PortalSchemaHandler::schema."}}},"PortalGetPortalSearchSuggestionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSearchSuggestionsHandler::list error payload for HTTP 400.","x-handler-derived":"PortalSearchSuggestionsHandler::list"},"PortalGetPortalSearchSuggestionsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSearchSuggestionsHandler::list error payload for HTTP 429.","x-handler-derived":"PortalSearchSuggestionsHandler::list"},"PortalGetPortalSearchSuggestionsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSearchSuggestionsHandler::list error payload for HTTP 503.","x-handler-derived":"PortalSearchSuggestionsHandler::list"},"PortalGetPortalSeedPreviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::preview error payload for HTTP 401.","x-handler-derived":"PortalSeedHandler::preview"},"PortalGetPortalSeedPreviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::preview error payload for HTTP 403.","x-handler-derived":"PortalSeedHandler::preview"},"PortalGetPortalSeedPreviewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::preview error payload for HTTP 404.","x-handler-derived":"PortalSeedHandler::preview"},"PortalGetPortalSeedPreviewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::preview error payload for HTTP 429.","x-handler-derived":"PortalSeedHandler::preview"},"PortalGetPortalSeedPreviewError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::preview error payload for HTTP 500.","x-handler-derived":"PortalSeedHandler::preview"},"PortalGetPortalSeedPreviewResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalSeedHandler::preview."},"message":{"description":"Field serialized by PortalSeedHandler::preview."},"details":{"description":"Field serialized by PortalSeedHandler::preview."}}},"PortalGetPortalSeoAuditError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoAudit error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::seoAudit"},"PortalGetPortalSeoAuditError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoAudit error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::seoAudit"},"PortalGetPortalSeoAuditError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoAudit error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::seoAudit"},"PortalGetPortalSeoAuditError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoAudit error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::seoAudit"},"PortalGetPortalSeoAuditResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::seoAudit."},"summary":{"description":"Field serialized by PortalListingsHandler::seoAudit."},"duplicates":{"description":"Field serialized by PortalListingsHandler::seoAudit."},"items":{"description":"Field serialized by PortalListingsHandler::seoAudit."}}},"PortalGetPortalSeoSitemapXmlError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoSitemap error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::seoSitemap"},"PortalGetPortalSeoSitemapXmlError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::seoSitemap error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::seoSitemap"},"PortalGetPortalSeoSitemapXmlResponse":{"type":"string","description":"Document body written by PortalListingsHandler::seoSitemap."},"PortalGetPortalSharedTokenError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getSharedModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::getSharedModel"},"PortalGetPortalSharedTokenError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getSharedModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::getSharedModel"},"PortalGetPortalSharedTokenError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getSharedModel error payload for HTTP 429.","x-handler-derived":"PortalBuilderHandler::getSharedModel"},"PortalGetPortalSharedTokenResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalBuilderHandler::getSharedModel."},"title":{"description":"Field serialized by PortalBuilderHandler::getSharedModel."},"model":{"description":"Field serialized by PortalBuilderHandler::getSharedModel."},"success":{"description":"Field serialized by PortalBuilderHandler::getSharedModel."},"error":{"description":"Field serialized by PortalBuilderHandler::getSharedModel."}}},"PortalGetPortalSubscriptionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::list error payload for HTTP 400.","x-handler-derived":"SubscriptionsHandler::list"},"PortalGetPortalSubscriptionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::list error payload for HTTP 401.","x-handler-derived":"SubscriptionsHandler::list"},"PortalGetPortalSubscriptionsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::list error payload for HTTP 500.","x-handler-derived":"SubscriptionsHandler::list"},"PortalGetPortalSubscriptionsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by SubscriptionsHandler::list."},"page":{"description":"Field serialized by SubscriptionsHandler::list."},"size":{"description":"Field serialized by SubscriptionsHandler::list."},"total":{"description":"Field serialized by SubscriptionsHandler::list."},"pages":{"description":"Field serialized by SubscriptionsHandler::list."},"code":{"description":"Field serialized by SubscriptionsHandler::list."},"message":{"description":"Field serialized by SubscriptionsHandler::list."},"details":{"description":"Field serialized by SubscriptionsHandler::list."},"trace_id":{"description":"Field serialized by SubscriptionsHandler::list."}}},"PortalGetPortalSupportTopicsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportTopicsHandler::list error payload for HTTP 400.","x-handler-derived":"PortalSupportTopicsHandler::list"},"PortalGetPortalSupportTopicsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportTopicsHandler::list error payload for HTTP 422.","x-handler-derived":"PortalSupportTopicsHandler::list"},"PortalGetPortalSupportTopicsResponse":{"type":"object","additionalProperties":false,"properties":{"locale":{"description":"Field serialized by PortalSupportTopicsHandler::list."},"topics":{"description":"Field serialized by PortalSupportTopicsHandler::list."},"errorFamilies":{"type":"array","items":{"type":"object","required":["slug","label"],"properties":{"slug":{"type":"string"},"label":{"type":"string"}}}},"errorHelp":{"type":"object","nullable":true,"required":["code","family","label","help","needsHumanReview","humanPromise"],"properties":{"code":{"type":"string","nullable":true},"family":{"type":"string"},"label":{"type":"string"},"help":{"type":"string"},"needsHumanReview":{"type":"boolean"},"humanPromise":{"type":"string"}}}}},"PortalGetPortalTagsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::list error payload for HTTP 400.","x-handler-derived":"TagsHandler::list"},"PortalGetPortalTagsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::list error payload for HTTP 500.","x-handler-derived":"TagsHandler::list"},"PortalGetPortalTagsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by TagsHandler::list."},"page":{"description":"Field serialized by TagsHandler::list."},"size":{"description":"Field serialized by TagsHandler::list."},"total":{"description":"Field serialized by TagsHandler::list."},"pages":{"description":"Field serialized by TagsHandler::list."},"code":{"description":"Field serialized by TagsHandler::list."},"message":{"description":"Field serialized by TagsHandler::list."},"details":{"description":"Field serialized by TagsHandler::list."},"trace_id":{"description":"Field serialized by TagsHandler::list."}}},"PortalGetPortalTenantIdAdminActivationCodesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::list error payload for HTTP 400.","x-handler-derived":"PortalAdminActivationCodeHandler::list"},"PortalGetPortalTenantIdAdminActivationCodesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::list error payload for HTTP 401.","x-handler-derived":"PortalAdminActivationCodeHandler::list"},"PortalGetPortalTenantIdAdminActivationCodesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::list error payload for HTTP 403.","x-handler-derived":"PortalAdminActivationCodeHandler::list"},"PortalGetPortalTenantIdAdminActivationCodesResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminActivationCodeHandler::list."},"success":{"description":"Field serialized by PortalAdminActivationCodeHandler::list."},"items":{"description":"Field serialized by PortalAdminActivationCodeHandler::list."},"total":{"description":"Field serialized by PortalAdminActivationCodeHandler::list."}}},"PortalGetPortalTenantIdAdminBlocklistError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::listBlocklist error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::listBlocklist"},"PortalGetPortalTenantIdAdminBlocklistError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::listBlocklist error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::listBlocklist"},"PortalGetPortalTenantIdAdminBlocklistError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::listBlocklist error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::listBlocklist"},"PortalGetPortalTenantIdAdminBlocklistResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalAdminBlocklistHandler::listBlocklist.","x-handler-record":"PortalAdminBlocklistHandler::listBlocklist"},"PortalGetPortalTenantIdAdminContactPlusError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminContactPlusHandler::list error payload for HTTP 400.","x-handler-derived":"PortalAdminContactPlusHandler::list"},"PortalGetPortalTenantIdAdminContactPlusError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminContactPlusHandler::list error payload for HTTP 401.","x-handler-derived":"PortalAdminContactPlusHandler::list"},"PortalGetPortalTenantIdAdminContactPlusError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminContactPlusHandler::list error payload for HTTP 403.","x-handler-derived":"PortalAdminContactPlusHandler::list"},"PortalGetPortalTenantIdAdminContactPlusError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminContactPlusHandler::list error payload for HTTP 500.","x-handler-derived":"PortalAdminContactPlusHandler::list"},"PortalGetPortalTenantIdAdminContactPlusResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminContactPlusHandler::list."},"message":{"description":"Field serialized by PortalAdminContactPlusHandler::list."},"tenant_id":{"description":"Field serialized by PortalAdminContactPlusHandler::list."},"site_id":{"description":"Field serialized by PortalAdminContactPlusHandler::list."},"items":{"description":"Field serialized by PortalAdminContactPlusHandler::list."},"total":{"description":"Field serialized by PortalAdminContactPlusHandler::list."}}},"PortalGetPortalTenantIdAdminContentReviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::contentReviewList error payload for HTTP 400.","x-handler-derived":"PortalAdminListingsHandler::contentReviewList"},"PortalGetPortalTenantIdAdminContentReviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::contentReviewList error payload for HTTP 401.","x-handler-derived":"PortalAdminListingsHandler::contentReviewList"},"PortalGetPortalTenantIdAdminContentReviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::contentReviewList error payload for HTTP 403.","x-handler-derived":"PortalAdminListingsHandler::contentReviewList"},"PortalGetPortalTenantIdAdminContentReviewResponse":{"type":"object","required":["tenantId","items","page","size","total","pages"],"properties":{"tenantId":{"type":"string"},"page":{"type":"integer","minimum":1},"size":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"pages":{"type":"integer","minimum":0},"items":{"type":"array","items":{"type":"object","required":["id","title","description","images","status","adminStatus","imagesHidden","updatedAt","verifiedAt","verifiedBy"],"properties":{"id":{"type":"integer","minimum":1},"title":{"type":"string"},"description":{"type":"string"},"images":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"adminStatus":{"type":"string"},"imagesHidden":{"type":"boolean"},"updatedAt":{"type":"string"},"verifiedAt":{"type":"string","nullable":true},"verifiedBy":{"type":"string","nullable":true}}}}},"description":"Tenant-scoped content review queue. Review evidence is read separately from the listing audit endpoint."},"PortalGetPortalTenantIdAdminCustomerAliasesUserIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::detail error payload for HTTP 400.","x-handler-derived":"PortalCustomerAliasHandler::detail"},"PortalGetPortalTenantIdAdminCustomerAliasesUserIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::detail error payload for HTTP 401.","x-handler-derived":"PortalCustomerAliasHandler::detail"},"PortalGetPortalTenantIdAdminCustomerAliasesUserIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::detail error payload for HTTP 403.","x-handler-derived":"PortalCustomerAliasHandler::detail"},"PortalGetPortalTenantIdAdminCustomerAliasesUserIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::detail error payload for HTTP 500.","x-handler-derived":"PortalCustomerAliasHandler::detail"},"PortalGetPortalTenantIdAdminDomainsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::list error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::list"},"PortalGetPortalTenantIdAdminDomainsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::list error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::list"},"PortalGetPortalTenantIdAdminDomainsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::list error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::list"},"PortalGetPortalTenantIdAdminDomainsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by DomainMappingHandler::list."}}},"PortalGetPortalTenantIdAdminDunningReviewsRunIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::preview error payload for HTTP 400.","x-handler-derived":"PortalDunningHandler::preview"},"PortalGetPortalTenantIdAdminDunningReviewsRunIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::preview error payload for HTTP 401.","x-handler-derived":"PortalDunningHandler::preview"},"PortalGetPortalTenantIdAdminDunningReviewsRunIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::preview error payload for HTTP 403.","x-handler-derived":"PortalDunningHandler::preview"},"PortalGetPortalTenantIdAdminDunningReviewsRunIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::preview error payload for HTTP 404.","x-handler-derived":"PortalDunningHandler::preview"},"PortalGetPortalTenantIdAdminDunningReviewsRunIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::preview error payload for HTTP 422.","x-handler-derived":"PortalDunningHandler::preview"},"PortalGetPortalTenantIdAdminEventLogEntityError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::entity error payload for HTTP 400.","x-handler-derived":"PortalEventLogHandler::entity"},"PortalGetPortalTenantIdAdminEventLogEntityError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::entity error payload for HTTP 401.","x-handler-derived":"PortalEventLogHandler::entity"},"PortalGetPortalTenantIdAdminEventLogEntityError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::entity error payload for HTTP 403.","x-handler-derived":"PortalEventLogHandler::entity"},"PortalGetPortalTenantIdAdminEventLogEntityError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::entity error payload for HTTP 500.","x-handler-derived":"PortalEventLogHandler::entity"},"PortalGetPortalTenantIdAdminEventLogEntityResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalEventLogHandler::entity."},"total":{"description":"Field serialized by PortalEventLogHandler::entity."}}},"PortalGetPortalTenantIdAdminEventLogError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::list error payload for HTTP 400.","x-handler-derived":"PortalEventLogHandler::list"},"PortalGetPortalTenantIdAdminEventLogError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::list error payload for HTTP 401.","x-handler-derived":"PortalEventLogHandler::list"},"PortalGetPortalTenantIdAdminEventLogError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::list error payload for HTTP 403.","x-handler-derived":"PortalEventLogHandler::list"},"PortalGetPortalTenantIdAdminEventLogError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEventLogHandler::list error payload for HTTP 500.","x-handler-derived":"PortalEventLogHandler::list"},"PortalGetPortalTenantIdAdminEventLogResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalEventLogHandler::list.","x-handler-record":"PortalEventLogHandler::list"},"PortalGetPortalTenantIdAdminGuestbookError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::adminList error payload for HTTP 400.","x-handler-derived":"GuestbookHandler::adminList"},"PortalGetPortalTenantIdAdminGuestbookError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::adminList error payload for HTTP 401.","x-handler-derived":"GuestbookHandler::adminList"},"PortalGetPortalTenantIdAdminGuestbookError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::adminList error payload for HTTP 403.","x-handler-derived":"GuestbookHandler::adminList"},"PortalGetPortalTenantIdAdminGuestbookError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::adminList error payload for HTTP 500.","x-handler-derived":"GuestbookHandler::adminList"},"PortalGetPortalTenantIdAdminGuestbookResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by GuestbookHandler::adminList."},"page":{"description":"Field serialized by GuestbookHandler::adminList."},"size":{"description":"Field serialized by GuestbookHandler::adminList."},"total":{"description":"Field serialized by GuestbookHandler::adminList."},"pages":{"description":"Field serialized by GuestbookHandler::adminList."},"code":{"description":"Field serialized by GuestbookHandler::adminList."},"message":{"description":"Field serialized by GuestbookHandler::adminList."}}},"PortalGetPortalTenantIdAdminInquiryFieldTemplatesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryFieldTemplatesHandler::templates error payload for HTTP 400.","x-handler-derived":"InquiryFieldTemplatesHandler::templates"},"PortalGetPortalTenantIdAdminInvoiceArchiveError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::search error payload for HTTP 409.","x-handler-derived":"PortalInvoiceArchiveHandler::search"},"PortalGetPortalTenantIdAdminInvoiceArchiveExportCsvError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::csv error payload for HTTP 409.","x-handler-derived":"PortalInvoiceArchiveHandler::csv"},"PortalGetPortalTenantIdAdminListingsClaimsPendingError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalTenantIdAdminListingsClaimsPendingError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalTenantIdAdminListingsClaimsPendingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalTenantIdAdminListingsClaimsPendingError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::listPending error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::listPending"},"PortalGetPortalTenantIdAdminListingsClaimsPendingResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::listPending."},"items":{"description":"Field serialized by PortalListingClaimsHandler::listPending."}}},"PortalGetPortalTenantIdAdminListingsListingIdAnalyticsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::listingAnalytics error payload for HTTP 400.","x-handler-derived":"PortalAdminStatsHandler::listingAnalytics"},"PortalGetPortalTenantIdAdminListingsListingIdAnalyticsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::listingAnalytics error payload for HTTP 401.","x-handler-derived":"PortalAdminStatsHandler::listingAnalytics"},"PortalGetPortalTenantIdAdminListingsListingIdAnalyticsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::listingAnalytics error payload for HTTP 403.","x-handler-derived":"PortalAdminStatsHandler::listingAnalytics"},"PortalGetPortalTenantIdAdminListingsListingIdAnalyticsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::listingAnalytics error payload for HTTP 404.","x-handler-derived":"PortalAdminStatsHandler::listingAnalytics"},"PortalGetPortalTenantIdAdminListingsListingIdAnalyticsResponse":{"type":"object","additionalProperties":false,"properties":{"listing":{"description":"Field serialized by PortalAdminStatsHandler::listingAnalytics."},"id":{"description":"Field serialized by PortalAdminStatsHandler::listingAnalytics."}}},"PortalGetPortalTenantIdAdminListingsListingIdTransfersError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::history error payload for HTTP 400.","x-handler-derived":"PortalAdminListingTransferHandler::history"},"PortalGetPortalTenantIdAdminListingsListingIdTransfersError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::history error payload for HTTP 401.","x-handler-derived":"PortalAdminListingTransferHandler::history"},"PortalGetPortalTenantIdAdminListingsListingIdTransfersError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::history error payload for HTTP 403.","x-handler-derived":"PortalAdminListingTransferHandler::history"},"PortalGetPortalTenantIdAdminListingsListingIdTransfersError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::history error payload for HTTP 500.","x-handler-derived":"PortalAdminListingTransferHandler::history"},"PortalGetPortalTenantIdAdminListingsListingIdTransfersResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminListingTransferHandler::history."},"items":{"description":"Field serialized by PortalAdminListingTransferHandler::history."}}},"PortalGetPortalTenantIdAdminModerationDraftsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 409.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationDraftsRepliesIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalGetPortalTenantIdAdminModerationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listModeration error payload for HTTP 400.","x-handler-derived":"PortalAdminModerationHandler::listModeration"},"PortalGetPortalTenantIdAdminModerationError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listModeration error payload for HTTP 401.","x-handler-derived":"PortalAdminModerationHandler::listModeration"},"PortalGetPortalTenantIdAdminModerationError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listModeration error payload for HTTP 403.","x-handler-derived":"PortalAdminModerationHandler::listModeration"},"PortalGetPortalTenantIdAdminModerationError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listModeration error payload for HTTP 500.","x-handler-derived":"PortalAdminModerationHandler::listModeration"},"PortalGetPortalTenantIdAdminModerationListingsPendingError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listPendingListings error payload for HTTP 400.","x-handler-derived":"PortalAdminModerationHandler::listPendingListings"},"PortalGetPortalTenantIdAdminModerationListingsPendingError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listPendingListings error payload for HTTP 401.","x-handler-derived":"PortalAdminModerationHandler::listPendingListings"},"PortalGetPortalTenantIdAdminModerationListingsPendingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listPendingListings error payload for HTTP 403.","x-handler-derived":"PortalAdminModerationHandler::listPendingListings"},"PortalGetPortalTenantIdAdminModerationListingsPendingError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::listPendingListings error payload for HTTP 500.","x-handler-derived":"PortalAdminModerationHandler::listPendingListings"},"PortalGetPortalTenantIdAdminModerationListingsPendingResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalAdminModerationHandler::listPendingListings."},"page":{"description":"Field serialized by PortalAdminModerationHandler::listPendingListings."},"size":{"description":"Field serialized by PortalAdminModerationHandler::listPendingListings."},"total":{"description":"Field serialized by PortalAdminModerationHandler::listPendingListings."},"pages":{"description":"Field serialized by PortalAdminModerationHandler::listPendingListings."}}},"PortalGetPortalTenantIdAdminModerationResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalAdminModerationHandler::listModeration."},"page":{"description":"Field serialized by PortalAdminModerationHandler::listModeration."},"size":{"description":"Field serialized by PortalAdminModerationHandler::listModeration."},"total":{"description":"Field serialized by PortalAdminModerationHandler::listModeration."},"pages":{"description":"Field serialized by PortalAdminModerationHandler::listModeration."}}},"PortalGetPortalTenantIdAdminNotificationSettingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::getAdminSettings error payload for HTTP 400.","x-handler-derived":"NotificationSettingsHandler::getAdminSettings"},"PortalGetPortalTenantIdAdminNotificationSettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::getAdminSettings error payload for HTTP 401.","x-handler-derived":"NotificationSettingsHandler::getAdminSettings"},"PortalGetPortalTenantIdAdminNotificationSettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::getAdminSettings error payload for HTTP 403.","x-handler-derived":"NotificationSettingsHandler::getAdminSettings"},"PortalGetPortalTenantIdAdminNotificationSettingsResponse":{"type":"object","additionalProperties":false,"properties":{"defaults":{"description":"Field serialized by NotificationSettingsHandler::getAdminSettings."},"notification_types":{"description":"Field serialized by NotificationSettingsHandler::getAdminSettings."},"admin_only_types":{"description":"Field serialized by NotificationSettingsHandler::getAdminSettings."},"code":{"description":"Field serialized by NotificationSettingsHandler::getAdminSettings."},"message":{"description":"Field serialized by NotificationSettingsHandler::getAdminSettings."}}},"PortalGetPortalTenantIdAdminOrderApprovalsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::queue error payload for HTTP 400.","x-handler-derived":"PortalOrderApprovalHandler::queue"},"PortalGetPortalTenantIdAdminOrderApprovalsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::queue error payload for HTTP 401.","x-handler-derived":"PortalOrderApprovalHandler::queue"},"PortalGetPortalTenantIdAdminOrderApprovalsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::queue error payload for HTTP 403.","x-handler-derived":"PortalOrderApprovalHandler::queue"},"PortalGetPortalTenantIdAdminOrderApprovalsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::queue error payload for HTTP 503.","x-handler-derived":"PortalOrderApprovalHandler::queue"},"PortalGetPortalTenantIdAdminPagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::listPages error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::listPages"},"PortalGetPortalTenantIdAdminPagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::listPages error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::listPages"},"PortalGetPortalTenantIdAdminPagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::listPages error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::listPages"},"PortalGetPortalTenantIdAdminPagesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalAdminBlocklistHandler::listPages."}}},"PortalGetPortalTenantIdAdminPagesSlugError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::getPage error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::getPage"},"PortalGetPortalTenantIdAdminPagesSlugError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::getPage error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::getPage"},"PortalGetPortalTenantIdAdminPagesSlugError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::getPage error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::getPage"},"PortalGetPortalTenantIdAdminPagesSlugError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::getPage error payload for HTTP 404.","x-handler-derived":"PortalAdminBlocklistHandler::getPage"},"PortalGetPortalTenantIdAdminPagesSlugResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalAdminBlocklistHandler::getPage.","x-handler-record":"PortalAdminBlocklistHandler::getPage"},"PortalGetPortalTenantIdAdminPaymentsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::list error payload for HTTP 400.","x-handler-derived":"PortalAdminPaymentsHandler::list"},"PortalGetPortalTenantIdAdminPaymentsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::list error payload for HTTP 401.","x-handler-derived":"PortalAdminPaymentsHandler::list"},"PortalGetPortalTenantIdAdminPaymentsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::list error payload for HTTP 403.","x-handler-derived":"PortalAdminPaymentsHandler::list"},"PortalGetPortalTenantIdAdminPaymentsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminPaymentsHandler::list."},"message":{"description":"Field serialized by PortalAdminPaymentsHandler::list."},"items":{"description":"Field serialized by PortalAdminPaymentsHandler::list."},"total":{"description":"Field serialized by PortalAdminPaymentsHandler::list."},"page":{"description":"Field serialized by PortalAdminPaymentsHandler::list."},"size":{"description":"Field serialized by PortalAdminPaymentsHandler::list."}}},"PortalGetPortalTenantIdAdminProblematicUsersEmailError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::detail error payload for HTTP 400.","x-handler-derived":"ProblematicUserHandler::detail"},"PortalGetPortalTenantIdAdminProblematicUsersEmailError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::detail error payload for HTTP 401.","x-handler-derived":"ProblematicUserHandler::detail"},"PortalGetPortalTenantIdAdminProblematicUsersEmailError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::detail error payload for HTTP 403.","x-handler-derived":"ProblematicUserHandler::detail"},"PortalGetPortalTenantIdAdminProblematicUsersEmailError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::detail error payload for HTTP 404.","x-handler-derived":"ProblematicUserHandler::detail"},"PortalGetPortalTenantIdAdminProblematicUsersEmailResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ProblematicUserHandler::detail."},"message":{"description":"Field serialized by ProblematicUserHandler::detail."}}},"PortalGetPortalTenantIdAdminProblematicUsersError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::list error payload for HTTP 400.","x-handler-derived":"ProblematicUserHandler::list"},"PortalGetPortalTenantIdAdminProblematicUsersError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::list error payload for HTTP 401.","x-handler-derived":"ProblematicUserHandler::list"},"PortalGetPortalTenantIdAdminProblematicUsersError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::list error payload for HTTP 403.","x-handler-derived":"ProblematicUserHandler::list"},"PortalGetPortalTenantIdAdminProblematicUsersResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ProblematicUserHandler::list."},"message":{"description":"Field serialized by ProblematicUserHandler::list."}}},"PortalGetPortalTenantIdAdminReportedListingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 400.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalTenantIdAdminReportedListingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 401.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalTenantIdAdminReportedListingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 403.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalTenantIdAdminReportedListingsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::listReports error payload for HTTP 500.","x-handler-derived":"ReportsHandler::listReports"},"PortalGetPortalTenantIdAdminReportedListingsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by ReportsHandler::listReports."},"page":{"description":"Field serialized by ReportsHandler::listReports."},"size":{"description":"Field serialized by ReportsHandler::listReports."},"total":{"description":"Field serialized by ReportsHandler::listReports."},"pages":{"description":"Field serialized by ReportsHandler::listReports."},"code":{"description":"Field serialized by ReportsHandler::listReports."},"message":{"description":"Field serialized by ReportsHandler::listReports."},"details":{"description":"Field serialized by ReportsHandler::listReports."},"trace_id":{"description":"Field serialized by ReportsHandler::listReports."}}},"PortalGetPortalTenantIdAdminReviewsModerationStatsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalTenantIdAdminReviewsModerationStatsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalTenantIdAdminReviewsModerationStatsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalTenantIdAdminReviewsModerationStatsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::moderationStats error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::moderationStats"},"PortalGetPortalTenantIdAdminReviewsModerationStatsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::moderationStats."},"stats":{"description":"Field serialized by PortalReviewModerationHandler::moderationStats."},"approvalRate":{"description":"Field serialized by PortalReviewModerationHandler::moderationStats."}}},"PortalGetPortalTenantIdAdminReviewsPendingError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalTenantIdAdminReviewsPendingError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalTenantIdAdminReviewsPendingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalTenantIdAdminReviewsPendingError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::listPending error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::listPending"},"PortalGetPortalTenantIdAdminReviewsPendingResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::listPending."},"items":{"description":"Field serialized by PortalReviewModerationHandler::listPending."}}},"PortalGetPortalTenantIdAdminServicesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listAdmin error payload for HTTP 400.","x-handler-derived":"PortalServiceCancellationHandler::listAdmin"},"PortalGetPortalTenantIdAdminServicesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listAdmin error payload for HTTP 401.","x-handler-derived":"PortalServiceCancellationHandler::listAdmin"},"PortalGetPortalTenantIdAdminServicesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listAdmin error payload for HTTP 403.","x-handler-derived":"PortalServiceCancellationHandler::listAdmin"},"PortalGetPortalTenantIdAdminServicesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listAdmin error payload for HTTP 404.","x-handler-derived":"PortalServiceCancellationHandler::listAdmin"},"PortalGetPortalTenantIdAdminServicesError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listAdmin error payload for HTTP 422.","x-handler-derived":"PortalServiceCancellationHandler::listAdmin"},"PortalGetPortalTenantIdAdminServicesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listAdmin error payload for HTTP 503.","x-handler-derived":"PortalServiceCancellationHandler::listAdmin"},"PortalGetPortalTenantIdAdminServicesReconciliationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::report error payload for HTTP 400.","x-handler-derived":"PortalServiceLifecycleHandler::report"},"PortalGetPortalTenantIdAdminServicesReconciliationError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::report error payload for HTTP 401.","x-handler-derived":"PortalServiceLifecycleHandler::report"},"PortalGetPortalTenantIdAdminServicesReconciliationError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::report error payload for HTTP 403.","x-handler-derived":"PortalServiceLifecycleHandler::report"},"PortalGetPortalTenantIdAdminServicesReconciliationError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::report error payload for HTTP 422.","x-handler-derived":"PortalServiceLifecycleHandler::report"},"PortalGetPortalTenantIdAdminServicesReconciliationError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::report error payload for HTTP 503.","x-handler-derived":"PortalServiceLifecycleHandler::report"},"PortalGetPortalTenantIdAdminStatsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::stats error payload for HTTP 400.","x-handler-derived":"PortalAdminStatsHandler::stats"},"PortalGetPortalTenantIdAdminStatsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::stats error payload for HTTP 401.","x-handler-derived":"PortalAdminStatsHandler::stats"},"PortalGetPortalTenantIdAdminStatsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminStatsHandler::stats error payload for HTTP 403.","x-handler-derived":"PortalAdminStatsHandler::stats"},"PortalGetPortalTenantIdAdminStatsResponse":{"type":"object","additionalProperties":false,"properties":{"overview":{"description":"Field serialized by PortalAdminStatsHandler::stats."},"dailyInquiries":{"description":"Field serialized by PortalAdminStatsHandler::stats."},"dailyNewUsers":{"description":"Field serialized by PortalAdminStatsHandler::stats."}}},"PortalGetPortalTenantIdAdminSupportInboxError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::list error payload for HTTP 400.","x-handler-derived":"PortalSupportInboxHandler::list"},"PortalGetPortalTenantIdAdminSupportInboxError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::list error payload for HTTP 401.","x-handler-derived":"PortalSupportInboxHandler::list"},"PortalGetPortalTenantIdAdminSupportInboxError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::list error payload for HTTP 403.","x-handler-derived":"PortalSupportInboxHandler::list"},"PortalGetPortalTenantIdAdminSupportInboxError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::list error payload for HTTP 500.","x-handler-derived":"PortalSupportInboxHandler::list"},"PortalGetPortalTenantIdAdminSupportInboxError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::list error payload for HTTP 503.","x-handler-derived":"PortalSupportInboxHandler::list"},"PortalGetPortalTenantIdAdminSupportInboxStandardTextsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalGetPortalTenantIdAdminSupportInboxStandardTextsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalGetPortalTenantIdAdminSupportInboxStandardTextsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalGetPortalTenantIdAdminSupportInboxStandardTextsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalGetPortalTenantIdAdminSupportInboxStandardTextsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::templates.","x-handler-record":"PortalSupportLibraryHandler::templates"},"PortalGetPortalTenantIdAdminSupportInboxTopicsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalGetPortalTenantIdAdminSupportInboxTopicsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalGetPortalTenantIdAdminSupportInboxTopicsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalGetPortalTenantIdAdminSupportInboxTopicsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalGetPortalTenantIdAdminSupportInboxTopicsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::topics.","x-handler-record":"PortalSupportLibraryHandler::topics"},"PortalGetPortalTenantIdAdminUsersError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::list error payload for HTTP 400.","x-handler-derived":"PortalAdminUsersHandler::list"},"PortalGetPortalTenantIdAdminUsersError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::list error payload for HTTP 401.","x-handler-derived":"PortalAdminUsersHandler::list"},"PortalGetPortalTenantIdAdminUsersError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::list error payload for HTTP 403.","x-handler-derived":"PortalAdminUsersHandler::list"},"PortalGetPortalTenantIdAdminUsersResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalAdminUsersHandler::list.","x-handler-record":"PortalAdminUsersHandler::list"},"PortalGetPortalTenantIdAdminUsersUserIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::detail error payload for HTTP 400.","x-handler-derived":"PortalAdminUsersHandler::detail"},"PortalGetPortalTenantIdAdminUsersUserIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::detail error payload for HTTP 401.","x-handler-derived":"PortalAdminUsersHandler::detail"},"PortalGetPortalTenantIdAdminUsersUserIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::detail error payload for HTTP 403.","x-handler-derived":"PortalAdminUsersHandler::detail"},"PortalGetPortalTenantIdAdminUsersUserIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::detail error payload for HTTP 404.","x-handler-derived":"PortalAdminUsersHandler::detail"},"PortalGetPortalTenantIdAdminUsersUserIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalAdminUsersHandler::detail.","x-handler-record":"PortalAdminUsersHandler::detail"},"PortalGetPortalTenantIdAdminVerificationSubmissionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 400.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalTenantIdAdminVerificationSubmissionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 401.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalTenantIdAdminVerificationSubmissionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 403.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalTenantIdAdminVerificationSubmissionsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::listAdmin error payload for HTTP 500.","x-handler-derived":"PortalOwnerVerificationHandler::listAdmin"},"PortalGetPortalTenantIdAdminVerificationSubmissionsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOwnerVerificationHandler::listAdmin."},"items":{"description":"Field serialized by PortalOwnerVerificationHandler::listAdmin."}}},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 413.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdAttachmentIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAttachmentHandler::handle."},"shop":{"description":"Field serialized by PortalAttachmentHandler::handle."},"items":{"description":"Field serialized by PortalAttachmentHandler::handle."},"can_edit":{"description":"Field serialized by PortalAttachmentHandler::handle."},"deleted":{"description":"Field serialized by PortalAttachmentHandler::handle."},"id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"listing_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"title":{"description":"Field serialized by PortalAttachmentHandler::handle."},"media_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"filename":{"description":"Field serialized by PortalAttachmentHandler::handle."},"mime_type":{"description":"Field serialized by PortalAttachmentHandler::handle."},"size_bytes":{"description":"Field serialized by PortalAttachmentHandler::handle."},"embed_url":{"description":"Field serialized by PortalAttachmentHandler::handle."}}},"PortalGetPortalTenantIdAttachmentsKindResourceIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 413.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 429.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPortalTenantIdAttachmentsKindResourceIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAttachmentHandler::handle."},"shop":{"description":"Field serialized by PortalAttachmentHandler::handle."},"items":{"description":"Field serialized by PortalAttachmentHandler::handle."},"can_edit":{"description":"Field serialized by PortalAttachmentHandler::handle."},"deleted":{"description":"Field serialized by PortalAttachmentHandler::handle."},"id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"listing_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"title":{"description":"Field serialized by PortalAttachmentHandler::handle."},"media_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"filename":{"description":"Field serialized by PortalAttachmentHandler::handle."},"mime_type":{"description":"Field serialized by PortalAttachmentHandler::handle."},"size_bytes":{"description":"Field serialized by PortalAttachmentHandler::handle."},"embed_url":{"description":"Field serialized by PortalAttachmentHandler::handle."}}},"PortalGetPortalTenantIdAuthCheckNicknameError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::checkNickname error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::checkNickname"},"PortalGetPortalTenantIdAuthCheckNicknameError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::checkNickname error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::checkNickname"},"PortalGetPortalTenantIdAuthCheckNicknameError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::checkNickname error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::checkNickname"},"PortalGetPortalTenantIdAuthCheckNicknameResponse":{"type":"object","additionalProperties":false,"properties":{"available":{"description":"Field serialized by PortalUserAuthHandler::checkNickname."},"reason":{"description":"Field serialized by PortalUserAuthHandler::checkNickname."}}},"PortalGetPortalTenantIdAuthEmailChangeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::pending error payload for HTTP 400.","x-handler-derived":"PortalEmailChangeHandler::pending"},"PortalGetPortalTenantIdAuthEmailChangeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::pending error payload for HTTP 401.","x-handler-derived":"PortalEmailChangeHandler::pending"},"PortalGetPortalTenantIdAuthEmailChangeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::pending error payload for HTTP 403.","x-handler-derived":"PortalEmailChangeHandler::pending"},"PortalGetPortalTenantIdAuthEmailChangeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::pending error payload for HTTP 429.","x-handler-derived":"PortalEmailChangeHandler::pending"},"PortalGetPortalTenantIdAuthEmailChangeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::pending error payload for HTTP 500.","x-handler-derived":"PortalEmailChangeHandler::pending"},"PortalGetPortalTenantIdAuthEmailChangeResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalEmailChangeHandler::pending."},"pending":{"description":"Field serialized by PortalEmailChangeHandler::pending."},"pendingEmail":{"description":"Field serialized by PortalEmailChangeHandler::pending."},"expiresAt":{"description":"Field serialized by PortalEmailChangeHandler::pending."}}},"PortalGetPortalTenantIdAuthLinkedLoginsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::index error payload for HTTP 400.","x-handler-derived":"PortalLinkedLoginsHandler::index"},"PortalGetPortalTenantIdAuthLinkedLoginsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::index error payload for HTTP 401.","x-handler-derived":"PortalLinkedLoginsHandler::index"},"PortalGetPortalTenantIdAuthLinkedLoginsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::index error payload for HTTP 403.","x-handler-derived":"PortalLinkedLoginsHandler::index"},"PortalGetPortalTenantIdAuthLinkedLoginsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::index error payload for HTTP 404.","x-handler-derived":"PortalLinkedLoginsHandler::index"},"PortalGetPortalTenantIdAuthLinkedLoginsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::index error payload for HTTP 429.","x-handler-derived":"PortalLinkedLoginsHandler::index"},"PortalGetPortalTenantIdAuthLinkedLoginsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::index error payload for HTTP 500.","x-handler-derived":"PortalLinkedLoginsHandler::index"},"PortalGetPortalTenantIdAuthLinkedLoginsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLinkedLoginsHandler::index."},"primaryEmail":{"description":"Field serialized by PortalLinkedLoginsHandler::index."}}},"PortalGetPortalTenantIdBuilderAnalyticsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::analytics error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::analytics"},"PortalGetPortalTenantIdBuilderAnalyticsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::analytics error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::analytics"},"PortalGetPortalTenantIdBuilderAnalyticsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::analytics error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::analytics"},"PortalGetPortalTenantIdBuilderAnalyticsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalBuilderHandler::analytics."},"error":{"description":"Field serialized by PortalBuilderHandler::analytics."}}},"PortalGetPortalTenantIdBuilderEventsPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::listEvents error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::listEvents"},"PortalGetPortalTenantIdBuilderEventsPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::listEvents error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::listEvents"},"PortalGetPortalTenantIdBuilderEventsPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::listEvents error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::listEvents"},"PortalGetPortalTenantIdBuilderEventsPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalBuilderHandler::listEvents."},"error":{"description":"Field serialized by PortalBuilderHandler::listEvents."}}},"PortalGetPortalTenantIdBuilderListingsPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::listListings error payload for HTTP 400.","x-handler-derived":"BuilderListingHandler::listListings"},"PortalGetPortalTenantIdBuilderListingsPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::listListings error payload for HTTP 401.","x-handler-derived":"BuilderListingHandler::listListings"},"PortalGetPortalTenantIdBuilderListingsPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::listListings error payload for HTTP 403.","x-handler-derived":"BuilderListingHandler::listListings"},"PortalGetPortalTenantIdBuilderListingsPortalIdListingIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::getListing error payload for HTTP 400.","x-handler-derived":"BuilderListingHandler::getListing"},"PortalGetPortalTenantIdBuilderListingsPortalIdListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::getListing error payload for HTTP 401.","x-handler-derived":"BuilderListingHandler::getListing"},"PortalGetPortalTenantIdBuilderListingsPortalIdListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::getListing error payload for HTTP 403.","x-handler-derived":"BuilderListingHandler::getListing"},"PortalGetPortalTenantIdBuilderListingsPortalIdListingIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::getListing error payload for HTTP 404.","x-handler-derived":"BuilderListingHandler::getListing"},"PortalGetPortalTenantIdBuilderListingsPortalIdListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by BuilderListingHandler::getListing."},"error":{"description":"Field serialized by BuilderListingHandler::getListing."}}},"PortalGetPortalTenantIdBuilderListingsPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by BuilderListingHandler::listListings."},"total":{"description":"Field serialized by BuilderListingHandler::listListings."},"limit":{"description":"Field serialized by BuilderListingHandler::listListings."},"offset":{"description":"Field serialized by BuilderListingHandler::listListings."},"success":{"description":"Field serialized by BuilderListingHandler::listListings."},"error":{"description":"Field serialized by BuilderListingHandler::listListings."}}},"PortalGetPortalTenantIdBuilderModelsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::listModels error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::listModels"},"PortalGetPortalTenantIdBuilderModelsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::listModels error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::listModels"},"PortalGetPortalTenantIdBuilderModelsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::listModels error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::listModels"},"PortalGetPortalTenantIdBuilderModelsPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::getModel"},"PortalGetPortalTenantIdBuilderModelsPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::getModel"},"PortalGetPortalTenantIdBuilderModelsPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::getModel"},"PortalGetPortalTenantIdBuilderModelsPortalIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::getModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::getModel"},"PortalGetPortalTenantIdBuilderModelsPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalBuilderHandler::getModel."},"error":{"description":"Field serialized by PortalBuilderHandler::getModel."}}},"PortalGetPortalTenantIdBuilderModelsResponse":{"type":"object","additionalProperties":false,"properties":{"models":{"description":"Field serialized by PortalBuilderHandler::listModels."},"success":{"description":"Field serialized by PortalBuilderHandler::listModels."},"error":{"description":"Field serialized by PortalBuilderHandler::listModels."}}},"PortalGetPortalTenantIdCaptchaError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::captcha error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::captcha"},"PortalGetPortalTenantIdCaptchaError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::captcha error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::captcha"},"PortalGetPortalTenantIdCaptchaError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::captcha error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::captcha"},"PortalGetPortalTenantIdCaptchaResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Field serialized by PortalUserAuthHandler::captcha."},"image":{"description":"Field serialized by PortalUserAuthHandler::captcha."},"audio":{"description":"Field serialized by PortalUserAuthHandler::captcha."},"access_time":{"type":"integer","nullable":true,"description":"Server form-load Unix timestamp associated with id in the tenant-bound CAPTCHA session. The listing form already submits this opaque id; it need not echo a client timestamp. Save computes elapsed seconds from the session, rejects <=3 seconds and supplies activation mail T<seconds>. Missing or invalid legacy timestamps retain the previous time_on_page fallback (default T0)."}}},"PortalGetPortalTenantIdCartError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::get error payload for HTTP 400.","x-handler-derived":"PortalCartHandler::get"},"PortalGetPortalTenantIdCartError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::get error payload for HTTP 401.","x-handler-derived":"PortalCartHandler::get"},"PortalGetPortalTenantIdCartError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::get error payload for HTTP 403.","x-handler-derived":"PortalCartHandler::get"},"PortalGetPortalTenantIdCartResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCartHandler::get."},"message":{"description":"Field serialized by PortalCartHandler::get."},"cart":{"description":"Field serialized by PortalCartHandler::get."},"itemCount":{"description":"Field serialized by PortalCartHandler::get."}}},"PortalGetPortalTenantIdCheckoutOrderIdPaypalReturnError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::paypalReturn error payload for HTTP 400.","x-handler-derived":"PortalCheckoutPaymentHandler::paypalReturn"},"PortalGetPortalTenantIdCheckoutOrderIdPaypalReturnError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::paypalReturn error payload for HTTP 401.","x-handler-derived":"PortalCheckoutPaymentHandler::paypalReturn"},"PortalGetPortalTenantIdCheckoutOrderIdPaypalReturnError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::paypalReturn error payload for HTTP 403.","x-handler-derived":"PortalCheckoutPaymentHandler::paypalReturn"},"PortalGetPortalTenantIdCheckoutOrderIdPaypalReturnError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::paypalReturn error payload for HTTP 404.","x-handler-derived":"PortalCheckoutPaymentHandler::paypalReturn"},"PortalGetPortalTenantIdCheckoutOrderIdPaypalReturnError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::paypalReturn error payload for HTTP 422.","x-handler-derived":"PortalCheckoutPaymentHandler::paypalReturn"},"PortalGetPortalTenantIdCheckoutOrderIdPaypalReturnResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCheckoutPaymentHandler::paypalReturn."},"message":{"description":"Field serialized by PortalCheckoutPaymentHandler::paypalReturn."},"success":{"description":"Field serialized by PortalCheckoutPaymentHandler::paypalReturn."},"status":{"description":"Field serialized by PortalCheckoutPaymentHandler::paypalReturn."},"orderNumber":{"description":"Field serialized by PortalCheckoutPaymentHandler::paypalReturn."},"orderId":{"description":"Field serialized by PortalCheckoutPaymentHandler::paypalReturn."}}},"PortalGetPortalTenantIdCheckoutVcardPreviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::capability error payload for HTTP 401.","x-handler-derived":"PortalCheckoutVCardHandler::capability"},"PortalGetPortalTenantIdCheckoutVcardPreviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::capability error payload for HTTP 403.","x-handler-derived":"PortalCheckoutVCardHandler::capability"},"PortalGetPortalTenantIdContactProofError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ContactProofHandler::show error payload for HTTP 401.","x-handler-derived":"ContactProofHandler::show"},"PortalGetPortalTenantIdContactProofError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ContactProofHandler::show error payload for HTTP 403.","x-handler-derived":"ContactProofHandler::show"},"PortalGetPortalTenantIdFavoriteCategoriesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 401.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalGetPortalTenantIdFavoriteCategoriesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 403.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalGetPortalTenantIdFavoriteCategoriesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"success":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"id":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"name":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"code":{"description":"Field serialized by FavoriteDetailsHandler::categories."}}},"PortalGetPortalTenantIdFavoritesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::list error payload for HTTP 401.","x-handler-derived":"FavoritesHandler::list"},"PortalGetPortalTenantIdFavoritesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::list error payload for HTTP 403.","x-handler-derived":"FavoritesHandler::list"},"PortalGetPortalTenantIdFavoritesListingIdPersonalError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::detail error payload for HTTP 401.","x-handler-derived":"FavoriteDetailsHandler::detail"},"PortalGetPortalTenantIdFavoritesListingIdPersonalError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::detail error payload for HTTP 403.","x-handler-derived":"FavoriteDetailsHandler::detail"},"PortalGetPortalTenantIdFavoritesListingIdPersonalResponse":{"type":"object","additionalProperties":false,"properties":{"listing_id":{"description":"Field serialized by FavoriteDetailsHandler::detail."},"favorite":{"description":"Field serialized by FavoriteDetailsHandler::detail."},"code":{"description":"Field serialized by FavoriteDetailsHandler::detail."}}},"PortalGetPortalTenantIdFavoritesResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by FavoritesHandler::list.","x-handler-record":"FavoritesHandler::list"},"PortalGetPortalTenantIdGuestbookError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::list error payload for HTTP 400.","x-handler-derived":"GuestbookHandler::list"},"PortalGetPortalTenantIdGuestbookError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::list error payload for HTTP 500.","x-handler-derived":"GuestbookHandler::list"},"PortalGetPortalTenantIdGuestbookResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by GuestbookHandler::list."},"page":{"description":"Field serialized by GuestbookHandler::list."},"size":{"description":"Field serialized by GuestbookHandler::list."},"total":{"description":"Field serialized by GuestbookHandler::list."},"pages":{"description":"Field serialized by GuestbookHandler::list."},"code":{"description":"Field serialized by GuestbookHandler::list."},"message":{"description":"Field serialized by GuestbookHandler::list."}}},"PortalGetPortalTenantIdInquiriesBoardError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::get error payload for HTTP 400.","x-handler-derived":"InquiryBoardHandler::get"},"PortalGetPortalTenantIdInquiriesBoardError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::get error payload for HTTP 401.","x-handler-derived":"InquiryBoardHandler::get"},"PortalGetPortalTenantIdInquiriesBoardError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::get error payload for HTTP 403.","x-handler-derived":"InquiryBoardHandler::get"},"PortalGetPortalTenantIdInquiriesBoardError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::get error payload for HTTP 404.","x-handler-derived":"InquiryBoardHandler::get"},"PortalGetPortalTenantIdInquiriesBoardError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::get error payload for HTTP 422.","x-handler-derived":"InquiryBoardHandler::get"},"PortalGetPortalTenantIdInquiriesBoardError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::get error payload for HTTP 503.","x-handler-derived":"InquiryBoardHandler::get"},"PortalGetPortalTenantIdInquiriesBoardResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by InquiryBoardHandler::get."},"consent":{"description":"Field serialized by InquiryBoardHandler::get."},"columns":{"description":"Field serialized by InquiryBoardHandler::get."},"items":{"description":"Field serialized by InquiryBoardHandler::get."}}},"PortalGetPortalTenantIdInquiriesIdOfferError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 400.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 401.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 403.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 503.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferFactsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferFactsHandler::handle error payload for HTTP 400.","x-handler-derived":"InquiryOfferFactsHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferFactsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferFactsHandler::handle error payload for HTTP 401.","x-handler-derived":"InquiryOfferFactsHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferFactsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferFactsHandler::handle error payload for HTTP 403.","x-handler-derived":"InquiryOfferFactsHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferFactsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferFactsHandler::handle error payload for HTTP 503.","x-handler-derived":"InquiryOfferFactsHandler::handle"},"PortalGetPortalTenantIdInquiriesIdOfferResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by InquiryOfferHandler::handle."},"enabled":{"description":"Field serialized by InquiryOfferHandler::handle."},"offer":{"description":"Field serialized by InquiryOfferHandler::handle."}}},"PortalGetPortalTenantIdInquiriesIdRepliesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replies error payload for HTTP 400.","x-handler-derived":"InquiryHandler::replies"},"PortalGetPortalTenantIdInquiriesIdRepliesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replies error payload for HTTP 401.","x-handler-derived":"InquiryHandler::replies"},"PortalGetPortalTenantIdInquiriesIdRepliesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replies error payload for HTTP 403.","x-handler-derived":"InquiryHandler::replies"},"PortalGetPortalTenantIdInquiriesIdRepliesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replies error payload for HTTP 404.","x-handler-derived":"InquiryHandler::replies"},"PortalGetPortalTenantIdInquiriesIdRepliesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by InquiryHandler::replies."},"inquiry_mailbox_id":{"description":"Field serialized by InquiryHandler::replies."},"trace_id":{"description":"Field serialized by InquiryHandler::replies."}}},"PortalGetPortalTenantIdInquiriesMailboxError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::mailbox error payload for HTTP 400.","x-handler-derived":"InquiryHandler::mailbox"},"PortalGetPortalTenantIdInquiriesMailboxError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::mailbox error payload for HTTP 401.","x-handler-derived":"InquiryHandler::mailbox"},"PortalGetPortalTenantIdInquiriesMailboxError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::mailbox error payload for HTTP 403.","x-handler-derived":"InquiryHandler::mailbox"},"PortalGetPortalTenantIdInquiriesMailboxError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::mailbox error payload for HTTP 500.","x-handler-derived":"InquiryHandler::mailbox"},"PortalGetPortalTenantIdInquiriesMailboxResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by InquiryHandler::mailbox."},"page":{"description":"Field serialized by InquiryHandler::mailbox."},"size":{"description":"Field serialized by InquiryHandler::mailbox."},"total":{"description":"Field serialized by InquiryHandler::mailbox."},"pages":{"description":"Field serialized by InquiryHandler::mailbox."}}},"PortalGetPortalTenantIdInquiriesRateLimitError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::rateLimit error payload for HTTP 400.","x-handler-derived":"InquiryHandler::rateLimit"},"PortalGetPortalTenantIdInquiriesRateLimitError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::rateLimit error payload for HTTP 401.","x-handler-derived":"InquiryHandler::rateLimit"},"PortalGetPortalTenantIdInquiriesRateLimitError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::rateLimit error payload for HTTP 403.","x-handler-derived":"InquiryHandler::rateLimit"},"PortalGetPortalTenantIdInquiriesRateLimitError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::rateLimit error payload for HTTP 500.","x-handler-derived":"InquiryHandler::rateLimit"},"PortalGetPortalTenantIdInquiriesRateLimitResponse":{"type":"object","additionalProperties":false,"properties":{"allowed":{"description":"Field serialized by InquiryHandler::rateLimit."},"remaining":{"description":"Field serialized by InquiryHandler::rateLimit."},"reason":{"description":"Field serialized by InquiryHandler::rateLimit."},"trace_id":{"description":"Field serialized by InquiryHandler::rateLimit."},"whitelisted":{"description":"Field serialized by InquiryHandler::rateLimit."},"limits":{"description":"Field serialized by InquiryHandler::rateLimit."},"used":{"description":"Field serialized by InquiryHandler::rateLimit."},"max":{"description":"Field serialized by InquiryHandler::rateLimit."},"lifetime":{"description":"Field serialized by InquiryHandler::rateLimit."},"kontakt_plus":{"description":"Field serialized by InquiryHandler::rateLimit."}}},"PortalGetPortalTenantIdListingStatsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingStatsHandler::overview error payload for HTTP 403.","x-handler-derived":"ListingStatsHandler::overview"},"PortalGetPortalTenantIdListingStatsMailError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingStatsHandler::mail error payload for HTTP 403.","x-handler-derived":"ListingStatsHandler::mail"},"PortalGetPortalTenantIdListingStatsMailOptOutError303":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingStatsHandler::optOut error payload for HTTP 303.","x-handler-derived":"ListingStatsHandler::optOut"},"PortalGetPortalTenantIdListingStatsMailOptOutResponse":{"type":"object","additionalProperties":false,"properties":{"enabled":{"description":"Field serialized by ListingStatsHandler::optOut."},"success":{"description":"Field serialized by ListingStatsHandler::optOut."},"error":{"description":"Field serialized by ListingStatsHandler::optOut."},"code":{"description":"Field serialized by ListingStatsHandler::optOut."}}},"PortalGetPortalTenantIdListingsListingIdImagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::list error payload for HTTP 400.","x-handler-derived":"ImageUploadHandler::list"},"PortalGetPortalTenantIdListingsListingIdImagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::list error payload for HTTP 401.","x-handler-derived":"ImageUploadHandler::list"},"PortalGetPortalTenantIdListingsListingIdImagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::list error payload for HTTP 403.","x-handler-derived":"ImageUploadHandler::list"},"PortalGetPortalTenantIdListingsListingIdImagesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::list error payload for HTTP 500.","x-handler-derived":"ImageUploadHandler::list"},"PortalGetPortalTenantIdListingsListingIdImagesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by ImageUploadHandler::list."},"total":{"description":"Field serialized by ImageUploadHandler::list."},"code":{"description":"Field serialized by ImageUploadHandler::list."},"message":{"description":"Field serialized by ImageUploadHandler::list."},"trace_id":{"description":"Field serialized by ImageUploadHandler::list."}}},"PortalGetPortalTenantIdListingsListingIdMediaFilenameError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageServeHandler::serve error payload for HTTP 404.","x-handler-derived":"ImageServeHandler::serve"},"PortalGetPortalTenantIdListingsListingIdMediaFilenameResponse":{"type":"string","format":"binary","description":"Binary body streamed by ImageServeHandler::serve."},"PortalGetPortalTenantIdListingsListingIdPositionError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::position error payload for HTTP 400.","x-handler-derived":"PortalListingRankHandler::position"},"PortalGetPortalTenantIdListingsListingIdPositionError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::position error payload for HTTP 404.","x-handler-derived":"PortalListingRankHandler::position"},"PortalGetPortalTenantIdListingsListingIdPositionError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::position error payload for HTTP 429.","x-handler-derived":"PortalListingRankHandler::position"},"PortalGetPortalTenantIdListingsListingIdRankError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::rank error payload for HTTP 400.","x-handler-derived":"PortalListingRankHandler::rank"},"PortalGetPortalTenantIdListingsListingIdRankError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::rank error payload for HTTP 401.","x-handler-derived":"PortalListingRankHandler::rank"},"PortalGetPortalTenantIdListingsListingIdRankError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::rank error payload for HTTP 403.","x-handler-derived":"PortalListingRankHandler::rank"},"PortalGetPortalTenantIdListingsListingIdRankError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingRankHandler::rank error payload for HTTP 404.","x-handler-derived":"PortalListingRankHandler::rank"},"PortalGetPortalTenantIdListingsListingIdRankResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalListingRankHandler::rank.","x-handler-record":"PortalListingRankHandler::rank"},"PortalGetPortalTenantIdListingsListingIdSimilarError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalTenantIdListingsListingIdSimilarError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalTenantIdListingsListingIdSimilarError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalTenantIdListingsListingIdSimilarError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalTenantIdListingsListingIdSimilarError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::similar error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::similar"},"PortalGetPortalTenantIdListingsListingIdSimilarResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::similar."},"listingId":{"description":"Field serialized by PortalListingsHandler::similar."},"items":{"description":"Field serialized by PortalListingsHandler::similar."}}},"PortalGetPortalTenantIdListingsTransfersError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::index error payload for HTTP 400.","x-handler-derived":"PortalListingTransferHandler::index"},"PortalGetPortalTenantIdListingsTransfersError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::index error payload for HTTP 401.","x-handler-derived":"PortalListingTransferHandler::index"},"PortalGetPortalTenantIdListingsTransfersError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::index error payload for HTTP 403.","x-handler-derived":"PortalListingTransferHandler::index"},"PortalGetPortalTenantIdListingsTransfersError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::index error payload for HTTP 429.","x-handler-derived":"PortalListingTransferHandler::index"},"PortalGetPortalTenantIdListingsTransfersError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::index error payload for HTTP 500.","x-handler-derived":"PortalListingTransferHandler::index"},"PortalGetPortalTenantIdListingsTransfersResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingTransferHandler::index."},"items":{"description":"Field serialized by PortalListingTransferHandler::index."}}},"PortalGetPortalTenantIdModeratorQueueError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::list error payload for HTTP 400.","x-handler-derived":"ModeratorQueueHandler::list"},"PortalGetPortalTenantIdModeratorQueueError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::list error payload for HTTP 401.","x-handler-derived":"ModeratorQueueHandler::list"},"PortalGetPortalTenantIdModeratorQueueError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::list error payload for HTTP 403.","x-handler-derived":"ModeratorQueueHandler::list"},"PortalGetPortalTenantIdModeratorQueueError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::list error payload for HTTP 404.","x-handler-derived":"ModeratorQueueHandler::list"},"PortalGetPortalTenantIdModeratorQueueError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::list error payload for HTTP 500.","x-handler-derived":"ModeratorQueueHandler::list"},"PortalGetPortalTenantIdModeratorQueueIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::detail error payload for HTTP 400.","x-handler-derived":"ModeratorQueueHandler::detail"},"PortalGetPortalTenantIdModeratorQueueIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::detail error payload for HTTP 401.","x-handler-derived":"ModeratorQueueHandler::detail"},"PortalGetPortalTenantIdModeratorQueueIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::detail error payload for HTTP 403.","x-handler-derived":"ModeratorQueueHandler::detail"},"PortalGetPortalTenantIdModeratorQueueIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::detail error payload for HTTP 404.","x-handler-derived":"ModeratorQueueHandler::detail"},"PortalGetPortalTenantIdModeratorQueueIdHistoryError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::history error payload for HTTP 400.","x-handler-derived":"ModeratorQueueHandler::history"},"PortalGetPortalTenantIdModeratorQueueIdHistoryError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::history error payload for HTTP 401.","x-handler-derived":"ModeratorQueueHandler::history"},"PortalGetPortalTenantIdModeratorQueueIdHistoryError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::history error payload for HTTP 403.","x-handler-derived":"ModeratorQueueHandler::history"},"PortalGetPortalTenantIdModeratorQueueIdHistoryError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::history error payload for HTTP 404.","x-handler-derived":"ModeratorQueueHandler::history"},"PortalGetPortalTenantIdModeratorQueueIdHistoryError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::history error payload for HTTP 500.","x-handler-derived":"ModeratorQueueHandler::history"},"PortalGetPortalTenantIdModeratorQueueIdHistoryResponse":{"type":"object","additionalProperties":false,"properties":{"queue_item_id":{"description":"Field serialized by ModeratorQueueHandler::history."},"items":{"description":"Field serialized by ModeratorQueueHandler::history."},"total":{"description":"Field serialized by ModeratorQueueHandler::history."}}},"PortalGetPortalTenantIdModeratorQueueIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by ModeratorQueueHandler::detail.","x-handler-record":"ModeratorQueueHandler::detail"},"PortalGetPortalTenantIdModeratorQueueResponse":{"type":"object","additionalProperties":false,"properties":{"actor_id":{"type":"string"},"can_assign":{"type":"boolean"},"items":{"description":"Field serialized by ModeratorQueueHandler::list."},"page":{"description":"Field serialized by ModeratorQueueHandler::list."},"size":{"description":"Field serialized by ModeratorQueueHandler::list."},"total":{"description":"Field serialized by ModeratorQueueHandler::list."},"pages":{"description":"Field serialized by ModeratorQueueHandler::list."}}},"PortalGetPortalTenantIdNotificationSettingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::getSettings error payload for HTTP 400.","x-handler-derived":"NotificationSettingsHandler::getSettings"},"PortalGetPortalTenantIdNotificationSettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::getSettings error payload for HTTP 401.","x-handler-derived":"NotificationSettingsHandler::getSettings"},"PortalGetPortalTenantIdNotificationSettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::getSettings error payload for HTTP 403.","x-handler-derived":"NotificationSettingsHandler::getSettings"},"PortalGetPortalTenantIdNotificationSettingsResponse":{"type":"object","additionalProperties":false,"properties":{"settings":{"description":"Field serialized by NotificationSettingsHandler::getSettings."},"notification_types":{"description":"Field serialized by NotificationSettingsHandler::getSettings."},"code":{"description":"Field serialized by NotificationSettingsHandler::getSettings."},"message":{"description":"Field serialized by NotificationSettingsHandler::getSettings."}}},"PortalGetPortalTenantIdOrdersError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::listOrders error payload for HTTP 400.","x-handler-derived":"PortalCheckoutHandler::listOrders"},"PortalGetPortalTenantIdOrdersError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::listOrders error payload for HTTP 401.","x-handler-derived":"PortalCheckoutHandler::listOrders"},"PortalGetPortalTenantIdOrdersError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::listOrders error payload for HTTP 403.","x-handler-derived":"PortalCheckoutHandler::listOrders"},"PortalGetPortalTenantIdOrdersOrderIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::orderDetail error payload for HTTP 400.","x-handler-derived":"PortalCheckoutHandler::orderDetail"},"PortalGetPortalTenantIdOrdersOrderIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::orderDetail error payload for HTTP 401.","x-handler-derived":"PortalCheckoutHandler::orderDetail"},"PortalGetPortalTenantIdOrdersOrderIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::orderDetail error payload for HTTP 403.","x-handler-derived":"PortalCheckoutHandler::orderDetail"},"PortalGetPortalTenantIdOrdersOrderIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::orderDetail error payload for HTTP 404.","x-handler-derived":"PortalCheckoutHandler::orderDetail"},"PortalGetPortalTenantIdOrdersOrderIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCheckoutHandler::orderDetail."},"message":{"description":"Field serialized by PortalCheckoutHandler::orderDetail."}}},"PortalGetPortalTenantIdOrdersResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCheckoutHandler::listOrders."},"message":{"description":"Field serialized by PortalCheckoutHandler::listOrders."},"items":{"description":"Field serialized by PortalCheckoutHandler::listOrders."}}},"PortalGetPortalTenantIdProfilesSlugError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publicShow error payload for HTTP 404.","x-handler-derived":"PortalProfileHandler::publicShow"},"PortalGetPortalTenantIdProfilesSlugError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publicShow error payload for HTTP 429.","x-handler-derived":"PortalProfileHandler::publicShow"},"PortalGetPortalTenantIdProfilesSlugError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publicShow error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::publicShow"},"PortalGetPortalTenantIdRedirectsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::list error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::list"},"PortalGetPortalTenantIdRedirectsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::list error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::list"},"PortalGetPortalTenantIdRedirectsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::list error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::list"},"PortalGetPortalTenantIdRedirectsResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalLegacyRedirectHandler::list."},"total":{"description":"Field serialized by PortalLegacyRedirectHandler::list."}}},"PortalGetPortalTenantIdRedirectsTestError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::test error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::test"},"PortalGetPortalTenantIdRedirectsTestError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::test error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::test"},"PortalGetPortalTenantIdRedirectsTestError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::test error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::test"},"PortalGetPortalTenantIdRedirectsTestResponse":{"type":"object","additionalProperties":false,"properties":{"matched":{"description":"Field serialized by PortalLegacyRedirectHandler::test."},"message":{"description":"Field serialized by PortalLegacyRedirectHandler::test."},"target":{"description":"Field serialized by PortalLegacyRedirectHandler::test."},"statusCode":{"description":"Field serialized by PortalLegacyRedirectHandler::test."},"rule":{"description":"Field serialized by PortalLegacyRedirectHandler::test."}}},"PortalGetPortalTenantIdResolveRedirectError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::resolve error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::resolve"},"PortalGetPortalTenantIdResolveRedirectError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::resolve error payload for HTTP 404.","x-handler-derived":"PortalLegacyRedirectHandler::resolve"},"PortalGetPortalTenantIdResolveRedirectError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::resolve error payload for HTTP 500.","x-handler-derived":"PortalLegacyRedirectHandler::resolve"},"PortalGetPortalTenantIdResolveRedirectResponse":{"type":"object","additionalProperties":false,"properties":{"matched":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"message":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"target":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"statusCode":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"rule":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"id":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"pattern_type":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."},"source_pattern":{"description":"Field serialized by PortalLegacyRedirectHandler::resolve."}}},"PortalGetPortalTenantIdSavedSearchesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::list error payload for HTTP 400.","x-handler-derived":"SavedSearchesHandler::list"},"PortalGetPortalTenantIdSavedSearchesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::list error payload for HTTP 401.","x-handler-derived":"SavedSearchesHandler::list"},"PortalGetPortalTenantIdSavedSearchesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::list error payload for HTTP 403.","x-handler-derived":"SavedSearchesHandler::list"},"PortalGetPortalTenantIdSavedSearchesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::detail error payload for HTTP 400.","x-handler-derived":"SavedSearchesHandler::detail"},"PortalGetPortalTenantIdSavedSearchesIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::detail error payload for HTTP 401.","x-handler-derived":"SavedSearchesHandler::detail"},"PortalGetPortalTenantIdSavedSearchesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::detail error payload for HTTP 403.","x-handler-derived":"SavedSearchesHandler::detail"},"PortalGetPortalTenantIdSavedSearchesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::detail error payload for HTTP 404.","x-handler-derived":"SavedSearchesHandler::detail"},"PortalGetPortalTenantIdSavedSearchesIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SavedSearchesHandler::detail."},"message":{"description":"Field serialized by SavedSearchesHandler::detail."}}},"PortalGetPortalTenantIdSavedSearchesResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SavedSearchesHandler::list."},"message":{"description":"Field serialized by SavedSearchesHandler::list."},"items":{"description":"Field serialized by SavedSearchesHandler::list."},"page":{"description":"Field serialized by SavedSearchesHandler::list."},"size":{"description":"Field serialized by SavedSearchesHandler::list."},"total":{"description":"Field serialized by SavedSearchesHandler::list."},"pages":{"description":"Field serialized by SavedSearchesHandler::list."}}},"PortalGetPortalTenantIdSchemaRegistryPortalIdDiffError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::diff error payload for HTTP 400.","x-handler-derived":"PortalSchemaRegistryHandler::diff"},"PortalGetPortalTenantIdSchemaRegistryPortalIdDiffError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::diff error payload for HTTP 401.","x-handler-derived":"PortalSchemaRegistryHandler::diff"},"PortalGetPortalTenantIdSchemaRegistryPortalIdDiffError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::diff error payload for HTTP 403.","x-handler-derived":"PortalSchemaRegistryHandler::diff"},"PortalGetPortalTenantIdSchemaRegistryPortalIdDiffError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::diff error payload for HTTP 404.","x-handler-derived":"PortalSchemaRegistryHandler::diff"},"PortalGetPortalTenantIdSchemaRegistryPortalIdDiffResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSchemaRegistryHandler::diff."},"error":{"description":"Field serialized by PortalSchemaRegistryHandler::diff."}}},"PortalGetPortalTenantIdSchemaRegistryPortalIdPublishedError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::published error payload for HTTP 400.","x-handler-derived":"PortalSchemaRegistryHandler::published"},"PortalGetPortalTenantIdSchemaRegistryPortalIdPublishedError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::published error payload for HTTP 404.","x-handler-derived":"PortalSchemaRegistryHandler::published"},"PortalGetPortalTenantIdSchemaRegistryPortalIdPublishedError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::published error payload for HTTP 429.","x-handler-derived":"PortalSchemaRegistryHandler::published"},"PortalGetPortalTenantIdSchemaRegistryPortalIdPublishedResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSchemaRegistryHandler::published."},"error":{"description":"Field serialized by PortalSchemaRegistryHandler::published."}}},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::listVersions error payload for HTTP 400.","x-handler-derived":"PortalSchemaRegistryHandler::listVersions"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::listVersions error payload for HTTP 401.","x-handler-derived":"PortalSchemaRegistryHandler::listVersions"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::listVersions error payload for HTTP 403.","x-handler-derived":"PortalSchemaRegistryHandler::listVersions"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsResponse":{"type":"object","additionalProperties":false,"properties":{"versions":{"description":"Field serialized by PortalSchemaRegistryHandler::listVersions."},"success":{"description":"Field serialized by PortalSchemaRegistryHandler::listVersions."},"error":{"description":"Field serialized by PortalSchemaRegistryHandler::listVersions."}}},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsVersionError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::getVersion error payload for HTTP 400.","x-handler-derived":"PortalSchemaRegistryHandler::getVersion"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsVersionError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::getVersion error payload for HTTP 401.","x-handler-derived":"PortalSchemaRegistryHandler::getVersion"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsVersionError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::getVersion error payload for HTTP 403.","x-handler-derived":"PortalSchemaRegistryHandler::getVersion"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsVersionError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::getVersion error payload for HTTP 404.","x-handler-derived":"PortalSchemaRegistryHandler::getVersion"},"PortalGetPortalTenantIdSchemaRegistryPortalIdVersionsVersionResponse":{"type":"object","additionalProperties":false,"properties":{"schema":{"description":"Field serialized by PortalSchemaRegistryHandler::getVersion."},"success":{"description":"Field serialized by PortalSchemaRegistryHandler::getVersion."},"error":{"description":"Field serialized by PortalSchemaRegistryHandler::getVersion."}}},"PortalGetPortalTenantIdSeoError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::list error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::list"},"PortalGetPortalTenantIdSeoError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::list error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::list"},"PortalGetPortalTenantIdSeoError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::list error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::list"},"PortalGetPortalTenantIdSeoPagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::listPages error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::listPages"},"PortalGetPortalTenantIdSeoPagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::listPages error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::listPages"},"PortalGetPortalTenantIdSeoPagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::listPages error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::listPages"},"PortalGetPortalTenantIdSeoPagesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::getPage error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::getPage"},"PortalGetPortalTenantIdSeoPagesIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::getPage error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::getPage"},"PortalGetPortalTenantIdSeoPagesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::getPage error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::getPage"},"PortalGetPortalTenantIdSeoPagesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::getPage error payload for HTTP 404.","x-handler-derived":"PortalSeoHandler::getPage"},"PortalGetPortalTenantIdSeoPagesIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSeoHandler::getPage.","x-handler-record":"PortalSeoHandler::getPage"},"PortalGetPortalTenantIdSeoPagesRenderError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::renderPage error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::renderPage"},"PortalGetPortalTenantIdSeoPagesRenderResponse":{"type":"object","additionalProperties":false,"properties":{"path":{"description":"Field serialized by PortalSeoHandler::renderPage."},"html":{"description":"Field serialized by PortalSeoHandler::renderPage."},"meta":{"description":"Field serialized by PortalSeoHandler::renderPage."},"title":{"description":"Field serialized by PortalSeoHandler::renderPage."},"description":{"description":"Field serialized by PortalSeoHandler::renderPage."},"keywords":{"description":"Field serialized by PortalSeoHandler::renderPage."},"og_title":{"description":"Field serialized by PortalSeoHandler::renderPage."},"og_description":{"description":"Field serialized by PortalSeoHandler::renderPage."},"og_image":{"description":"Field serialized by PortalSeoHandler::renderPage."},"canonical_url":{"description":"Field serialized by PortalSeoHandler::renderPage."},"robots":{"description":"Field serialized by PortalSeoHandler::renderPage."},"structured_data":{"description":"Field serialized by PortalSeoHandler::renderPage."}}},"PortalGetPortalTenantIdSeoPagesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalSeoHandler::listPages."}}},"PortalGetPortalTenantIdSeoPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::get error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::get"},"PortalGetPortalTenantIdSeoPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::get error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::get"},"PortalGetPortalTenantIdSeoPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::get error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::get"},"PortalGetPortalTenantIdSeoPortalIdMetaError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::meta error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::meta"},"PortalGetPortalTenantIdSeoPortalIdMetaResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSeoHandler::meta.","x-handler-record":"PortalSeoHandler::meta"},"PortalGetPortalTenantIdSeoPortalIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSeoHandler::get.","x-handler-record":"PortalSeoHandler::get"},"PortalGetPortalTenantIdSeoResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by PortalSeoHandler::list."}}},"PortalGetPortalTenantIdServicesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listMine error payload for HTTP 400.","x-handler-derived":"PortalServiceCancellationHandler::listMine"},"PortalGetPortalTenantIdServicesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listMine error payload for HTTP 401.","x-handler-derived":"PortalServiceCancellationHandler::listMine"},"PortalGetPortalTenantIdServicesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listMine error payload for HTTP 403.","x-handler-derived":"PortalServiceCancellationHandler::listMine"},"PortalGetPortalTenantIdServicesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listMine error payload for HTTP 404.","x-handler-derived":"PortalServiceCancellationHandler::listMine"},"PortalGetPortalTenantIdServicesError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listMine error payload for HTTP 422.","x-handler-derived":"PortalServiceCancellationHandler::listMine"},"PortalGetPortalTenantIdServicesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::listMine error payload for HTTP 503.","x-handler-derived":"PortalServiceCancellationHandler::listMine"},"PortalGetPortalTenantIdShopViewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::snapshot error payload for HTTP 400.","x-handler-derived":"PortalShopViewHandler::snapshot"},"PortalGetPortalTenantIdShopViewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::snapshot error payload for HTTP 401.","x-handler-derived":"PortalShopViewHandler::snapshot"},"PortalGetPortalTenantIdShopViewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::snapshot error payload for HTTP 403.","x-handler-derived":"PortalShopViewHandler::snapshot"},"PortalGetPortalTenantIdShopViewError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::snapshot error payload for HTTP 503.","x-handler-derived":"PortalShopViewHandler::snapshot"},"PortalGetPortalTenantIdShopViewResponse":{"type":"object","additionalProperties":false,"properties":{"ended":{"description":"Field serialized by PortalShopViewHandler::snapshot."}}},"PortalGetPortalTenantIdSitemapIndexXmlError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::sitemapIndex error payload for HTTP 400.","x-handler-derived":"PortalSitemapHandler::sitemapIndex"},"PortalGetPortalTenantIdSitemapIndexXmlError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::sitemapIndex error payload for HTTP 500.","x-handler-derived":"PortalSitemapHandler::sitemapIndex"},"PortalGetPortalTenantIdSitemapIndexXmlResponse":{"type":"string","description":"Document body written by PortalSitemapHandler::sitemapIndex."},"PortalGetPortalTenantIdSitemapStatusError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::status error payload for HTTP 400.","x-handler-derived":"PortalSitemapHandler::status"},"PortalGetPortalTenantIdSitemapStatusError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::status error payload for HTTP 401.","x-handler-derived":"PortalSitemapHandler::status"},"PortalGetPortalTenantIdSitemapStatusError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::status error payload for HTTP 403.","x-handler-derived":"PortalSitemapHandler::status"},"PortalGetPortalTenantIdSitemapStatusResponse":{"type":"object","additionalProperties":false,"properties":{"tenant_id":{"description":"Field serialized by PortalSitemapHandler::status."},"items":{"description":"Field serialized by PortalSitemapHandler::status."}}},"PortalGetPortalTenantIdSitemapXmlError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::sitemap error payload for HTTP 400.","x-handler-derived":"PortalSitemapHandler::sitemap"},"PortalGetPortalTenantIdSitemapXmlError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::sitemap error payload for HTTP 500.","x-handler-derived":"PortalSitemapHandler::sitemap"},"PortalGetPortalTenantIdSitemapXmlResponse":{"type":"string","description":"Document body written by PortalSitemapHandler::sitemap."},"PortalGetPortalTenantIdSubscriptionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::list error payload for HTTP 400.","x-handler-derived":"SubscriptionActivationHandler::list"},"PortalGetPortalTenantIdSubscriptionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::list error payload for HTTP 401.","x-handler-derived":"SubscriptionActivationHandler::list"},"PortalGetPortalTenantIdSubscriptionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::list error payload for HTTP 403.","x-handler-derived":"SubscriptionActivationHandler::list"},"PortalGetPortalTenantIdSubscriptionsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::detail error payload for HTTP 400.","x-handler-derived":"SubscriptionActivationHandler::detail"},"PortalGetPortalTenantIdSubscriptionsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::detail error payload for HTTP 401.","x-handler-derived":"SubscriptionActivationHandler::detail"},"PortalGetPortalTenantIdSubscriptionsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::detail error payload for HTTP 403.","x-handler-derived":"SubscriptionActivationHandler::detail"},"PortalGetPortalTenantIdSubscriptionsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::detail error payload for HTTP 404.","x-handler-derived":"SubscriptionActivationHandler::detail"},"PortalGetPortalTenantIdSubscriptionsIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SubscriptionActivationHandler::detail."},"message":{"description":"Field serialized by SubscriptionActivationHandler::detail."}}},"PortalGetPortalTenantIdSubscriptionsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SubscriptionActivationHandler::list."},"message":{"description":"Field serialized by SubscriptionActivationHandler::list."},"tenantId":{"description":"Field serialized by SubscriptionActivationHandler::list."},"userId":{"description":"Field serialized by SubscriptionActivationHandler::list."},"items":{"description":"Field serialized by SubscriptionActivationHandler::list."}}},"PortalGetPortalTenantIdUserPreferencesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UserPreferencesHandler::getPreferences error payload for HTTP 400.","x-handler-derived":"UserPreferencesHandler::getPreferences"},"PortalGetPortalTenantIdUserPreferencesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UserPreferencesHandler::getPreferences error payload for HTTP 401.","x-handler-derived":"UserPreferencesHandler::getPreferences"},"PortalGetPortalTenantIdUserPreferencesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UserPreferencesHandler::getPreferences error payload for HTTP 403.","x-handler-derived":"UserPreferencesHandler::getPreferences"},"PortalGetPortalTenantIdUserPreferencesResponse":{"type":"object","additionalProperties":false,"properties":{"preferences":{"description":"Field serialized by UserPreferencesHandler::getPreferences."},"code":{"description":"Field serialized by UserPreferencesHandler::getPreferences."},"message":{"description":"Field serialized by UserPreferencesHandler::getPreferences."}}},"PortalGetPortalTenantIdVipFeaturesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::features error payload for HTTP 401.","x-handler-derived":"PortalVipApi::features"},"PortalGetPortalTenantIdVipFeaturesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::features error payload for HTTP 403.","x-handler-derived":"PortalVipApi::features"},"PortalGetPortalTenantIdVipFeaturesResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalVipApi::features."},"features":{"description":"Field serialized by PortalVipApi::features."},"feature_catalog":{"description":"Field serialized by PortalVipApi::features."}}},"PortalGetPortalTenantIdVipInfoError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::info error payload for HTTP 400.","x-handler-derived":"PortalVipApi::info"},"PortalGetPortalTenantIdVipInfoError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::info error payload for HTTP 401.","x-handler-derived":"PortalVipApi::info"},"PortalGetPortalTenantIdVipInfoError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::info error payload for HTTP 403.","x-handler-derived":"PortalVipApi::info"},"PortalGetPortalTenantIdVipInfoResponse":{"type":"object","additionalProperties":false,"properties":{"available":{"description":"Field serialized by PortalVipApi::info."},"cluster":{"description":"Field serialized by PortalVipApi::info."},"features":{"description":"Field serialized by PortalVipApi::info."},"feature_catalog":{"description":"Field serialized by PortalVipApi::info."},"cross_cutting":{"description":"Field serialized by PortalVipApi::info."},"cross_cutting_catalog":{"description":"Field serialized by PortalVipApi::info."},"error":{"description":"Field serialized by PortalVipApi::info."},"message":{"description":"Field serialized by PortalVipApi::info."}}},"PortalGetPortalTenantIdVipStatusError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::status error payload for HTTP 401.","x-handler-derived":"PortalVipApi::status"},"PortalGetPortalTenantIdVipStatusError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalVipApi::status error payload for HTTP 403.","x-handler-derived":"PortalVipApi::status"},"PortalGetPortalTenantIdVipStatusResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by PortalVipApi::status."},"message":{"description":"Field serialized by PortalVipApi::status."}}},"PortalGetPortalUiConfigError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UiConfigHandler::get error payload for HTTP 429.","x-handler-derived":"UiConfigHandler::get"},"PortalGetPortalUiConfigResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by UiConfigHandler::get.","x-handler-record":"UiConfigHandler::get"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 413.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdAttachmentIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAttachmentHandler::handle."},"shop":{"description":"Field serialized by PortalAttachmentHandler::handle."},"items":{"description":"Field serialized by PortalAttachmentHandler::handle."},"can_edit":{"description":"Field serialized by PortalAttachmentHandler::handle."},"deleted":{"description":"Field serialized by PortalAttachmentHandler::handle."},"id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"listing_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"title":{"description":"Field serialized by PortalAttachmentHandler::handle."},"media_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"filename":{"description":"Field serialized by PortalAttachmentHandler::handle."},"mime_type":{"description":"Field serialized by PortalAttachmentHandler::handle."},"size_bytes":{"description":"Field serialized by PortalAttachmentHandler::handle."},"embed_url":{"description":"Field serialized by PortalAttachmentHandler::handle."}}},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 413.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalGetPublicPortalTenantIdListingAttachmentsResourceIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAttachmentHandler::handle."},"shop":{"description":"Field serialized by PortalAttachmentHandler::handle."},"items":{"description":"Field serialized by PortalAttachmentHandler::handle."},"can_edit":{"description":"Field serialized by PortalAttachmentHandler::handle."},"deleted":{"description":"Field serialized by PortalAttachmentHandler::handle."},"id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"listing_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"title":{"description":"Field serialized by PortalAttachmentHandler::handle."},"media_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"filename":{"description":"Field serialized by PortalAttachmentHandler::handle."},"mime_type":{"description":"Field serialized by PortalAttachmentHandler::handle."},"size_bytes":{"description":"Field serialized by PortalAttachmentHandler::handle."},"embed_url":{"description":"Field serialized by PortalAttachmentHandler::handle."}}},"PortalGetUiConfigError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UiConfigHandler::get error payload for HTTP 429.","x-handler-derived":"UiConfigHandler::get"},"PortalGetUiConfigResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by UiConfigHandler::get.","x-handler-record":"UiConfigHandler::get"},"PortalGift":{"type":"object","properties":{"id":{"type":"string"},"codeHint":{"type":"string"},"orderRef":{"type":"string"},"lineNo":{"type":"integer"},"productId":{"type":"string"},"kind":{"type":"string","enum":["premium","verified","kontakt_plus"]},"months":{"type":"integer"},"buyerUserId":{"type":"integer"},"recipientEmail":{"type":"string","nullable":true},"status":{"type":"string","enum":["issued","redeemed","void"]},"redeemedByUserId":{"type":"integer","nullable":true},"redeemedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"}}},"PortalGiftList":{"type":"object","properties":{"gifts":{"type":"array","items":{"$ref":"#/components/schemas/PortalGift"}}}},"PortalGiftRedeemed":{"type":"object","properties":{"redeemed":{"type":"object","properties":{"kind":{"type":"string"},"months":{"type":"integer"},"listingId":{"type":"string","nullable":true},"validUntil":{"type":"string","nullable":true},"previousUntil":{"type":"string","nullable":true},"giftId":{"type":"string"}}}}},"PortalGiftResent":{"type":"object","properties":{"gift":{"$ref":"#/components/schemas/PortalGift"},"code":{"type":"string"}}},"PortalGiftVoided":{"type":"object","properties":{"giftId":{"type":"string"},"status":{"type":"string"}}},"PortalIncomeAmounts":{"type":"object","required":["gross_amount","net_amount","vat_amount","entry_count"],"properties":{"gross_minor":{"type":"integer"},"net_minor":{"type":"integer"},"vat_minor":{"type":"integer"},"gross_amount":{"type":"string","pattern":"^-?[0-9]+[.][0-9]{2}$"},"net_amount":{"type":"string","pattern":"^-?[0-9]+[.][0-9]{2}$"},"vat_amount":{"type":"string","pattern":"^-?[0-9]+[.][0-9]{2}$"},"entry_count":{"type":"integer","minimum":0}}},"PortalIncomeExpenseLine":{"type":"object","required":["income","expense","result"],"properties":{"income":{"$ref":"#/components/schemas/PortalIncomeAmounts"},"expense":{"$ref":"#/components/schemas/PortalIncomeAmounts"},"result":{"$ref":"#/components/schemas/PortalAmountDifference"}}},"PortalInquiryBoard":{"type":"object","required":["consent","columns","items"],"properties":{"consent":{"type":"boolean"},"columns":{"type":"array","items":{"type":"object","required":["column_id","title","position"],"properties":{"column_id":{"type":"string"},"title":{"type":"string","nullable":true},"position":{"type":"integer"}}}},"items":{"type":"array","items":{"type":"object","required":["source","id","listing_id","direction","message","created_at","column_id"],"properties":{"source":{"type":"string","enum":["inquiry","message"]},"id":{"oneOf":[{"type":"integer"},{"type":"string"}]},"listing_id":{"type":"string"},"direction":{"type":"string","enum":["sent","received"]},"counterpart_email":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"created_at":{"type":"string"},"column_id":{"type":"string"}}}}}},"PortalInquiryFieldTemplate":{"type":"object","description":"Operator template of extra inquiry questions. listing_type \"\" offers it for every listing of the portal; otherwise only for listings of that type (ITT: portal_listings.type, Classic: the portal key).","required":["id","label","listing_type","fields"],"properties":{"id":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,31}$"},"label":{"description":"Plain text or a de/en/es/it map, at most 120 characters.","oneOf":[{"type":"string","maxLength":120},{"type":"object","additionalProperties":{"type":"string","maxLength":120}}]},"listing_type":{"type":"string","pattern":"^(?:[a-z0-9][a-z0-9_-]{0,99})?$","default":""},"fields":{"type":"array","minItems":1,"maxItems":20,"description":"SimpleField definitions of @itt/platform-mdf-form-view, portal profile (no url type, max 30 options, 2000 characters).","items":{"type":"object","additionalProperties":true}}}},"PortalInquiryFieldTemplatesError":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"trace_id":{"type":"string"},"details":{"type":"object","nullable":true,"properties":{"errors":{"type":"array","items":{"type":"string"}}}}}},"PortalInquiryFieldTemplatesResponse":{"type":"object","required":["tenant_id","templates","limits"],"properties":{"tenant_id":{"type":"string"},"templates":{"type":"array","items":{"$ref":"#/components/schemas/PortalInquiryFieldTemplate"}},"limits":{"type":"object","properties":{"templates":{"type":"integer"},"fields":{"type":"integer"},"options":{"type":"integer"},"label":{"type":"integer"}}}}},"PortalInquiryPlansResponse":{"type":"object","properties":{"enabled":{"type":"boolean"},"free":{"type":["object","null"],"properties":{"limit":{"type":"integer"},"days":{"type":"integer"},"spam_protection":{"type":"string"},"guaranteed":{"type":"boolean"}}},"ceiling":{"type":["object","null"],"properties":{"limit":{"type":"integer"},"days":{"type":"integer"}}},"addons":{"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string"},"tier":{"type":"string"},"effect":{"type":"string","enum":["bonus","unlimited"]},"limit":{"type":["integer","null"]},"days":{"type":["integer","null"]}}}}}},"PortalInquiryWaitingItem":{"type":"object","properties":{"id":{"type":"integer"},"listing_id":{"type":"string"},"listing_title":{"type":"string"},"sender_name":{"type":"string"},"subject":{"type":["string","null"]},"message":{"type":"string"},"answer_mode":{"type":"string"},"status":{"type":"string","enum":["waiting","sending","sent","review","releasing"]},"sendable":{"type":"boolean"},"notify":{"type":"boolean"},"notified_at":{"type":["string","null"]},"sent_at":{"type":["string","null"]},"source":{"type":"string","enum":["account","guest_import"]},"created_at":{"type":"string"},"auto_send":{"type":"boolean","description":"Explicit per-row opt-in: sent automatically through the manual-send guards once the quota allows."},"auto_send_planned_at":{"type":["string","null"],"description":"Expected first job run after the quota window opens (ISO 8601); null without auto_send."},"auto_send_reason":{"type":["string","null"],"description":"Guard code of the last refused auto-send (e.g. LISTING_INACTIVE, CONTACT_NOT_POSSIBLE); the row stays waiting."}}},"PortalInquiryWaitingListResponse":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PortalInquiryWaitingItem"}},"quota":{"$ref":"#/components/schemas/PortalInquiryWaitingQuota"},"trace_id":{"type":"string"}}},"PortalInquiryWaitingQuota":{"type":"object","properties":{"sendable_now":{"type":"boolean"},"available_at":{"type":["string","null"],"description":"UTC ISO time the free quota allows the next inquiry."},"limit":{"type":["integer","null"]},"remaining":{"type":["integer","null"]},"period_days":{"type":["integer","null"]},"relief_tier":{"type":["string","null"]},"bonus":{"type":"integer"}}},"PortalInquiryWaitingSaveRequest":{"type":"object","required":["listing_id","name","message"],"properties":{"listing_id":{"type":"string","maxLength":64},"name":{"type":"string","maxLength":160},"message":{"type":"string","maxLength":10000},"subject":{"type":"string","maxLength":500},"answer_mode":{"type":"string"},"notify":{"type":"boolean"},"source":{"type":"string","enum":["account","guest_import"]},"auto_send":{"type":"boolean","description":"The click on save-and-send-automatically is the consent (owner 2026-11-03)."}}},"PortalInquiryWaitingSaveResponse":{"type":"object","properties":{"id":{"type":"integer"},"status":{"type":"string"},"reused":{"type":"boolean"},"auto_send":{"type":"boolean"},"auto_send_planned_at":{"type":["string","null"]},"quota":{"$ref":"#/components/schemas/PortalInquiryWaitingQuota"},"message":{"type":"string"},"trace_id":{"type":"string"}}},"PortalInquiryWaitingSendResponse":{"type":"object","properties":{"success":{"type":"boolean"},"inquiry_id":{"type":"integer"},"message":{"type":"string"},"answer_mode":{"type":"string"},"human_required":{"type":"boolean"},"queued_for_human":{"type":"boolean"},"trace_id":{"type":"string"}}},"PortalInquiryWaitingUpdateRequest":{"type":"object","properties":{"notify":{"type":"boolean"},"auto_send":{"type":"boolean"}},"description":"At least one of notify or auto_send; auto_send false cancels the automatic send.","minProperties":1},"PortalInquiryWaitingUpdateResponse":{"type":"object","properties":{"id":{"type":"integer"},"notify":{"type":"boolean"},"auto_send":{"type":"boolean"},"auto_send_planned_at":{"type":["string","null"]},"trace_id":{"type":"string"}}},"PortalInvoiceArchiveItem":{"type":"object","required":["archive_id","invoice_number","content_sha256"],"properties":{"archive_id":{"type":"string"},"invoice_number":{"type":"string"},"content_sha256":{"type":"string"},"document_id":{"type":"string","nullable":true},"order_id":{"type":"string","nullable":true},"order_number":{"type":"string","nullable":true},"archived_at":{"type":"string"},"filename":{"type":"string"},"net_minor":{"type":"integer","nullable":true},"vat_minor":{"type":"integer","nullable":true},"gross_minor":{"type":"integer","nullable":true},"currency":{"type":"string","nullable":true}}},"PortalInvoiceArchivePageResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["items","total","limit","offset","has_more","period_basis"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PortalInvoiceArchiveItem"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"period_basis":{"type":"string","enum":["archived_at"]}}}}},"PortalInvoiceArchiveReviewResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","required":["draft_id","document_id","archive_id","reused","sent","content_sha256"],"properties":{"draft_id":{"type":"integer"},"document_id":{"type":"string"},"archive_id":{"type":"string"},"reused":{"type":"boolean"},"sent":{"type":"boolean","enum":[false]},"content_sha256":{"type":"string"}}}}},"PortalListingAudit":{"type":"object","additionalProperties":false,"required":["listingId","currentHash","storedHash","verifiedHash","verifiedBy","verifiedAt","reviewEventId","baselineStatus","baselineHash","hasChanges","changes","history","truncated"],"properties":{"listingId":{"type":"integer","minimum":1},"currentHash":{"type":"string","nullable":true},"storedHash":{"type":"string"},"verifiedHash":{"type":"string","description":"Original verification commitment; not necessarily a content hash"},"verifiedBy":{"type":"string","nullable":true},"verifiedAt":{"type":"string","nullable":true},"reviewEventId":{"type":"string","nullable":true},"baselineStatus":{"type":"string","enum":["available","not_reviewed","unavailable"]},"baselineHash":{"type":"string","nullable":true},"hasChanges":{"type":"boolean","nullable":true},"changes":{"type":"array","items":{"$ref":"#/components/schemas/PortalListingAuditChange"}},"history":{"type":"array","maxItems":400,"items":{"$ref":"#/components/schemas/PortalListingAuditEvent"}},"truncated":{"type":"boolean"}}},"PortalListingAuditChange":{"type":"object","additionalProperties":false,"required":["field","before","after"],"properties":{"field":{"type":"string","enum":["title","description","properties_json","images_json"]},"before":{"type":"string"},"after":{"type":"string"}}},"PortalListingAuditEvent":{"type":"object","additionalProperties":false,"required":["id","source","action","decision","actorId","createdAt","contentHash","verifiedHash","beforeHash","afterHash","changes"],"properties":{"id":{"type":"string"},"source":{"type":"string","enum":["events","portal_event_log"]},"action":{"type":"string"},"decision":{"type":"string","nullable":true},"actorId":{"type":"string","nullable":true},"createdAt":{"type":"string","description":"UTC database timestamp with microseconds"},"contentHash":{"type":"string","nullable":true},"verifiedHash":{"type":"string","nullable":true},"beforeHash":{"type":"string","nullable":true},"afterHash":{"type":"string","nullable":true},"changes":{"type":"array","items":{"$ref":"#/components/schemas/PortalListingAuditChange"}}}},"PortalListingEditLimitPolicy":{"type":"object","additionalProperties":false,"properties":{"max_edits":{"type":"integer","minimum":0,"maximum":100000,"description":"Per-listing user saves per period; 0 disables the limit. Admin saves and hides are exempt."},"period_days":{"type":"integer","minimum":1,"maximum":3650},"window_type":{"type":"string","enum":["rolling","fixed"]},"window_anchor":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","description":"Fixed-window UTC anchor, YYYY-MM-DD HH:MM:SS."},"count_unhide":{"type":"boolean","default":true}}},"PortalListingEditLimitState":{"type":"object","required":["pending","effective_at"],"properties":{"pending":{"type":"boolean"},"effective_at":{"type":"string","format":"date-time","nullable":true}},"description":"A pending save is accepted (200), replaces the single revision, and leaves public content unchanged until activation."},"PortalListingStatsError":{"type":"object","required":["success","error","code"],"properties":{"success":{"type":"boolean"},"error":{"type":"string"},"code":{"type":"string"}}},"PortalListingStatsListing":{"type":"object","required":["listing","current","weeks"],"properties":{"listing":{"type":"object","required":["id","publicId","title","active"],"properties":{"id":{"type":"string"},"publicId":{"type":"string","description":"The id Meine Inserate uses (uuid when present)."},"title":{"type":"string"},"active":{"type":"boolean"}}},"current":{"type":"object","required":["position","total"],"properties":{"position":{"type":"integer","nullable":true,"description":"Live 1-based position in the default hit list; null = not publicly listed."},"total":{"type":"integer"}}},"weeks":{"type":"array","items":{"$ref":"#/components/schemas/PortalListingStatsWeek"}}}},"PortalListingStatsMail":{"type":"object","required":["enabled"],"additionalProperties":false,"properties":{"enabled":{"type":"boolean"}}},"PortalListingStatsOverview":{"type":"object","required":["weeks","listings","mail"],"properties":{"weeks":{"type":"array","items":{"type":"object","required":["week","label"],"properties":{"week":{"type":"string","format":"date"},"label":{"type":"string"}}}},"listings":{"type":"array","items":{"$ref":"#/components/schemas/PortalListingStatsListing"}},"mail":{"$ref":"#/components/schemas/PortalListingStatsMail"}}},"PortalListingStatsWeek":{"type":"object","required":["week","label","views","inquiries","position","total"],"properties":{"week":{"type":"string","format":"date","description":"Monday of the calendar week (Europe/Berlin)."},"label":{"type":"string","example":"2026-W46"},"views":{"type":"integer","minimum":0},"inquiries":{"type":"integer","minimum":0},"position":{"type":"integer","nullable":true,"description":"List position at the week's last daily snapshot; null = no snapshot."},"total":{"type":"integer","nullable":true,"description":"Entries in the public hit list at that snapshot."}}},"PortalModerationDraftCreateResult":{"oneOf":[{"type":"object","additionalProperties":false,"required":["draft_id","sent"],"properties":{"draft_id":{"type":"integer","minimum":1,"description":"Original review-only artifact ID."},"sent":{"type":"boolean","enum":[false]}}},{"type":"object","additionalProperties":false,"required":["draft_id","sent","delivery_draft_id","send_mode","status","auto_send_at"],"properties":{"draft_id":{"type":"integer","minimum":1,"description":"Original review-only artifact ID; preserved separately from delivery_draft_id."},"sent":{"type":"boolean","enum":[false],"description":"Creation never sends SMTP inline; not delivery proof."},"delivery_draft_id":{"type":"integer","minimum":1,"description":"Use this ID for reply status and cancellation."},"send_mode":{"$ref":"#/components/schemas/PortalModerationReplySendMode"},"status":{"$ref":"#/components/schemas/PortalModerationReplyStatus"},"auto_send_at":{"$ref":"#/components/schemas/PortalModerationReplyAutoSendAt"}}}]},"PortalModerationReplyAutoSendAt":{"type":"string","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","description":"SQL UTC timestamp, not RFC 3339; null when no automatic send is scheduled."},"PortalModerationReplyOptions":{"type":"object","description":"Omission preserves review-only behavior. Explicit modes preserve that artifact and create a separate delivery draft; send_now schedules the shared engine immediately with no SMTP inline.","properties":{"send_mode":{"$ref":"#/components/schemas/PortalModerationReplySendMode"},"countdown_seconds":{"type":"integer","minimum":60,"maximum":604800,"description":"Required only for deadline; forbidden for omitted, draft or send_now modes."}},"oneOf":[{"not":{"anyOf":[{"required":["send_mode"]},{"required":["countdown_seconds"]}]}},{"required":["send_mode"],"properties":{"send_mode":{"enum":["send_now","draft"]}},"not":{"required":["countdown_seconds"]}},{"required":["send_mode","countdown_seconds"],"properties":{"send_mode":{"enum":["deadline"]}}}]},"PortalModerationReplySendMode":{"type":"string","enum":["send_now","draft","deadline"]},"PortalModerationReplyState":{"type":"object","required":["draft_id","send_mode","status","auto_send_at","audit"],"properties":{"draft_id":{"type":"integer","minimum":1,"description":"Delivery draft ID, not the original review artifact ID."},"send_mode":{"$ref":"#/components/schemas/PortalModerationReplySendMode"},"status":{"$ref":"#/components/schemas/PortalModerationReplyStatus"},"auto_send_at":{"$ref":"#/components/schemas/PortalModerationReplyAutoSendAt"},"audit":{"type":"array","items":{"type":"object","required":["event","actor","at"],"properties":{"event":{"type":"string","description":"Audit event such as send_now, draft, deadline, cancelled, sent, failed, held or unconfirmed."},"actor":{"type":"string"},"at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","description":"SQL UTC timestamp."}}}}}},"PortalModerationReplyStatus":{"type":"string","enum":["draft","scheduled","held","delivering","sent","cancelled","failed","unconfirmed"],"description":"Public delivery state. send_now starts scheduled, not sent; sent requires confirmed sent_at. Draft, scheduled, held and failed are cancellable. Unknown internal states are held."},"PortalNamedTierCatalog":{"type":"object","additionalProperties":false,"required":["currency","active","listing","contactPlus"],"description":"Private per-tenant configuration. Only selected prices reach the public shop, cart and checkout; existing order snapshots never change.","properties":{"currency":{"type":"string","enum":["EUR"]},"active":{"type":"object","additionalProperties":false,"required":["listing","contactPlus"],"properties":{"listing":{"type":"string","description":"Key in the listing tier map"},"contactPlus":{"type":"string","description":"Key in the contactPlus tier map"}}},"listing":{"type":"object","minProperties":1,"maxProperties":30,"additionalProperties":{"$ref":"#/components/schemas/PortalTierPeriodPrices"}},"contactPlus":{"type":"object","minProperties":1,"maxProperties":30,"additionalProperties":{"$ref":"#/components/schemas/PortalTierPeriodPrices"}}}},"PortalOwnerOfferReadinessRequest":{"type":"object","additionalProperties":false,"required":["operation"],"properties":{"operation":{"type":"string","enum":["runtime-readiness"]}}},"PortalOwnerOfferReadinessResult":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","additionalProperties":false,"required":["mode","writes","deployment","database_sha256","server_hostname_sha256","server_port","configured_database_matches","configured_hostname_matches","configured_port_matches","write_connection_verified","server_read_only","session_read_only","required_write_grants"],"properties":{"mode":{"type":"string","enum":["runtime-readiness"]},"writes":{"type":"integer","enum":[0]},"deployment":{"type":"object","additionalProperties":false,"required":["site_name","ui_dir","git_commit"],"properties":{"site_name":{"type":"string","minLength":1},"ui_dir":{"type":"string","minLength":1},"git_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"}}},"database_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"server_hostname_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"server_port":{"type":"integer","minimum":1,"maximum":65535},"configured_database_matches":{"type":"boolean"},"configured_hostname_matches":{"type":"boolean"},"configured_port_matches":{"type":"boolean"},"write_connection_verified":{"type":"boolean","enum":[true]},"server_read_only":{"type":"boolean","enum":[false]},"session_read_only":{"type":"boolean","enum":[false]},"required_write_grants":{"type":"boolean","enum":[true]}}}}},"PortalOwnerOfferRequest":{"type":"object","additionalProperties":false,"required":["operation","customer_number","listing_id","document_date","valid_until","fulfillment_custom","business_version","contact_transport"],"properties":{"operation":{"type":"string","enum":["preview","create-owner-review-draft"]},"customer_number":{"type":"string","pattern":"^[1-9][0-9]{0,17}$"},"listing_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$"},"document_date":{"type":"string","format":"date"},"valid_until":{"type":"string","format":"date"},"fulfillment_custom":{"type":"string","minLength":1,"maxLength":500},"business_version":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$"},"expected_preview_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Required for creation; forbidden for preview"},"expected_offer_number":{"type":"string","pattern":"^[0-9]{12}$","description":"Required for creation; forbidden for preview"},"contact_transport":{"type":"object","additionalProperties":false,"required":["input_base64","manifest_base64","artifacts"],"properties":{"input_base64":{"type":"string","format":"byte","maxLength":87384},"manifest_base64":{"type":"string","format":"byte","maxLength":1398104},"artifacts":{"type":"object","minProperties":2,"maxProperties":20,"additionalProperties":{"type":"string","format":"byte","maxLength":22369624}}}}}},"PortalOwnerOfferResult":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["mode","offer_number","preview_sha256","idempotency_key","recipient_email","subject","item_count"],"properties":{"mode":{"type":"string","enum":["preview","create-owner-review-draft"]},"offer_number":{"type":"string","pattern":"^[0-9]{12}$"},"preview_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string"},"recipient_email":{"type":"string","enum":["draft@manuel-tremmel.de"]},"subject":{"type":"string","pattern":"^\\[PORTAL\\] "},"item_count":{"type":"integer","enum":[1]},"writes":{"type":"integer","enum":[0],"description":"Preview only"},"draft_id":{"type":"integer","minimum":1,"description":"Creation only"},"reused":{"type":"boolean","description":"Creation only"},"body_html":{"type":"string","description":"Private preview only"},"body_text":{"type":"string","nullable":true,"description":"Private preview only"},"attachments":{"type":"array","minItems":1,"maxItems":1,"items":{"type":"object","required":["filename","content","mime_type"],"properties":{"filename":{"type":"string"},"content":{"type":"string","format":"byte"},"mime_type":{"type":"string","enum":["application/pdf"]}}}}}}}},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 400.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 404.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"},{"type":"object","properties":{"current_version":{"type":"string"},"trace_id":{"type":"string"}}}],"description":"PortalAccountHandler::cropImage error payload for HTTP 409.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 422.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::cropImage error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::cropImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexCropRequest":{"type":"object","additionalProperties":false,"required":["x","y","width","height"],"properties":{"x":{"type":"number","minimum":0,"maximum":1,"description":"Left edge as a fraction of the current image width."},"y":{"type":"number","minimum":0,"maximum":1,"description":"Top edge as a fraction of the current image height."},"width":{"type":"number","exclusiveMinimum":true,"minimum":0,"maximum":1,"description":"Width as a fraction; x + width <= 1."},"height":{"type":"number","exclusiveMinimum":true,"minimum":0,"maximum":1,"description":"Height as a fraction; y + height <= 1."},"aspect":{"type":"string","enum":["free","1:1","4:3","3:4","3:2","16:9"],"default":"free","description":"Optional aspect preset."},"expected_version":{"type":"string","pattern":"^[a-fA-F0-9]{32}$","description":"Content hash of the image the client edited (32 hex characters in the media file name). Mismatch returns 409."}}},"PortalPatchPortalAccountListingsIdImagesImageIndexCropResponse":{"type":"object","additionalProperties":false,"description":"PortalAccountHandler::cropImage success payload.","properties":{"success":{"type":"boolean"},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"id":{"type":"integer","description":"Media row id."},"crop":{"type":"object","additionalProperties":false,"required":["x","y","width","height"],"properties":{"x":{"type":"integer","minimum":0},"y":{"type":"integer","minimum":0},"width":{"type":"integer","minimum":0},"height":{"type":"integer","minimum":0}},"description":"Applied crop in pixels of the stored image."},"aspect":{"type":"string"},"version":{"type":"string","description":"Content hash of the visible image after this request (unchanged while pending)."},"thumbnails":{"type":"object","additionalProperties":false,"required":["small","medium","large"],"properties":{"small":{"type":"string"},"medium":{"type":"string"},"large":{"type":"string"}},"description":"Serve URLs of the regenerated thumbnails (current ones while the edit is pending)."},"trace_id":{"type":"string"}}},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::rotateImage error payload for HTTP 400.","x-handler-derived":"PortalAccountHandler::rotateImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::rotateImage error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::rotateImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::rotateImage error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::rotateImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::rotateImage error payload for HTTP 404.","x-handler-derived":"PortalAccountHandler::rotateImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::rotateImage error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::rotateImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::rotateImage error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::rotateImage"},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateRequest":{"type":"object","additionalProperties":false,"properties":{"degrees":{"description":"Reviewed handler-consumed request field."}},"required":["degrees"]},"PortalPatchPortalAccountListingsIdImagesImageIndexRotateResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ImageUploadHandler::rotate."},"id":{"description":"Field serialized by ImageUploadHandler::rotate."},"degrees":{"description":"Field serialized by ImageUploadHandler::rotate."},"code":{"description":"Field serialized by ImageUploadHandler::rotate."},"message":{"description":"Field serialized by ImageUploadHandler::rotate."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"thumbnails":{"description":"Field serialized by ImageUploadHandler::rotate."},"trace_id":{"description":"Field serialized by ImageUploadHandler::rotate."}}},"PortalPatchPortalAccountListingsIdStatusError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateListingStatus error payload for HTTP 400.","x-handler-derived":"PortalAccountHandler::updateListingStatus"},"PortalPatchPortalAccountListingsIdStatusError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateListingStatus error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::updateListingStatus"},"PortalPatchPortalAccountListingsIdStatusError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateListingStatus error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::updateListingStatus"},"PortalPatchPortalAccountListingsIdStatusError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateListingStatus error payload for HTTP 404.","x-handler-derived":"PortalAccountHandler::updateListingStatus"},"PortalPatchPortalAccountListingsIdStatusError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateListingStatus error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::updateListingStatus"},"PortalPatchPortalAccountListingsIdStatusError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateListingStatus error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::updateListingStatus"},"PortalPatchPortalAccountListingsIdStatusRequest":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Reviewed handler-consumed request field."}},"required":["status"]},"PortalPatchPortalAccountListingsIdStatusResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAccountHandler::updateListingStatus."},"id":{"description":"Field serialized by PortalAccountHandler::updateListingStatus."},"status":{"description":"Field serialized by PortalAccountHandler::updateListingStatus."},"code":{"description":"Field serialized by PortalAccountHandler::updateListingStatus."},"message":{"description":"Field serialized by PortalAccountHandler::updateListingStatus."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPatchPortalInquiryWaitingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateWaiting error payload for HTTP 403.","x-handler-derived":"InquiryHandler::updateWaiting"},"PortalPatchPortalListingsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::patch error payload for HTTP 400.","x-handler-derived":"ListingsHandler::patch"},"PortalPatchPortalListingsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::patch error payload for HTTP 401.","x-handler-derived":"ListingsHandler::patch"},"PortalPatchPortalListingsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::patch error payload for HTTP 403.","x-handler-derived":"ListingsHandler::patch"},"PortalPatchPortalListingsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::patch error payload for HTTP 404.","x-handler-derived":"ListingsHandler::patch"},"PortalPatchPortalListingsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::patch error payload for HTTP 500.","x-handler-derived":"ListingsHandler::patch"},"PortalPatchPortalListingsIdResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPatchPortalMessagesTemplatesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TemplatesHandler::update error payload for HTTP 400.","x-handler-derived":"TemplatesHandler::update"},"PortalPatchPortalMessagesTemplatesIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TemplatesHandler::update error payload for HTTP 500.","x-handler-derived":"TemplatesHandler::update"},"PortalPatchPortalMessagesTemplatesIdResponse":{"type":"object","additionalProperties":false,"properties":{"name":{"description":"Field serialized by TemplatesHandler::update."},"locale":{"description":"Field serialized by TemplatesHandler::update."},"subject_template":{"description":"Field serialized by TemplatesHandler::update."},"body_template":{"description":"Field serialized by TemplatesHandler::update."},"version":{"description":"Field serialized by TemplatesHandler::update."},"trace_id":{"description":"Field serialized by TemplatesHandler::update."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPatchPortalTenantIdAdminGuestbookIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::updateStatus error payload for HTTP 400.","x-handler-derived":"GuestbookHandler::updateStatus"},"PortalPatchPortalTenantIdAdminGuestbookIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::updateStatus error payload for HTTP 401.","x-handler-derived":"GuestbookHandler::updateStatus"},"PortalPatchPortalTenantIdAdminGuestbookIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::updateStatus error payload for HTTP 403.","x-handler-derived":"GuestbookHandler::updateStatus"},"PortalPatchPortalTenantIdAdminGuestbookIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::updateStatus error payload for HTTP 404.","x-handler-derived":"GuestbookHandler::updateStatus"},"PortalPatchPortalTenantIdAdminGuestbookIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::updateStatus error payload for HTTP 500.","x-handler-derived":"GuestbookHandler::updateStatus"},"PortalPatchPortalTenantIdAdminGuestbookIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by GuestbookHandler::updateStatus."},"id":{"description":"Field serialized by GuestbookHandler::updateStatus."},"status":{"description":"Field serialized by GuestbookHandler::updateStatus."},"code":{"description":"Field serialized by GuestbookHandler::updateStatus."},"message":{"description":"Field serialized by GuestbookHandler::updateStatus."}}},"PortalPatchPortalTenantIdAdminSupportInboxStandardTextsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPatchPortalTenantIdAdminSupportInboxStandardTextsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPatchPortalTenantIdAdminSupportInboxStandardTextsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPatchPortalTenantIdAdminSupportInboxStandardTextsIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPatchPortalTenantIdAdminSupportInboxStandardTextsIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::templates.","x-handler-record":"PortalSupportLibraryHandler::templates"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 400.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 401.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 403.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 404.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 422.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 429.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::move error payload for HTTP 503.","x-handler-derived":"InquiryBoardHandler::move"},"PortalPatchPortalTenantIdInquiriesBoardItemsIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by InquiryBoardHandler::move."},"consent":{"description":"Field serialized by InquiryBoardHandler::move."},"columns":{"description":"Field serialized by InquiryBoardHandler::move."},"items":{"description":"Field serialized by InquiryBoardHandler::move."}}},"PortalPostPortalAccountActivationCodeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 400.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 409.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 422.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::redeemActivationCode error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::redeemActivationCode"},"PortalPostPortalAccountActivationCodeRequest":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalAccountActivationCodeResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAccountHandler::redeemActivationCode."},"listing":{"description":"Field serialized by PortalAccountHandler::redeemActivationCode."},"message":{"description":"Field serialized by PortalAccountHandler::redeemActivationCode."},"code":{"description":"Field serialized by PortalAccountHandler::redeemActivationCode."}}},"PortalPostPortalAccountContactBlocksError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::addContactBlock error payload for HTTP 400.","x-handler-derived":"InquiryHandler::addContactBlock"},"PortalPostPortalAccountContactBlocksError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::addContactBlock error payload for HTTP 401.","x-handler-derived":"InquiryHandler::addContactBlock"},"PortalPostPortalAccountContactBlocksError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::addContactBlock error payload for HTTP 403.","x-handler-derived":"InquiryHandler::addContactBlock"},"PortalPostPortalAccountContactBlocksError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::addContactBlock error payload for HTTP 404.","x-handler-derived":"InquiryHandler::addContactBlock"},"PortalPostPortalAccountContactBlocksError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::addContactBlock error payload for HTTP 422.","x-handler-derived":"InquiryHandler::addContactBlock"},"PortalPostPortalAccountContactBlocksError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::addContactBlock error payload for HTTP 429.","x-handler-derived":"InquiryHandler::addContactBlock"},"PortalPostPortalAccountContactBlocksResponse":{"type":"object","additionalProperties":false,"properties":{"ids":{"description":"Field serialized by InquiryHandler::addContactBlock."},"items":{"description":"Field serialized by InquiryHandler::addContactBlock."}}},"PortalPostPortalAccountDeleteError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteAccount error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::deleteAccount"},"PortalPostPortalAccountDeleteError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteAccount error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::deleteAccount"},"PortalPostPortalAccountDeleteError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteAccount error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::deleteAccount"},"PortalPostPortalAccountDeleteError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::deleteAccount error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::deleteAccount"},"PortalPostPortalAccountDeleteRequest":{"type":"object","additionalProperties":false,"properties":{"feedback":{"description":"Reviewed handler-consumed request field."},"reason":{"description":"Reviewed handler-consumed request field."},"successStory":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalAccountDeleteResponse":{"type":"object","additionalProperties":false,"properties":{"ok":{"description":"Field serialized by PortalAccountHandler::deleteAccount."},"error":{"description":"Field serialized by PortalAccountHandler::deleteAccount."}}},"PortalPostPortalAccountListingsIdImagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 400.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 404.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 422.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 500.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::uploadImage error payload for HTTP 503.","x-handler-derived":"PortalAccountHandler::uploadImage"},"PortalPostPortalAccountListingsIdImagesRequest":{"type":"object","additionalProperties":false,"properties":{"caption":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalAccountListingsIdImagesResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"message":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"id":{"type":"integer","nullable":true,"description":"Effective media id, or null while upload awaits activation."},"url":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"caption":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"thumbnails":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"small":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"medium":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"large":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"sort_order":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"trace_id":{"description":"Field serialized by PortalAccountHandler::uploadImage."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalAccountProfilePublishError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publish error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::publish"},"PortalPostPortalAccountProfilePublishError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publish error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::publish"},"PortalPostPortalAccountProfilePublishError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publish error payload for HTTP 429.","x-handler-derived":"PortalProfileHandler::publish"},"PortalPostPortalAccountProfilePublishError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::publish error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::publish"},"PortalPostPortalAccountProfileUnpublishError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::unpublish error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::unpublish"},"PortalPostPortalAccountProfileUnpublishError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::unpublish error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::unpublish"},"PortalPostPortalAccountProfileUnpublishError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::unpublish error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::unpublish"},"PortalPostPortalAccountProfileWebsiteError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::website error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::website"},"PortalPostPortalAccountProfileWebsiteError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::website error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::website"},"PortalPostPortalAccountProfileWebsiteError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::website error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::website"},"PortalPostPortalAdminTenantIdCmsPagesSlugVersionsVersionIdRevertError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::revertToVersion error payload for HTTP 400.","x-handler-derived":"CmsVersionHandler::revertToVersion"},"PortalPostPortalAdminTenantIdCmsPagesSlugVersionsVersionIdRevertError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::revertToVersion error payload for HTTP 401.","x-handler-derived":"CmsVersionHandler::revertToVersion"},"PortalPostPortalAdminTenantIdCmsPagesSlugVersionsVersionIdRevertError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::revertToVersion error payload for HTTP 403.","x-handler-derived":"CmsVersionHandler::revertToVersion"},"PortalPostPortalAdminTenantIdCmsPagesSlugVersionsVersionIdRevertError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"CmsVersionHandler::revertToVersion error payload for HTTP 404.","x-handler-derived":"CmsVersionHandler::revertToVersion"},"PortalPostPortalAdminTenantIdCmsPagesSlugVersionsVersionIdRevertResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by CmsVersionHandler::revertToVersion."},"message":{"description":"Field serialized by CmsVersionHandler::revertToVersion."}}},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 400.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 401.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 403.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 404.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 409.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 429.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 500.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalAdminVerificationSubmissionsVerificationIdReviewResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOwnerVerificationHandler::review."},"message":{"description":"Field serialized by PortalOwnerVerificationHandler::review."}}},"PortalPostPortalAssistantAskError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::ask error payload for HTTP 400.","x-handler-derived":"PortalAssistantHandler::ask"},"PortalPostPortalAssistantAskError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::ask error payload for HTTP 403.","x-handler-derived":"PortalAssistantHandler::ask"},"PortalPostPortalAssistantAskError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::ask error payload for HTTP 404.","x-handler-derived":"PortalAssistantHandler::ask"},"PortalPostPortalAssistantAskError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::ask error payload for HTTP 422.","x-handler-derived":"PortalAssistantHandler::ask"},"PortalPostPortalAssistantAskError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::ask error payload for HTTP 429.","x-handler-derived":"PortalAssistantHandler::ask"},"PortalPostPortalAssistantAskError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAssistantHandler::ask error payload for HTTP 503.","x-handler-derived":"PortalAssistantHandler::ask"},"PortalPostPortalBlocksError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::create error payload for HTTP 400.","x-handler-derived":"BlocksHandler::create"},"PortalPostPortalBlocksError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::create error payload for HTTP 401.","x-handler-derived":"BlocksHandler::create"},"PortalPostPortalBlocksError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::create error payload for HTTP 403.","x-handler-derived":"BlocksHandler::create"},"PortalPostPortalBlocksError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BlocksHandler::create error payload for HTTP 500.","x-handler-derived":"BlocksHandler::create"},"PortalPostPortalBlocksRequest":{"type":"object","additionalProperties":false,"properties":{"reason":{"description":"Reviewed handler-consumed request field."},"scope":{"description":"Reviewed handler-consumed request field."},"subject":{"description":"Reviewed handler-consumed request field."}},"required":["reason"]},"PortalPostPortalBlocksResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by BlocksHandler::create."},"message":{"description":"Field serialized by BlocksHandler::create."},"details":{"description":"Field serialized by BlocksHandler::create."},"trace_id":{"description":"Field serialized by BlocksHandler::create."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalBulkListingsCreateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::createListings error payload for HTTP 400.","x-handler-derived":"BulkHandler::createListings"},"PortalPostPortalBulkListingsCreateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::createListings error payload for HTTP 401.","x-handler-derived":"BulkHandler::createListings"},"PortalPostPortalBulkListingsCreateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::createListings error payload for HTTP 403.","x-handler-derived":"BulkHandler::createListings"},"PortalPostPortalBulkListingsCreateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::createListings error payload for HTTP 500.","x-handler-derived":"BulkHandler::createListings"},"PortalPostPortalBulkListingsCreateResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by BulkHandler::createListings."},"message":{"description":"Field serialized by BulkHandler::createListings."},"details":{"description":"Field serialized by BulkHandler::createListings."},"trace_id":{"description":"Field serialized by BulkHandler::createListings."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalBulkListingsImportCsvError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::importListingsCsv error payload for HTTP 400.","x-handler-derived":"BulkHandler::importListingsCsv"},"PortalPostPortalBulkListingsImportCsvError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::importListingsCsv error payload for HTTP 401.","x-handler-derived":"BulkHandler::importListingsCsv"},"PortalPostPortalBulkListingsImportCsvError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::importListingsCsv error payload for HTTP 403.","x-handler-derived":"BulkHandler::importListingsCsv"},"PortalPostPortalBulkListingsImportCsvError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::importListingsCsv error payload for HTTP 422.","x-handler-derived":"BulkHandler::importListingsCsv"},"PortalPostPortalBulkListingsImportCsvError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::importListingsCsv error payload for HTTP 500.","x-handler-derived":"BulkHandler::importListingsCsv"},"PortalPostPortalBulkListingsImportCsvResponse":{"type":"object","additionalProperties":false,"properties":{"event":{"description":"Field serialized by BulkHandler::importListingsCsv."},"summary":{"description":"Field serialized by BulkHandler::importListingsCsv."},"row_errors":{"description":"Field serialized by BulkHandler::importListingsCsv."},"field_mapping":{"description":"Field serialized by BulkHandler::importListingsCsv."},"code":{"description":"Field serialized by BulkHandler::importListingsCsv."},"message":{"description":"Field serialized by BulkHandler::importListingsCsv."},"details":{"description":"Field serialized by BulkHandler::importListingsCsv."},"trace_id":{"description":"Field serialized by BulkHandler::importListingsCsv."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalBulkListingsStatusError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::setStatusForListings error payload for HTTP 400.","x-handler-derived":"BulkHandler::setStatusForListings"},"PortalPostPortalBulkListingsStatusError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::setStatusForListings error payload for HTTP 401.","x-handler-derived":"BulkHandler::setStatusForListings"},"PortalPostPortalBulkListingsStatusError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::setStatusForListings error payload for HTTP 403.","x-handler-derived":"BulkHandler::setStatusForListings"},"PortalPostPortalBulkListingsStatusError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::setStatusForListings error payload for HTTP 500.","x-handler-derived":"BulkHandler::setStatusForListings"},"PortalPostPortalBulkListingsStatusResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by BulkHandler::setStatusForListings."},"message":{"description":"Field serialized by BulkHandler::setStatusForListings."},"details":{"description":"Field serialized by BulkHandler::setStatusForListings."},"trace_id":{"description":"Field serialized by BulkHandler::setStatusForListings."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalBulkListingsUpdateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::updateListings error payload for HTTP 400.","x-handler-derived":"BulkHandler::updateListings"},"PortalPostPortalBulkListingsUpdateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::updateListings error payload for HTTP 401.","x-handler-derived":"BulkHandler::updateListings"},"PortalPostPortalBulkListingsUpdateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::updateListings error payload for HTTP 403.","x-handler-derived":"BulkHandler::updateListings"},"PortalPostPortalBulkListingsUpdateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BulkHandler::updateListings error payload for HTTP 500.","x-handler-derived":"BulkHandler::updateListings"},"PortalPostPortalBulkListingsUpdateResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by BulkHandler::updateListings."},"message":{"description":"Field serialized by BulkHandler::updateListings."},"details":{"description":"Field serialized by BulkHandler::updateListings."},"trace_id":{"description":"Field serialized by BulkHandler::updateListings."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalCategoriesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createCategory error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::createCategory"},"PortalPostPortalCategoriesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createCategory error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::createCategory"},"PortalPostPortalCategoriesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createCategory error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::createCategory"},"PortalPostPortalCategoriesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createCategory error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::createCategory"},"PortalPostPortalCategoriesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createCategory error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::createCategory"},"PortalPostPortalCategoriesResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::createCategory."},"category":{"description":"Field serialized by PortalListingsHandler::createCategory."}}},"PortalPostPortalClaimsIdApproveError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalClaimsIdApproveResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::approve."},"message":{"description":"Field serialized by PortalListingClaimsHandler::approve."}}},"PortalPostPortalClaimsIdRejectError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalClaimsIdRejectResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::reject."},"message":{"description":"Field serialized by PortalListingClaimsHandler::reject."}}},"PortalPostPortalConversationsIdReplyError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 400.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 401.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 403.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 404.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 422.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 429.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::reply error payload for HTTP 500.","x-handler-derived":"MessagesHandler::reply"},"PortalPostPortalConversationsIdReplyResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Field serialized by MessagesHandler::reply."},"code":{"description":"Field serialized by MessagesHandler::reply."},"message":{"description":"Field serialized by MessagesHandler::reply."},"details":{"description":"Field serialized by MessagesHandler::reply."},"trace_id":{"description":"Field serialized by MessagesHandler::reply."}}},"PortalPostPortalDeadManSwitchesIdTestFireError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DeadManSwitchHandler::testFire error payload for HTTP 400.","x-handler-derived":"DeadManSwitchHandler::testFire"},"PortalPostPortalDeadManSwitchesIdTestFireError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DeadManSwitchHandler::testFire error payload for HTTP 401.","x-handler-derived":"DeadManSwitchHandler::testFire"},"PortalPostPortalDeadManSwitchesIdTestFireError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DeadManSwitchHandler::testFire error payload for HTTP 403.","x-handler-derived":"DeadManSwitchHandler::testFire"},"PortalPostPortalDeadManSwitchesIdTestFireError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DeadManSwitchHandler::testFire error payload for HTTP 404.","x-handler-derived":"DeadManSwitchHandler::testFire"},"PortalPostPortalDeadManSwitchesIdTestFireError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DeadManSwitchHandler::testFire error payload for HTTP 429.","x-handler-derived":"DeadManSwitchHandler::testFire"},"PortalPostPortalDeadManSwitchesIdTestFireError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DeadManSwitchHandler::testFire error payload for HTTP 500.","x-handler-derived":"DeadManSwitchHandler::testFire"},"PortalPostPortalDeadManSwitchesIdTestFireRequest":{"type":"object","additionalProperties":false,"properties":{"test_recipient":{"description":"Reviewed handler-consumed request field."}},"required":["test_recipient"]},"PortalPostPortalDeadManSwitchesIdTestFireResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by DeadManSwitchHandler::testFire."},"message":{"description":"Field serialized by DeadManSwitchHandler::testFire."},"ok":{"description":"Field serialized by DeadManSwitchHandler::testFire."},"sent":{"description":"Field serialized by DeadManSwitchHandler::testFire."},"test_recipient":{"description":"Field serialized by DeadManSwitchHandler::testFire."},"is_test":{"description":"Field serialized by DeadManSwitchHandler::testFire."}}},"PortalPostPortalDonationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::donation error payload for HTTP 400.","x-handler-derived":"PortalFormsController::donation"},"PortalPostPortalDonationError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::donation error payload for HTTP 422.","x-handler-derived":"PortalFormsController::donation"},"PortalPostPortalDonationError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::donation error payload for HTTP 429.","x-handler-derived":"PortalFormsController::donation"},"PortalPostPortalDonationError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::donation error payload for HTTP 500.","x-handler-derived":"PortalFormsController::donation"},"PortalPostPortalDonationRequest":{"type":"object","additionalProperties":false,"properties":{"amountMinor":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalDonationResponse":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Field serialized by PortalFormsController::donation."},"code":{"description":"Field serialized by PortalFormsController::donation."},"fields":{"description":"Field serialized by PortalFormsController::donation."},"amountMinor":{"description":"Field serialized by PortalFormsController::donation."},"reason":{"description":"Field serialized by PortalFormsController::donation."},"message":{"description":"Field serialized by PortalFormsController::donation."},"id":{"description":"Field serialized by PortalFormsController::donation."},"received":{"description":"Field serialized by PortalFormsController::donation."}}},"PortalPostPortalExportError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::export error payload for HTTP 400.","x-handler-derived":"ExportImportHandler::export"},"PortalPostPortalExportError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::export error payload for HTTP 401.","x-handler-derived":"ExportImportHandler::export"},"PortalPostPortalExportError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::export error payload for HTTP 403.","x-handler-derived":"ExportImportHandler::export"},"PortalPostPortalExportError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::export error payload for HTTP 429.","x-handler-derived":"ExportImportHandler::export"},"PortalPostPortalExportError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::export error payload for HTTP 500.","x-handler-derived":"ExportImportHandler::export"},"PortalPostPortalExportResponse":{"type":"object","additionalProperties":false,"properties":{"listings":{"description":"Field serialized by ExportImportHandler::export."},"media":{"description":"Field serialized by ExportImportHandler::export."},"properties":{"description":"Field serialized by ExportImportHandler::export."},"categories":{"description":"Field serialized by ExportImportHandler::export."},"definitions":{"description":"Field serialized by ExportImportHandler::export."},"config":{"description":"Field serialized by ExportImportHandler::export."},"messages":{"description":"Field serialized by ExportImportHandler::export."},"conversations":{"description":"Field serialized by ExportImportHandler::export."},"code":{"description":"Field serialized by ExportImportHandler::export."},"message":{"description":"Field serialized by ExportImportHandler::export."},"details":{"description":"Field serialized by ExportImportHandler::export."},"trace_id":{"description":"Field serialized by ExportImportHandler::export."}}},"PortalPostPortalFavoritesListingIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::add error payload for HTTP 400.","x-handler-derived":"FavoritesHandler::add"},"PortalPostPortalFavoritesListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::add error payload for HTTP 401.","x-handler-derived":"FavoritesHandler::add"},"PortalPostPortalFavoritesListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::add error payload for HTTP 403.","x-handler-derived":"FavoritesHandler::add"},"PortalPostPortalFavoritesListingIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::add error payload for HTTP 500.","x-handler-derived":"FavoritesHandler::add"},"PortalPostPortalFavoritesListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by FavoritesHandler::add."},"message":{"description":"Field serialized by FavoritesHandler::add."},"details":{"description":"Field serialized by FavoritesHandler::add."},"trace_id":{"description":"Field serialized by FavoritesHandler::add."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalFeedbackError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::feedback error payload for HTTP 400.","x-handler-derived":"PortalFormsController::feedback"},"PortalPostPortalFeedbackError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::feedback error payload for HTTP 422.","x-handler-derived":"PortalFormsController::feedback"},"PortalPostPortalFeedbackError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::feedback error payload for HTTP 429.","x-handler-derived":"PortalFormsController::feedback"},"PortalPostPortalFeedbackError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::feedback error payload for HTTP 500.","x-handler-derived":"PortalFormsController::feedback"},"PortalPostPortalFeedbackRequest":{"type":"object","additionalProperties":false,"properties":{"displayName":{"description":"Reviewed handler-consumed request field."},"story":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalFeedbackResponse":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Field serialized by PortalFormsController::feedback."},"reason":{"description":"Field serialized by PortalFormsController::feedback."},"message":{"description":"Field serialized by PortalFormsController::feedback."},"fields":{"description":"Field serialized by PortalFormsController::feedback."},"id":{"description":"Field serialized by PortalFormsController::feedback."},"received":{"description":"Field serialized by PortalFormsController::feedback."}}},"PortalPostPortalImportError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::import error payload for HTTP 400.","x-handler-derived":"ExportImportHandler::import"},"PortalPostPortalImportError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::import error payload for HTTP 401.","x-handler-derived":"ExportImportHandler::import"},"PortalPostPortalImportError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::import error payload for HTTP 403.","x-handler-derived":"ExportImportHandler::import"},"PortalPostPortalImportError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::import error payload for HTTP 413.","x-handler-derived":"ExportImportHandler::import"},"PortalPostPortalImportError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::import error payload for HTTP 429.","x-handler-derived":"ExportImportHandler::import"},"PortalPostPortalImportError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ExportImportHandler::import error payload for HTTP 500.","x-handler-derived":"ExportImportHandler::import"},"PortalPostPortalImportResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ExportImportHandler::import."},"message":{"description":"Field serialized by ExportImportHandler::import."},"details":{"description":"Field serialized by ExportImportHandler::import."},"trace_id":{"description":"Field serialized by ExportImportHandler::import."}}},"PortalPostPortalInquiriesIdReplyDraftError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 400.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 401.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 403.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 404.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 422.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 429.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::createReplyDraft error payload for HTTP 503.","x-handler-derived":"InquiryHandler::createReplyDraft"},"PortalPostPortalInquiriesIdReplyDraftResponse":{"type":"object","additionalProperties":false,"properties":{"draft":{"description":"Field serialized by InquiryHandler::createReplyDraft."},"sent":{"description":"Field serialized by InquiryHandler::createReplyDraft."}}},"PortalPostPortalInquiriesIdReplyError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 400.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 401.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 403.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 404.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 422.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 429.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::replyListingInquiry error payload for HTTP 500.","x-handler-derived":"InquiryHandler::replyListingInquiry"},"PortalPostPortalInquiriesIdReplyResponse":{"type":"object","additionalProperties":false,"properties":{"source":{"description":"Field serialized by InquiryHandler::replyListingInquiry."},"success":{"description":"Field serialized by InquiryHandler::replyListingInquiry."},"reply_id":{"description":"Field serialized by InquiryHandler::replyListingInquiry."},"inquiry_id":{"description":"Field serialized by InquiryHandler::replyListingInquiry."},"trace_id":{"description":"Field serialized by InquiryHandler::replyListingInquiry."}}},"PortalPostPortalInquiryWaitingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::saveWaiting error payload for HTTP 403.","x-handler-derived":"InquiryHandler::saveWaiting"},"PortalPostPortalInquiryWaitingIdSendError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::sendWaiting error payload for HTTP 500.","x-handler-derived":"InquiryHandler::sendWaiting"},"PortalPostPortalInquiryWaitingIdSendResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::sendWaiting.","x-handler-record":"InquiryHandler::sendWaiting"},"PortalPostPortalListingBoostsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::create error payload for HTTP 400.","x-handler-derived":"ListingBoostHandler::create"},"PortalPostPortalListingBoostsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::create error payload for HTTP 401.","x-handler-derived":"ListingBoostHandler::create"},"PortalPostPortalListingBoostsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::create error payload for HTTP 403.","x-handler-derived":"ListingBoostHandler::create"},"PortalPostPortalListingBoostsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::create error payload for HTTP 422.","x-handler-derived":"ListingBoostHandler::create"},"PortalPostPortalListingBoostsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::create error payload for HTTP 429.","x-handler-derived":"ListingBoostHandler::create"},"PortalPostPortalListingBoostsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingBoostHandler::create error payload for HTTP 500.","x-handler-derived":"ListingBoostHandler::create"},"PortalPostPortalListingBoostsResponse":{"type":"object","additionalProperties":false,"properties":{"boost":{"description":"Field serialized by ListingBoostHandler::create."}}},"PortalPostPortalListingsCreateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::create error payload for HTTP 400.","x-handler-derived":"ListingsHandler::create"},"PortalPostPortalListingsCreateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::create error payload for HTTP 401.","x-handler-derived":"ListingsHandler::create"},"PortalPostPortalListingsCreateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::create error payload for HTTP 403.","x-handler-derived":"ListingsHandler::create"},"PortalPostPortalListingsCreateError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::create error payload for HTTP 429.","x-handler-derived":"ListingsHandler::create"},"PortalPostPortalListingsCreateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::create error payload for HTTP 500.","x-handler-derived":"ListingsHandler::create"},"PortalPostPortalListingsCreateResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalListingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::create error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::create error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::create error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"},{"$ref":"#/components/schemas/PortalAgeGateErrorFields"}],"description":"PortalListingsHandler::create error payload for HTTP 422.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::create error payload for HTTP 429.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::create error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::create error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::create"},"PortalPostPortalListingsIdAbTestError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveAbTest error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::saveAbTest"},"PortalPostPortalListingsIdAbTestError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveAbTest error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::saveAbTest"},"PortalPostPortalListingsIdAbTestError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveAbTest error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::saveAbTest"},"PortalPostPortalListingsIdAbTestError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveAbTest error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::saveAbTest"},"PortalPostPortalListingsIdAbTestResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::saveAbTest."},"listingId":{"description":"Field serialized by PortalListingsHandler::saveAbTest."},"mode":{"description":"Field serialized by PortalListingsHandler::saveAbTest."},"variant":{"description":"Field serialized by PortalListingsHandler::saveAbTest."}}},"PortalPostPortalListingsIdClaimError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalListingsIdClaimError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalListingsIdClaimError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalListingsIdClaimError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalListingsIdClaimError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalListingsIdClaimError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalListingsIdClaimResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::submit."},"message":{"description":"Field serialized by PortalListingClaimsHandler::submit."}}},"PortalPostPortalListingsIdContactError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 400.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 401.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 403.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 404.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 422.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 429.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 500.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submitForListing error payload for HTTP 503.","x-handler-derived":"InquiryHandler::submitForListing"},"PortalPostPortalListingsIdContactResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by InquiryHandler::submitForListing."},"message":{"description":"Field serialized by InquiryHandler::submitForListing."},"details":{"description":"Field serialized by InquiryHandler::submitForListing."},"trace_id":{"description":"Field serialized by InquiryHandler::submitForListing."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalListingsIdContactRulesPreviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::previewContactRules error payload for HTTP 400.","x-handler-derived":"InquiryHandler::previewContactRules"},"PortalPostPortalListingsIdContactRulesPreviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::previewContactRules error payload for HTTP 401.","x-handler-derived":"InquiryHandler::previewContactRules"},"PortalPostPortalListingsIdContactRulesPreviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::previewContactRules error payload for HTTP 403.","x-handler-derived":"InquiryHandler::previewContactRules"},"PortalPostPortalListingsIdContactRulesPreviewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::previewContactRules error payload for HTTP 404.","x-handler-derived":"InquiryHandler::previewContactRules"},"PortalPostPortalListingsIdContactRulesPreviewError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::previewContactRules error payload for HTTP 422.","x-handler-derived":"InquiryHandler::previewContactRules"},"PortalPostPortalListingsIdContactRulesPreviewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::previewContactRules error payload for HTTP 429.","x-handler-derived":"InquiryHandler::previewContactRules"},"PortalPostPortalListingsIdContactRulesPreviewResponse":{"type":"object","additionalProperties":false,"properties":{"allowed":{"description":"Field serialized by InquiryHandler::previewContactRules."}}},"PortalPostPortalListingsIdFeatureError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 409.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::featureListing error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::featureListing"},"PortalPostPortalListingsIdFeatureResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::featureListing."},"listingId":{"description":"Field serialized by PortalListingsHandler::featureListing."},"feature":{"description":"Field serialized by PortalListingsHandler::featureListing."},"slot":{"description":"Field serialized by PortalListingsHandler::featureListing."},"listing":{"description":"Field serialized by PortalListingsHandler::featureListing."}}},"PortalPostPortalListingsIdHolidayHoursError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 422.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::saveHolidayHours error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::saveHolidayHours"},"PortalPostPortalListingsIdHolidayHoursResponse":{"type":"object","additionalProperties":false,"properties":{"listingId":{"description":"Field serialized by PortalListingsHandler::saveHolidayHours."},"portalId":{"description":"Field serialized by PortalListingsHandler::saveHolidayHours."},"holidayHours":{"description":"Field serialized by PortalListingsHandler::saveHolidayHours."},"updated":{"description":"Field serialized by PortalListingsHandler::saveHolidayHours."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalListingsIdKeywordsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::addKeywords error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::addKeywords"},"PortalPostPortalListingsIdKeywordsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::addKeywords error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::addKeywords"},"PortalPostPortalListingsIdKeywordsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::addKeywords error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::addKeywords"},"PortalPostPortalListingsIdKeywordsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::addKeywords error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::addKeywords"},"PortalPostPortalListingsIdKeywordsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::addKeywords error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::addKeywords"},"PortalPostPortalListingsIdKeywordsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::addKeywords error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::addKeywords"},"PortalPostPortalListingsIdKeywordsResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::addKeywords."},"listingId":{"description":"Field serialized by PortalListingsHandler::addKeywords."},"keywords":{"description":"Field serialized by PortalListingsHandler::addKeywords."},"trackedKeywordCount":{"description":"Field serialized by PortalListingsHandler::addKeywords."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalListingsIdMediaError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::addMedia error payload for HTTP 400.","x-handler-derived":"ListingsHandler::addMedia"},"PortalPostPortalListingsIdMediaError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::addMedia error payload for HTTP 401.","x-handler-derived":"ListingsHandler::addMedia"},"PortalPostPortalListingsIdMediaError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::addMedia error payload for HTTP 403.","x-handler-derived":"ListingsHandler::addMedia"},"PortalPostPortalListingsIdMediaError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::addMedia error payload for HTTP 404.","x-handler-derived":"ListingsHandler::addMedia"},"PortalPostPortalListingsIdMediaError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::addMedia error payload for HTTP 500.","x-handler-derived":"ListingsHandler::addMedia"},"PortalPostPortalListingsIdMediaResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPostPortalListingsIdRenewalConfirmError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renewConfirm error payload for HTTP 400.","x-handler-derived":"ListingsHandler::renewConfirm"},"PortalPostPortalListingsIdRenewalConfirmError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renewConfirm error payload for HTTP 401.","x-handler-derived":"ListingsHandler::renewConfirm"},"PortalPostPortalListingsIdRenewalConfirmError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renewConfirm error payload for HTTP 403.","x-handler-derived":"ListingsHandler::renewConfirm"},"PortalPostPortalListingsIdRenewalConfirmError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renewConfirm error payload for HTTP 404.","x-handler-derived":"ListingsHandler::renewConfirm"},"PortalPostPortalListingsIdRenewalConfirmError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renewConfirm error payload for HTTP 500.","x-handler-derived":"ListingsHandler::renewConfirm"},"PortalPostPortalListingsIdRenewalConfirmResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPostPortalListingsIdRenewalError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renew error payload for HTTP 400.","x-handler-derived":"ListingsHandler::renew"},"PortalPostPortalListingsIdRenewalError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renew error payload for HTTP 401.","x-handler-derived":"ListingsHandler::renew"},"PortalPostPortalListingsIdRenewalError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renew error payload for HTTP 403.","x-handler-derived":"ListingsHandler::renew"},"PortalPostPortalListingsIdRenewalError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renew error payload for HTTP 404.","x-handler-derived":"ListingsHandler::renew"},"PortalPostPortalListingsIdRenewalError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::renew error payload for HTTP 500.","x-handler-derived":"ListingsHandler::renew"},"PortalPostPortalListingsIdRenewalResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPostPortalListingsIdReportError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 400.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalListingsIdReportError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 404.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalListingsIdReportError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 422.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalListingsIdReportResponse":{"type":"object","additionalProperties":false,"properties":{"ok":{"description":"Field serialized by ReportsHandler::reportListing."},"report_id":{"description":"Field serialized by ReportsHandler::reportListing."},"listing_id":{"description":"Field serialized by ReportsHandler::reportListing."},"reporter_user_id":{"description":"Field serialized by ReportsHandler::reportListing."},"reporter_email":{"description":"Field serialized by ReportsHandler::reportListing."},"reasons":{"description":"Field serialized by ReportsHandler::reportListing."},"reason":{"description":"Field serialized by ReportsHandler::reportListing."},"reason_explained":{"description":"Field serialized by ReportsHandler::reportListing."},"listing_title":{"description":"Field serialized by ReportsHandler::reportListing."},"listing_url":{"description":"Field serialized by ReportsHandler::reportListing."},"privacy_consent":{"description":"Field serialized by ReportsHandler::reportListing."},"locale":{"description":"Field serialized by ReportsHandler::reportListing."},"trace_id":{"description":"Field serialized by ReportsHandler::reportListing."},"code":{"description":"Field serialized by ReportsHandler::reportListing."},"message":{"description":"Field serialized by ReportsHandler::reportListing."},"details":{"description":"Field serialized by ReportsHandler::reportListing."}}},"PortalPostPortalListingsIdReviewsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalListingsIdReviewsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalListingsIdReviewsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalListingsIdReviewsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalListingsIdReviewsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalListingsIdReviewsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::submit."},"message":{"description":"Field serialized by PortalReviewModerationHandler::submit."}}},"PortalPostPortalListingsIdStatusError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setStatus error payload for HTTP 400.","x-handler-derived":"ListingsHandler::setStatus"},"PortalPostPortalListingsIdStatusError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setStatus error payload for HTTP 401.","x-handler-derived":"ListingsHandler::setStatus"},"PortalPostPortalListingsIdStatusError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setStatus error payload for HTTP 403.","x-handler-derived":"ListingsHandler::setStatus"},"PortalPostPortalListingsIdStatusError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setStatus error payload for HTTP 404.","x-handler-derived":"ListingsHandler::setStatus"},"PortalPostPortalListingsIdStatusError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setStatus error payload for HTTP 500.","x-handler-derived":"ListingsHandler::setStatus"},"PortalPostPortalListingsIdStatusResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPostPortalListingsIdTagsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::assignToListing error payload for HTTP 400.","x-handler-derived":"TagsHandler::assignToListing"},"PortalPostPortalListingsIdTagsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::assignToListing error payload for HTTP 500.","x-handler-derived":"TagsHandler::assignToListing"},"PortalPostPortalListingsIdTagsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by TagsHandler::assignToListing."},"message":{"description":"Field serialized by TagsHandler::assignToListing."},"details":{"description":"Field serialized by TagsHandler::assignToListing."},"trace_id":{"description":"Field serialized by TagsHandler::assignToListing."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPostPortalListingsIdTierError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setTier error payload for HTTP 400.","x-handler-derived":"ListingsHandler::setTier"},"PortalPostPortalListingsIdTierError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setTier error payload for HTTP 401.","x-handler-derived":"ListingsHandler::setTier"},"PortalPostPortalListingsIdTierError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setTier error payload for HTTP 403.","x-handler-derived":"ListingsHandler::setTier"},"PortalPostPortalListingsIdTierError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setTier error payload for HTTP 404.","x-handler-derived":"ListingsHandler::setTier"},"PortalPostPortalListingsIdTierError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setTier error payload for HTTP 409.","x-handler-derived":"ListingsHandler::setTier"},"PortalPostPortalListingsIdTierError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingsHandler::setTier error payload for HTTP 500.","x-handler-derived":"ListingsHandler::setTier"},"PortalPostPortalListingsIdTierResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"updated":{"type":"boolean","description":"The write was accepted; inspect edit_limit to distinguish effective from deferred."}}},"PortalPostPortalListingsResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by PortalListingsHandler::create."},"field":{"description":"Field serialized by PortalListingsHandler::create."},"message":{"description":"Field serialized by PortalListingsHandler::create."},"errors":{"description":"Field serialized by PortalListingsHandler::create."}}},"PortalPostPortalMessagesIdAbuseReportError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::reportMessage error payload for HTTP 400.","x-handler-derived":"AbuseReportsHandler::reportMessage"},"PortalPostPortalMessagesIdAbuseReportError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::reportMessage error payload for HTTP 401.","x-handler-derived":"AbuseReportsHandler::reportMessage"},"PortalPostPortalMessagesIdAbuseReportError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::reportMessage error payload for HTTP 403.","x-handler-derived":"AbuseReportsHandler::reportMessage"},"PortalPostPortalMessagesIdAbuseReportError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::reportMessage error payload for HTTP 404.","x-handler-derived":"AbuseReportsHandler::reportMessage"},"PortalPostPortalMessagesIdAbuseReportError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::reportMessage error payload for HTTP 422.","x-handler-derived":"AbuseReportsHandler::reportMessage"},"PortalPostPortalMessagesIdAbuseReportError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::reportMessage error payload for HTTP 500.","x-handler-derived":"AbuseReportsHandler::reportMessage"},"PortalPostPortalMessagesIdAbuseReportResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by AbuseReportsHandler::reportMessage."},"message":{"description":"Field serialized by AbuseReportsHandler::reportMessage."},"details":{"description":"Field serialized by AbuseReportsHandler::reportMessage."},"trace_id":{"description":"Field serialized by AbuseReportsHandler::reportMessage."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalMessagesIdArchiveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::archive error payload for HTTP 401.","x-handler-derived":"MessagesHandler::archive"},"PortalPostPortalMessagesIdArchiveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::archive error payload for HTTP 403.","x-handler-derived":"MessagesHandler::archive"},"PortalPostPortalMessagesIdArchiveError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::archive error payload for HTTP 404.","x-handler-derived":"MessagesHandler::archive"},"PortalPostPortalMessagesIdArchiveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::archive error payload for HTTP 429.","x-handler-derived":"MessagesHandler::archive"},"PortalPostPortalMessagesIdArchiveResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by MessagesHandler::archive."},"message":{"description":"Field serialized by MessagesHandler::archive."},"details":{"description":"Field serialized by MessagesHandler::archive."},"trace_id":{"description":"Field serialized by MessagesHandler::archive."}}},"PortalPostPortalMessagesIdMarkReadError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markRead error payload for HTTP 400.","x-handler-derived":"MessagesHandler::markRead"},"PortalPostPortalMessagesIdMarkReadError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markRead error payload for HTTP 401.","x-handler-derived":"MessagesHandler::markRead"},"PortalPostPortalMessagesIdMarkReadError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markRead error payload for HTTP 403.","x-handler-derived":"MessagesHandler::markRead"},"PortalPostPortalMessagesIdMarkReadError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markRead error payload for HTTP 404.","x-handler-derived":"MessagesHandler::markRead"},"PortalPostPortalMessagesIdMarkReadError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markRead error payload for HTTP 500.","x-handler-derived":"MessagesHandler::markRead"},"PortalPostPortalMessagesIdMarkReadResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by MessagesHandler::markRead."},"message":{"description":"Field serialized by MessagesHandler::markRead."},"details":{"description":"Field serialized by MessagesHandler::markRead."},"trace_id":{"description":"Field serialized by MessagesHandler::markRead."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalMessagesIdMarkUnreadError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markUnread error payload for HTTP 400.","x-handler-derived":"MessagesHandler::markUnread"},"PortalPostPortalMessagesIdMarkUnreadError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markUnread error payload for HTTP 401.","x-handler-derived":"MessagesHandler::markUnread"},"PortalPostPortalMessagesIdMarkUnreadError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markUnread error payload for HTTP 403.","x-handler-derived":"MessagesHandler::markUnread"},"PortalPostPortalMessagesIdMarkUnreadError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markUnread error payload for HTTP 404.","x-handler-derived":"MessagesHandler::markUnread"},"PortalPostPortalMessagesIdMarkUnreadError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"MessagesHandler::markUnread error payload for HTTP 500.","x-handler-derived":"MessagesHandler::markUnread"},"PortalPostPortalMessagesIdMarkUnreadResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by MessagesHandler::markUnread."},"message":{"description":"Field serialized by MessagesHandler::markUnread."},"details":{"description":"Field serialized by MessagesHandler::markUnread."},"trace_id":{"description":"Field serialized by MessagesHandler::markUnread."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalMessagesRepliesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::create error payload for HTTP 400.","x-handler-derived":"QuickRepliesHandler::create"},"PortalPostPortalMessagesRepliesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"QuickRepliesHandler::create error payload for HTTP 500.","x-handler-derived":"QuickRepliesHandler::create"},"PortalPostPortalMessagesRepliesResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalMessagesTemplatesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TemplatesHandler::create error payload for HTTP 400.","x-handler-derived":"TemplatesHandler::create"},"PortalPostPortalMessagesTemplatesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TemplatesHandler::create error payload for HTTP 500.","x-handler-derived":"TemplatesHandler::create"},"PortalPostPortalMessagesTemplatesResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalModerationAbuseReportsIdDecisionError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::decide error payload for HTTP 400.","x-handler-derived":"AbuseReportsHandler::decide"},"PortalPostPortalModerationAbuseReportsIdDecisionError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::decide error payload for HTTP 401.","x-handler-derived":"AbuseReportsHandler::decide"},"PortalPostPortalModerationAbuseReportsIdDecisionError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::decide error payload for HTTP 403.","x-handler-derived":"AbuseReportsHandler::decide"},"PortalPostPortalModerationAbuseReportsIdDecisionError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::decide error payload for HTTP 404.","x-handler-derived":"AbuseReportsHandler::decide"},"PortalPostPortalModerationAbuseReportsIdDecisionError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"AbuseReportsHandler::decide error payload for HTTP 500.","x-handler-derived":"AbuseReportsHandler::decide"},"PortalPostPortalModerationAbuseReportsIdDecisionResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by AbuseReportsHandler::decide."},"message":{"description":"Field serialized by AbuseReportsHandler::decide."},"details":{"description":"Field serialized by AbuseReportsHandler::decide."},"trace_id":{"description":"Field serialized by AbuseReportsHandler::decide."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalModerationReportsIdDecisionError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::decide error payload for HTTP 400.","x-handler-derived":"ReportsHandler::decide"},"PortalPostPortalModerationReportsIdDecisionError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::decide error payload for HTTP 401.","x-handler-derived":"ReportsHandler::decide"},"PortalPostPortalModerationReportsIdDecisionError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::decide error payload for HTTP 403.","x-handler-derived":"ReportsHandler::decide"},"PortalPostPortalModerationReportsIdDecisionError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::decide error payload for HTTP 404.","x-handler-derived":"ReportsHandler::decide"},"PortalPostPortalModerationReportsIdDecisionError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::decide error payload for HTTP 500.","x-handler-derived":"ReportsHandler::decide"},"PortalPostPortalModerationReportsIdDecisionResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ReportsHandler::decide."},"message":{"description":"Field serialized by ReportsHandler::decide."},"details":{"description":"Field serialized by ReportsHandler::decide."},"trace_id":{"description":"Field serialized by ReportsHandler::decide."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalModeratorApplicationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::moderatorApplication error payload for HTTP 400.","x-handler-derived":"PortalFormsController::moderatorApplication"},"PortalPostPortalModeratorApplicationError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::moderatorApplication error payload for HTTP 404.","x-handler-derived":"PortalFormsController::moderatorApplication"},"PortalPostPortalModeratorApplicationError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::moderatorApplication error payload for HTTP 422.","x-handler-derived":"PortalFormsController::moderatorApplication"},"PortalPostPortalModeratorApplicationError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::moderatorApplication error payload for HTTP 429.","x-handler-derived":"PortalFormsController::moderatorApplication"},"PortalPostPortalModeratorApplicationError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::moderatorApplication error payload for HTTP 500.","x-handler-derived":"PortalFormsController::moderatorApplication"},"PortalPostPortalModeratorApplicationRequest":{"type":"object","additionalProperties":false,"properties":{"availability":{"description":"Reviewed handler-consumed request field."},"email":{"description":"Reviewed handler-consumed request field."},"experience":{"description":"Reviewed handler-consumed request field."},"motivation":{"description":"Reviewed handler-consumed request field."},"name":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalModeratorApplicationResponse":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Field serialized by PortalFormsController::moderatorApplication."},"reason":{"description":"Field serialized by PortalFormsController::moderatorApplication."},"message":{"description":"Field serialized by PortalFormsController::moderatorApplication."},"fields":{"description":"Field serialized by PortalFormsController::moderatorApplication."},"id":{"description":"Field serialized by PortalFormsController::moderatorApplication."},"received":{"description":"Field serialized by PortalFormsController::moderatorApplication."}}},"PortalPostPortalPromotionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::create error payload for HTTP 400.","x-handler-derived":"PortalPromotionsHandler::create"},"PortalPostPortalPromotionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::create error payload for HTTP 401.","x-handler-derived":"PortalPromotionsHandler::create"},"PortalPostPortalPromotionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::create error payload for HTTP 403.","x-handler-derived":"PortalPromotionsHandler::create"},"PortalPostPortalPromotionsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::create error payload for HTTP 500.","x-handler-derived":"PortalPromotionsHandler::create"},"PortalPostPortalPromotionsIdExtendError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::extend error payload for HTTP 400.","x-handler-derived":"PortalPromotionsHandler::extend"},"PortalPostPortalPromotionsIdExtendError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::extend error payload for HTTP 401.","x-handler-derived":"PortalPromotionsHandler::extend"},"PortalPostPortalPromotionsIdExtendError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::extend error payload for HTTP 403.","x-handler-derived":"PortalPromotionsHandler::extend"},"PortalPostPortalPromotionsIdExtendError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::extend error payload for HTTP 404.","x-handler-derived":"PortalPromotionsHandler::extend"},"PortalPostPortalPromotionsIdExtendError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalPromotionsHandler::extend error payload for HTTP 500.","x-handler-derived":"PortalPromotionsHandler::extend"},"PortalPostPortalPromotionsIdExtendResponse":{"type":"object","additionalProperties":false,"properties":{"promotion":{"description":"Field serialized by PortalPromotionsHandler::extend."}}},"PortalPostPortalPromotionsResponse":{"type":"object","additionalProperties":false,"properties":{"promotion":{"description":"Field serialized by PortalPromotionsHandler::create."}}},"PortalPostPortalReviewsIdAppealError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 409.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalReviewsIdAppealResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::appeal."},"message":{"description":"Field serialized by PortalReviewModerationHandler::appeal."}}},"PortalPostPortalReviewsIdApproveError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 409.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalReviewsIdApproveResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::approve."},"message":{"description":"Field serialized by PortalReviewModerationHandler::approve."}}},"PortalPostPortalReviewsIdRejectError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 409.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalReviewsIdRejectResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::reject."},"message":{"description":"Field serialized by PortalReviewModerationHandler::reject."}}},"PortalPostPortalSeedError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::seed error payload for HTTP 400.","x-handler-derived":"PortalSeedHandler::seed"},"PortalPostPortalSeedError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::seed error payload for HTTP 401.","x-handler-derived":"PortalSeedHandler::seed"},"PortalPostPortalSeedError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::seed error payload for HTTP 403.","x-handler-derived":"PortalSeedHandler::seed"},"PortalPostPortalSeedError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::seed error payload for HTTP 422.","x-handler-derived":"PortalSeedHandler::seed"},"PortalPostPortalSeedError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::seed error payload for HTTP 429.","x-handler-derived":"PortalSeedHandler::seed"},"PortalPostPortalSeedError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeedHandler::seed error payload for HTTP 503.","x-handler-derived":"PortalSeedHandler::seed"},"PortalPostPortalSeedResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by PortalSeedHandler::seed."},"message":{"description":"Field serialized by PortalSeedHandler::seed."},"details":{"description":"Field serialized by PortalSeedHandler::seed."},"count":{"description":"Field serialized by PortalSeedHandler::seed."},"defaultPortal":{"description":"Field serialized by PortalSeedHandler::seed."},"requested":{"description":"Field serialized by PortalSeedHandler::seed."},"allowed":{"description":"Field serialized by PortalSeedHandler::seed."},"seeded":{"description":"Field serialized by PortalSeedHandler::seed."},"portalId":{"description":"Field serialized by PortalSeedHandler::seed."}}},"PortalPostPortalSubscriptionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::create error payload for HTTP 400.","x-handler-derived":"SubscriptionsHandler::create"},"PortalPostPortalSubscriptionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::create error payload for HTTP 401.","x-handler-derived":"SubscriptionsHandler::create"},"PortalPostPortalSubscriptionsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionsHandler::create error payload for HTTP 500.","x-handler-derived":"SubscriptionsHandler::create"},"PortalPostPortalSubscriptionsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SubscriptionsHandler::create."},"message":{"description":"Field serialized by SubscriptionsHandler::create."},"details":{"description":"Field serialized by SubscriptionsHandler::create."},"trace_id":{"description":"Field serialized by SubscriptionsHandler::create."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalSupportInquiryError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::supportInquiry error payload for HTTP 400.","x-handler-derived":"PortalFormsController::supportInquiry"},"PortalPostPortalSupportInquiryError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::supportInquiry error payload for HTTP 422.","x-handler-derived":"PortalFormsController::supportInquiry"},"PortalPostPortalSupportInquiryError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::supportInquiry error payload for HTTP 429.","x-handler-derived":"PortalFormsController::supportInquiry"},"PortalPostPortalSupportInquiryError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::supportInquiry error payload for HTTP 500.","x-handler-derived":"PortalFormsController::supportInquiry"},"PortalPostPortalSupportInquiryRequest":{"type":"object","additionalProperties":false,"properties":{"additional_service_ordered":{"description":"Optional self-reported order context for report-error; never proof of entitlement.","oneOf":[{"type":"boolean"},{"type":"integer","enum":[0,1]},{"type":"string","enum":["","0","1","true","false","on","off"]}]},"answer_mode":{"type":"string","enum":["","ai","human"]},"error_family":{"type":"string"},"page_url":{"type":"string","maxLength":500,"description":"Relative page path only; no query, fragment, protocol-relative URL or backslash."},"client_system":{"type":"string","maxLength":500,"description":"Browser, platform and language; never other form contents."},"error_code":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9_-]{0,64}$"},"email":{"description":"Reviewed handler-consumed request field."},"locale":{"description":"Reviewed handler-consumed request field."},"message":{"description":"Reviewed handler-consumed request field."},"name":{"description":"Reviewed handler-consumed request field."},"topic":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalSupportInquiryResponse":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Field serialized by PortalFormsController::supportInquiry."},"reason":{"description":"Field serialized by PortalFormsController::supportInquiry."},"message":{"description":"Field serialized by PortalFormsController::supportInquiry."},"id":{"description":"Field serialized by PortalFormsController::supportInquiry."},"received":{"description":"Field serialized by PortalFormsController::supportInquiry."},"topic":{"description":"Field serialized by PortalFormsController::supportInquiry."},"acknowledgementQueued":{"description":"Field serialized by PortalFormsController::supportInquiry."},"fields":{"description":"Field serialized by PortalFormsController::supportInquiry."}}},"PortalPostPortalTagsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::create error payload for HTTP 400.","x-handler-derived":"TagsHandler::create"},"PortalPostPortalTagsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::create error payload for HTTP 403.","x-handler-derived":"TagsHandler::create"},"PortalPostPortalTagsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"TagsHandler::create error payload for HTTP 500.","x-handler-derived":"TagsHandler::create"},"PortalPostPortalTagsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by TagsHandler::create."},"message":{"description":"Field serialized by TagsHandler::create."},"details":{"description":"Field serialized by TagsHandler::create."},"trace_id":{"description":"Field serialized by TagsHandler::create."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalTenantIdAdminActivationCodesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::reissue error payload for HTTP 400.","x-handler-derived":"PortalAdminActivationCodeHandler::reissue"},"PortalPostPortalTenantIdAdminActivationCodesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::reissue error payload for HTTP 401.","x-handler-derived":"PortalAdminActivationCodeHandler::reissue"},"PortalPostPortalTenantIdAdminActivationCodesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::reissue error payload for HTTP 403.","x-handler-derived":"PortalAdminActivationCodeHandler::reissue"},"PortalPostPortalTenantIdAdminActivationCodesError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::reissue error payload for HTTP 422.","x-handler-derived":"PortalAdminActivationCodeHandler::reissue"},"PortalPostPortalTenantIdAdminActivationCodesError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::reissue error payload for HTTP 429.","x-handler-derived":"PortalAdminActivationCodeHandler::reissue"},"PortalPostPortalTenantIdAdminActivationCodesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::reissue error payload for HTTP 500.","x-handler-derived":"PortalAdminActivationCodeHandler::reissue"},"PortalPostPortalTenantIdAdminActivationCodesIdLetterSentError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::letterSent error payload for HTTP 401.","x-handler-derived":"PortalAdminActivationCodeHandler::letterSent"},"PortalPostPortalTenantIdAdminActivationCodesIdLetterSentError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::letterSent error payload for HTTP 403.","x-handler-derived":"PortalAdminActivationCodeHandler::letterSent"},"PortalPostPortalTenantIdAdminActivationCodesIdLetterSentError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::letterSent error payload for HTTP 404.","x-handler-derived":"PortalAdminActivationCodeHandler::letterSent"},"PortalPostPortalTenantIdAdminActivationCodesIdLetterSentError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::letterSent error payload for HTTP 409.","x-handler-derived":"PortalAdminActivationCodeHandler::letterSent"},"PortalPostPortalTenantIdAdminActivationCodesIdLetterSentError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminActivationCodeHandler::letterSent error payload for HTTP 429.","x-handler-derived":"PortalAdminActivationCodeHandler::letterSent"},"PortalPostPortalTenantIdAdminActivationCodesIdLetterSentResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminActivationCodeHandler::letterSent."},"success":{"description":"Field serialized by PortalAdminActivationCodeHandler::letterSent."},"item":{"description":"Field serialized by PortalAdminActivationCodeHandler::letterSent."}}},"PortalPostPortalTenantIdAdminActivationCodesRequest":{"type":"object","additionalProperties":false,"properties":{"listingId":{"description":"Reviewed handler-consumed request field."},"orderId":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdAdminActivationCodesResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminActivationCodeHandler::reissue."},"success":{"description":"Field serialized by PortalAdminActivationCodeHandler::reissue."},"item":{"description":"Field serialized by PortalAdminActivationCodeHandler::reissue."}}},"PortalPostPortalTenantIdAdminBlocklistError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::addToBlocklist error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::addToBlocklist"},"PortalPostPortalTenantIdAdminBlocklistError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::addToBlocklist error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::addToBlocklist"},"PortalPostPortalTenantIdAdminBlocklistError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::addToBlocklist error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::addToBlocklist"},"PortalPostPortalTenantIdAdminBlocklistError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::addToBlocklist error payload for HTTP 429.","x-handler-derived":"PortalAdminBlocklistHandler::addToBlocklist"},"PortalPostPortalTenantIdAdminBlocklistResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminBlocklistHandler::addToBlocklist."},"data":{"description":"Field serialized by PortalAdminBlocklistHandler::addToBlocklist."}}},"PortalPostPortalTenantIdAdminContentReviewListingIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 400.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 401.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 403.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 404.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 422.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 429.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setContentReviewState error payload for HTTP 503.","x-handler-derived":"PortalAdminListingsHandler::setContentReviewState"},"PortalPostPortalTenantIdAdminContentReviewListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminListingsHandler::setContentReviewState."},"listing":{"description":"Field serialized by PortalAdminListingsHandler::setContentReviewState."}}},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::link error payload for HTTP 400.","x-handler-derived":"PortalCustomerAliasHandler::link"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::link error payload for HTTP 401.","x-handler-derived":"PortalCustomerAliasHandler::link"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::link error payload for HTTP 403.","x-handler-derived":"PortalCustomerAliasHandler::link"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::link error payload for HTTP 429.","x-handler-derived":"PortalCustomerAliasHandler::link"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::link error payload for HTTP 500.","x-handler-derived":"PortalCustomerAliasHandler::link"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdRevokeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::revoke error payload for HTTP 400.","x-handler-derived":"PortalCustomerAliasHandler::revoke"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdRevokeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::revoke error payload for HTTP 401.","x-handler-derived":"PortalCustomerAliasHandler::revoke"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdRevokeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::revoke error payload for HTTP 403.","x-handler-derived":"PortalCustomerAliasHandler::revoke"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdRevokeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::revoke error payload for HTTP 429.","x-handler-derived":"PortalCustomerAliasHandler::revoke"},"PortalPostPortalTenantIdAdminCustomerAliasesUserIdRevokeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCustomerAliasHandler::revoke error payload for HTTP 500.","x-handler-derived":"PortalCustomerAliasHandler::revoke"},"PortalPostPortalTenantIdAdminDomainsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::create error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::create"},"PortalPostPortalTenantIdAdminDomainsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::create error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::create"},"PortalPostPortalTenantIdAdminDomainsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::create error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::create"},"PortalPostPortalTenantIdAdminDomainsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::create error payload for HTTP 422.","x-handler-derived":"DomainMappingHandler::create"},"PortalPostPortalTenantIdAdminDomainsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::create error payload for HTTP 500.","x-handler-derived":"DomainMappingHandler::create"},"PortalPostPortalTenantIdAdminDomainsIdCheckSslError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::checkSsl error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::checkSsl"},"PortalPostPortalTenantIdAdminDomainsIdCheckSslError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::checkSsl error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::checkSsl"},"PortalPostPortalTenantIdAdminDomainsIdCheckSslError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::checkSsl error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::checkSsl"},"PortalPostPortalTenantIdAdminDomainsIdCheckSslError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::checkSsl error payload for HTTP 404.","x-handler-derived":"DomainMappingHandler::checkSsl"},"PortalPostPortalTenantIdAdminDomainsIdCheckSslResponse":{"type":"object","additionalProperties":false,"properties":{"ssl_status":{"description":"Field serialized by DomainMappingHandler::checkSsl."},"ssl_expires_at":{"description":"Field serialized by DomainMappingHandler::checkSsl."},"ssl_issuer":{"description":"Field serialized by DomainMappingHandler::checkSsl."},"domain":{"description":"Field serialized by DomainMappingHandler::checkSsl."}}},"PortalPostPortalTenantIdAdminDomainsIdVerifyError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verify error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::verify"},"PortalPostPortalTenantIdAdminDomainsIdVerifyError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verify error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::verify"},"PortalPostPortalTenantIdAdminDomainsIdVerifyError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verify error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::verify"},"PortalPostPortalTenantIdAdminDomainsIdVerifyError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verify error payload for HTTP 404.","x-handler-derived":"DomainMappingHandler::verify"},"PortalPostPortalTenantIdAdminDomainsIdVerifyResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by DomainMappingHandler::verify."},"verified":{"description":"Field serialized by DomainMappingHandler::verify."},"message":{"description":"Field serialized by DomainMappingHandler::verify."}}},"PortalPostPortalTenantIdAdminDomainsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by DomainMappingHandler::create."},"error":{"description":"Field serialized by DomainMappingHandler::create."},"message":{"description":"Field serialized by DomainMappingHandler::create."}}},"PortalPostPortalTenantIdAdminDomainsVerifyPendingError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verifyPending error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::verifyPending"},"PortalPostPortalTenantIdAdminDomainsVerifyPendingError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verifyPending error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::verifyPending"},"PortalPostPortalTenantIdAdminDomainsVerifyPendingError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::verifyPending error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::verifyPending"},"PortalPostPortalTenantIdAdminDomainsVerifyPendingResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by DomainMappingHandler::verifyPending."},"total":{"description":"Field serialized by DomainMappingHandler::verifyPending."}}},"PortalPostPortalTenantIdAdminDunningReviewsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::prepare error payload for HTTP 400.","x-handler-derived":"PortalDunningHandler::prepare"},"PortalPostPortalTenantIdAdminDunningReviewsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::prepare error payload for HTTP 401.","x-handler-derived":"PortalDunningHandler::prepare"},"PortalPostPortalTenantIdAdminDunningReviewsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::prepare error payload for HTTP 403.","x-handler-derived":"PortalDunningHandler::prepare"},"PortalPostPortalTenantIdAdminDunningReviewsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::prepare error payload for HTTP 404.","x-handler-derived":"PortalDunningHandler::prepare"},"PortalPostPortalTenantIdAdminDunningReviewsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::prepare error payload for HTTP 422.","x-handler-derived":"PortalDunningHandler::prepare"},"PortalPostPortalTenantIdAdminDunningReviewsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::prepare error payload for HTTP 429.","x-handler-derived":"PortalDunningHandler::prepare"},"PortalPostPortalTenantIdAdminDunningReviewsRunIdEntriesEntryIdSkipError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::skip error payload for HTTP 400.","x-handler-derived":"PortalDunningHandler::skip"},"PortalPostPortalTenantIdAdminDunningReviewsRunIdEntriesEntryIdSkipError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::skip error payload for HTTP 401.","x-handler-derived":"PortalDunningHandler::skip"},"PortalPostPortalTenantIdAdminDunningReviewsRunIdEntriesEntryIdSkipError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::skip error payload for HTTP 403.","x-handler-derived":"PortalDunningHandler::skip"},"PortalPostPortalTenantIdAdminDunningReviewsRunIdEntriesEntryIdSkipError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::skip error payload for HTTP 404.","x-handler-derived":"PortalDunningHandler::skip"},"PortalPostPortalTenantIdAdminDunningReviewsRunIdEntriesEntryIdSkipError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::skip error payload for HTTP 422.","x-handler-derived":"PortalDunningHandler::skip"},"PortalPostPortalTenantIdAdminDunningReviewsRunIdEntriesEntryIdSkipError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDunningHandler::skip error payload for HTTP 429.","x-handler-derived":"PortalDunningHandler::skip"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 400.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 401.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 403.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 409.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 422.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 429.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminInvoiceArchiveArchiveIdResendDraftError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceArchiveHandler::resend error payload for HTTP 503.","x-handler-derived":"PortalInvoiceArchiveHandler::resend"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::approve error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::approve"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdApproveResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::approve."},"message":{"description":"Field serialized by PortalListingClaimsHandler::approve."}}},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::decide error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::decide"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdDecisionResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::decide."},"message":{"description":"Field serialized by PortalListingClaimsHandler::decide."}}},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::reject error payload for HTTP 500.","x-handler-derived":"PortalListingClaimsHandler::reject"},"PortalPostPortalTenantIdAdminListingsClaimsClaimIdRejectResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::reject."},"message":{"description":"Field serialized by PortalListingClaimsHandler::reject."}}},"PortalPostPortalTenantIdAdminListingsListingIdTransferError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 400.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 401.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 403.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 404.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 409.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 422.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 429.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingTransferHandler::transfer error payload for HTTP 500.","x-handler-derived":"PortalAdminListingTransferHandler::transfer"},"PortalPostPortalTenantIdAdminListingsListingIdTransferResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminListingTransferHandler::transfer."},"message":{"description":"Field serialized by PortalAdminListingTransferHandler::transfer."}}},"PortalPostPortalTenantIdAdminManualContactsIdReleaseError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::releaseManualContact error payload for HTTP 400.","x-handler-derived":"InquiryHandler::releaseManualContact"},"PortalPostPortalTenantIdAdminManualContactsIdReleaseError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::releaseManualContact error payload for HTTP 429.","x-handler-derived":"InquiryHandler::releaseManualContact"},"PortalPostPortalTenantIdAdminManualContactsIdReleaseError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::releaseManualContact error payload for HTTP 500.","x-handler-derived":"InquiryHandler::releaseManualContact"},"PortalPostPortalTenantIdAdminManualContactsIdReleaseResponse":{"type":"object","additionalProperties":false,"properties":{"released_by":{"description":"Field serialized by InquiryHandler::releaseManualContact."}}},"PortalPostPortalTenantIdAdminModerationDraftsListingProblemError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsListingProblemError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsListingProblemError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsListingProblemError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsListingProblemError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 429.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsListingProblemError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 409.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 429.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsRepliesIdCancelError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationReplyHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalModerationReplyHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsSupportInfoError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsSupportInfoError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsSupportInfoError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsSupportInfoError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsSupportInfoError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 429.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationDraftsSupportInfoError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalModerationDraftHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalModerationDraftHandler::handle"},"PortalPostPortalTenantIdAdminModerationIdDecideError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::moderationDecide error payload for HTTP 400.","x-handler-derived":"PortalAdminModerationHandler::moderationDecide"},"PortalPostPortalTenantIdAdminModerationIdDecideError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::moderationDecide error payload for HTTP 401.","x-handler-derived":"PortalAdminModerationHandler::moderationDecide"},"PortalPostPortalTenantIdAdminModerationIdDecideError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::moderationDecide error payload for HTTP 403.","x-handler-derived":"PortalAdminModerationHandler::moderationDecide"},"PortalPostPortalTenantIdAdminModerationIdDecideError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::moderationDecide error payload for HTTP 429.","x-handler-derived":"PortalAdminModerationHandler::moderationDecide"},"PortalPostPortalTenantIdAdminModerationIdDecideError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::moderationDecide error payload for HTTP 500.","x-handler-derived":"PortalAdminModerationHandler::moderationDecide"},"PortalPostPortalTenantIdAdminModerationIdDecideResponse":{"type":"object","additionalProperties":false,"properties":{"decision":{"description":"Field serialized by PortalAdminModerationHandler::moderationDecide."},"decision_reason":{"description":"Field serialized by PortalAdminModerationHandler::moderationDecide."},"decided_by":{"description":"Field serialized by PortalAdminModerationHandler::moderationDecide."}}},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 400.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 401.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 403.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 404.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 422.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 429.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminModerationHandler::decidePendingListing error payload for HTTP 500.","x-handler-derived":"PortalAdminModerationHandler::decidePendingListing"},"PortalPostPortalTenantIdAdminModerationListingsIdDecisionResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminModerationHandler::decidePendingListing."},"decision":{"description":"Field serialized by PortalAdminModerationHandler::decidePendingListing."},"listing":{"description":"Field serialized by PortalAdminModerationHandler::decidePendingListing."}}},"PortalPostPortalTenantIdAdminOrderApprovalsAutoApproveError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::autoApprove error payload for HTTP 400.","x-handler-derived":"PortalOrderApprovalHandler::autoApprove"},"PortalPostPortalTenantIdAdminOrderApprovalsAutoApproveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::autoApprove error payload for HTTP 401.","x-handler-derived":"PortalOrderApprovalHandler::autoApprove"},"PortalPostPortalTenantIdAdminOrderApprovalsAutoApproveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::autoApprove error payload for HTTP 403.","x-handler-derived":"PortalOrderApprovalHandler::autoApprove"},"PortalPostPortalTenantIdAdminOrderApprovalsAutoApproveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::autoApprove error payload for HTTP 429.","x-handler-derived":"PortalOrderApprovalHandler::autoApprove"},"PortalPostPortalTenantIdAdminOrderApprovalsAutoApproveError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::autoApprove error payload for HTTP 503.","x-handler-derived":"PortalOrderApprovalHandler::autoApprove"},"PortalPostPortalTenantIdAdminOrderApprovalsAutoApproveResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOrderApprovalHandler::autoApprove."},"data":{"description":"Field serialized by PortalOrderApprovalHandler::autoApprove."}}},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdApproveError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::approve error payload for HTTP 400.","x-handler-derived":"PortalOrderApprovalHandler::approve"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdApproveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::approve error payload for HTTP 401.","x-handler-derived":"PortalOrderApprovalHandler::approve"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdApproveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::approve error payload for HTTP 403.","x-handler-derived":"PortalOrderApprovalHandler::approve"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdApproveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::approve error payload for HTTP 429.","x-handler-derived":"PortalOrderApprovalHandler::approve"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdApproveError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::approve error payload for HTTP 503.","x-handler-derived":"PortalOrderApprovalHandler::approve"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdSpamError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::spam error payload for HTTP 400.","x-handler-derived":"PortalOrderApprovalHandler::spam"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdSpamError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::spam error payload for HTTP 401.","x-handler-derived":"PortalOrderApprovalHandler::spam"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdSpamError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::spam error payload for HTTP 403.","x-handler-derived":"PortalOrderApprovalHandler::spam"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdSpamError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::spam error payload for HTTP 429.","x-handler-derived":"PortalOrderApprovalHandler::spam"},"PortalPostPortalTenantIdAdminOrderApprovalsOrderIdSpamError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOrderApprovalHandler::spam error payload for HTTP 503.","x-handler-derived":"PortalOrderApprovalHandler::spam"},"PortalPostPortalTenantIdAdminPaymentsBulkError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::bulk error payload for HTTP 400.","x-handler-derived":"PortalAdminPaymentsHandler::bulk"},"PortalPostPortalTenantIdAdminPaymentsBulkError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::bulk error payload for HTTP 401.","x-handler-derived":"PortalAdminPaymentsHandler::bulk"},"PortalPostPortalTenantIdAdminPaymentsBulkError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::bulk error payload for HTTP 403.","x-handler-derived":"PortalAdminPaymentsHandler::bulk"},"PortalPostPortalTenantIdAdminPaymentsBulkError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::bulk error payload for HTTP 429.","x-handler-derived":"PortalAdminPaymentsHandler::bulk"},"PortalPostPortalTenantIdAdminPaymentsBulkRequest":{"type":"object","additionalProperties":false,"properties":{"action":{"description":"Reviewed handler-consumed request field."},"orderIds":{"description":"Reviewed handler-consumed request field."},"paymentEvidence":{"type":"object","description":"Required for confirm; keyed by order id with one exact retained occurrence per order.","additionalProperties":{"$ref":"#/components/schemas/PortalPostPortalTenantIdAdminPaymentsIdConfirmRequest"}}}},"PortalPostPortalTenantIdAdminPaymentsBulkResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."},"message":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."},"success":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."},"action":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."},"processed":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."},"failed":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."},"results":{"description":"Field serialized by PortalAdminPaymentsHandler::bulk."}}},"PortalPostPortalTenantIdAdminPaymentsIdConfirmError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::confirm error payload for HTTP 400.","x-handler-derived":"PortalAdminPaymentsHandler::confirm"},"PortalPostPortalTenantIdAdminPaymentsIdConfirmError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::confirm error payload for HTTP 401.","x-handler-derived":"PortalAdminPaymentsHandler::confirm"},"PortalPostPortalTenantIdAdminPaymentsIdConfirmError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::confirm error payload for HTTP 403.","x-handler-derived":"PortalAdminPaymentsHandler::confirm"},"PortalPostPortalTenantIdAdminPaymentsIdConfirmError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::confirm error payload for HTTP 404.","x-handler-derived":"PortalAdminPaymentsHandler::confirm"},"PortalPostPortalTenantIdAdminPaymentsIdConfirmError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::confirm error payload for HTTP 422.","x-handler-derived":"PortalAdminPaymentsHandler::confirm"},"PortalPostPortalTenantIdAdminPaymentsIdConfirmError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::confirm error payload for HTTP 429.","x-handler-derived":"PortalAdminPaymentsHandler::confirm"},"PortalPostPortalTenantIdAdminPaymentsIdConfirmRequest":{"type":"object","additionalProperties":false,"required":["payment_reference","payment_date","source_document_id"],"properties":{"payment_reference":{"type":"string","minLength":1},"payment_date":{"type":"string","format":"date"},"source_document_id":{"type":"string","minLength":1,"description":"Retained payment_capture document whose checksum and occurrence facts match the confirmation."}}},"PortalPostPortalTenantIdAdminPaymentsIdConfirmResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."},"message":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."},"success":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."},"orderId":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."},"status":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."},"premiumActivated":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."},"orderNumber":{"description":"Field serialized by PortalAdminPaymentsHandler::confirm."}}},"PortalPostPortalTenantIdAdminPaymentsIdRefundError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::refund error payload for HTTP 400.","x-handler-derived":"PortalAdminPaymentsHandler::refund"},"PortalPostPortalTenantIdAdminPaymentsIdRefundError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::refund error payload for HTTP 401.","x-handler-derived":"PortalAdminPaymentsHandler::refund"},"PortalPostPortalTenantIdAdminPaymentsIdRefundError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::refund error payload for HTTP 403.","x-handler-derived":"PortalAdminPaymentsHandler::refund"},"PortalPostPortalTenantIdAdminPaymentsIdRefundError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::refund error payload for HTTP 404.","x-handler-derived":"PortalAdminPaymentsHandler::refund"},"PortalPostPortalTenantIdAdminPaymentsIdRefundError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::refund error payload for HTTP 422.","x-handler-derived":"PortalAdminPaymentsHandler::refund"},"PortalPostPortalTenantIdAdminPaymentsIdRefundError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::refund error payload for HTTP 429.","x-handler-derived":"PortalAdminPaymentsHandler::refund"},"PortalPostPortalTenantIdAdminPaymentsIdRefundResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminPaymentsHandler::refund."},"message":{"description":"Field serialized by PortalAdminPaymentsHandler::refund."},"success":{"description":"Field serialized by PortalAdminPaymentsHandler::refund."},"orderId":{"description":"Field serialized by PortalAdminPaymentsHandler::refund."},"status":{"description":"Field serialized by PortalAdminPaymentsHandler::refund."},"orderNumber":{"description":"Field serialized by PortalAdminPaymentsHandler::refund."}}},"PortalPostPortalTenantIdAdminPaymentsIdRejectError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 400.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 401.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 403.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 404.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 409.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 422.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminPaymentsHandler::reject error payload for HTTP 429.","x-handler-derived":"PortalAdminPaymentsHandler::reject"},"PortalPostPortalTenantIdAdminPaymentsIdRejectResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAdminPaymentsHandler::reject."},"message":{"description":"Field serialized by PortalAdminPaymentsHandler::reject."},"success":{"description":"Field serialized by PortalAdminPaymentsHandler::reject."},"orderId":{"description":"Field serialized by PortalAdminPaymentsHandler::reject."},"status":{"description":"Field serialized by PortalAdminPaymentsHandler::reject."},"orderNumber":{"description":"Field serialized by PortalAdminPaymentsHandler::reject."}}},"PortalPostPortalTenantIdAdminProblematicUsersError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::upsert error payload for HTTP 400.","x-handler-derived":"ProblematicUserHandler::upsert"},"PortalPostPortalTenantIdAdminProblematicUsersError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::upsert error payload for HTTP 401.","x-handler-derived":"ProblematicUserHandler::upsert"},"PortalPostPortalTenantIdAdminProblematicUsersError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::upsert error payload for HTTP 403.","x-handler-derived":"ProblematicUserHandler::upsert"},"PortalPostPortalTenantIdAdminProblematicUsersError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ProblematicUserHandler::upsert error payload for HTTP 429.","x-handler-derived":"ProblematicUserHandler::upsert"},"PortalPostPortalTenantIdAdminProblematicUsersResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ProblematicUserHandler::upsert."},"data":{"description":"Field serialized by ProblematicUserHandler::upsert."},"code":{"description":"Field serialized by ProblematicUserHandler::upsert."},"message":{"description":"Field serialized by ProblematicUserHandler::upsert."}}},"PortalPostPortalTenantIdAdminRecurringInvoicesInvoiceIdUpcomingItemsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceRulesHandler::assignUpcoming error payload for HTTP 401.","x-handler-derived":"PortalInvoiceRulesHandler::assignUpcoming"},"PortalPostPortalTenantIdAdminRecurringInvoicesInvoiceIdUpcomingItemsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceRulesHandler::assignUpcoming error payload for HTTP 403.","x-handler-derived":"PortalInvoiceRulesHandler::assignUpcoming"},"PortalPostPortalTenantIdAdminRecurringInvoicesInvoiceIdUpcomingItemsError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceRulesHandler::assignUpcoming error payload for HTTP 409.","x-handler-derived":"PortalInvoiceRulesHandler::assignUpcoming"},"PortalPostPortalTenantIdAdminRecurringInvoicesInvoiceIdUpcomingItemsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalInvoiceRulesHandler::assignUpcoming error payload for HTTP 429.","x-handler-derived":"PortalInvoiceRulesHandler::assignUpcoming"},"PortalPostPortalTenantIdAdminRecurringInvoicesInvoiceIdUpcomingItemsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalInvoiceRulesHandler::assignUpcoming.","x-handler-record":"PortalInvoiceRulesHandler::assignUpcoming"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 409.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::approve error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::approve"},"PortalPostPortalTenantIdAdminReviewsReviewIdApproveResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::approve."},"message":{"description":"Field serialized by PortalReviewModerationHandler::approve."}}},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 409.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::reject error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::reject"},"PortalPostPortalTenantIdAdminReviewsReviewIdRejectResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::reject."},"message":{"description":"Field serialized by PortalReviewModerationHandler::reject."}}},"PortalPostPortalTenantIdAdminSavedSearchesCheckError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::check error payload for HTTP 400.","x-handler-derived":"SavedSearchesHandler::check"},"PortalPostPortalTenantIdAdminSavedSearchesCheckError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::check error payload for HTTP 401.","x-handler-derived":"SavedSearchesHandler::check"},"PortalPostPortalTenantIdAdminSavedSearchesCheckError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::check error payload for HTTP 403.","x-handler-derived":"SavedSearchesHandler::check"},"PortalPostPortalTenantIdAdminSavedSearchesCheckError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::check error payload for HTTP 404.","x-handler-derived":"SavedSearchesHandler::check"},"PortalPostPortalTenantIdAdminSavedSearchesCheckError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::check error payload for HTTP 500.","x-handler-derived":"SavedSearchesHandler::check"},"PortalPostPortalTenantIdAdminSavedSearchesCheckResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SavedSearchesHandler::check."},"message":{"description":"Field serialized by SavedSearchesHandler::check."}}},"PortalPostPortalTenantIdAdminServicesCleanupError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::cleanup error payload for HTTP 400.","x-handler-derived":"PortalServiceLifecycleHandler::cleanup"},"PortalPostPortalTenantIdAdminServicesCleanupError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::cleanup error payload for HTTP 401.","x-handler-derived":"PortalServiceLifecycleHandler::cleanup"},"PortalPostPortalTenantIdAdminServicesCleanupError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::cleanup error payload for HTTP 403.","x-handler-derived":"PortalServiceLifecycleHandler::cleanup"},"PortalPostPortalTenantIdAdminServicesCleanupError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::cleanup error payload for HTTP 422.","x-handler-derived":"PortalServiceLifecycleHandler::cleanup"},"PortalPostPortalTenantIdAdminServicesCleanupError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::cleanup error payload for HTTP 429.","x-handler-derived":"PortalServiceLifecycleHandler::cleanup"},"PortalPostPortalTenantIdAdminServicesCleanupError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::cleanup error payload for HTTP 503.","x-handler-derived":"PortalServiceLifecycleHandler::cleanup"},"PortalPostPortalTenantIdAdminServicesIdUpgradeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgrade error payload for HTTP 400.","x-handler-derived":"PortalServiceLifecycleHandler::upgrade"},"PortalPostPortalTenantIdAdminServicesIdUpgradeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgrade error payload for HTTP 401.","x-handler-derived":"PortalServiceLifecycleHandler::upgrade"},"PortalPostPortalTenantIdAdminServicesIdUpgradeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgrade error payload for HTTP 403.","x-handler-derived":"PortalServiceLifecycleHandler::upgrade"},"PortalPostPortalTenantIdAdminServicesIdUpgradeError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgrade error payload for HTTP 422.","x-handler-derived":"PortalServiceLifecycleHandler::upgrade"},"PortalPostPortalTenantIdAdminServicesIdUpgradeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgrade error payload for HTTP 429.","x-handler-derived":"PortalServiceLifecycleHandler::upgrade"},"PortalPostPortalTenantIdAdminServicesIdUpgradeError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgrade error payload for HTTP 503.","x-handler-derived":"PortalServiceLifecycleHandler::upgrade"},"PortalPostPortalTenantIdAdminServicesIdUpgradePreviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgradePreview error payload for HTTP 400.","x-handler-derived":"PortalServiceLifecycleHandler::upgradePreview"},"PortalPostPortalTenantIdAdminServicesIdUpgradePreviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgradePreview error payload for HTTP 401.","x-handler-derived":"PortalServiceLifecycleHandler::upgradePreview"},"PortalPostPortalTenantIdAdminServicesIdUpgradePreviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgradePreview error payload for HTTP 403.","x-handler-derived":"PortalServiceLifecycleHandler::upgradePreview"},"PortalPostPortalTenantIdAdminServicesIdUpgradePreviewError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgradePreview error payload for HTTP 422.","x-handler-derived":"PortalServiceLifecycleHandler::upgradePreview"},"PortalPostPortalTenantIdAdminServicesIdUpgradePreviewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgradePreview error payload for HTTP 429.","x-handler-derived":"PortalServiceLifecycleHandler::upgradePreview"},"PortalPostPortalTenantIdAdminServicesIdUpgradePreviewError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceLifecycleHandler::upgradePreview error payload for HTTP 503.","x-handler-derived":"PortalServiceLifecycleHandler::upgradePreview"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 400.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 401.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 403.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 404.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 409.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 422.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 429.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 500.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxIdProcessError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportInboxHandler::process error payload for HTTP 503.","x-handler-derived":"PortalSupportInboxHandler::process"},"PortalPostPortalTenantIdAdminSupportInboxStandardTextsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPostPortalTenantIdAdminSupportInboxStandardTextsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPostPortalTenantIdAdminSupportInboxStandardTextsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPostPortalTenantIdAdminSupportInboxStandardTextsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::templates error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::templates"},"PortalPostPortalTenantIdAdminSupportInboxStandardTextsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::templates.","x-handler-record":"PortalSupportLibraryHandler::templates"},"PortalPostPortalTenantIdAdminSupportInboxTopicsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPostPortalTenantIdAdminSupportInboxTopicsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPostPortalTenantIdAdminSupportInboxTopicsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPostPortalTenantIdAdminSupportInboxTopicsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPostPortalTenantIdAdminSupportInboxTopicsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::topics.","x-handler-record":"PortalSupportLibraryHandler::topics"},"PortalPostPortalTenantIdAdminUsersUserIdAnnotateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::annotate error payload for HTTP 400.","x-handler-derived":"PortalAdminUsersHandler::annotate"},"PortalPostPortalTenantIdAdminUsersUserIdAnnotateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::annotate error payload for HTTP 401.","x-handler-derived":"PortalAdminUsersHandler::annotate"},"PortalPostPortalTenantIdAdminUsersUserIdAnnotateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::annotate error payload for HTTP 403.","x-handler-derived":"PortalAdminUsersHandler::annotate"},"PortalPostPortalTenantIdAdminUsersUserIdAnnotateError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::annotate error payload for HTTP 429.","x-handler-derived":"PortalAdminUsersHandler::annotate"},"PortalPostPortalTenantIdAdminUsersUserIdAnnotateResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminUsersHandler::annotate."},"message":{"description":"Field serialized by PortalAdminUsersHandler::annotate."}}},"PortalPostPortalTenantIdAdminUsersUserIdBanError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::ban error payload for HTTP 400.","x-handler-derived":"PortalAdminUsersHandler::ban"},"PortalPostPortalTenantIdAdminUsersUserIdBanError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::ban error payload for HTTP 401.","x-handler-derived":"PortalAdminUsersHandler::ban"},"PortalPostPortalTenantIdAdminUsersUserIdBanError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::ban error payload for HTTP 403.","x-handler-derived":"PortalAdminUsersHandler::ban"},"PortalPostPortalTenantIdAdminUsersUserIdBanError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::ban error payload for HTTP 404.","x-handler-derived":"PortalAdminUsersHandler::ban"},"PortalPostPortalTenantIdAdminUsersUserIdBanError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::ban error payload for HTTP 429.","x-handler-derived":"PortalAdminUsersHandler::ban"},"PortalPostPortalTenantIdAdminUsersUserIdBanResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminUsersHandler::ban."},"message":{"description":"Field serialized by PortalAdminUsersHandler::ban."}}},"PortalPostPortalTenantIdAdminUsersUserIdShopViewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::start error payload for HTTP 400.","x-handler-derived":"PortalShopViewHandler::start"},"PortalPostPortalTenantIdAdminUsersUserIdShopViewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::start error payload for HTTP 401.","x-handler-derived":"PortalShopViewHandler::start"},"PortalPostPortalTenantIdAdminUsersUserIdShopViewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::start error payload for HTTP 403.","x-handler-derived":"PortalShopViewHandler::start"},"PortalPostPortalTenantIdAdminUsersUserIdShopViewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::start error payload for HTTP 429.","x-handler-derived":"PortalShopViewHandler::start"},"PortalPostPortalTenantIdAdminUsersUserIdShopViewError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::start error payload for HTTP 503.","x-handler-derived":"PortalShopViewHandler::start"},"PortalPostPortalTenantIdAdminUsersUserIdShopViewResponse":{"type":"object","additionalProperties":false,"properties":{"ended":{"description":"Field serialized by PortalShopViewHandler::start."}}},"PortalPostPortalTenantIdAdminUsersUserIdVerifyError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::verify error payload for HTTP 400.","x-handler-derived":"PortalAdminUsersHandler::verify"},"PortalPostPortalTenantIdAdminUsersUserIdVerifyError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::verify error payload for HTTP 401.","x-handler-derived":"PortalAdminUsersHandler::verify"},"PortalPostPortalTenantIdAdminUsersUserIdVerifyError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::verify error payload for HTTP 403.","x-handler-derived":"PortalAdminUsersHandler::verify"},"PortalPostPortalTenantIdAdminUsersUserIdVerifyError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::verify error payload for HTTP 404.","x-handler-derived":"PortalAdminUsersHandler::verify"},"PortalPostPortalTenantIdAdminUsersUserIdVerifyError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminUsersHandler::verify error payload for HTTP 429.","x-handler-derived":"PortalAdminUsersHandler::verify"},"PortalPostPortalTenantIdAdminUsersUserIdVerifyResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminUsersHandler::verify."},"message":{"description":"Field serialized by PortalAdminUsersHandler::verify."}}},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 400.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 401.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 403.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 404.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 409.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 429.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::review error payload for HTTP 500.","x-handler-derived":"PortalOwnerVerificationHandler::review"},"PortalPostPortalTenantIdAdminVerificationSubmissionsVerificationIdReviewResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOwnerVerificationHandler::review."},"message":{"description":"Field serialized by PortalOwnerVerificationHandler::review."}}},"PortalPostPortalTenantIdAttachmentsKindResourceIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 400.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 401.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 403.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 404.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 413.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 422.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 429.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAttachmentHandler::handle error payload for HTTP 503.","x-handler-derived":"PortalAttachmentHandler::handle"},"PortalPostPortalTenantIdAttachmentsKindResourceIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalAttachmentHandler::handle."},"shop":{"description":"Field serialized by PortalAttachmentHandler::handle."},"items":{"description":"Field serialized by PortalAttachmentHandler::handle."},"can_edit":{"description":"Field serialized by PortalAttachmentHandler::handle."},"deleted":{"description":"Field serialized by PortalAttachmentHandler::handle."},"id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"listing_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"title":{"description":"Field serialized by PortalAttachmentHandler::handle."},"media_id":{"description":"Field serialized by PortalAttachmentHandler::handle."},"filename":{"description":"Field serialized by PortalAttachmentHandler::handle."},"mime_type":{"description":"Field serialized by PortalAttachmentHandler::handle."},"size_bytes":{"description":"Field serialized by PortalAttachmentHandler::handle."},"embed_url":{"description":"Field serialized by PortalAttachmentHandler::handle."}}},"PortalPostPortalTenantIdAuthActivateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::activate error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::activate"},"PortalPostPortalTenantIdAuthActivateError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::activate error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::activate"},"PortalPostPortalTenantIdAuthActivateError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::activate error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::activate"},"PortalPostPortalTenantIdAuthActivateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::activate error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::activate"},"PortalPostPortalTenantIdAuthActivateResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::activate."},"message":{"description":"Field serialized by PortalUserAuthHandler::activate."},"listingActivated":{"type":"boolean"},"passwordMinLength":{"type":"integer","minimum":8,"maximum":1024},"warnings":{"type":"array","items":{"type":"string"}}}},"PortalPostPortalTenantIdAuthDeleteConfirmError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteConfirm error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::deleteConfirm"},"PortalPostPortalTenantIdAuthDeleteConfirmError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteConfirm error payload for HTTP 401.","x-handler-derived":"PortalUserAuthHandler::deleteConfirm"},"PortalPostPortalTenantIdAuthDeleteConfirmError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteConfirm error payload for HTTP 403.","x-handler-derived":"PortalUserAuthHandler::deleteConfirm"},"PortalPostPortalTenantIdAuthDeleteConfirmError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteConfirm error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::deleteConfirm"},"PortalPostPortalTenantIdAuthDeleteConfirmError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteConfirm error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::deleteConfirm"},"PortalPostPortalTenantIdAuthDeleteConfirmResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::deleteConfirm."},"message":{"description":"Field serialized by PortalUserAuthHandler::deleteConfirm."}}},"PortalPostPortalTenantIdAuthDeleteRequestError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteRequest error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::deleteRequest"},"PortalPostPortalTenantIdAuthDeleteRequestError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteRequest error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::deleteRequest"},"PortalPostPortalTenantIdAuthDeleteRequestError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteRequest error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::deleteRequest"},"PortalPostPortalTenantIdAuthDeleteRequestError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::deleteRequest error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::deleteRequest"},"PortalPostPortalTenantIdAuthDeleteRequestResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::deleteRequest."},"message":{"description":"Field serialized by PortalUserAuthHandler::deleteRequest."}}},"PortalPostPortalTenantIdAuthEmailChangeConfirmError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::confirm error payload for HTTP 400.","x-handler-derived":"PortalEmailChangeHandler::confirm"},"PortalPostPortalTenantIdAuthEmailChangeConfirmError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::confirm error payload for HTTP 409.","x-handler-derived":"PortalEmailChangeHandler::confirm"},"PortalPostPortalTenantIdAuthEmailChangeConfirmError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::confirm error payload for HTTP 422.","x-handler-derived":"PortalEmailChangeHandler::confirm"},"PortalPostPortalTenantIdAuthEmailChangeConfirmError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::confirm error payload for HTTP 429.","x-handler-derived":"PortalEmailChangeHandler::confirm"},"PortalPostPortalTenantIdAuthEmailChangeConfirmError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::confirm error payload for HTTP 500.","x-handler-derived":"PortalEmailChangeHandler::confirm"},"PortalPostPortalTenantIdAuthEmailChangeConfirmResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalEmailChangeHandler::confirm."},"message":{"description":"Field serialized by PortalEmailChangeHandler::confirm."}}},"PortalPostPortalTenantIdAuthEmailChangeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 400.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 401.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 403.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 404.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 409.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 422.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 429.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalEmailChangeHandler::request error payload for HTTP 500.","x-handler-derived":"PortalEmailChangeHandler::request"},"PortalPostPortalTenantIdAuthEmailChangeResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalEmailChangeHandler::request."},"message":{"description":"Field serialized by PortalEmailChangeHandler::request."}}},"PortalPostPortalTenantIdAuthLinkedLoginsConfirmError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::confirm error payload for HTTP 400.","x-handler-derived":"PortalLinkedLoginsHandler::confirm"},"PortalPostPortalTenantIdAuthLinkedLoginsConfirmError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::confirm error payload for HTTP 429.","x-handler-derived":"PortalLinkedLoginsHandler::confirm"},"PortalPostPortalTenantIdAuthLinkedLoginsConfirmError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::confirm error payload for HTTP 500.","x-handler-derived":"PortalLinkedLoginsHandler::confirm"},"PortalPostPortalTenantIdAuthLinkedLoginsConfirmResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLinkedLoginsHandler::confirm."},"message":{"description":"Field serialized by PortalLinkedLoginsHandler::confirm."}}},"PortalPostPortalTenantIdAuthLinkedLoginsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 400.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 401.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 403.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 404.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 409.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 429.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLinkedLoginsHandler::create error payload for HTTP 500.","x-handler-derived":"PortalLinkedLoginsHandler::create"},"PortalPostPortalTenantIdAuthLinkedLoginsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLinkedLoginsHandler::create."},"message":{"description":"Field serialized by PortalLinkedLoginsHandler::create."}}},"PortalPostPortalTenantIdAuthLoginError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::login error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::login"},"PortalPostPortalTenantIdAuthLoginError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::login error payload for HTTP 401.","x-handler-derived":"PortalUserAuthHandler::login"},"PortalPostPortalTenantIdAuthLoginError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::login error payload for HTTP 403.","x-handler-derived":"PortalUserAuthHandler::login"},"PortalPostPortalTenantIdAuthLoginError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::login error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::login"},"PortalPostPortalTenantIdAuthLoginError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::login error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::login"},"PortalPostPortalTenantIdAuthLoginResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::login."},"user":{"description":"Field serialized by PortalUserAuthHandler::login."},"user_id":{"description":"Field serialized by PortalUserAuthHandler::login."},"nickname":{"description":"Field serialized by PortalUserAuthHandler::login."},"is_activated":{"description":"Field serialized by PortalUserAuthHandler::login."},"token":{"description":"Field serialized by PortalUserAuthHandler::login."},"expiresIn":{"description":"Field serialized by PortalUserAuthHandler::login."}}},"PortalPostPortalTenantIdAuthLogoutResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::logout."},"message":{"description":"Field serialized by PortalUserAuthHandler::logout."}}},"PortalPostPortalTenantIdAuthPasswordChangeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 401.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 403.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 404.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordChange error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::passwordChange"},"PortalPostPortalTenantIdAuthPasswordChangeResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::passwordChange."},"message":{"description":"Field serialized by PortalUserAuthHandler::passwordChange."}}},"PortalPostPortalTenantIdAuthPasswordResetConfirmError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordResetConfirm error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::passwordResetConfirm"},"PortalPostPortalTenantIdAuthPasswordResetConfirmError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordResetConfirm error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::passwordResetConfirm"},"PortalPostPortalTenantIdAuthPasswordResetConfirmError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordResetConfirm error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::passwordResetConfirm"},"PortalPostPortalTenantIdAuthPasswordResetConfirmError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordResetConfirm error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::passwordResetConfirm"},"PortalPostPortalTenantIdAuthPasswordResetConfirmResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::passwordResetConfirm."},"message":{"description":"Field serialized by PortalUserAuthHandler::passwordResetConfirm."}}},"PortalPostPortalTenantIdAuthPasswordResetError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordReset error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::passwordReset"},"PortalPostPortalTenantIdAuthPasswordResetError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordReset error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::passwordReset"},"PortalPostPortalTenantIdAuthPasswordResetError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::passwordReset error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::passwordReset"},"PortalPostPortalTenantIdAuthPasswordResetResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::passwordReset."},"message":{"description":"Field serialized by PortalUserAuthHandler::passwordReset."}}},"PortalPostPortalTenantIdAuthRegisterError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::register error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::register"},"PortalPostPortalTenantIdAuthRegisterError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"},{"$ref":"#/components/schemas/PortalAgeGateErrorFields"}],"description":"PortalUserAuthHandler::register error payload for HTTP 422.","x-handler-derived":"PortalUserAuthHandler::register"},"PortalPostPortalTenantIdAuthRegisterError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::register error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::register"},"PortalPostPortalTenantIdAuthRegisterError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::register error payload for HTTP 500.","x-handler-derived":"PortalUserAuthHandler::register"},"PortalPostPortalTenantIdAuthRegisterResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::register."},"message":{"description":"Field serialized by PortalUserAuthHandler::register."}}},"PortalPostPortalTenantIdAuthResendActivationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::resendActivation error payload for HTTP 400.","x-handler-derived":"PortalUserAuthHandler::resendActivation"},"PortalPostPortalTenantIdAuthResendActivationError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalUserAuthHandler::resendActivation error payload for HTTP 429.","x-handler-derived":"PortalUserAuthHandler::resendActivation"},"PortalPostPortalTenantIdAuthResendActivationResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalUserAuthHandler::resendActivation."},"message":{"description":"Field serialized by PortalUserAuthHandler::resendActivation."}}},"PortalPostPortalTenantIdBuilderEventsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::flushEvents error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::flushEvents"},"PortalPostPortalTenantIdBuilderEventsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::flushEvents error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::flushEvents"},"PortalPostPortalTenantIdBuilderEventsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::flushEvents error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::flushEvents"},"PortalPostPortalTenantIdBuilderEventsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::flushEvents error payload for HTTP 429.","x-handler-derived":"PortalBuilderHandler::flushEvents"},"PortalPostPortalTenantIdBuilderEventsResponse":{"type":"object","additionalProperties":false,"properties":{"inserted":{"description":"Field serialized by PortalBuilderHandler::flushEvents."},"success":{"description":"Field serialized by PortalBuilderHandler::flushEvents."},"error":{"description":"Field serialized by PortalBuilderHandler::flushEvents."}}},"PortalPostPortalTenantIdBuilderListingsPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::createListing error payload for HTTP 400.","x-handler-derived":"BuilderListingHandler::createListing"},"PortalPostPortalTenantIdBuilderListingsPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::createListing error payload for HTTP 401.","x-handler-derived":"BuilderListingHandler::createListing"},"PortalPostPortalTenantIdBuilderListingsPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::createListing error payload for HTTP 403.","x-handler-derived":"BuilderListingHandler::createListing"},"PortalPostPortalTenantIdBuilderListingsPortalIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::createListing error payload for HTTP 404.","x-handler-derived":"BuilderListingHandler::createListing"},"PortalPostPortalTenantIdBuilderListingsPortalIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::createListing error payload for HTTP 422.","x-handler-derived":"BuilderListingHandler::createListing"},"PortalPostPortalTenantIdBuilderListingsPortalIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::createListing error payload for HTTP 500.","x-handler-derived":"BuilderListingHandler::createListing"},"PortalPostPortalTenantIdBuilderListingsPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by BuilderListingHandler::createListing."},"error":{"description":"Field serialized by BuilderListingHandler::createListing."},"message":{"description":"Field serialized by BuilderListingHandler::createListing."},"fieldErrors":{"description":"Field serialized by BuilderListingHandler::createListing."},"title":{"description":"Field serialized by BuilderListingHandler::createListing."}}},"PortalPostPortalTenantIdBuilderModelsPortalIdDuplicateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::duplicateModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::duplicateModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdDuplicateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::duplicateModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::duplicateModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdDuplicateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::duplicateModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::duplicateModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdDuplicateError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::duplicateModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::duplicateModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdDuplicateResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalBuilderHandler::duplicateModel."},"error":{"description":"Field serialized by PortalBuilderHandler::duplicateModel."}}},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::publishModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::publishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::publishModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::publishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::publishModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::publishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::publishModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::publishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::publishModel error payload for HTTP 422.","x-handler-derived":"PortalBuilderHandler::publishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::publishModel error payload for HTTP 500.","x-handler-derived":"PortalBuilderHandler::publishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdPublishResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalBuilderHandler::publishModel."},"error":{"description":"Field serialized by PortalBuilderHandler::publishModel."},"errors":{"description":"Field serialized by PortalBuilderHandler::publishModel."},"published":{"description":"Field serialized by PortalBuilderHandler::publishModel."},"portalId":{"description":"Field serialized by PortalBuilderHandler::publishModel."},"fieldCount":{"description":"Field serialized by PortalBuilderHandler::publishModel."},"registryVersion":{"description":"Field serialized by PortalBuilderHandler::publishModel."}}},"PortalPostPortalTenantIdBuilderModelsPortalIdShareError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::shareModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::shareModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdShareError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::shareModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::shareModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdShareError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::shareModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::shareModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdShareError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::shareModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::shareModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdShareResponse":{"type":"object","additionalProperties":false,"properties":{"token":{"description":"Field serialized by PortalBuilderHandler::shareModel."},"portalId":{"description":"Field serialized by PortalBuilderHandler::shareModel."},"success":{"description":"Field serialized by PortalBuilderHandler::shareModel."},"error":{"description":"Field serialized by PortalBuilderHandler::shareModel."}}},"PortalPostPortalTenantIdBuilderModelsPortalIdUnpublishError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::unpublishModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::unpublishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdUnpublishError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::unpublishModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::unpublishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdUnpublishError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::unpublishModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::unpublishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdUnpublishError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::unpublishModel error payload for HTTP 404.","x-handler-derived":"PortalBuilderHandler::unpublishModel"},"PortalPostPortalTenantIdBuilderModelsPortalIdUnpublishResponse":{"type":"object","additionalProperties":false,"properties":{"published":{"description":"Field serialized by PortalBuilderHandler::unpublishModel."},"portalId":{"description":"Field serialized by PortalBuilderHandler::unpublishModel."},"success":{"description":"Field serialized by PortalBuilderHandler::unpublishModel."},"error":{"description":"Field serialized by PortalBuilderHandler::unpublishModel."}}},"PortalPostPortalTenantIdCartAddError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::add error payload for HTTP 400.","x-handler-derived":"PortalCartHandler::add"},"PortalPostPortalTenantIdCartAddError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::add error payload for HTTP 401.","x-handler-derived":"PortalCartHandler::add"},"PortalPostPortalTenantIdCartAddError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::add error payload for HTTP 403.","x-handler-derived":"PortalCartHandler::add"},"PortalPostPortalTenantIdCartAddError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::add error payload for HTTP 429.","x-handler-derived":"PortalCartHandler::add"},"PortalPostPortalTenantIdCartAddError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCartHandler::add error payload for HTTP 503.","x-handler-derived":"PortalCartHandler::add"},"PortalPostPortalTenantIdCartAddRequest":{"type":"object","additionalProperties":false,"properties":{"listingId":{"description":"Reviewed handler-consumed request field."},"productId":{"description":"Reviewed handler-consumed request field."},"productName":{"description":"Reviewed handler-consumed request field."},"quantity":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdCartAddResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCartHandler::add."},"message":{"description":"Field serialized by PortalCartHandler::add."},"success":{"description":"Field serialized by PortalCartHandler::add."},"cart":{"description":"Field serialized by PortalCartHandler::add."},"itemCount":{"description":"Field serialized by PortalCartHandler::add."}}},"PortalPostPortalTenantIdCartCheckoutError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::checkout error payload for HTTP 400.","x-handler-derived":"ShoppingCartHandler::checkout"},"PortalPostPortalTenantIdCartCheckoutError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::checkout error payload for HTTP 401.","x-handler-derived":"ShoppingCartHandler::checkout"},"PortalPostPortalTenantIdCartCheckoutError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::checkout error payload for HTTP 403.","x-handler-derived":"ShoppingCartHandler::checkout"},"PortalPostPortalTenantIdCartCheckoutError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::checkout error payload for HTTP 500.","x-handler-derived":"ShoppingCartHandler::checkout"},"PortalPostPortalTenantIdCartCheckoutRequest":{"type":"object","additionalProperties":false,"properties":{"clientEstimate":{"description":"Reviewed handler-consumed request field."},"contact":{"description":"Reviewed handler-consumed request field."},"couponCode":{"description":"Reviewed handler-consumed request field."},"legalConsent":{"description":"Reviewed handler-consumed request field."},"paymentMethod":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdCartCheckoutResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string"},"message":{"type":"string"},"success":{"type":"boolean"},"orderId":{"type":"integer"},"orderNumber":{"type":"string"},"invoiceNumber":{"type":"string","nullable":true,"description":"Null until verified payment."},"offerNumber":{"type":"string"},"offerId":{"type":"string"},"status":{"type":"string"},"paymentMethod":{"type":"string"},"revocationEndDate":{"type":"string","nullable":true},"fullRevocationPeriod":{"type":"boolean"},"sepaMandateReference":{"type":"string"},"totalAmount":{"type":"string"},"coupon":{"type":"object","additionalProperties":true}}},"PortalPostPortalTenantIdCartItemsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::addItem error payload for HTTP 400.","x-handler-derived":"ShoppingCartHandler::addItem"},"PortalPostPortalTenantIdCartItemsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::addItem error payload for HTTP 401.","x-handler-derived":"ShoppingCartHandler::addItem"},"PortalPostPortalTenantIdCartItemsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::addItem error payload for HTTP 403.","x-handler-derived":"ShoppingCartHandler::addItem"},"PortalPostPortalTenantIdCartItemsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::addItem error payload for HTTP 503.","x-handler-derived":"ShoppingCartHandler::addItem"},"PortalPostPortalTenantIdCartItemsRequest":{"type":"object","additionalProperties":false,"properties":{"item_id":{"description":"Reviewed handler-consumed request field."},"item_type":{"description":"Reviewed handler-consumed request field."},"listing_id":{"description":"Reviewed handler-consumed request field."},"name":{"description":"Reviewed handler-consumed request field."},"quantity":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdCartItemsResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ShoppingCartHandler::addItem."},"message":{"description":"Field serialized by ShoppingCartHandler::addItem."},"success":{"description":"Field serialized by ShoppingCartHandler::addItem."},"cart":{"description":"Field serialized by ShoppingCartHandler::addItem."},"itemCount":{"description":"Field serialized by ShoppingCartHandler::addItem."}}},"PortalPostPortalTenantIdCheckoutError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 400.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 401.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 403.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 409.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 422 (SEPA mandate validation).","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 429.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 500.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutHandler::checkout error payload for HTTP 503.","x-handler-derived":"PortalCheckoutHandler::checkout"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 400.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 401.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 403.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 404.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 409.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 422.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 429.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payPaypal error payload for HTTP 503.","x-handler-derived":"PortalCheckoutPaymentHandler::payPaypal"},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalRequest":{"type":"object","additionalProperties":false,"properties":{"cancelUrl":{"description":"Reviewed handler-consumed request field."},"returnUrl":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdCheckoutOrderIdPayPaypalResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCheckoutPaymentHandler::payPaypal."},"message":{"description":"Field serialized by PortalCheckoutPaymentHandler::payPaypal."},"success":{"description":"Field serialized by PortalCheckoutPaymentHandler::payPaypal."},"paypalOrderId":{"description":"Field serialized by PortalCheckoutPaymentHandler::payPaypal."},"approvalUrl":{"description":"Field serialized by PortalCheckoutPaymentHandler::payPaypal."},"sandbox":{"description":"Field serialized by PortalCheckoutPaymentHandler::payPaypal."}}},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payTransfer error payload for HTTP 400.","x-handler-derived":"PortalCheckoutPaymentHandler::payTransfer"},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payTransfer error payload for HTTP 401.","x-handler-derived":"PortalCheckoutPaymentHandler::payTransfer"},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payTransfer error payload for HTTP 403.","x-handler-derived":"PortalCheckoutPaymentHandler::payTransfer"},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payTransfer error payload for HTTP 404.","x-handler-derived":"PortalCheckoutPaymentHandler::payTransfer"},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payTransfer error payload for HTTP 422.","x-handler-derived":"PortalCheckoutPaymentHandler::payTransfer"},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutPaymentHandler::payTransfer error payload for HTTP 429.","x-handler-derived":"PortalCheckoutPaymentHandler::payTransfer"},"PortalPostPortalTenantIdCheckoutOrderIdPayTransferResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."},"message":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."},"success":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."},"status":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."},"orderNumber":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."},"orderId":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."},"bankDetails":{"description":"Field serialized by PortalCheckoutPaymentHandler::payTransfer."}}},"PortalPostPortalTenantIdCheckoutRequest":{"type":"object","additionalProperties":false,"properties":{"clientEstimate":{"description":"Reviewed handler-consumed request field."},"contact":{"description":"Reviewed handler-consumed request field."},"couponCode":{"description":"Reviewed handler-consumed request field."},"fullRevocationPeriod":{"description":"Reviewed handler-consumed request field. true = provision only after the 14-day withdrawal period; false = immediate start with waiver (parity O12)."},"items":{"description":"Reviewed handler-consumed request field."},"legalConsent":{"description":"Reviewed handler-consumed request field."},"paymentFeeMinor":{"type":"integer","minimum":0,"description":"Explicit confirmation of the currently disclosed fee_minor. Required when an optional payment fee applies; absent or stale confirmation returns 422 without creating an order."},"paymentMethod":{"description":"Reviewed handler-consumed request field. One of paypal, bank_transfer, sepa."},"referralCode":{"type":"string","maxLength":64,"description":"R1-7, only while portal.referralEnabled is on (ignored otherwise): a new customer's referral code, attributed to this order before it is stored; 422 REFERRAL_INVALID / 400 REFERRAL_CODE_MALFORMED leave no order. Items may then carry gift=true and giftRecipientEmail (gift voucher instead of activation)."},"sepaMandate":{"description":"Reviewed handler-consumed request field. Required for paymentMethod=sepa: accountHolder, iban, optional bic, authorized=true (SEPA direct-debit mandate, parity O11)."}}},"PortalPostPortalTenantIdCheckoutResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"message":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"success":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"orderId":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"orderNumber":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"invoiceNumber":{"type":"string","nullable":true,"description":"Always null at checkout; issued only after verified payment."},"offerNumber":{"type":"string","description":"Payment-accepted offer reference."},"offerId":{"type":"string","description":"Canonical tenant-scoped offer identity."},"status":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"paymentMethod":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"revocationEndDate":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"fullRevocationPeriod":{"description":"Field serialized by PortalCheckoutHandler::checkout."},"sepaMandateReference":{"description":"Field serialized by PortalCheckoutHandler::checkout."}}},"PortalPostPortalTenantIdCheckoutVcardPreviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 400.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdCheckoutVcardPreviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 401.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdCheckoutVcardPreviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 403.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdCheckoutVcardPreviewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 404.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdCheckoutVcardPreviewError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 413.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdCheckoutVcardPreviewError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 422.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdCheckoutVcardPreviewError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalCheckoutVCardHandler::preview error payload for HTTP 429.","x-handler-derived":"PortalCheckoutVCardHandler::preview"},"PortalPostPortalTenantIdDonationsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDonationHandler::donate error payload for HTTP 400.","x-handler-derived":"PortalDonationHandler::donate"},"PortalPostPortalTenantIdDonationsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDonationHandler::donate error payload for HTTP 422.","x-handler-derived":"PortalDonationHandler::donate"},"PortalPostPortalTenantIdDonationsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDonationHandler::donate error payload for HTTP 429.","x-handler-derived":"PortalDonationHandler::donate"},"PortalPostPortalTenantIdDonationsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalDonationHandler::donate error payload for HTTP 503.","x-handler-derived":"PortalDonationHandler::donate"},"PortalPostPortalTenantIdDonationsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalDonationHandler::donate."},"reference":{"description":"Field serialized by PortalDonationHandler::donate."},"amountMinor":{"description":"Field serialized by PortalDonationHandler::donate."},"currency":{"description":"Field serialized by PortalDonationHandler::donate."},"approvalUrl":{"description":"Field serialized by PortalDonationHandler::donate."}}},"PortalPostPortalTenantIdFavoriteCategoriesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 401.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalPostPortalTenantIdFavoriteCategoriesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 403.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalPostPortalTenantIdFavoriteCategoriesResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"success":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"id":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"name":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"code":{"description":"Field serialized by FavoriteDetailsHandler::categories."}}},"PortalPostPortalTenantIdFavoritesListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::add error payload for HTTP 401.","x-handler-derived":"FavoritesHandler::add"},"PortalPostPortalTenantIdFavoritesListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoritesHandler::add error payload for HTTP 403.","x-handler-derived":"FavoritesHandler::add"},"PortalPostPortalTenantIdFavoritesListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"listing_id":{"description":"Field serialized by FavoritesHandler::add."},"favorite":{"description":"Field serialized by FavoritesHandler::add."},"code":{"description":"Field serialized by FavoritesHandler::add."},"id":{"description":"Event envelope field serialized by the handler."},"tenantId":{"description":"Event envelope field serialized by the handler."},"eventType":{"description":"Event envelope field serialized by the handler."},"eventVersion":{"description":"Event envelope field serialized by the handler."},"schemaRef":{"description":"Event envelope field serialized by the handler."},"payload":{"description":"Event envelope field serialized by the handler."},"actorId":{"description":"Event envelope field serialized by the handler."},"traceId":{"description":"Event envelope field serialized by the handler."},"idempotencyKey":{"description":"Event envelope field serialized by the handler."},"createdAt":{"description":"Event envelope field serialized by the handler."}}},"PortalPostPortalTenantIdGuestbookError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::submit error payload for HTTP 400.","x-handler-derived":"GuestbookHandler::submit"},"PortalPostPortalTenantIdGuestbookError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::submit error payload for HTTP 403.","x-handler-derived":"GuestbookHandler::submit"},"PortalPostPortalTenantIdGuestbookError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::submit error payload for HTTP 429.","x-handler-derived":"GuestbookHandler::submit"},"PortalPostPortalTenantIdGuestbookError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"GuestbookHandler::submit error payload for HTTP 500.","x-handler-derived":"GuestbookHandler::submit"},"PortalPostPortalTenantIdGuestbookResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by GuestbookHandler::submit."},"id":{"description":"Field serialized by GuestbookHandler::submit."},"message":{"description":"Field serialized by GuestbookHandler::submit."},"code":{"description":"Field serialized by GuestbookHandler::submit."}}},"PortalPostPortalTenantIdInquiriesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 400.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 401.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 403.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 404.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 422.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 429.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 500.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::submit error payload for HTTP 503.","x-handler-derived":"InquiryHandler::submit"},"PortalPostPortalTenantIdInquiriesIdOfferError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 400.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalPostPortalTenantIdInquiriesIdOfferError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 401.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalPostPortalTenantIdInquiriesIdOfferError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 403.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalPostPortalTenantIdInquiriesIdOfferError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 429.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalPostPortalTenantIdInquiriesIdOfferError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryOfferHandler::handle error payload for HTTP 503.","x-handler-derived":"InquiryOfferHandler::handle"},"PortalPostPortalTenantIdInquiriesIdOfferResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by InquiryOfferHandler::handle."},"enabled":{"description":"Field serialized by InquiryOfferHandler::handle."},"offer":{"description":"Field serialized by InquiryOfferHandler::handle."}}},"PortalPostPortalTenantIdInquiriesIdReadError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::markRead error payload for HTTP 400.","x-handler-derived":"InquiryHandler::markRead"},"PortalPostPortalTenantIdInquiriesIdReadError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::markRead error payload for HTTP 401.","x-handler-derived":"InquiryHandler::markRead"},"PortalPostPortalTenantIdInquiriesIdReadError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::markRead error payload for HTTP 403.","x-handler-derived":"InquiryHandler::markRead"},"PortalPostPortalTenantIdInquiriesIdReadError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::markRead error payload for HTTP 404.","x-handler-derived":"InquiryHandler::markRead"},"PortalPostPortalTenantIdInquiriesIdReadError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::markRead error payload for HTTP 429.","x-handler-derived":"InquiryHandler::markRead"},"PortalPostPortalTenantIdInquiriesIdReadError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::markRead error payload for HTTP 500.","x-handler-derived":"InquiryHandler::markRead"},"PortalPostPortalTenantIdInquiriesIdReadResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by InquiryHandler::markRead."},"id":{"description":"Field serialized by InquiryHandler::markRead."},"is_read":{"description":"Field serialized by InquiryHandler::markRead."},"trace_id":{"description":"Field serialized by InquiryHandler::markRead."}}},"PortalPostPortalTenantIdInquiriesIdReplyError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 400.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 401.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 403.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 404.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 422.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 429.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::reply error payload for HTTP 500.","x-handler-derived":"InquiryHandler::reply"},"PortalPostPortalTenantIdInquiriesIdReplyResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by InquiryHandler::reply."},"reply_id":{"description":"Field serialized by InquiryHandler::reply."},"inquiry_mailbox_id":{"description":"Field serialized by InquiryHandler::reply."},"trace_id":{"description":"Field serialized by InquiryHandler::reply."}}},"PortalPostPortalTenantIdInquiriesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by InquiryHandler::submit."},"message":{"description":"Field serialized by InquiryHandler::submit."}}},"PortalPostPortalTenantIdInternalListingWeeklyDigestError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingDigestSchedulerHandler::__invoke error payload for HTTP 400.","x-handler-derived":"ListingDigestSchedulerHandler::__invoke"},"PortalPostPortalTenantIdInternalListingWeeklyDigestError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingDigestSchedulerHandler::__invoke error payload for HTTP 401.","x-handler-derived":"ListingDigestSchedulerHandler::__invoke"},"PortalPostPortalTenantIdInternalListingWeeklyDigestError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingDigestSchedulerHandler::__invoke error payload for HTTP 403.","x-handler-derived":"ListingDigestSchedulerHandler::__invoke"},"PortalPostPortalTenantIdInternalListingWeeklyDigestError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingDigestSchedulerHandler::__invoke error payload for HTTP 429.","x-handler-derived":"ListingDigestSchedulerHandler::__invoke"},"PortalPostPortalTenantIdInternalListingWeeklyDigestResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ListingDigestSchedulerHandler::__invoke."},"week":{"description":"Field serialized by ListingDigestSchedulerHandler::__invoke."},"owners_considered":{"description":"Field serialized by ListingDigestSchedulerHandler::__invoke."}}},"PortalPostPortalTenantIdListingStatsMailOptOutError303":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingStatsHandler::optOut error payload for HTTP 303.","x-handler-derived":"ListingStatsHandler::optOut"},"PortalPostPortalTenantIdListingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 409.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"},{"$ref":"#/components/schemas/PortalAgeGateErrorFields"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 422.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 429.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::createAnonymous error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::createAnonymous"},"PortalPostPortalTenantIdListingsIdReactivateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::reactivate error payload for HTTP 400.","x-handler-derived":"ListingRenewalHandler::reactivate"},"PortalPostPortalTenantIdListingsIdReactivateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::reactivate error payload for HTTP 401.","x-handler-derived":"ListingRenewalHandler::reactivate"},"PortalPostPortalTenantIdListingsIdReactivateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::reactivate error payload for HTTP 403.","x-handler-derived":"ListingRenewalHandler::reactivate"},"PortalPostPortalTenantIdListingsIdReactivateError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::reactivate error payload for HTTP 404.","x-handler-derived":"ListingRenewalHandler::reactivate"},"PortalPostPortalTenantIdListingsIdReactivateError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::reactivate error payload for HTTP 422.","x-handler-derived":"ListingRenewalHandler::reactivate"},"PortalPostPortalTenantIdListingsIdReactivateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::reactivate error payload for HTTP 500.","x-handler-derived":"ListingRenewalHandler::reactivate"},"PortalPostPortalTenantIdListingsIdReactivateResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"status":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"reactivated_at":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"expires_at":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"message":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"error":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"code":{"description":"Field serialized by ListingRenewalHandler::reactivate."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalTenantIdListingsIdRenewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::renew error payload for HTTP 400.","x-handler-derived":"ListingRenewalHandler::renew"},"PortalPostPortalTenantIdListingsIdRenewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::renew error payload for HTTP 401.","x-handler-derived":"ListingRenewalHandler::renew"},"PortalPostPortalTenantIdListingsIdRenewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::renew error payload for HTTP 403.","x-handler-derived":"ListingRenewalHandler::renew"},"PortalPostPortalTenantIdListingsIdRenewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::renew error payload for HTTP 404.","x-handler-derived":"ListingRenewalHandler::renew"},"PortalPostPortalTenantIdListingsIdRenewError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::renew error payload for HTTP 422.","x-handler-derived":"ListingRenewalHandler::renew"},"PortalPostPortalTenantIdListingsIdRenewError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingRenewalHandler::renew error payload for HTTP 500.","x-handler-derived":"ListingRenewalHandler::renew"},"PortalPostPortalTenantIdListingsIdRenewResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Field serialized by ListingRenewalHandler::renew."},"status":{"description":"Field serialized by ListingRenewalHandler::renew."},"renewed_at":{"description":"Field serialized by ListingRenewalHandler::renew."},"expires_at":{"description":"Field serialized by ListingRenewalHandler::renew."},"renewal_period_days":{"description":"Field serialized by ListingRenewalHandler::renew."},"message":{"description":"Field serialized by ListingRenewalHandler::renew."},"error":{"description":"Field serialized by ListingRenewalHandler::renew."},"code":{"description":"Field serialized by ListingRenewalHandler::renew."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalTenantIdListingsListingIdClaimError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 400.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalTenantIdListingsListingIdClaimError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 401.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalTenantIdListingsListingIdClaimError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 403.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalTenantIdListingsListingIdClaimError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 404.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalTenantIdListingsListingIdClaimError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 409.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalTenantIdListingsListingIdClaimError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingClaimsHandler::submit error payload for HTTP 429.","x-handler-derived":"PortalListingClaimsHandler::submit"},"PortalPostPortalTenantIdListingsListingIdClaimResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingClaimsHandler::submit."},"message":{"description":"Field serialized by PortalListingClaimsHandler::submit."}}},"PortalPostPortalTenantIdListingsListingIdImagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 400.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 401.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 403.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 422.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 429.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 500.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::upload error payload for HTTP 503.","x-handler-derived":"ImageUploadHandler::upload"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::crop error payload for HTTP 400.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::crop error payload for HTTP 401.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::crop error payload for HTTP 403.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::crop error payload for HTTP 404.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"},{"type":"object","properties":{"current_version":{"type":"string"},"trace_id":{"type":"string"}}}],"description":"ImageUploadHandler::crop error payload for HTTP 409.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::crop error payload for HTTP 422.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::crop error payload for HTTP 500.","x-handler-derived":"ImageUploadHandler::crop"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropRequest":{"type":"object","additionalProperties":false,"required":["x","y","width","height"],"properties":{"x":{"type":"number","minimum":0,"maximum":1,"description":"Left edge as a fraction of the current image width."},"y":{"type":"number","minimum":0,"maximum":1,"description":"Top edge as a fraction of the current image height."},"width":{"type":"number","exclusiveMinimum":true,"minimum":0,"maximum":1,"description":"Width as a fraction; x + width <= 1."},"height":{"type":"number","exclusiveMinimum":true,"minimum":0,"maximum":1,"description":"Height as a fraction; y + height <= 1."},"aspect":{"type":"string","enum":["free","1:1","4:3","3:4","3:2","16:9"],"default":"free","description":"Optional aspect preset."},"expected_version":{"type":"string","pattern":"^[a-fA-F0-9]{32}$","description":"Content hash of the image the client edited (32 hex characters in the media file name). Mismatch returns 409."}}},"PortalPostPortalTenantIdListingsListingIdImagesImageIdCropResponse":{"type":"object","additionalProperties":false,"description":"ImageUploadHandler::crop success payload.","properties":{"success":{"type":"boolean"},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"id":{"type":"integer","description":"Media row id."},"crop":{"type":"object","additionalProperties":false,"required":["x","y","width","height"],"properties":{"x":{"type":"integer","minimum":0},"y":{"type":"integer","minimum":0},"width":{"type":"integer","minimum":0},"height":{"type":"integer","minimum":0}},"description":"Applied crop in pixels of the stored image."},"aspect":{"type":"string"},"version":{"type":"string","description":"Content hash of the visible image after this request (unchanged while pending)."},"thumbnails":{"type":"object","additionalProperties":false,"required":["small","medium","large"],"properties":{"small":{"type":"string"},"medium":{"type":"string"},"large":{"type":"string"}},"description":"Serve URLs of the regenerated thumbnails (current ones while the edit is pending)."},"trace_id":{"type":"string"}}},"PortalPostPortalTenantIdListingsListingIdImagesImageIdRotateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::rotate error payload for HTTP 400.","x-handler-derived":"ImageUploadHandler::rotate"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdRotateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::rotate error payload for HTTP 401.","x-handler-derived":"ImageUploadHandler::rotate"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdRotateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::rotate error payload for HTTP 403.","x-handler-derived":"ImageUploadHandler::rotate"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdRotateError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::rotate error payload for HTTP 404.","x-handler-derived":"ImageUploadHandler::rotate"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdRotateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::rotate error payload for HTTP 500.","x-handler-derived":"ImageUploadHandler::rotate"},"PortalPostPortalTenantIdListingsListingIdImagesImageIdRotateResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ImageUploadHandler::rotate."},"id":{"description":"Field serialized by ImageUploadHandler::rotate."},"degrees":{"description":"Field serialized by ImageUploadHandler::rotate."},"thumbnails":{"description":"Field serialized by ImageUploadHandler::rotate."},"trace_id":{"description":"Field serialized by ImageUploadHandler::rotate."},"code":{"description":"Field serialized by ImageUploadHandler::rotate."},"message":{"description":"Field serialized by ImageUploadHandler::rotate."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalTenantIdListingsListingIdImagesRequest":{"type":"object","additionalProperties":false,"properties":{"caption":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdListingsListingIdImagesResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"integer","nullable":true,"description":"Effective media id, or null while upload awaits activation."},"url":{"description":"Field serialized by ImageUploadHandler::upload."},"caption":{"description":"Field serialized by ImageUploadHandler::upload."},"thumbnails":{"description":"Field serialized by ImageUploadHandler::upload."},"small":{"description":"Field serialized by ImageUploadHandler::upload."},"medium":{"description":"Field serialized by ImageUploadHandler::upload."},"large":{"description":"Field serialized by ImageUploadHandler::upload."},"sort_order":{"description":"Field serialized by ImageUploadHandler::upload."},"trace_id":{"description":"Field serialized by ImageUploadHandler::upload."},"code":{"description":"Field serialized by ImageUploadHandler::upload."},"message":{"description":"Field serialized by ImageUploadHandler::upload."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPostPortalTenantIdListingsListingIdReportError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 400.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalTenantIdListingsListingIdReportError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 404.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalTenantIdListingsListingIdReportError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 422.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalTenantIdListingsListingIdReportError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ReportsHandler::reportListing error payload for HTTP 429.","x-handler-derived":"ReportsHandler::reportListing"},"PortalPostPortalTenantIdListingsListingIdReportResponse":{"type":"object","additionalProperties":false,"properties":{"ok":{"description":"Field serialized by ReportsHandler::reportListing."},"report_id":{"description":"Field serialized by ReportsHandler::reportListing."},"listing_id":{"description":"Field serialized by ReportsHandler::reportListing."},"reporter_user_id":{"description":"Field serialized by ReportsHandler::reportListing."},"reporter_email":{"description":"Field serialized by ReportsHandler::reportListing."},"reasons":{"description":"Field serialized by ReportsHandler::reportListing."},"reason":{"description":"Field serialized by ReportsHandler::reportListing."},"reason_explained":{"description":"Field serialized by ReportsHandler::reportListing."},"listing_title":{"description":"Field serialized by ReportsHandler::reportListing."},"listing_url":{"description":"Field serialized by ReportsHandler::reportListing."},"privacy_consent":{"description":"Field serialized by ReportsHandler::reportListing."},"locale":{"description":"Field serialized by ReportsHandler::reportListing."},"trace_id":{"description":"Field serialized by ReportsHandler::reportListing."},"code":{"description":"Field serialized by ReportsHandler::reportListing."},"message":{"description":"Field serialized by ReportsHandler::reportListing."},"details":{"description":"Field serialized by ReportsHandler::reportListing."}}},"PortalPostPortalTenantIdListingsListingIdReviewsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalTenantIdListingsListingIdReviewsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalTenantIdListingsListingIdReviewsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalTenantIdListingsListingIdReviewsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalTenantIdListingsListingIdReviewsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::submit error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::submit"},"PortalPostPortalTenantIdListingsListingIdReviewsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::submit."},"message":{"description":"Field serialized by PortalReviewModerationHandler::submit."}}},"PortalPostPortalTenantIdListingsListingIdTransferCodeError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::createCode error payload for HTTP 400.","x-handler-derived":"PortalListingTransferHandler::createCode"},"PortalPostPortalTenantIdListingsListingIdTransferCodeError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::createCode error payload for HTTP 401.","x-handler-derived":"PortalListingTransferHandler::createCode"},"PortalPostPortalTenantIdListingsListingIdTransferCodeError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::createCode error payload for HTTP 403.","x-handler-derived":"PortalListingTransferHandler::createCode"},"PortalPostPortalTenantIdListingsListingIdTransferCodeError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::createCode error payload for HTTP 404.","x-handler-derived":"PortalListingTransferHandler::createCode"},"PortalPostPortalTenantIdListingsListingIdTransferCodeError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::createCode error payload for HTTP 429.","x-handler-derived":"PortalListingTransferHandler::createCode"},"PortalPostPortalTenantIdListingsListingIdTransferCodeError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::createCode error payload for HTTP 500.","x-handler-derived":"PortalListingTransferHandler::createCode"},"PortalPostPortalTenantIdListingsListingIdTransferCodeResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingTransferHandler::createCode."},"message":{"description":"Field serialized by PortalListingTransferHandler::createCode."}}},"PortalPostPortalTenantIdListingsResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"description":"Field serialized by PortalListingsHandler::createAnonymous."},"imageUpload":{"type":"object","description":"Only with multipart images: how many were stored or rejected.","properties":{"stored":{"type":"integer"},"rejected":{"type":"integer"}}},"portalId":{"description":"Field serialized by PortalListingsHandler::createAnonymous."},"values":{"description":"Field serialized by PortalListingsHandler::createAnonymous."}}},"PortalPostPortalTenantIdListingsTransfersRedeemError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 400.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 401.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 403.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 404.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 409.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 429.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingTransferHandler::redeem error payload for HTTP 500.","x-handler-derived":"PortalListingTransferHandler::redeem"},"PortalPostPortalTenantIdListingsTransfersRedeemResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalListingTransferHandler::redeem."},"message":{"description":"Field serialized by PortalListingTransferHandler::redeem."}}},"PortalPostPortalTenantIdModeratorQueueError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::create error payload for HTTP 400.","x-handler-derived":"ModeratorQueueHandler::create"},"PortalPostPortalTenantIdModeratorQueueError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::create error payload for HTTP 401.","x-handler-derived":"ModeratorQueueHandler::create"},"PortalPostPortalTenantIdModeratorQueueError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::create error payload for HTTP 403.","x-handler-derived":"ModeratorQueueHandler::create"},"PortalPostPortalTenantIdModeratorQueueError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::create error payload for HTTP 404.","x-handler-derived":"ModeratorQueueHandler::create"},"PortalPostPortalTenantIdModeratorQueueError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::create error payload for HTTP 500.","x-handler-derived":"ModeratorQueueHandler::create"},"PortalPostPortalTenantIdModeratorQueueResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ModeratorQueueHandler::create."},"error":{"description":"Field serialized by ModeratorQueueHandler::create."},"message":{"description":"Field serialized by ModeratorQueueHandler::create."}}},"PortalPostPortalTenantIdRedirectsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::create error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::create"},"PortalPostPortalTenantIdRedirectsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::create error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::create"},"PortalPostPortalTenantIdRedirectsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::create error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::create"},"PortalPostPortalTenantIdRedirectsImportError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::import error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::import"},"PortalPostPortalTenantIdRedirectsImportError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::import error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::import"},"PortalPostPortalTenantIdRedirectsImportError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::import error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::import"},"PortalPostPortalTenantIdRedirectsImportResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLegacyRedirectHandler::import."},"imported":{"description":"Field serialized by PortalLegacyRedirectHandler::import."},"skipped":{"description":"Field serialized by PortalLegacyRedirectHandler::import."},"errors":{"description":"Field serialized by PortalLegacyRedirectHandler::import."}}},"PortalPostPortalTenantIdRedirectsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalLegacyRedirectHandler::create.","x-handler-record":"PortalLegacyRedirectHandler::create"},"PortalPostPortalTenantIdRedirectsSeedError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::seed error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::seed"},"PortalPostPortalTenantIdRedirectsSeedError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::seed error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::seed"},"PortalPostPortalTenantIdRedirectsSeedError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::seed error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::seed"},"PortalPostPortalTenantIdRedirectsSeedResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalLegacyRedirectHandler::seed."},"message":{"description":"Field serialized by PortalLegacyRedirectHandler::seed."},"created":{"description":"Field serialized by PortalLegacyRedirectHandler::seed."}}},"PortalPostPortalTenantIdReviewsReviewIdAppealError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 400.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 401.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 403.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 404.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 409.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 429.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalReviewModerationHandler::appeal error payload for HTTP 500.","x-handler-derived":"PortalReviewModerationHandler::appeal"},"PortalPostPortalTenantIdReviewsReviewIdAppealResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalReviewModerationHandler::appeal."},"message":{"description":"Field serialized by PortalReviewModerationHandler::appeal."}}},"PortalPostPortalTenantIdSavedSearchesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::create error payload for HTTP 400.","x-handler-derived":"SavedSearchesHandler::create"},"PortalPostPortalTenantIdSavedSearchesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::create error payload for HTTP 401.","x-handler-derived":"SavedSearchesHandler::create"},"PortalPostPortalTenantIdSavedSearchesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::create error payload for HTTP 403.","x-handler-derived":"SavedSearchesHandler::create"},"PortalPostPortalTenantIdSavedSearchesError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::create error payload for HTTP 409.","x-handler-derived":"SavedSearchesHandler::create"},"PortalPostPortalTenantIdSavedSearchesResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SavedSearchesHandler::create."},"message":{"description":"Field serialized by SavedSearchesHandler::create."}}},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::createDraft error payload for HTTP 400.","x-handler-derived":"PortalSchemaRegistryHandler::createDraft"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::createDraft error payload for HTTP 401.","x-handler-derived":"PortalSchemaRegistryHandler::createDraft"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::createDraft error payload for HTTP 403.","x-handler-derived":"PortalSchemaRegistryHandler::createDraft"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::createDraft error payload for HTTP 422.","x-handler-derived":"PortalSchemaRegistryHandler::createDraft"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSchemaRegistryHandler::createDraft."},"error":{"description":"Field serialized by PortalSchemaRegistryHandler::createDraft."},"errors":{"description":"Field serialized by PortalSchemaRegistryHandler::createDraft."}}},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::publishVersion error payload for HTTP 400.","x-handler-derived":"PortalSchemaRegistryHandler::publishVersion"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::publishVersion error payload for HTTP 401.","x-handler-derived":"PortalSchemaRegistryHandler::publishVersion"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::publishVersion error payload for HTTP 403.","x-handler-derived":"PortalSchemaRegistryHandler::publishVersion"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::publishVersion error payload for HTTP 404.","x-handler-derived":"PortalSchemaRegistryHandler::publishVersion"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::publishVersion error payload for HTTP 409.","x-handler-derived":"PortalSchemaRegistryHandler::publishVersion"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSchemaRegistryHandler::publishVersion error payload for HTTP 422.","x-handler-derived":"PortalSchemaRegistryHandler::publishVersion"},"PortalPostPortalTenantIdSchemaRegistryPortalIdVersionsVersionPublishResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSchemaRegistryHandler::publishVersion."},"error":{"description":"Field serialized by PortalSchemaRegistryHandler::publishVersion."},"latest":{"description":"Field serialized by PortalSchemaRegistryHandler::publishVersion."},"errors":{"description":"Field serialized by PortalSchemaRegistryHandler::publishVersion."}}},"PortalPostPortalTenantIdSeoPagesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::createPage error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::createPage"},"PortalPostPortalTenantIdSeoPagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::createPage error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::createPage"},"PortalPostPortalTenantIdSeoPagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::createPage error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::createPage"},"PortalPostPortalTenantIdSeoPagesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSeoHandler::createPage."},"error":{"description":"Field serialized by PortalSeoHandler::createPage."},"message":{"description":"Field serialized by PortalSeoHandler::createPage."}}},"PortalPostPortalTenantIdServicesIdCancellationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 400.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdServicesIdCancellationError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 401.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdServicesIdCancellationError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 403.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdServicesIdCancellationError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 404.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdServicesIdCancellationError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 422.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdServicesIdCancellationError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 429.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdServicesIdCancellationError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelMine error payload for HTTP 503.","x-handler-derived":"PortalServiceCancellationHandler::cancelMine"},"PortalPostPortalTenantIdShopViewEndError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::end error payload for HTTP 400.","x-handler-derived":"PortalShopViewHandler::end"},"PortalPostPortalTenantIdShopViewEndError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::end error payload for HTTP 401.","x-handler-derived":"PortalShopViewHandler::end"},"PortalPostPortalTenantIdShopViewEndError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::end error payload for HTTP 403.","x-handler-derived":"PortalShopViewHandler::end"},"PortalPostPortalTenantIdShopViewEndError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalShopViewHandler::end error payload for HTTP 503.","x-handler-derived":"PortalShopViewHandler::end"},"PortalPostPortalTenantIdShopViewEndResponse":{"type":"object","additionalProperties":false,"properties":{"ended":{"description":"Field serialized by PortalShopViewHandler::end."}}},"PortalPostPortalTenantIdSitemapGenerateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::generate error payload for HTTP 400.","x-handler-derived":"PortalSitemapHandler::generate"},"PortalPostPortalTenantIdSitemapGenerateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::generate error payload for HTTP 401.","x-handler-derived":"PortalSitemapHandler::generate"},"PortalPostPortalTenantIdSitemapGenerateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::generate error payload for HTTP 403.","x-handler-derived":"PortalSitemapHandler::generate"},"PortalPostPortalTenantIdSitemapGenerateError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSitemapHandler::generate error payload for HTTP 500.","x-handler-derived":"PortalSitemapHandler::generate"},"PortalPostPortalTenantIdSitemapGenerateResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalSitemapHandler::generate."},"message":{"description":"Field serialized by PortalSitemapHandler::generate."}}},"PortalPostPortalTenantIdSubscriptionsActivateError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::activate error payload for HTTP 400.","x-handler-derived":"SubscriptionActivationHandler::activate"},"PortalPostPortalTenantIdSubscriptionsActivateError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::activate error payload for HTTP 401.","x-handler-derived":"SubscriptionActivationHandler::activate"},"PortalPostPortalTenantIdSubscriptionsActivateError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::activate error payload for HTTP 403.","x-handler-derived":"SubscriptionActivationHandler::activate"},"PortalPostPortalTenantIdSubscriptionsActivateError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::activate error payload for HTTP 404.","x-handler-derived":"SubscriptionActivationHandler::activate"},"PortalPostPortalTenantIdSubscriptionsActivateError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SubscriptionActivationHandler::activate error payload for HTTP 422.","x-handler-derived":"SubscriptionActivationHandler::activate"},"PortalPostPortalTenantIdSubscriptionsActivateRequest":{"type":"object","additionalProperties":false,"properties":{"listing_id":{"description":"Reviewed handler-consumed request field."},"subscription_id":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalTenantIdSubscriptionsActivateResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SubscriptionActivationHandler::activate."},"message":{"description":"Field serialized by SubscriptionActivationHandler::activate."},"success":{"description":"Field serialized by SubscriptionActivationHandler::activate."},"tier":{"description":"Field serialized by SubscriptionActivationHandler::activate."},"valid_until":{"description":"Field serialized by SubscriptionActivationHandler::activate."},"listing_id":{"description":"Field serialized by SubscriptionActivationHandler::activate."},"priority":{"description":"Field serialized by SubscriptionActivationHandler::activate."}}},"PortalPostPortalTenantIdVerificationSubmitError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 400.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 401.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 403.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 404.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 409.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 429.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 500.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalTenantIdVerificationSubmitResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOwnerVerificationHandler::submit."},"message":{"description":"Field serialized by PortalOwnerVerificationHandler::submit."}}},"PortalPostPortalVerificationSubmitError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 400.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 401.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 403.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 404.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 409.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 429.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalOwnerVerificationHandler::submit error payload for HTTP 500.","x-handler-derived":"PortalOwnerVerificationHandler::submit"},"PortalPostPortalVerificationSubmitResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalOwnerVerificationHandler::submit."},"message":{"description":"Field serialized by PortalOwnerVerificationHandler::submit."}}},"PortalPostPortalWithdrawalError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::withdrawal error payload for HTTP 400.","x-handler-derived":"PortalFormsController::withdrawal"},"PortalPostPortalWithdrawalError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::withdrawal error payload for HTTP 422.","x-handler-derived":"PortalFormsController::withdrawal"},"PortalPostPortalWithdrawalError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::withdrawal error payload for HTTP 429.","x-handler-derived":"PortalFormsController::withdrawal"},"PortalPostPortalWithdrawalError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFormsController::withdrawal error payload for HTTP 500.","x-handler-derived":"PortalFormsController::withdrawal"},"PortalPostPortalWithdrawalRequest":{"type":"object","additionalProperties":false,"properties":{"contractDate":{"description":"Reviewed handler-consumed request field."},"contractDescription":{"description":"Reviewed handler-consumed request field."},"customerAddress":{"description":"Reviewed handler-consumed request field."},"customerEmail":{"description":"Reviewed handler-consumed request field."},"customerName":{"description":"Reviewed handler-consumed request field."},"reason":{"description":"Reviewed handler-consumed request field."}}},"PortalPostPortalWithdrawalResponse":{"type":"object","additionalProperties":false,"properties":{"status":{"description":"Field serialized by PortalFormsController::withdrawal."},"reason":{"description":"Field serialized by PortalFormsController::withdrawal."},"message":{"description":"Field serialized by PortalFormsController::withdrawal."},"fields":{"description":"Field serialized by PortalFormsController::withdrawal."},"id":{"description":"Field serialized by PortalFormsController::withdrawal."},"received":{"description":"Field serialized by PortalFormsController::withdrawal."}}},"PortalPrivateMailboxThread":{"type":"object","required":["thread_id","is_read","money_warning","messages"],"properties":{"thread_id":{"type":"string","pattern":"^[a-f0-9]{32}$"},"is_read":{"type":"boolean"},"money_warning":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["sequence","user_id","message","money_warning","created_at"],"properties":{"sequence":{"type":"integer","minimum":1},"user_id":{"type":"integer","minimum":1},"message":{"type":"string"},"money_warning":{"type":"integer","enum":[0,1]},"created_at":{"type":"string"},"annotation":{"type":"string","nullable":true}}}}}},"PortalPutPortalAccountFlashcardsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::put error payload for HTTP 400.","x-handler-derived":"PortalFlashcardsHandler::put"},"PortalPutPortalAccountFlashcardsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::put error payload for HTTP 401.","x-handler-derived":"PortalFlashcardsHandler::put"},"PortalPutPortalAccountFlashcardsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::put error payload for HTTP 403.","x-handler-derived":"PortalFlashcardsHandler::put"},"PortalPutPortalAccountFlashcardsError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::put error payload for HTTP 409.","x-handler-derived":"PortalFlashcardsHandler::put"},"PortalPutPortalAccountFlashcardsError413":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::put error payload for HTTP 413.","x-handler-derived":"PortalFlashcardsHandler::put"},"PortalPutPortalAccountFlashcardsError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalFlashcardsHandler::put error payload for HTTP 422.","x-handler-derived":"PortalFlashcardsHandler::put"},"PortalPutPortalAccountFlashcardsResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by PortalFlashcardsHandler::put."},"success":{"description":"Field serialized by PortalFlashcardsHandler::put."},"data":{"description":"Field serialized by PortalFlashcardsHandler::put."},"namespace":{"description":"Field serialized by PortalFlashcardsHandler::put."},"version":{"description":"Field serialized by PortalFlashcardsHandler::put."},"updated_at":{"description":"Field serialized by PortalFlashcardsHandler::put."}}},"PortalPutPortalAccountInquiriesIdWritingDayError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::put error payload for HTTP 400.","x-handler-derived":"InquiryWritingDayHandler::put"},"PortalPutPortalAccountInquiriesIdWritingDayError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::put error payload for HTTP 401.","x-handler-derived":"InquiryWritingDayHandler::put"},"PortalPutPortalAccountInquiriesIdWritingDayError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::put error payload for HTTP 403.","x-handler-derived":"InquiryWritingDayHandler::put"},"PortalPutPortalAccountInquiriesIdWritingDayError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::put error payload for HTTP 404.","x-handler-derived":"InquiryWritingDayHandler::put"},"PortalPutPortalAccountInquiriesIdWritingDayError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryWritingDayHandler::put error payload for HTTP 422.","x-handler-derived":"InquiryWritingDayHandler::put"},"PortalPutPortalAccountInquiriesIdWritingDayResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by InquiryWritingDayHandler::put."}}},"PortalPutPortalAccountInquirySettingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateAccountInquirySettings error payload for HTTP 400.","x-handler-derived":"InquiryHandler::updateAccountInquirySettings"},"PortalPutPortalAccountInquirySettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateAccountInquirySettings error payload for HTTP 401.","x-handler-derived":"InquiryHandler::updateAccountInquirySettings"},"PortalPutPortalAccountInquirySettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateAccountInquirySettings error payload for HTTP 403.","x-handler-derived":"InquiryHandler::updateAccountInquirySettings"},"PortalPutPortalAccountInquirySettingsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateAccountInquirySettings error payload for HTTP 404.","x-handler-derived":"InquiryHandler::updateAccountInquirySettings"},"PortalPutPortalAccountInquirySettingsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateAccountInquirySettings error payload for HTTP 429.","x-handler-derived":"InquiryHandler::updateAccountInquirySettings"},"PortalPutPortalAccountInquirySettingsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::updateAccountInquirySettings.","x-handler-record":"InquiryHandler::updateAccountInquirySettings"},"PortalPutPortalAccountProfileError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::save error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::save"},"PortalPutPortalAccountProfileError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::save error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::save"},"PortalPutPortalAccountProfileError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::save error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::save"},"PortalPutPortalAccountProfileLegalError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::saveLegal error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::saveLegal"},"PortalPutPortalAccountProfileLegalError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::saveLegal error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::saveLegal"},"PortalPutPortalAccountProfileLegalError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::saveLegal error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::saveLegal"},"PortalPutPortalAccountProfilePagesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::savePages error payload for HTTP 401.","x-handler-derived":"PortalProfileHandler::savePages"},"PortalPutPortalAccountProfilePagesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::savePages error payload for HTTP 403.","x-handler-derived":"PortalProfileHandler::savePages"},"PortalPutPortalAccountProfilePagesError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalProfileHandler::savePages error payload for HTTP 503.","x-handler-derived":"PortalProfileHandler::savePages"},"PortalPutPortalAccountSettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateSettings error payload for HTTP 401.","x-handler-derived":"PortalAccountHandler::updateSettings"},"PortalPutPortalAccountSettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateSettings error payload for HTTP 403.","x-handler-derived":"PortalAccountHandler::updateSettings"},"PortalPutPortalAccountSettingsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAccountHandler::updateSettings error payload for HTTP 429.","x-handler-derived":"PortalAccountHandler::updateSettings"},"PortalPutPortalAccountSettingsRequest":{"type":"object","additionalProperties":false,"properties":{"enableAutoRemove":{"description":"Reviewed handler-consumed request field."},"enableMailbox":{"description":"Reviewed handler-consumed request field."},"enableSimplifiedCaptcha":{"description":"Reviewed handler-consumed request field."},"enable_auto_remove":{"description":"Reviewed handler-consumed request field."},"enable_mailbox":{"description":"Reviewed handler-consumed request field."},"enable_simplified_captcha":{"description":"Reviewed handler-consumed request field."}}},"PortalPutPortalAccountSettingsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAccountHandler::updateSettings."}}},"PortalPutPortalCategoriesIdReorderError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::reorderCategory error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::reorderCategory"},"PortalPutPortalCategoriesIdReorderError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::reorderCategory error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::reorderCategory"},"PortalPutPortalCategoriesIdReorderError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::reorderCategory error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::reorderCategory"},"PortalPutPortalCategoriesIdReorderError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::reorderCategory error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::reorderCategory"},"PortalPutPortalCategoriesIdReorderError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::reorderCategory error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::reorderCategory"},"PortalPutPortalCategoriesIdReorderError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::reorderCategory error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::reorderCategory"},"PortalPutPortalCategoriesIdReorderResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::reorderCategory."},"category":{"description":"Field serialized by PortalListingsHandler::reorderCategory."}}},"PortalPutPortalListingsIdBusinessHoursError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 422.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::setBusinessHours error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::setBusinessHours"},"PortalPutPortalListingsIdBusinessHoursResponse":{"type":"object","additionalProperties":false,"properties":{"listingId":{"description":"Field serialized by PortalListingsHandler::setBusinessHours."},"portalId":{"description":"Field serialized by PortalListingsHandler::setBusinessHours."},"businessHours":{"description":"Field serialized by PortalListingsHandler::setBusinessHours."},"holidayHours":{"description":"Field serialized by PortalListingsHandler::setBusinessHours."},"updated":{"description":"Field serialized by PortalListingsHandler::setBusinessHours."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPutPortalListingsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::update error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::update"},"PortalPutPortalListingsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::update error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::update"},"PortalPutPortalListingsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::update error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::update"},"PortalPutPortalListingsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::update error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::update"},"PortalPutPortalListingsIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"},{"$ref":"#/components/schemas/PortalAgeGateErrorFields"}],"description":"PortalListingsHandler::update error payload for HTTP 422.","x-handler-derived":"PortalListingsHandler::update"},"PortalPutPortalListingsIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::update error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::update"},"PortalPutPortalListingsIdInquirySettingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateInquirySettings error payload for HTTP 400.","x-handler-derived":"InquiryHandler::updateInquirySettings"},"PortalPutPortalListingsIdInquirySettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateInquirySettings error payload for HTTP 401.","x-handler-derived":"InquiryHandler::updateInquirySettings"},"PortalPutPortalListingsIdInquirySettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateInquirySettings error payload for HTTP 403.","x-handler-derived":"InquiryHandler::updateInquirySettings"},"PortalPutPortalListingsIdInquirySettingsError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateInquirySettings error payload for HTTP 404.","x-handler-derived":"InquiryHandler::updateInquirySettings"},"PortalPutPortalListingsIdInquirySettingsError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryHandler::updateInquirySettings error payload for HTTP 429.","x-handler-derived":"InquiryHandler::updateInquirySettings"},"PortalPutPortalListingsIdInquirySettingsResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by InquiryHandler::updateInquirySettings.","x-handler-record":"InquiryHandler::updateInquirySettings","properties":{"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"field_templates":{"type":"array","items":{"$ref":"#/components/schemas/PortalInquiryFieldTemplate"},"description":"Only while portal.inquiryFieldTemplatesEnabled is on."}}},"PortalPutPortalListingsIdResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"description":"Field serialized by PortalListingsHandler::update."},"field":{"description":"Field serialized by PortalListingsHandler::update."},"message":{"description":"Field serialized by PortalListingsHandler::update."},"errors":{"description":"Field serialized by PortalListingsHandler::update."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"},"id":{"type":"integer","nullable":true},"portalId":{"type":"string"},"title":{"type":"string"},"images":{"type":"array","items":{"type":"object","properties":{"src":{"type":"string"},"srcset":{"type":"object","additionalProperties":{"type":"string"}}}}},"status":{"type":"integer"},"qualityScore":{"type":"integer"},"trust_score":{"type":"integer","nullable":true},"verificationBadges":{"description":"Verification badges serialized by ListingMapper."},"isVerifiedIdentity":{"type":"boolean"},"isVerifiedBusiness":{"type":"boolean"},"businessHours":{"description":"Effective listing business hours."},"holidayHours":{"type":"array","items":{"description":"Effective holiday hours."}},"values":{"description":"Effective, schema-defined listing values; pending input is exposed only on owner account listings."},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"updated":{"type":"boolean"},"mail_copy":{"type":"string"}}},"PortalPutPortalListingsIdSeoError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::updateSeo error payload for HTTP 400.","x-handler-derived":"PortalListingsHandler::updateSeo"},"PortalPutPortalListingsIdSeoError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::updateSeo error payload for HTTP 401.","x-handler-derived":"PortalListingsHandler::updateSeo"},"PortalPutPortalListingsIdSeoError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::updateSeo error payload for HTTP 403.","x-handler-derived":"PortalListingsHandler::updateSeo"},"PortalPutPortalListingsIdSeoError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::updateSeo error payload for HTTP 404.","x-handler-derived":"PortalListingsHandler::updateSeo"},"PortalPutPortalListingsIdSeoError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::updateSeo error payload for HTTP 500.","x-handler-derived":"PortalListingsHandler::updateSeo"},"PortalPutPortalListingsIdSeoError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalListingsHandler::updateSeo error payload for HTTP 503.","x-handler-derived":"PortalListingsHandler::updateSeo"},"PortalPutPortalListingsIdSeoResponse":{"type":"object","additionalProperties":false,"properties":{"portalId":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"listingId":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"overrides":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"meta":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"structuredData":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"schemaType":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"url":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"markup":{"description":"Field serialized by PortalListingsHandler::updateSeo."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPutPortalTenantIdAdminDomainsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::update error payload for HTTP 400.","x-handler-derived":"DomainMappingHandler::update"},"PortalPutPortalTenantIdAdminDomainsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::update error payload for HTTP 401.","x-handler-derived":"DomainMappingHandler::update"},"PortalPutPortalTenantIdAdminDomainsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::update error payload for HTTP 403.","x-handler-derived":"DomainMappingHandler::update"},"PortalPutPortalTenantIdAdminDomainsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"DomainMappingHandler::update error payload for HTTP 404.","x-handler-derived":"DomainMappingHandler::update"},"PortalPutPortalTenantIdAdminDomainsIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by DomainMappingHandler::update.","x-handler-record":"DomainMappingHandler::update"},"PortalPutPortalTenantIdAdminListingsListingIdVerificationBadgesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setVerificationBadges error payload for HTTP 400.","x-handler-derived":"PortalAdminListingsHandler::setVerificationBadges"},"PortalPutPortalTenantIdAdminListingsListingIdVerificationBadgesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setVerificationBadges error payload for HTTP 401.","x-handler-derived":"PortalAdminListingsHandler::setVerificationBadges"},"PortalPutPortalTenantIdAdminListingsListingIdVerificationBadgesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setVerificationBadges error payload for HTTP 403.","x-handler-derived":"PortalAdminListingsHandler::setVerificationBadges"},"PortalPutPortalTenantIdAdminListingsListingIdVerificationBadgesError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setVerificationBadges error payload for HTTP 404.","x-handler-derived":"PortalAdminListingsHandler::setVerificationBadges"},"PortalPutPortalTenantIdAdminListingsListingIdVerificationBadgesError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminListingsHandler::setVerificationBadges error payload for HTTP 429.","x-handler-derived":"PortalAdminListingsHandler::setVerificationBadges"},"PortalPutPortalTenantIdAdminListingsListingIdVerificationBadgesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminListingsHandler::setVerificationBadges."},"message":{"description":"Field serialized by PortalAdminListingsHandler::setVerificationBadges."}}},"PortalPutPortalTenantIdAdminNotificationSettingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::updateAdminSettings error payload for HTTP 400.","x-handler-derived":"NotificationSettingsHandler::updateAdminSettings"},"PortalPutPortalTenantIdAdminNotificationSettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::updateAdminSettings error payload for HTTP 401.","x-handler-derived":"NotificationSettingsHandler::updateAdminSettings"},"PortalPutPortalTenantIdAdminNotificationSettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::updateAdminSettings error payload for HTTP 403.","x-handler-derived":"NotificationSettingsHandler::updateAdminSettings"},"PortalPutPortalTenantIdAdminNotificationSettingsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by NotificationSettingsHandler::updateAdminSettings."},"role":{"description":"Field serialized by NotificationSettingsHandler::updateAdminSettings."},"code":{"description":"Field serialized by NotificationSettingsHandler::updateAdminSettings."},"message":{"description":"Field serialized by NotificationSettingsHandler::updateAdminSettings."}}},"PortalPutPortalTenantIdAdminPagesSlugError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::upsertPage error payload for HTTP 400.","x-handler-derived":"PortalAdminBlocklistHandler::upsertPage"},"PortalPutPortalTenantIdAdminPagesSlugError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::upsertPage error payload for HTTP 401.","x-handler-derived":"PortalAdminBlocklistHandler::upsertPage"},"PortalPutPortalTenantIdAdminPagesSlugError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::upsertPage error payload for HTTP 403.","x-handler-derived":"PortalAdminBlocklistHandler::upsertPage"},"PortalPutPortalTenantIdAdminPagesSlugError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalAdminBlocklistHandler::upsertPage error payload for HTTP 429.","x-handler-derived":"PortalAdminBlocklistHandler::upsertPage"},"PortalPutPortalTenantIdAdminPagesSlugResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalAdminBlocklistHandler::upsertPage."},"data":{"description":"Field serialized by PortalAdminBlocklistHandler::upsertPage."}}},"PortalPutPortalTenantIdAdminServicesIdCancellationError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 400.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminServicesIdCancellationError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 401.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminServicesIdCancellationError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 403.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminServicesIdCancellationError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 404.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminServicesIdCancellationError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 422.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminServicesIdCancellationError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 429.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminServicesIdCancellationError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalServiceCancellationHandler::cancelAdmin error payload for HTTP 503.","x-handler-derived":"PortalServiceCancellationHandler::cancelAdmin"},"PortalPutPortalTenantIdAdminSupportInboxTopicsIdReorderError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 400.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPutPortalTenantIdAdminSupportInboxTopicsIdReorderError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 401.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPutPortalTenantIdAdminSupportInboxTopicsIdReorderError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 403.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPutPortalTenantIdAdminSupportInboxTopicsIdReorderError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSupportLibraryHandler::topics error payload for HTTP 422.","x-handler-derived":"PortalSupportLibraryHandler::topics"},"PortalPutPortalTenantIdAdminSupportInboxTopicsIdReorderResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSupportLibraryHandler::topics.","x-handler-record":"PortalSupportLibraryHandler::topics"},"PortalPutPortalTenantIdBuilderListingsPortalIdListingIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::updateListing error payload for HTTP 400.","x-handler-derived":"BuilderListingHandler::updateListing"},"PortalPutPortalTenantIdBuilderListingsPortalIdListingIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::updateListing error payload for HTTP 401.","x-handler-derived":"BuilderListingHandler::updateListing"},"PortalPutPortalTenantIdBuilderListingsPortalIdListingIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::updateListing error payload for HTTP 403.","x-handler-derived":"BuilderListingHandler::updateListing"},"PortalPutPortalTenantIdBuilderListingsPortalIdListingIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::updateListing error payload for HTTP 404.","x-handler-derived":"BuilderListingHandler::updateListing"},"PortalPutPortalTenantIdBuilderListingsPortalIdListingIdError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"BuilderListingHandler::updateListing error payload for HTTP 500.","x-handler-derived":"BuilderListingHandler::updateListing"},"PortalPutPortalTenantIdBuilderListingsPortalIdListingIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by BuilderListingHandler::updateListing."},"error":{"description":"Field serialized by BuilderListingHandler::updateListing."},"message":{"description":"Field serialized by BuilderListingHandler::updateListing."}}},"PortalPutPortalTenantIdBuilderModelsPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::saveModel error payload for HTTP 400.","x-handler-derived":"PortalBuilderHandler::saveModel"},"PortalPutPortalTenantIdBuilderModelsPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::saveModel error payload for HTTP 401.","x-handler-derived":"PortalBuilderHandler::saveModel"},"PortalPutPortalTenantIdBuilderModelsPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalBuilderHandler::saveModel error payload for HTTP 403.","x-handler-derived":"PortalBuilderHandler::saveModel"},"PortalPutPortalTenantIdBuilderModelsPortalIdResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by PortalBuilderHandler::saveModel."},"error":{"description":"Field serialized by PortalBuilderHandler::saveModel."}}},"PortalPutPortalTenantIdCartItemsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::updateItem error payload for HTTP 400.","x-handler-derived":"ShoppingCartHandler::updateItem"},"PortalPutPortalTenantIdCartItemsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::updateItem error payload for HTTP 401.","x-handler-derived":"ShoppingCartHandler::updateItem"},"PortalPutPortalTenantIdCartItemsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::updateItem error payload for HTTP 403.","x-handler-derived":"ShoppingCartHandler::updateItem"},"PortalPutPortalTenantIdCartItemsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ShoppingCartHandler::updateItem error payload for HTTP 404.","x-handler-derived":"ShoppingCartHandler::updateItem"},"PortalPutPortalTenantIdCartItemsIdRequest":{"type":"object","additionalProperties":false,"properties":{"quantity":{"description":"Reviewed handler-consumed request field."}}},"PortalPutPortalTenantIdCartItemsIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by ShoppingCartHandler::updateItem."},"message":{"description":"Field serialized by ShoppingCartHandler::updateItem."},"success":{"description":"Field serialized by ShoppingCartHandler::updateItem."},"cart":{"description":"Field serialized by ShoppingCartHandler::updateItem."},"itemCount":{"description":"Field serialized by ShoppingCartHandler::updateItem."}}},"PortalPutPortalTenantIdFavoriteCategoriesCategoryIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 401.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalPutPortalTenantIdFavoriteCategoriesCategoryIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::categories error payload for HTTP 403.","x-handler-derived":"FavoriteDetailsHandler::categories"},"PortalPutPortalTenantIdFavoriteCategoriesCategoryIdResponse":{"type":"object","additionalProperties":false,"properties":{"items":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"success":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"id":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"name":{"description":"Field serialized by FavoriteDetailsHandler::categories."},"code":{"description":"Field serialized by FavoriteDetailsHandler::categories."}}},"PortalPutPortalTenantIdFavoritesListingIdPersonalError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::detail error payload for HTTP 401.","x-handler-derived":"FavoriteDetailsHandler::detail"},"PortalPutPortalTenantIdFavoritesListingIdPersonalError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"FavoriteDetailsHandler::detail error payload for HTTP 403.","x-handler-derived":"FavoriteDetailsHandler::detail"},"PortalPutPortalTenantIdFavoritesListingIdPersonalResponse":{"type":"object","additionalProperties":false,"properties":{"listing_id":{"description":"Field serialized by FavoriteDetailsHandler::detail."},"favorite":{"description":"Field serialized by FavoriteDetailsHandler::detail."},"code":{"description":"Field serialized by FavoriteDetailsHandler::detail."}}},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 400.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 401.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 403.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 404.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 422.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError429":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 429.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdError503":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"InquiryBoardHandler::column error payload for HTTP 503.","x-handler-derived":"InquiryBoardHandler::column"},"PortalPutPortalTenantIdInquiriesBoardColumnsColumnIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by InquiryBoardHandler::column."},"consent":{"description":"Field serialized by InquiryBoardHandler::column."},"columns":{"description":"Field serialized by InquiryBoardHandler::column."},"items":{"description":"Field serialized by InquiryBoardHandler::column."}}},"PortalPutPortalTenantIdListingStatsMailError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ListingStatsHandler::mail error payload for HTTP 403.","x-handler-derived":"ListingStatsHandler::mail"},"PortalPutPortalTenantIdListingsListingIdImagesReorderError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::reorder error payload for HTTP 400.","x-handler-derived":"ImageUploadHandler::reorder"},"PortalPutPortalTenantIdListingsListingIdImagesReorderError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::reorder error payload for HTTP 401.","x-handler-derived":"ImageUploadHandler::reorder"},"PortalPutPortalTenantIdListingsListingIdImagesReorderError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::reorder error payload for HTTP 403.","x-handler-derived":"ImageUploadHandler::reorder"},"PortalPutPortalTenantIdListingsListingIdImagesReorderError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ImageUploadHandler::reorder error payload for HTTP 500.","x-handler-derived":"ImageUploadHandler::reorder"},"PortalPutPortalTenantIdListingsListingIdImagesReorderResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ImageUploadHandler::reorder."},"items":{"description":"Field serialized by ImageUploadHandler::reorder."},"trace_id":{"description":"Field serialized by ImageUploadHandler::reorder."},"code":{"description":"Field serialized by ImageUploadHandler::reorder."},"message":{"description":"Field serialized by ImageUploadHandler::reorder."},"edit_limit":{"$ref":"#/components/schemas/PortalListingEditLimitState"}}},"PortalPutPortalTenantIdModeratorQueueIdAssignError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::assign error payload for HTTP 400.","x-handler-derived":"ModeratorQueueHandler::assign"},"PortalPutPortalTenantIdModeratorQueueIdAssignError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::assign error payload for HTTP 401.","x-handler-derived":"ModeratorQueueHandler::assign"},"PortalPutPortalTenantIdModeratorQueueIdAssignError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::assign error payload for HTTP 403.","x-handler-derived":"ModeratorQueueHandler::assign"},"PortalPutPortalTenantIdModeratorQueueIdAssignError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::assign error payload for HTTP 404.","x-handler-derived":"ModeratorQueueHandler::assign"},"PortalPutPortalTenantIdModeratorQueueIdAssignError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::assign error payload for HTTP 422.","x-handler-derived":"ModeratorQueueHandler::assign"},"PortalPutPortalTenantIdModeratorQueueIdAssignError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::assign error payload for HTTP 500.","x-handler-derived":"ModeratorQueueHandler::assign"},"PortalPutPortalTenantIdModeratorQueueIdAssignResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ModeratorQueueHandler::assign."},"error":{"description":"Field serialized by ModeratorQueueHandler::assign."},"message":{"description":"Field serialized by ModeratorQueueHandler::assign."}}},"PortalPutPortalTenantIdModeratorQueueIdReviewError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::review error payload for HTTP 400.","x-handler-derived":"ModeratorQueueHandler::review"},"PortalPutPortalTenantIdModeratorQueueIdReviewError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::review error payload for HTTP 401.","x-handler-derived":"ModeratorQueueHandler::review"},"PortalPutPortalTenantIdModeratorQueueIdReviewError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::review error payload for HTTP 403.","x-handler-derived":"ModeratorQueueHandler::review"},"PortalPutPortalTenantIdModeratorQueueIdReviewError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::review error payload for HTTP 404.","x-handler-derived":"ModeratorQueueHandler::review"},"PortalPutPortalTenantIdModeratorQueueIdReviewError422":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::review error payload for HTTP 422.","x-handler-derived":"ModeratorQueueHandler::review"},"PortalPutPortalTenantIdModeratorQueueIdReviewError500":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"ModeratorQueueHandler::review error payload for HTTP 500.","x-handler-derived":"ModeratorQueueHandler::review"},"PortalPutPortalTenantIdModeratorQueueIdReviewResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by ModeratorQueueHandler::review."},"error":{"description":"Field serialized by ModeratorQueueHandler::review."},"message":{"description":"Field serialized by ModeratorQueueHandler::review."}}},"PortalPutPortalTenantIdNotificationSettingsError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::updateSettings error payload for HTTP 400.","x-handler-derived":"NotificationSettingsHandler::updateSettings"},"PortalPutPortalTenantIdNotificationSettingsError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::updateSettings error payload for HTTP 401.","x-handler-derived":"NotificationSettingsHandler::updateSettings"},"PortalPutPortalTenantIdNotificationSettingsError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"NotificationSettingsHandler::updateSettings error payload for HTTP 403.","x-handler-derived":"NotificationSettingsHandler::updateSettings"},"PortalPutPortalTenantIdNotificationSettingsResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by NotificationSettingsHandler::updateSettings."},"settings":{"description":"Field serialized by NotificationSettingsHandler::updateSettings."},"code":{"description":"Field serialized by NotificationSettingsHandler::updateSettings."},"message":{"description":"Field serialized by NotificationSettingsHandler::updateSettings."}}},"PortalPutPortalTenantIdRedirectsIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::update error payload for HTTP 400.","x-handler-derived":"PortalLegacyRedirectHandler::update"},"PortalPutPortalTenantIdRedirectsIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::update error payload for HTTP 401.","x-handler-derived":"PortalLegacyRedirectHandler::update"},"PortalPutPortalTenantIdRedirectsIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::update error payload for HTTP 403.","x-handler-derived":"PortalLegacyRedirectHandler::update"},"PortalPutPortalTenantIdRedirectsIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalLegacyRedirectHandler::update error payload for HTTP 404.","x-handler-derived":"PortalLegacyRedirectHandler::update"},"PortalPutPortalTenantIdRedirectsIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalLegacyRedirectHandler::update.","x-handler-record":"PortalLegacyRedirectHandler::update"},"PortalPutPortalTenantIdSavedSearchesIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::update error payload for HTTP 400.","x-handler-derived":"SavedSearchesHandler::update"},"PortalPutPortalTenantIdSavedSearchesIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::update error payload for HTTP 401.","x-handler-derived":"SavedSearchesHandler::update"},"PortalPutPortalTenantIdSavedSearchesIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::update error payload for HTTP 403.","x-handler-derived":"SavedSearchesHandler::update"},"PortalPutPortalTenantIdSavedSearchesIdError404":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::update error payload for HTTP 404.","x-handler-derived":"SavedSearchesHandler::update"},"PortalPutPortalTenantIdSavedSearchesIdError409":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"SavedSearchesHandler::update error payload for HTTP 409.","x-handler-derived":"SavedSearchesHandler::update"},"PortalPutPortalTenantIdSavedSearchesIdResponse":{"type":"object","additionalProperties":false,"properties":{"code":{"description":"Field serialized by SavedSearchesHandler::update."},"message":{"description":"Field serialized by SavedSearchesHandler::update."}}},"PortalPutPortalTenantIdSeoPortalIdError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::upsert error payload for HTTP 400.","x-handler-derived":"PortalSeoHandler::upsert"},"PortalPutPortalTenantIdSeoPortalIdError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::upsert error payload for HTTP 401.","x-handler-derived":"PortalSeoHandler::upsert"},"PortalPutPortalTenantIdSeoPortalIdError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"PortalSeoHandler::upsert error payload for HTTP 403.","x-handler-derived":"PortalSeoHandler::upsert"},"PortalPutPortalTenantIdSeoPortalIdResponse":{"type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"type":"array","items":[]},{"nullable":true}]},"description":"Runtime record serialized from the repository/service result by PortalSeoHandler::upsert.","x-handler-record":"PortalSeoHandler::upsert"},"PortalPutPortalTenantIdUserPreferencesError400":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UserPreferencesHandler::updatePreferences error payload for HTTP 400.","x-handler-derived":"UserPreferencesHandler::updatePreferences"},"PortalPutPortalTenantIdUserPreferencesError401":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UserPreferencesHandler::updatePreferences error payload for HTTP 401.","x-handler-derived":"UserPreferencesHandler::updatePreferences"},"PortalPutPortalTenantIdUserPreferencesError403":{"allOf":[{"$ref":"#/components/schemas/PortalErrorEnvelope"}],"description":"UserPreferencesHandler::updatePreferences error payload for HTTP 403.","x-handler-derived":"UserPreferencesHandler::updatePreferences"},"PortalPutPortalTenantIdUserPreferencesResponse":{"type":"object","additionalProperties":false,"properties":{"success":{"description":"Field serialized by UserPreferencesHandler::updatePreferences."},"preferences":{"description":"Field serialized by UserPreferencesHandler::updatePreferences."},"code":{"description":"Field serialized by UserPreferencesHandler::updatePreferences."},"message":{"description":"Field serialized by UserPreferencesHandler::updatePreferences."}}},"PortalReferralAdminList":{"type":"object","properties":{"referrals":{"type":"array","items":{"type":"object","properties":{"referred_user_id":{"type":"integer"},"referrer_user_id":{"type":"integer"},"order_ref":{"type":"string"},"status":{"type":"string"},"reward_months":{"type":"integer","nullable":true},"attributed_at":{"type":"string"},"rewarded_at":{"type":"string","nullable":true}}}}}},"PortalReferralCheck":{"type":"object","properties":{"valid":{"type":"boolean"}}},"PortalReferralMine":{"type":"object","properties":{"code":{"type":"string"},"rewardMonths":{"type":"integer"},"stats":{"type":"object","properties":{"referred":{"type":"integer"},"rewarded":{"type":"integer"},"pending":{"type":"integer"}}}}},"PortalReferralReward":{"type":"object","properties":{"reward":{"type":"object","additionalProperties":true},"pending":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"PortalTenantColumn":{"type":"object","nullable":true,"additionalProperties":false,"required":["column_type","charset","collation"],"properties":{"column_type":{"type":"string","pattern":"^(?:(?:tiny|small|medium|big)?int(?:\\([0-9]+\\))?(?: unsigned)?|(?:var)?char\\([0-9]+\\))$"},"charset":{"type":"string","nullable":true,"pattern":"^[a-z0-9_]{1,64}$"},"collation":{"type":"string","nullable":true,"pattern":"^[a-z0-9_]{1,64}$"}}},"PortalTenantForeignKeyCounts":{"type":"object","additionalProperties":false,"required":["ok","scope","read_only","target","counts"],"properties":{"ok":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["portal-tenant-fk-counts"]},"read_only":{"type":"boolean","enum":[true]},"target":{"type":"object","additionalProperties":false,"required":["site_name","base_url_host","git_commit"],"properties":{"site_name":{"type":"string","enum":["portal-mt"]},"base_url_host":{"type":"string","enum":["beta.brieffreunde-gesucht.de"]},"git_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"}}},"counts":{"type":"object","additionalProperties":false,"required":["read_only","ddl_safety_proven","parent","config","portal_models","tables"],"properties":{"read_only":{"type":"boolean","enum":[true]},"ddl_safety_proven":{"type":"boolean","enum":[false]},"config":{"type":"object","additionalProperties":false,"required":["state","column"],"properties":{"state":{"type":"string","enum":["measured","missing_table","missing_column","unsupported_engine","unsupported_type","query_unavailable"]},"column":{"$ref":"#/components/schemas/PortalTenantColumn"}}},"portal_models":{"type":"string","enum":["measured","missing"]},"parent":{"type":"object","additionalProperties":false,"required":["state","column","row_count"],"properties":{"state":{"type":"string","enum":["measured","missing_table","missing_column","unsupported_engine","unsupported_type","query_unavailable"]},"column":{"$ref":"#/components/schemas/PortalTenantColumn"},"row_count":{"type":"integer","nullable":true,"minimum":0}}},"tables":{"type":"object","additionalProperties":false,"required":["rental_agreements","portal_listing_sync_provenance","portal_users","admin_test_accounts"],"properties":{"rental_agreements":{"$ref":"#/components/schemas/PortalTenantTableCounts"},"portal_listing_sync_provenance":{"$ref":"#/components/schemas/PortalTenantTableCounts"},"portal_users":{"$ref":"#/components/schemas/PortalTenantTableCounts"},"admin_test_accounts":{"$ref":"#/components/schemas/PortalTenantTableCounts"}}}}}}},"PortalTenantTableCounts":{"type":"object","additionalProperties":false,"required":["state","column","row_count","distinct_tenant_count","null_tenant_count","unmatched_binary_tenant_count"],"properties":{"state":{"type":"string","enum":["measured","missing_table","missing_column","unsupported_engine","unsupported_type","query_unavailable","parent_unavailable"]},"column":{"$ref":"#/components/schemas/PortalTenantColumn"},"row_count":{"type":"integer","nullable":true,"minimum":0},"distinct_tenant_count":{"type":"integer","nullable":true,"minimum":0},"null_tenant_count":{"type":"integer","nullable":true,"minimum":0},"unmatched_binary_tenant_count":{"type":"integer","nullable":true,"minimum":0,"description":"Non-NULL child rows without an exact byte-identical tenants.id. Diagnostic only; not the collation-aware lossless conversion proof or FK admission."},"unmatched_active_config_tenant_count":{"type":"integer","nullable":true,"minimum":0,"description":"Distinct unmatched tenant ids with an active tenant_configs row."},"unmatched_without_config_tenant_count":{"type":"integer","nullable":true,"minimum":0,"description":"Distinct unmatched tenant ids without any tenant_configs row."},"unmatched_declared_portal_tenant_count":{"type":"integer","nullable":true,"minimum":0,"description":"Distinct unmatched tenant ids that the deployed code declares as portal tenants (Portal/models/<id>.json). Null when the table or the models directory is unavailable; never a value."}}},"PortalTierPeriodPrices":{"type":"object","additionalProperties":false,"required":["6","12"],"properties":{"6":{"type":"integer","minimum":0,"maximum":100000000,"description":"Gross EUR cents for six months"},"12":{"type":"integer","minimum":0,"maximum":100000000,"description":"Gross EUR cents for twelve months"}}},"PortalUser":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"nickname":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"display_name":{"type":"string","nullable":true},"enable_mailbox":{"type":"boolean"},"enable_auto_remove":{"type":"boolean"},"is_activated":{"type":"boolean"},"annotation":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"PortalVoucher":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["percent","fixed","quantity","combo"]},"label":{"type":"string"},"codeHint":{"type":"string","nullable":true},"percent":{"type":"string","nullable":true,"description":"Decimal string with two places, e.g. 25.00"},"amountMinor":{"type":"integer","nullable":true},"minimumMinor":{"type":"integer","nullable":true},"frequency":{"type":"string","nullable":true,"enum":["per_minimum","once",null]},"quantity":{"type":"integer","nullable":true},"itemIds":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"array","items":{"type":"string"}}},"sameListing":{"type":"boolean"},"validFrom":{"type":"string","nullable":true},"validUntil":{"type":"string","nullable":true},"maxRedemptions":{"type":"integer","nullable":true},"redeemedCount":{"type":"integer"},"maxPerUser":{"type":"integer","nullable":true},"status":{"type":"string","enum":["active","disabled"]},"createdAt":{"type":"string"}}},"PortalVoucherCreated":{"type":"object","properties":{"voucher":{"$ref":"#/components/schemas/PortalVoucher"},"code":{"type":"string","nullable":true}}},"PortalVoucherError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"minimumMinor":{"type":"integer"},"retryAfterSeconds":{"type":"integer"},"errors":{"type":"object","additionalProperties":{"type":"string"}},"unknown":{"type":"string"}}},"PortalVoucherListResponse":{"type":"object","properties":{"vouchers":{"type":"array","items":{"$ref":"#/components/schemas/PortalVoucher"}}}},"PortalVoucherQuote":{"type":"object","properties":{"subtotalMinor":{"type":"integer"},"discountMinor":{"type":"integer"},"totalMinor":{"type":"integer"},"source":{"type":"string","enum":["none","code","combo"]},"codeOutcome":{"type":"string","enum":["none","applied","superseded_by_combo"]},"discount":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"percent":{"type":"string","nullable":true},"discountMinor":{"type":"integer"}}}}},"PortalVoucherQuoteRequest":{"type":"object","required":["items"],"properties":{"items":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","properties":{"item_id":{"type":"string"},"quantity":{"type":"integer","minimum":1},"listingId":{"type":"string"}}}},"code":{"type":"string","nullable":true}}},"PortalVoucherRedemptionsResponse":{"type":"object","properties":{"redemptions":{"type":"array","items":{"type":"object","properties":{"order_ref":{"type":"string"},"user_key":{"type":"string"},"discount_minor":{"type":"integer"},"status":{"type":"string","enum":["redeemed","released"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}}}}},"PortalVoucherReleaseResponse":{"type":"object","properties":{"orderRef":{"type":"string"},"released":{"type":"integer"}}},"PortalVoucherResponse":{"type":"object","properties":{"voucher":{"$ref":"#/components/schemas/PortalVoucher"}}},"PortalVoucherSpec":{"type":"object","additionalProperties":false,"description":"Create: kind and label required. Money in integer minor units; percent as integer or decimal string with up to two places (no float); dates YYYY-MM-DD or YYYY-MM-DD HH:MM:SS portal-local, a bare validUntil ends at 23:59:59.","properties":{"kind":{"type":"string","enum":["percent","fixed","quantity","combo"]},"label":{"type":"string","maxLength":120},"code":{"type":"string","nullable":true,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{3,39}$"},"percent":{"oneOf":[{"type":"string"},{"type":"integer"}]},"amountMinor":{"type":"integer","minimum":1},"minimumMinor":{"type":"integer","nullable":true},"frequency":{"type":"string","enum":["per_minimum","once"]},"quantity":{"type":"integer","minimum":1},"itemIds":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","minItems":2,"maxItems":5,"items":{"type":"array","items":{"type":"string"}}},"sameListing":{"type":"boolean"},"validFrom":{"type":"string","nullable":true},"validUntil":{"type":"string","nullable":true},"maxRedemptions":{"type":"integer","nullable":true},"maxPerUser":{"type":"integer","nullable":true},"status":{"type":"string","enum":["active","disabled"]},"note":{"type":"string","nullable":true}}},"PortalWorkflowReview":{"type":"object","additionalProperties":false,"required":["id","state","revision","hash","content_hash","profile_hash","diff","scam","audit"],"properties":{"id":{"type":"integer"},"state":{"type":"string","enum":["open","in_review","approved","rejected","returned","resubmitted"]},"revision":{"type":"integer"},"hash":{"type":"string"},"content_hash":{"type":"string"},"profile_hash":{"type":"string"},"diff":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"field":{"type":"string"},"change":{"type":"string","enum":["added","removed","changed"]}}}},"review_content":{"type":"object","description":"Authorized public listing payload read atomically with the hash; detail only, never queue/audit/profile","additionalProperties":true},"audit":{"type":"object","properties":{"truncated":{"type":"boolean"},"events":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"actor_id":{"type":"string"},"action":{"type":"string"},"previous_state":{"type":"string","nullable":true},"state":{"type":"string"},"revision":{"type":"integer"},"review_hash":{"type":"string"},"content_hash":{"type":"string"},"profile_hash":{"type":"string"},"created_at":{"type":"string"}}}}}},"scam":{"$ref":"#/components/schemas/PortalWorkflowScam"},"local_scam":{"type":"object","properties":{"available":{"type":"boolean"},"score":{"type":"integer","nullable":true,"minimum":0,"maximum":100},"reasons":{"type":"array","items":{"type":"string"}}}}}},"PortalWorkflowScam":{"type":"object","additionalProperties":false,"properties":{"score":{"type":"integer","minimum":0,"maximum":100},"reasons":{"type":"array","items":{"type":"string","enum":["money_request","link_in_text","contact_in_text","foreign_transfer","crypto","gift_card","duplicate","repeated_text","new_account"]}}}},"Position":{"type":"object","required":["id","label","kategorie","stufe","lieferung","wofuer","lieferweg","befund"],"properties":{"id":{"type":"string"},"label":{"type":"string","description":"Resolved for the Accept-Language locale"},"kategorie":{"type":"string","enum":["beleg","datenimport","stammdatum"]},"stufe":{"type":"string","enum":["erforderlich","empfohlen"],"description":"erforderlich blocks a declaration or a tax-pilot station; empfohlen is a cross-check whose figure is already known.\n"},"lieferung":{"type":"string","enum":["owner","system"],"description":"system means the platform produces it — never an owner delivery."},"wofuer":{"type":"array","items":{"$ref":"#/components/schemas/Zweck"}},"lieferweg":{"$ref":"#/components/schemas/Lieferweg"},"befund":{"$ref":"#/components/schemas/Befund"}}},"PositiveMoney":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","example":"100.00"},"PostingDefinition":{"type":"object","properties":{"debit_account":{"type":"string"},"credit_account":{"type":"string"},"category":{"type":"string"},"prefix":{"type":"string"},"booking_date":{"type":"string","enum":["transaction","month_end"],"default":"transaction"},"amount":{"$ref":"#/components/schemas/AmountDefinition"},"vat":{"$ref":"#/components/schemas/VatDefinition"}}},"PostingRow":{"type":"object","required":["booking_date","booking_number","booking_text","counterparty_name","counterparty_id","amount","debit_account","credit_account","currency","category","source_id","evidence_state","evidence_url","applied_rule_ids","provenance"],"properties":{"booking_date":{"type":"string","format":"date"},"booking_number":{"type":"integer"},"booking_text":{"type":"string"},"counterparty_name":{"type":"string"},"counterparty_id":{"type":"string"},"amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$"},"debit_account":{"type":"string"},"credit_account":{"type":"string"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"vat_debit_account":{"type":"string"},"vat_debit_amount":{"type":"string"},"vat_credit_account":{"type":"string"},"vat_credit_amount":{"type":"string"},"category":{"type":"string"},"source_id":{"type":"string"},"evidence_state":{"$ref":"#/components/schemas/Evidence"},"evidence_url":{"type":"string"},"applied_rule_ids":{"type":"array","items":{"type":"string","pattern":"^[a-zA-Z0-9._-]{1,64}$"}},"provenance":{"type":"object","required":["origin","status"],"properties":{"origin":{"type":"string","enum":["automatisch"]},"status":{"type":"string","enum":["vorgeschlagen"]}}}}},"PostingRule":{"type":"object","required":["id","priority","match_field","match_type","match_pattern","direction","debit_account","credit_account","category","active"],"properties":{"id":{"type":"string","maxLength":64},"priority":{"type":"integer","minimum":0,"maximum":100000},"match_field":{"type":"string"},"match_type":{"type":"string","enum":["contains","equals","starts_with","ends_with"]},"match_pattern":{"type":"string","maxLength":255},"direction":{"type":"string","enum":["any","in","out"]},"debit_account":{"type":"string","maxLength":32},"credit_account":{"type":"string","maxLength":32},"category":{"type":"string","maxLength":80},"booking_text_prefix":{"type":"string","maxLength":255},"definition_json":{"type":"string"},"active":{"type":"boolean"}}},"Power":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"task":{"type":"string","nullable":true}}},"PremiumSupportConfig":{"type":"object","required":["enabled","priority_queue","on_call"],"properties":{"enabled":{"type":"boolean"},"priority_queue":{"type":"array","items":{"type":"string","enum":["urgent","high","normal","low"]}},"p1_template_id":{"type":"string"},"on_call":{"type":"array","items":{"type":"object","required":["day","start","end","user_id"],"properties":{"day":{"type":"string","enum":["sun","mon","tue","wed","thu","fri","sat"]},"start":{"type":"string","pattern":"^(?:[01]\\\\d|2[0-3]):[0-5]\\\\d$"},"end":{"type":"string","pattern":"^(?:[01]\\\\d|2[0-3]):[0-5]\\\\d$"},"user_id":{"type":"string"}}}}}},"PreviewEnvelope":{"type":"object","additionalProperties":false,"required":["success","tenant","batch_id","batch_hash","controls","records","snapshot_sha256","mapping_sha256","record_count","outcomes"],"properties":{"success":{"type":"boolean","enum":[true]},"tenant":{"type":"string","enum":["fewo"]},"batch_id":{"type":"string","pattern":"^fewo-[a-f0-9]{24}$"},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"controls":{"type":"object","additionalProperties":false,"required":["record_count","unit_count"],"properties":{"record_count":{"type":"integer"},"unit_count":{"type":"integer"}}},"release_state":{"type":"string","enum":["pending","approved","consumed"]},"records":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["external_key","action","booking_id","identity_basis","source_booking_id","source_record_index","source_payload_sha256","batch_hash","outcome"],"properties":{"external_key":{"type":"string","nullable":true},"action":{"type":"string","enum":["create","update","unchanged","skip_calendar_block","cancel","cancellation_missing_predecessor","reconciliation_required"]},"status":{"type":"string","enum":["processed","not_applicable","reconciliation_required"]},"reason":{"type":"string","nullable":true},"created":{"type":"boolean"},"updated":{"type":"boolean"},"skipped":{"type":"boolean"},"source_booking_id":{"type":"integer","minimum":1},"source_booking_status":{"type":"string"},"source_record_index":{"type":"integer","minimum":0},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"booking_id":{"type":"integer","minimum":1,"nullable":true},"identity_basis":{"type":"string","nullable":true,"description":"Woran die Identitaet dieses Satzes haengt. booking_number ist die Identitaet (Kardinalregel 9); fallback_stay_hash ist KEINE Identitaet, sondern der benannte Rueckfall fuer Saetze ohne Buchungsnummer.","enum":["booking_number","external_ref","fallback_stay_hash"]},"source_payload_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["create","update","unchanged","cancel","cancelled","not_applicable","anonymized_legacy_record","reconciliation_required","cancellation_missing_predecessor"]}}}},"snapshot_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mapping_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"record_count":{"type":"integer","minimum":1},"outcomes":{"type":"object","additionalProperties":{"type":"integer","minimum":0}}}},"PriceCatalogEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"version":{"type":"integer"},"updatedAt":{"type":"string","nullable":true},"updatedBy":{"type":"string","nullable":true},"defaultsVersion":{"type":"string"},"factorSource":{"type":"string","enum":["tenant","default","saas_base"]},"settings":{"type":"object","additionalProperties":true},"products":{"type":"array","items":{"type":"object","additionalProperties":true}},"rules":{"type":"array","items":{"type":"object","additionalProperties":true}},"overrides":{"type":"object","additionalProperties":true}}}}},"PriceCatalogQuote":{"type":"object","required":["priceKey","amountCents","currency","vatPercent","basis","freeAlternative"],"properties":{"priceKey":{"type":"string"},"label":{"type":"object","properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}},"kind":{"type":"string","enum":["subscription","bundle","package","service","action","portal","usage"]},"unit":{"type":"string","enum":["month","hour","action","document","token","period"]},"amountCents":{"type":"integer","nullable":true,"description":"Gross cents the buyer pays; null = price unknown."},"netCents":{"type":"integer","nullable":true},"currency":{"type":"string"},"vatPercent":{"type":"integer"},"basis":{"type":"string","enum":["per_action","per_period","per_hour","token_estimate","included","unknown"]},"freeAlternative":{"type":"string","enum":["watermark","simulate","none"]},"durationMonths":{"type":"integer","nullable":true},"includes":{"type":"array","items":{"type":"object","properties":{"priceKey":{"type":"string"},"quantity":{"type":"integer"}}}},"estimatedTokens":{"type":"integer"}}},"PriceCatalogWriteEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"dryRun":{"type":"boolean"},"version":{"type":"integer"},"diff":{"type":"object","additionalProperties":true},"catalog":{"type":"object","additionalProperties":true},"mode":{"type":"string"},"tier":{"type":"string"}}}}},"PriceQuote":{"type":"object","description":"Server-priced estimate: { productId, productName, quantity, options: [{ groupId, groupName, optionId, name }], currency, vatRate (integer %), unitPriceCents, subtotalCents, discountPercent (decimal string), discountAmountCents, netCents, vatAmountCents, totalCents, lineItems: [{ type: base|option|subtotal|discount|vat|total, label|null, amountCents, percentage? }] }","additionalProperties":true},"PricingData":{"type":"object","properties":{"version":{"type":"string"},"lastUpdated":{"type":"string"},"currency":{"$ref":"#/components/schemas/CurrencyConfig"},"vat":{"$ref":"#/components/schemas/VatConfig"},"products":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ProductPrice"}},"domains":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/DomainPrice"}},"services":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ServicePrice"}},"shipping":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ShippingPrice"}},"discounts":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/Discount"}}}},"PricingDefault":{"type":"object","required":["id","tenant_id","schema_id","step_key","article_group_id","percent","absolute_amount"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"schema_id":{"type":"string"},"step_key":{"type":"string"},"article_group_id":{"type":"string","nullable":true,"description":"Null identifies the global default."},"percent":{"type":"string","nullable":true,"pattern":"^-?[0-9]+(?:\\.[0-9]+)?$","example":"15.00"},"absolute_amount":{"type":"string","nullable":true,"pattern":"^-?[0-9]+(?:\\.[0-9]+)?$","example":"2.50"}}},"PricingSchemaDetail":{"allOf":[{"$ref":"#/components/schemas/PricingSchemaRow"},{"type":"object","required":["steps"],"properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/PricingStep"}}}}]},"PricingSchemaErrorResponse":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","example":"NOT_FOUND"},"message":{"type":"string"}}},"PricingSchemaRow":{"type":"object","required":["id","tenant_id","name","description","is_default_for_group","created_at","updated_at"],"properties":{"id":{"type":"string","example":"standard-sales"},"tenant_id":{"type":"string"},"name":{"type":"string","example":"Standard sales price"},"description":{"type":"string","nullable":true},"is_default_for_group":{"type":"string","nullable":true},"created_at":{"type":"string","description":"SQL timestamp in `Y-m-d H:i:s` shape.","example":"2026-07-16 10:15:30"},"updated_at":{"type":"string","description":"SQL timestamp in `Y-m-d H:i:s` shape.","example":"2026-07-16 10:15:30"}}},"PricingSchema_SchemaListResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/PricingSchemaRow"}}}},"PricingSchema_SchemaResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/PricingSchemaDetail"}}},"PricingStep":{"type":"object","required":["id","tenant_id","schema_id","step_order","step_key","step_label","calculation_type","formula","is_required"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"schema_id":{"type":"string"},"step_order":{"type":"integer","minimum":0},"step_key":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","example":"margin"},"step_label":{"type":"string","example":"Margin"},"calculation_type":{"type":"string","enum":["percent","absolute","formula"]},"formula":{"type":"string","nullable":true,"example":"running_total * 0.2"},"is_required":{"type":"boolean"}}},"PrivacyRequestCreateRequest":{"type":"object","required":["subject_email","request_type"],"properties":{"subject_email":{"type":"string","format":"email"},"request_type":{"type":"string","enum":["access","rectify","erase","portability","object","restrict"]},"subject_customer_id":{"type":"string","nullable":true},"subject_employee_id":{"type":"string","nullable":true}}},"PrivateBankTransaction":{"type":"object","description":"One private-account movement. Never part of any business report unless it has been explicitly adopted.\n","properties":{"id":{"type":"integer"},"bookingDate":{"type":"string","format":"date"},"valueDate":{"type":"string","format":"date","nullable":true},"amountCents":{"type":"integer","description":"Integer minor units — never a float."},"currency":{"type":"string"},"counterparty":{"type":"string","description":"Pseudonymized surface, not the real name."},"reference":{"type":"string"},"suggestedBusiness":{"type":"boolean","description":"A hint only. Nothing is ever moved without a human decision."},"suggestionReason":{"type":"string","nullable":true},"adoptedAt":{"type":"string","nullable":true},"adoptedBy":{"type":"string","nullable":true},"businessPurpose":{"type":"string","nullable":true}}},"ProbeResponse":{"type":"object","required":["status","probe","timestamp"],"properties":{"status":{"type":"string","enum":["healthy"],"example":"healthy"},"probe":{"type":"string","enum":["live","startup"],"example":"live"},"timestamp":{"type":"string","format":"date-time","example":"2026-02-07T12:00:00Z"}}},"ProblemDetails":{"type":"object","description":"RFC 7807 Problem Details Envelope aus App\\Http\\ProblemDetails","required":["type","title","status","detail"],"properties":{"type":{"type":"string","example":"/api/docs/errors#validation-failed"},"title":{"type":"string","example":"Validation failed"},"status":{"type":"integer","example":400},"detail":{"type":"string","example":"Field email is required."},"instance":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"requestId":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"message":{"type":"string","nullable":true}}},"ProductPrice":{"type":"object","properties":{"id":{"type":"string"},"articleNumber":{"type":"string"},"priceNet":{"type":"number"},"priceGross":{"type":"number"},"vatType":{"type":"string","enum":["standard","reduced","zero"]},"billingPeriod":{"type":"string","enum":["once","daily","weekly","monthly","yearly"]},"contractPeriod":{"type":"integer","nullable":true},"contractPeriodUnit":{"type":"string","enum":["days","weeks","months","years"],"nullable":true},"supportHoursIncluded":{"type":"integer","nullable":true},"category":{"type":"string"}}},"ProductionMigrationContext":{"type":"object","additionalProperties":false,"required":["site","pin","config_sha256","database_sha256"],"description":"Signed pre-cutover candidate claim; matched against production-only config snapshots, deployment metadata and selected DB metadata. Never selects configuration.","properties":{"site":{"type":"string","pattern":"^[a-z0-9]+(-[a-z0-9]+)*$"},"pin":{"type":"string","pattern":"^[a-f0-9]{40}$"},"config_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"database_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"ProgramCreateRequest":{"type":"object","required":["code","name"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"recurrence":{"type":"string","enum":["one-off","annual","biennial"],"default":"one-off"},"effective_from":{"type":"string","nullable":true}}},"PropertyTaxAssessmentEvidence":{"type":"object","description":"Immutable Grundsteuer assessment evidence. Positive decimal fixed_asset_id values are canonical IDs authorized by the tenant/building link. Genuinely nonnumeric legacy external references remain strings; whitespace, signed, decimal, exponent, zero, and overflow integer forms are invalid. Creation is tenant-scoped idempotent: an exact normalized-request replay retains the same assessment, cost item, request hash, and outbox event identity.","required":["id","tenant_id","building_id","assessment_year","basis_kind","grundsteuerwert_cents","steuermessbetrag_cents","hebesatz_bp","assessed_grundsteuer_cents","idempotency_key","request_sha256","outbox_event_id","created_at","updated_at"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"building_id":{"type":"string"},"assessment_year":{"type":"integer","minimum":1000,"maximum":9999},"basis_kind":{"type":"string","enum":["grundsteuerwert","einheitswert"]},"grundsteuerwert_cents":{"type":"string","pattern":"^[0-9]+$"},"steuermessbetrag_cents":{"type":"string","pattern":"^[0-9]+$"},"hebesatz_bp":{"type":"integer","minimum":0},"assessed_grundsteuer_cents":{"type":"string","pattern":"^[0-9]+$"},"fixed_asset_id":{"type":"string","nullable":true,"description":"Canonical positive decimal ID or genuinely nonnumeric legacy external reference."},"cost_item_id":{"type":"string","nullable":true},"idempotency_key":{"type":"string","minLength":1,"maxLength":128,"nullable":true,"description":"Null only on assessments created before the idempotent creation contract."},"request_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","nullable":true,"description":"Null only on migrated legacy assessments."},"outbox_event_id":{"type":"integer","minimum":1,"nullable":true,"description":"Null only on migrated legacy assessments that predate transactional events."},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"PropertyTaxEvidenceResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["fixed_asset_id","building_id","assessments"],"properties":{"fixed_asset_id":{"type":"integer"},"building_id":{"type":"string"},"assessments":{"type":"array","items":{"$ref":"#/components/schemas/PropertyTaxAssessmentEvidence"}}}}}},"Proposal":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"entity":{"type":"string"},"operation":{"type":"string","enum":["POST","PUT","DELETE"]},"target_id":{"type":"string","nullable":true},"payload":{"type":"object","additionalProperties":true},"status":{"type":"string","enum":["pending","approved","applying","applied","failed","rejected","cancelled","retired"]},"proposed_by":{"type":"string","nullable":true},"proposed_reason":{"type":"string","nullable":true},"approved_by":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"upstream_response":{"type":"object","nullable":true,"additionalProperties":true},"created_at":{"type":"string"},"approved_at":{"type":"string","nullable":true},"applied_at":{"type":"string","nullable":true}}},"ProposalCreate":{"type":"object","required":["entity","operation"],"properties":{"entity":{"type":"string","description":"Local entity slug (curated) or any upstream-safe path string."},"operation":{"type":"string","enum":["POST","PUT","DELETE"]},"target_id":{"type":"string","nullable":true,"description":"Required for PUT/DELETE; must be omitted for POST."},"payload":{"type":"object","additionalProperties":true},"reason":{"type":"string","nullable":true},"payload_shape":{"type":"string","enum":["local","upstream"],"default":"upstream"}}},"ProposalEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Proposal"}}},"ProposalListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Proposal"}},"meta":{"type":"object","properties":{"write_enabled":{"type":"boolean"},"configured":{"type":"boolean"},"limit":{"type":"integer"},"next_before_created_at":{"type":"string","nullable":true},"next_before_id":{"type":"integer","nullable":true}}}}},"ProvenanceNode":{"type":"object","description":"One neighbour on the Mehr-Wege-Strecke. `role` states WHY the record is a neighbour (quelle_bankbewegung, abgeleitete_buchung, stornozeile, quelle_rechnung, quelle_eingangsrechnung, quelle_buchung, quelle_beleg, umbuchung, verknuepfter_datensatz). Booking nodes carry journalId so the legs of one balanced journal can be grouped; amountCents is integer minor units. `depth` is how many hops away the node sits (1 = direct neighbour) — the walk is MULTI-HOP, so a node at depth 2 was reached through the node at depth 1 on the same side. Nodes that came from a `document_links` edge additionally carry `linkStatus` and `linkOrigin` verbatim: only `bestaetigt` discharges the Belegpflicht, and a `vorgeschlagen` row must be labelled as the machine proposal it is. `annotation` temporarily carries the JournalProvenanceAnnotation-encoded journal-line type and is null on legacy edges.\n","properties":{"type":{"type":"string"},"id":{"type":"string"},"label":{"type":"string","description":"Legacy human-readable text caption; localized clients prefer labelData."},"labelData":{"type":"object","required":["type"],"description":"Language-neutral caption. Compose the type and number in the reader's language; known portal events replace the technical source name. A document caption may name its originating business type without changing the node's document identity or navigation target.\n","properties":{"type":{"type":"string"},"title":{"type":"string","description":"Owner-only personal title; never a content preview."},"number":{"type":"string","description":"Stored business number or a hash-prefixed record id."},"detail":{"type":"string"},"event":{"type":"string","enum":["quote_accepted","quote_rejected"]},"date":{"type":"string"},"minutes":{"type":"integer","minimum":0,"nullable":true}}},"personalReference":{"type":"object","description":"Owner-verified AppState object identity from the stored edge, not its materialized document id.","required":["type","id"],"properties":{"type":{"type":"string","enum":["voice_memo","project_journal_entry","reading_journal_book","library_item","restaurant_reservation","event_plan","quantity_measurement","measurement_calibration_reference","event_safety_header","voyage_route","voyage_handover_reference","gps_tour_section","guest_activity_tip"]},"id":{"type":"string"},"calibrationId":{"type":"string","description":"Selected calibration entry ID for a measurement_calibration_reference only."}}},"role":{"type":"string","enum":["quelle_bankbewegung","quelle_rechnung","quelle_eingangsrechnung","quelle_buchung","abgeleitete_buchung","stornozeile","quelle_beleg","verknuepfter_datensatz","umbuchung"]},"depth":{"type":"integer","minimum":1},"date":{"type":"string"},"description":{"type":"string"},"amountCents":{"type":"integer"},"journalId":{"type":"string"},"referenceType":{"type":"string"},"counterparty":{"type":"string"},"reference":{"type":"string"},"category":{"type":"string"},"linkStatus":{"type":"string","enum":["bestaetigt","vorgeschlagen","pruefliste"]},"linkOrigin":{"type":"string","enum":["manuell","automatisch"]},"annotation":{"type":"string","nullable":true}}},"ProvisionRequest":{"type":"object","required":["userId","planTier"],"properties":{"userId":{"type":"integer","minimum":1},"planTier":{"type":"string","enum":["basis","business","business-plus","allyoucaneat"]},"email":{"type":"string","format":"email","nullable":true}}},"ProvisionResponse":{"type":"object","properties":{"success":{"type":"boolean"},"userId":{"type":"integer"},"planTier":{"type":"string"},"loginname":{"type":"string","nullable":true},"customerid":{"type":"integer","nullable":true},"message":{"type":"string","nullable":true}}},"PsError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"PsLicense":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"listing_id":{"type":"integer"},"module_key":{"type":"string"},"customer_tenant_id":{"type":"string"},"license_key":{"type":"string"},"license_tier":{"type":"string"},"status":{"type":"string","enum":["pending_approval","active","suspended","cancelled"]},"price_credits":{"type":"integer"},"meter_included":{"type":"integer"}}},"PsListEnvelope":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"meta":{"type":"object","properties":{"count":{"type":"integer"}}}}},"PsListing":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"module_key":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"category":{"type":"string"},"license_tier":{"type":"string"},"price_credits":{"type":"integer"},"billing_period":{"type":"string","enum":["once","monthly","yearly"]},"meter_included":{"type":"integer"},"status":{"type":"string","enum":["draft","published","delisted"]},"sort_order":{"type":"integer"}}},"PsStorefront":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"slug":{"type":"string"},"name":{"type":"string"},"headline":{"type":"string"},"primary_color":{"type":"string"},"accent_color":{"type":"string"},"logo_url":{"type":"string"},"support_email":{"type":"string"},"support_url":{"type":"string"},"support_phone":{"type":"string"},"status":{"type":"string","enum":["draft","published","suspended"]}}},"PsSuccess":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","additionalProperties":true}}},"PsUsage":{"type":"object","properties":{"license_id":{"type":"integer"},"module_key":{"type":"string"},"status":{"type":"string"},"meter_included":{"type":"integer"},"meter_used":{"type":"integer"},"meter_overage":{"type":"integer"}}},"PseudonymisierungsMeta":{"type":"object","required":["pseudonymisiert","pseudonymisierung"],"properties":{"pseudonymisiert":{"type":"boolean","description":"false NUR bei einem Schluessel mit Echtdatenrecht."},"pseudonymisierung":{"type":"object","required":["quelle"],"properties":{"quelle":{"type":"string","description":"standard | scope:communication.imap:read.echtdaten | parameter:pseudonymisiert"}}}}},"PseudonymizedBankClassificationInput":{"type":"object","additionalProperties":false,"required":["transactionToken","counterpartyToken","referenceToken","bookingMonth","valueMonth","amountBand","currency","direction"],"properties":{"transactionToken":{"type":"string","pattern":"^bank_transaction_[a-f0-9]{24}$"},"counterpartyToken":{"type":"string","pattern":"^(bank_counterparty_[a-f0-9]{24})?$"},"referenceToken":{"type":"string","pattern":"^(bank_reference_[a-f0-9]{24})?$"},"bookingMonth":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},"valueMonth":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"},"amountBand":{"type":"string","enum":["under_10","10_to_99","100_to_999","1000_to_9999","10000_plus"]},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"direction":{"type":"string","enum":["debit","credit"]}}},"PspCallback":{"type":"object","required":["duplicate","payment_id","status"],"properties":{"duplicate":{"type":"boolean"},"payment_id":{"type":"string"},"status":{"type":"string"}}},"PublicBookingFields":{"type":"object","required":["roomType","persons","checkIn","checkOut","firstName","lastName","email","guests","acceptNoSmoking","acceptTerms","form_token","client_session_id","hashcash_solutions"],"description":"Submit only with guest authorization. Security fields must come from the normal session-bound website challenge flow, never placeholders. Optional extras follow the existing booking form.","properties":{"roomType":{"type":"string"},"persons":{"type":"integer","minimum":1},"checkIn":{"type":"string","format":"date"},"checkOut":{"type":"string","format":"date"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string","format":"email"},"guests":{"type":"integer","minimum":1},"acceptNoSmoking":{"type":"boolean","const":true},"acceptTerms":{"type":"boolean","const":true},"form_token":{"type":"string"},"client_session_id":{"type":"string"},"captcha_input":{"type":"string"},"hashcash_solutions":{"type":"array","items":{"type":"object"}},"hp":{"type":"string"},"hp_dynamic":{"type":"string"}}},"PublicBookingRequest":{"allOf":[{"$ref":"#/components/schemas/PublicBookingFields"},{"type":"object","properties":{"bookingMode":{"type":"string","enum":["request"]}}}]},"PublicBuildInfo":{"type":"object","required":["id","hash","source","sync"],"description":"Public-safe, opaque build pin derived from deploy metadata or build-info artifacts. It lets deployment proof distinguish builds without exposing the raw git commit or deployment identity to anonymous probes. Omitted entirely when no commit can be resolved.\n","properties":{"id":{"type":"string","pattern":"^[a-f0-9]{12}$","example":"f3a4c8d912ab"},"hash":{"type":"string","pattern":"^[a-f0-9]{64}$","example":"f3a4c8d912ab4d6b9d1d8916d75f67f1c0a76f6aa01a6ae496d5ed8350eead01"},"source":{"type":"string","enum":["deployment-metadata","build-info"],"example":"deployment-metadata"},"sync":{"$ref":"#/components/schemas/DeploymentSyncVerdict"}}},"PublicStayQuote":{"type":"object","required":["roomTypeId","startDate","endDate","guests","hashcash","hashcash_challenge"],"properties":{"roomTypeId":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"guests":{"type":"integer","minimum":1},"hashcash":{"type":"string","description":"Single-use stamp"},"hashcash_challenge":{"type":"string","description":"Server-signed challenge"},"couponCode":{"type":"string"},"packageId":{"type":"string"}}},"PullResponse":{"type":"object","required":["ready","updates"],"properties":{"ready":{"type":"boolean"},"updates":{"type":"array","maxItems":20,"items":{"type":"object","additionalProperties":true}}}},"PurchaseOrder":{"type":"object","properties":{"id":{"type":"integer"},"po_number":{"type":"string"},"supplier_id":{"type":"integer"},"supplier_name":{"type":"string"},"status":{"type":"string","enum":["draft","submitted","confirmed","partial","received","cancelled"]},"ordered_at":{"type":"string"},"expected_delivery_date":{"type":"string","nullable":true},"actual_delivery_date":{"type":"string","nullable":true},"total_amount":{"type":"number"},"currency":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"item_id":{"type":"string"},"variant_id":{"type":"integer","nullable":true},"product_name":{"type":"string"},"quantity":{"type":"number"},"received_quantity":{"type":"number"},"cost_price":{"type":"number"},"line_total":{"type":"number"}}}}}},"Question":{"type":"object","required":["key","text","options","answered","answeredWith"],"properties":{"key":{"type":"string","maxLength":64},"text":{"type":"string","maxLength":500},"multi":{"type":"boolean","description":"True (from `<!-- multi -->` on the heading, or data-docshare-multi in HTML): several options may be selected. False: single-select."},"options":{"type":"array","items":{"$ref":"#/components/schemas/QuestionOption"}},"selectedOptionKey":{"type":"string","nullable":true,"description":"First selected key — kept for shipped callers; selectedKeys is canonical."},"selectedKeys":{"type":"array","items":{"type":"string"},"description":"All selected option keys (multi-select capable)."},"freeText":{"type":"string","maxLength":5000},"answered":{"type":"boolean"},"answeredAt":{"type":"string","format":"date-time","nullable":true},"answeredByLabel":{"type":"string","nullable":true},"revisions":{"type":"integer","description":"How many answer revisions exist (history depth for …/questions/{questionKey}/history)."},"answeredWith":{"type":"array","items":{"type":"object","required":["type","text"],"properties":{"type":{"type":"string","enum":["option","freeText"]},"text":{"type":"string"}}}}}},"QuestionOption":{"type":"object","required":["key","text","kind"],"properties":{"key":{"type":"string","maxLength":64},"text":{"type":"string","maxLength":500},"kind":{"type":"string","enum":["option","unclear"]},"consequence":{"type":"string","maxLength":500,"description":"The option's consequence line (text after ` -> ` / ` → `); empty when absent."},"recommended":{"type":"boolean","description":"True on at most ONE option per question — the `(*)` / `(⭐)` star recommendation."}}},"QueueBoardCard":{"type":"object","required":["id","bundle","category","decision","pri","summary"],"properties":{"id":{"type":"string","example":"28713"},"bundle":{"type":"string","example":"B"},"category":{"type":"string","example":"backend"},"decision":{"type":"string","example":"approved"},"pri":{"type":"string","example":"P1"},"summary":{"type":"string","example":"Wire the queue board API"}}},"QueueBoardData":{"type":"object","required":["generatedAt","source","count","boardDecisions","cards","rollups"],"properties":{"generatedAt":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["live","snapshot"]},"count":{"type":"integer","minimum":0},"boardDecisions":{"type":"array","items":{"type":"string"}},"cards":{"type":"array","items":{"$ref":"#/components/schemas/QueueBoardCard"}},"rollups":{"$ref":"#/components/schemas/QueueBoardRollups"}}},"QueueBoardError":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"QueueBoardResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/QueueBoardData"}}},"QueueBoardRollups":{"type":"object","required":["board","byPri","bundles"],"properties":{"board":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"byPri":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"bundles":{"type":"array","items":{"type":"object","required":["bundle","total","byDecision"],"properties":{"bundle":{"type":"string"},"total":{"type":"integer","minimum":0},"byDecision":{"type":"object","additionalProperties":{"type":"integer","minimum":0}}}}}}},"QueueBoardRollupsResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["generatedAt","count","boardDecisions","rollups"],"properties":{"generatedAt":{"type":"string","format":"date-time"},"count":{"type":"integer","minimum":0},"boardDecisions":{"type":"array","items":{"type":"string"}},"rollups":{"$ref":"#/components/schemas/QueueBoardRollups"}}}}},"RadarError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"RadarListEnvelope":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"RadarOverviewItem":{"type":"object","additionalProperties":true,"properties":{"supplier_id":{"type":"integer"},"supplier_name":{"type":"string"},"severity":{"type":"number","description":"Deterministic what-breaks-first score 0..100."},"risk_score":{"type":"integer","nullable":true},"risk_level":{"type":"string","nullable":true,"enum":["low","medium","high","critical"]},"scorecard_grade":{"type":"string","nullable":true},"open_orders":{"type":"integer"},"open_value":{"type":"string"},"currency":{"type":"string"},"next_promise_at":{"type":"string","nullable":true},"days_until_next_promise":{"type":"number","nullable":true}}},"RadarSwitchProposal":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"integer"},"from_supplier_id":{"type":"integer"},"to_supplier_id":{"type":"integer"},"item_id":{"type":"string","nullable":true},"title":{"type":"string"},"rationale_json":{"type":"string"},"draft_actions_json":{"type":"string"},"status":{"type":"string","enum":["draft","approved","rejected"]},"created_by":{"type":"string","nullable":true},"decided_by":{"type":"string","nullable":true},"decided_at":{"type":"string","nullable":true},"decision_note":{"type":"string","nullable":true}}},"RateCardResponse":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["rateCard","approvalThreshold"],"properties":{"rateCard":{"type":"array","items":{"type":"object","required":["capability","unitPrice","unitPriceMinor","currency","unit","label"],"properties":{"capability":{"type":"string"},"unitPrice":{"$ref":"#/components/schemas/PositiveMoney"},"unitPriceMinor":{"type":"integer","minimum":0,"description":"Canonical price in integer minor units (agent-rate-card.json)."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"unit":{"type":"string","example":"request"},"label":{"type":"object","required":["de","en","es"],"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"}}}}}},"approvalThreshold":{"$ref":"#/components/schemas/PositiveMoney"}}}}},"RateLimitCheck":{"type":"object","required":["status","backend","distributed"],"properties":{"status":{"type":"string","enum":["healthy","degraded"],"example":"healthy"},"backend":{"type":"string","description":"Rate limiter backend type (e.g. memory, redis)","example":"memory"},"backend_class":{"type":"string","description":"Concrete storage implementation used to diagnose a failed fallback","example":"App\\\\RateLimit\\\\FileRateLimitStorage"},"distributed":{"type":"boolean","description":"Whether rate limiting is distributed across instances","example":false},"redis_configured":{"type":"boolean","description":"Whether Redis is configured for this deployment","example":true},"last_redis_attempt_at":{"type":"integer","nullable":true,"description":"Unix timestamp of the last Redis recovery attempt","example":1786455600},"reason":{"type":"string","description":"Monitoring-safe reason for a degraded fallback","example":"Configured Redis is unavailable; local rate-limit fallback is active."},"error":{"type":"string","nullable":true,"description":"Error message when status is degraded","example":null}}},"RateLimitResetResponse":{"type":"object","description":"Antwortformat für `POST /admin/rate-limit/reset` und `POST /admin/rate-limit/reset/{bucketPrefix}`.\n","properties":{"status":{"type":"string","enum":["ok"],"example":"ok"},"deleted":{"type":"integer","minimum":0,"description":"Anzahl der gelöschten Buckets.","example":7},"storage":{"type":"string","description":"Aktives Storage-Backend (sqlite, redis, null).","example":"sqlite"},"prefix":{"type":"string","nullable":true,"description":"Der angewendete Bucket-Prefix. `null` bedeutet \"alle Buckets gelöscht\" (Full-Reset-Variante).\n","example":"route:rate_login_"}},"required":["status","deleted","storage","prefix"]},"RatePublicationRequest":{"type":"object","required":["dateFrom","dateTo","ratePlanId","channel"],"properties":{"dateFrom":{"type":"string","format":"date"},"dateTo":{"type":"string","format":"date"},"ratePlanId":{"type":"string","enum":["standard"]},"channel":{"type":"string","enum":["booking.com","airbnb","vrbo","expedia","atraveo"]},"rates":{"deprecated":true,"description":"Ignored legacy field; server-side authoritative rates are always used.","type":"array","items":{"type":"object"}}}},"Rdns":{"type":"object","required":["ip","ptr"],"properties":{"ip":{"type":"string"},"ptr":{"type":"string"}}},"ReadinessResponse":{"type":"object","required":["status","probe","timestamp","checks"],"properties":{"status":{"type":"string","enum":["healthy","unhealthy"],"example":"healthy"},"probe":{"type":"string","enum":["ready"],"example":"ready"},"timestamp":{"type":"string","format":"date-time","example":"2026-02-07T12:00:00Z"},"checks":{"type":"object","required":["database","rate_limit"],"properties":{"database":{"$ref":"#/components/schemas/DatabaseCheck"},"rate_limit":{"$ref":"#/components/schemas/RateLimitCheck"}}}}},"Realtime_ErrorResponse":{"type":"object","properties":{"error":{"type":"string","example":"unauthorized"},"message":{"type":"string","example":"Authentication required"},"code":{"type":"string","example":"unauthorized"}}},"Recipient":{"type":"object","properties":{"id":{"type":"integer"},"list_id":{"type":"integer"},"email":{"type":"string","format":"email"},"name":{"type":"string","nullable":true},"metadata":{"type":"string","nullable":true},"subscribed":{"type":"integer","enum":[0,1]},"unsubscribe_token":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}},"RecipientList":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string","example":"Premium Subscribers"},"description":{"type":"string","nullable":true},"subscriber_count":{"type":"integer"},"created_at":{"type":"string","format":"date-time"}}},"Record":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Unique record identifier"},"tenant_id":{"type":"string","description":"Tenant identifier"},"data":{"type":"object","description":"Arbitrary JSON data stored for this record","additionalProperties":true},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp"},"updated_at":{"type":"string","format":"date-time","description":"Last update timestamp"}},"required":["id","tenant_id","data","created_at","updated_at"]},"RecordInputVatRequest":{"type":"object","required":["paymentId","invoiceId","paidAmount","vatRate","netAmount","vatAmount"],"properties":{"paymentId":{"type":"string"},"invoiceId":{"type":"string"},"periodKey":{"type":"string","description":"Legacy hint only; the period is derived server-side (#31364)."},"paidAmount":{"$ref":"#/components/schemas/MoneyAmount"},"vatRate":{"type":"integer","description":"VAT rate as an integer percent (e.g. 19)."},"netAmount":{"$ref":"#/components/schemas/MoneyAmount"},"vatAmount":{"$ref":"#/components/schemas/MoneyAmount"},"supplierId":{"type":"string"},"isReisevorleistung":{"type":"boolean","description":"§25 Abs. 4 UStG — mark a bought-in Reisevorleistung so its non-deductible input VAT is excluded from the Vorsteuer report (#31495).\n"},"invoiceDate":{"type":"string","format":"date"},"paymentDate":{"type":"string","format":"date"},"isAdvancePayment":{"type":"boolean","default":false,"description":"Marks a qualifying advance-payment invoice. Its paymentDate then determines the input-tax period under §15 Abs. 1 Nr. 1 Satz 3 UStG; omitting paymentDate is rejected.\n"}}},"RecordOutputVatRequest":{"type":"object","required":["paymentId","invoiceId","paidAmount","vatRate","netAmount","vatAmount"],"properties":{"paymentId":{"type":"string"},"invoiceId":{"type":"string"},"periodKey":{"type":"string","description":"Legacy hint only; the period is derived server-side (#31364)."},"paidAmount":{"$ref":"#/components/schemas/MoneyAmount"},"vatRate":{"type":"integer","description":"VAT rate as an integer percent (e.g. 19)."},"netAmount":{"$ref":"#/components/schemas/MoneyAmount"},"vatAmount":{"$ref":"#/components/schemas/MoneyAmount"},"customerId":{"type":"string"},"invoiceDate":{"type":"string","format":"date","description":"Invoice / service date used for server-side period derivation."},"paymentDate":{"type":"string","format":"date","description":"Payment settlement date used for server-side period derivation."}}},"RecordTypes":{"type":"array","items":{"type":"string","enum":["NS","A","AAAA","CNAME","MX","SRV","TXT","CAA"]}},"RecordVatResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Identifier of the created journal entry."}}}}},"RecurringExpense":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"amount":{"type":"number"},"frequency":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly","semiannual","yearly"]},"category":{"type":"string"},"next_due_date":{"type":"string","format":"date"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"RecurringExpenseAnnualForecast":{"type":"object","properties":{"category":{"type":"string"},"annual_cost":{"type":"number"}}},"RecurringExpenseInput":{"type":"object","required":["amount","frequency","category","next_due_date"],"properties":{"amount":{"type":"number","minimum":0},"frequency":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly","semiannual","yearly","annual","annually","semi-annually","semiannually"]},"category":{"type":"string"},"next_due_date":{"type":"string","format":"date"}}},"RefreshResponse":{"type":"object","properties":{"token":{"type":"string","nullable":true},"expiresIn":{"type":"integer"},"auth":{"$ref":"#/components/schemas/AuthTransport"}}},"Refund":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"payment_transaction_id":{"type":"string"},"tenant_id":{"type":"string"},"amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"currency":{"type":"string"},"status":{"type":"string"}}},"RefundCreate":{"type":"object","required":["amount"],"properties":{"amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"currency":{"type":"string"},"reason":{"type":"string"}}},"RefundSummary":{"type":"object","properties":{"pending_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"completed_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"failed_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"tracked_amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"refundable_amount":{"$ref":"#/components/schemas/NonNegativeMoney"}}},"RegisterDomainRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","required":["domain","nameservers","contacts"],"properties":{"domain":{"type":"string","maxLength":253},"nameservers":{"$ref":"#/components/schemas/Nameservers"},"contacts":{"$ref":"#/components/schemas/CompleteDomainContacts"},"auto_renew":{"type":"boolean"},"expire_method":{"type":"integer","minimum":0,"maximum":255}}}]},"RegisterRequest":{"type":"object","required":["email","password"],"additionalProperties":true,"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"}}},"Regulations":{"type":"object","description":"Aktive Regelungen fuer den Zeitraum","properties":{"targetWorkTime":{"type":"string","description":"HH:MM - Tages-Soll"},"maximumHours":{"type":"string","description":"HH:MM - Tages-Maximum"},"overtimeThreshold":{"type":"string","nullable":true,"description":"HH:MM - Ab dieser Zeit gelten Ueberstunden"},"breakDeductionRules":{"type":"array","items":{"type":"object","properties":{"fromTime":{"type":"string","description":"HH:MM - Ab dieser Dauer"},"breakDeduction":{"type":"string","description":"HH:MM - Pausenabzug"}}}}}},"ReleaseEnvelope":{"type":"object","additionalProperties":false,"required":["success","batch_id","batch_hash"],"properties":{"success":{"type":"boolean","enum":[true]},"batch_id":{"type":"string","pattern":"^fewo-[a-f0-9]{24}$"},"batch_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"ReminderCreateRequest":{"type":"object","required":["user_id","policy_id"],"properties":{"user_id":{"type":"string"},"policy_id":{"type":"string"},"due_at":{"type":"string","nullable":true}}},"RentalAgreement":{"type":"object","required":["id","landlord","tenant","property","contractTerms","rentDetails","optionalClauses","additionalTerms","status","generatedText","createdAt","updatedAt"],"properties":{"id":{"type":"string","maxLength":64},"landlord":{"type":"object","additionalProperties":true},"tenant":{"type":"object","additionalProperties":true},"property":{"type":"object","additionalProperties":true},"contractTerms":{"type":"object","additionalProperties":true},"rentDetails":{"type":"object","required":["coldRentMinor","utilityCostsMinor","depositMinor"],"properties":{"coldRentMinor":{"type":"integer","minimum":0},"utilityCostsMinor":{"type":"integer","minimum":0},"depositMinor":{"type":"integer","minimum":0},"paymentDueDay":{"type":"integer","minimum":1,"maximum":31},"currency":{"type":"string","enum":["EUR"]}}},"optionalClauses":{"type":"object","additionalProperties":true},"additionalTerms":{"type":"string"},"status":{"type":"string","enum":["draft","review","finalized"]},"generatedText":{"type":"string"},"createdAt":{"oneOf":[{"type":"integer"},{"type":"string"}]},"updatedAt":{"oneOf":[{"type":"integer"},{"type":"string"}]},"version":{"type":"integer","minimum":1,"readOnly":true},"sourceFingerprint":{"type":"string","nullable":true,"readOnly":true}}},"ReplicationJournalHealth":{"type":"object","description":"Metadata only; never SQL text or bound parameters. Size threshold REPLICATION_JOURNAL_WARN_GB defaults to 5 GiB.","properties":{"journal_row_count":{"type":"integer","format":"int64","nullable":true,"description":"InnoDB table estimate; exact count on SQLite or tenant-scoped mirrors"},"journal_row_count_estimated":{"type":"boolean"},"journal_size_bytes":{"type":"integer","format":"int64","nullable":true,"description":"InnoDB data plus index allocation; omitted for tenant-scoped mirror keys"},"oldest_row_age_seconds":{"type":"integer","format":"int64","nullable":true,"description":"Age of the oldest retained sequence as an append-order proxy; no full timestamp scan"},"last_prune_at":{"type":"string","nullable":true,"description":"UTC completion of the last successful non-dry sweep; null before the first sweep"},"warning":{"type":"boolean","description":"True past twice retention or configured size; also true when metadata is unavailable"},"warnings":{"type":"array","items":{"type":"string","enum":["journal_retention_exceeded","journal_size_exceeded","journal_metrics_unavailable"]}}}},"ReportConfiguration":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"report_type":{"type":"string"},"filters":{"type":"object"},"format":{"type":"string"},"schedule":{"type":"string"},"created_by":{"type":"string"},"is_active":{"type":"integer"},"last_run_at":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"ReportConfigurationInput":{"type":"object","required":["name","report_type"],"properties":{"name":{"type":"string"},"report_type":{"type":"string","enum":["eur","revenue","invoice_monitor","csv_export","pdf_export"]},"filters":{"type":"object"},"format":{"type":"string","enum":["pdf","csv","xlsx","json"],"default":"pdf"},"schedule":{"type":"string"},"created_by":{"type":"string"},"is_active":{"type":"integer","enum":[0,1],"default":1}}},"Reporting_EurReport":{"type":"object","properties":{"year":{"type":"integer"},"variant":{"type":"string"},"total_income":{"type":"number"},"total_expenses":{"type":"number"},"surplus":{"type":"number"},"vat_collected":{"type":"number"},"vat_paid":{"type":"number"},"vat_balance":{"type":"number"},"vat_breakdown":{"type":"array","items":{"type":"object","properties":{"vat_rate":{"type":"number"},"total_vat":{"type":"number"},"total_net":{"type":"number"},"entry_count":{"type":"integer"}}}},"income_by_category":{"type":"array","items":{"type":"object"}},"expenses_by_category":{"type":"array","items":{"type":"object"}}}},"RequestFormDocument":{"type":"object","description":"request-form/v1 definition {schema, base, fields, questionnaire, consent}; fields on the MDF SimpleField contract (id, type, label, required, options, helpText, placeholder, validation) plus pii and visibleIf; full JSON schema in backend/src/Modules/RequestForms/resources/request-form.schema.json. A partial definition changes only the parts it contains.","additionalProperties":true},"ResellerWhiteLabelBranding":{"type":"object","additionalProperties":true,"properties":{"logo_url":{"type":"string","format":"uri","nullable":true},"primary_color":{"type":"string","nullable":true,"example":"#1A2B3C"},"accent_color":{"type":"string","nullable":true},"email_sender_name":{"type":"string","nullable":true},"email_sender_address":{"type":"string","format":"email","nullable":true},"favicon_url":{"type":"string","format":"uri","nullable":true},"custom_domain":{"type":"string","nullable":true}}},"ResendVerificationRequest":{"type":"object","properties":{"email":{"type":"string","format":"email"}}},"ReservationOpsGuestConfigFields":{"description":"Fields depend on `resource`; see the per-resource *Fields schemas.","anyOf":[{"$ref":"#/components/schemas/UnitFields"},{"$ref":"#/components/schemas/KeyboxFields"},{"$ref":"#/components/schemas/KeyboxCodeFields"},{"$ref":"#/components/schemas/ContactFields"},{"$ref":"#/components/schemas/ContactLabelFields"},{"$ref":"#/components/schemas/ContactAbsenceInput"},{"$ref":"#/components/schemas/OnsitePresenceFields"},{"$ref":"#/components/schemas/VideoFields"}]},"ReservationOpsGuestConfigInput":{"description":"Body depends on `resource`; see the per-resource *Input schemas.","anyOf":[{"$ref":"#/components/schemas/UnitInput"},{"$ref":"#/components/schemas/KeyboxInput"},{"$ref":"#/components/schemas/KeyboxCodeInput"},{"$ref":"#/components/schemas/ContactInput"},{"$ref":"#/components/schemas/ContactLabelInput"},{"$ref":"#/components/schemas/ContactAbsenceInput"},{"$ref":"#/components/schemas/OnsitePresenceInput"},{"$ref":"#/components/schemas/VideoInput"}]},"ReservationOpsSurvey":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"name":{"type":"string"},"items_json":{"type":"string"},"trigger_after_checkout_hours":{"type":"integer"},"enabled":{"type":"integer","enum":[0,1]}}},"ReservationOpsSurveyFields":{"type":"object","additionalProperties":true,"minProperties":1,"properties":{"name":{"type":"string"},"items_json":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"object"}}]},"trigger_after_checkout_hours":{"type":"integer","default":24},"enabled":{"type":"integer","enum":[0,1],"default":1}}},"ReservationOpsSurveyInput":{"allOf":[{"$ref":"#/components/schemas/ReservationOpsSurveyFields"}],"required":["name"]},"ReservationOpsType":{"type":"object","additionalProperties":true,"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"lifecycle_stages_json":{"type":"string","description":"JSON array of stage names"},"settings_json":{"type":"string","description":"JSON object"}}},"ReservationOpsTypeFields":{"type":"object","additionalProperties":true,"minProperties":1,"properties":{"name":{"type":"string"},"slug":{"type":"string"},"lifecycle_stages_json":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"settings_json":{"oneOf":[{"type":"string"},{"type":"object"}]}}},"ReservationOpsTypeInput":{"allOf":[{"$ref":"#/components/schemas/ReservationOpsTypeFields"}],"required":["name","slug"]},"ReservationOps_KeyboxCodeInput":{"allOf":[{"$ref":"#/components/schemas/KeyboxCodeFields"}],"required":["keybox_id","code","gueltig_von"]},"ReservationOps_PaginatedResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array"},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"ResetPasswordRequest":{"type":"object","required":["token","password"],"properties":{"token":{"type":"string"},"password":{"type":"string"}}},"Resource":{"type":"object","required":["id","tenant_id"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"term_key":{"type":"string"},"type_key":{"type":"string"},"company_key":{"type":"string"},"method_key":{"type":"string"},"account_key":{"type":"string"},"label":{"type":"string"},"net_days":{"type":"integer","minimum":0},"discount_days":{"type":"integer","minimum":0,"nullable":true},"discount_pct":{"type":"number","nullable":true,"multipleOf":0.01},"max_levels":{"type":"integer","minimum":1},"fee_pct":{"type":"number","multipleOf":0.01},"kind":{"type":"string","enum":["cash","sepa","card","transfer","check","other"]},"iban":{"type":"string"},"bic":{"type":"string"},"bank_name":{"type":"string"},"currency":{"type":"string"},"is_primary":{"type":"boolean"}}},"ResourceEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Resource"}}},"ResourceListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Resource"}}}},"ResourceWrite":{"type":"object","description":"Resource-specific create or partial-update fields. Camel-case and persisted snake-case aliases are accepted by the existing API.","properties":{"termKey":{"$ref":"#/components/schemas/Key"},"term_key":{"$ref":"#/components/schemas/Key"},"typeKey":{"$ref":"#/components/schemas/Key"},"type_key":{"$ref":"#/components/schemas/Key"},"companyKey":{"$ref":"#/components/schemas/Key"},"company_key":{"$ref":"#/components/schemas/Key"},"methodKey":{"$ref":"#/components/schemas/Key"},"method_key":{"$ref":"#/components/schemas/Key"},"accountKey":{"$ref":"#/components/schemas/Key"},"account_key":{"$ref":"#/components/schemas/Key"},"label":{"type":"string","minLength":1},"netDays":{"type":"integer","minimum":0},"net_days":{"type":"integer","minimum":0},"discountDays":{"type":"integer","minimum":0,"nullable":true},"discount_days":{"type":"integer","minimum":0,"nullable":true},"discountPct":{"$ref":"#/components/schemas/Percent"},"discount_pct":{"$ref":"#/components/schemas/Percent"},"maxLevels":{"type":"integer","minimum":1},"max_levels":{"type":"integer","minimum":1},"feePct":{"$ref":"#/components/schemas/Percent"},"fee_pct":{"$ref":"#/components/schemas/Percent"},"kind":{"type":"string","enum":["cash","sepa","card","transfer","check","other"]},"iban":{"type":"string","minLength":1},"bic":{"type":"string","minLength":1},"bankName":{"type":"string","minLength":1},"bank_name":{"type":"string","minLength":1},"currency":{"type":"string","pattern":"^[A-Z]{3}$","default":"EUR"},"isPrimary":{"type":"boolean"},"is_primary":{"type":"boolean"}}},"RetentionAtRiskTenant":{"type":"object","additionalProperties":true},"RetentionError":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"}}},"ReturnsRecoveryOffer":{"type":"object","properties":{"id":{"type":"integer"},"rma_id":{"type":"string"},"order_id":{"type":"integer"},"offer_type":{"type":"string","enum":["exchange","coupon"]},"item_id":{"type":"string","nullable":true},"voucher_code":{"type":"string","nullable":true},"price_cents":{"type":"integer","nullable":true},"created_at":{"type":"string"}}},"ReturnsRecoveryTestimonial":{"type":"object","properties":{"id":{"type":"integer"},"rma_id":{"type":"string"},"order_id":{"type":"integer"},"consent_granted":{"type":"integer"},"consent_scope":{"type":"string","nullable":true},"consent_notice_version":{"type":"string","nullable":true},"consent_by":{"type":"string","nullable":true},"consent_at":{"type":"string","nullable":true},"statement":{"type":"string","nullable":true},"ai_assisted":{"type":"integer","description":"1 only when the customer chose the AI assistance"},"human_edited":{"type":"integer","description":"1 when the human refined the statement — always visible"},"revoked_at":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"RevenueAmount":{"type":"number","minimum":0,"multipleOf":0.01,"description":"Existing JSON compatibility value in major units. Persistence and aggregation normalize every amount through exact integer cents and BCMath before emission.","example":1250.5},"RevenueAnalysis":{"type":"object","description":"Income analysis aggregated by period. Despite the endpoint name /api/reporting/revenue, this returns data from the income table (EUR Einnahmen, single-entry bookkeeping). See issue 2678.\n","properties":{"year":{"type":"integer"},"period":{"type":"string","enum":["monthly","quarterly"]},"periods":{"type":"array","items":{"type":"object","properties":{"month":{"type":"string"},"quarter":{"type":"string"},"gross_amount":{"type":"number"},"net_amount":{"type":"number"},"vat_amount":{"type":"number"},"entry_count":{"type":"integer"}}}},"total_income":{"type":"number","description":"Total gross income (Einnahmen) for the year. Renamed from total_revenue in 2678."},"total_net":{"type":"number"},"total_vat":{"type":"number"}}},"RevenueInput":{"oneOf":[{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]+)?$"},{"type":"number","minimum":0}],"description":"Major-unit input accepted as a decimal string or compatibility JSON number; the server immediately normalizes it to exact integer cents."},"RevenueMinor":{"type":"integer","format":"int64","minimum":0,"description":"Exact revenue in the currency's minor unit (cents for EUR).","example":125050},"ReversalRequest":{"allOf":[{"$ref":"#/components/schemas/EventRequest"},{"type":"object","required":["original_event_id"],"properties":{"original_event_id":{"type":"string"}}}]},"ReverseChargeLegalEvidence":{"type":"object","additionalProperties":false,"description":"Assessed statutory sub-basis and identifier-based supplier/country evidence. Geography alone never establishes the law; missing facts remain unmeasured.","properties":{"legal_basis":{"type":"string","pattern":"^(13b_)?abs(1|2_nr(1[01]|[1-9]))(_[a-z0-9]+)*$"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$"},"country_source":{"type":"string","maxLength":256,"description":"Identifier of the measured country source, not a name or bank detail."},"counterparty_id":{"type":"string","maxLength":128},"legal_basis_source":{"type":"string","maxLength":256,"description":"Identifier of the reviewed legal assessment."}}},"ReverseDnsResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"ip":{"type":"string","example":"8.8.8.8"},"hostname":{"type":"string","example":"dns.google"},"query_time_ms":{"type":"number","format":"float","example":5.67}}},"ReverseRunRequest":{"type":"object","required":["reason"],"properties":{"reason":{"type":"string","minLength":1,"description":"Mandatory reversal reason, recorded to the audit log."}}},"ReviewItem":{"allOf":[{"$ref":"#/components/schemas/DocumentLink"},{"type":"object","properties":{"document":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LinkDocument"}]},"target":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LinkTarget"}],"description":"Null when the record has meanwhile disappeared. The row is then still shown, because hiding an open case is the failure this feature exists to prevent.\n"}}}]},"RevokedResponse":{"type":"object","properties":{"revoked":{"type":"integer"}}},"RfidConfig":{"type":"object","properties":{"id":{"type":"integer","nullable":true,"example":1},"tenant_id":{"type":"string","example":"default"},"auto_checkout_hours":{"type":"integer","minimum":1,"maximum":24,"example":10},"default_action":{"type":"string","enum":["check_in","check_out","break_start","break_end","project_switch"],"example":"check_in"},"require_mapping":{"type":"integer","enum":[0,1],"example":0},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"RfidConfigUpdate":{"type":"object","properties":{"auto_checkout_hours":{"type":"integer","minimum":1,"maximum":24,"example":10},"default_action":{"type":"string","enum":["check_in","check_out","break_start","break_end","project_switch"]},"require_mapping":{"type":"integer","enum":[0,1]}}},"RfidEvent":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"tag_id":{"type":"string","example":"E0040150B2C8A1D3"},"reader_id":{"type":"string","example":"READER-LOBBY-01"},"employee_id":{"type":"string","nullable":true,"example":"EMP-42"},"employee_name":{"type":"string","nullable":true,"example":"Max Mustermann"},"action":{"type":"string","nullable":true,"enum":["check_in","check_out","break_start","break_end","project_switch"],"example":"check_in"},"status":{"type":"string","enum":["success","unknown_tag"],"example":"success"},"timetracking_entry_id":{"type":"integer","nullable":true,"example":123},"notes":{"type":"string","nullable":true,"example":"Front entrance"},"timestamp":{"type":"string","format":"date-time","example":"2025-06-15 08:00:00"},"processed_at":{"type":"string","format":"date-time","example":"2025-06-15 08:00:00"}}},"RfidEventCreate":{"type":"object","required":["tag_id","reader_id"],"properties":{"tag_id":{"type":"string","example":"E0040150B2C8A1D3"},"reader_id":{"type":"string","example":"READER-LOBBY-01"},"employee_id":{"type":"string","nullable":true,"example":"EMP-42"},"employee_name":{"type":"string","nullable":true,"example":"Max Mustermann"},"notes":{"type":"string","nullable":true,"example":"Front entrance"},"timestamp":{"type":"string","format":"date-time","nullable":true,"example":"2026-04-17 08:00:00"}}},"RfidMapping":{"type":"object","properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"tag_id":{"type":"string","example":"E0040150B2C8A1D3"},"action":{"type":"string","enum":["check_in","check_out","break_start","break_end","project_switch"],"example":"check_in"},"employee_id":{"type":"string","nullable":true,"example":"EMP-42"},"employee_name":{"type":"string","nullable":true,"example":"Max Mustermann"},"notes":{"type":"string","nullable":true},"enabled":{"type":"integer","enum":[0,1],"example":1},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"RfidMappingCreate":{"type":"object","required":["tag_id","action"],"properties":{"tag_id":{"type":"string","example":"E0040150B2C8A1D3"},"action":{"type":"string","enum":["check_in","check_out","break_start","break_end","project_switch"],"example":"check_in"},"employee_id":{"type":"string","nullable":true,"example":"EMP-42"},"employee_name":{"type":"string","nullable":true,"example":"Max Mustermann"},"notes":{"type":"string","nullable":true},"enabled":{"type":"integer","enum":[0,1],"default":1}}},"RfidMappingUpdate":{"type":"object","properties":{"tag_id":{"type":"string"},"action":{"type":"string","enum":["check_in","check_out","break_start","break_end","project_switch"]},"employee_id":{"type":"string","nullable":true},"employee_name":{"type":"string","nullable":true},"notes":{"type":"string","nullable":true},"enabled":{"type":"integer","enum":[0,1]}}},"Rfid_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"object","properties":{"code":{"type":"string","example":"validation_error"},"message":{"type":"string","example":"Fields tag_id and reader_id are required."}}}}},"RideSummary":{"type":"object","properties":{"text":{"type":"string"},"places":{"type":"array","items":{"$ref":"#/components/schemas/SummaryPlace"}},"model":{"type":"string","description":"LLM model name, or \"fallback\" for the deterministic text"},"generatedAt":{"type":"string","format":"date-time"}}},"RideTracking_ErrorEnvelope":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","description":"Stable machine-readable code"},"message":{"type":"string"}}},"RiskAssessmentCreateRequest":{"type":"object","required":["scope_kind","scope_ref","period_year","likelihood","impact","mitigation_summary"],"properties":{"scope_kind":{"type":"string","enum":["policy","control","process","vendor","other"]},"scope_ref":{"type":"string"},"period_year":{"type":"integer"},"likelihood":{"type":"string","enum":["low","medium","high","critical"]},"impact":{"type":"string","enum":["low","medium","high","critical"]},"mitigation_summary":{"type":"string"},"supersedes_id":{"type":"string","nullable":true},"expires_at":{"type":"string","nullable":true}}},"RoadClosure":{"type":"object","properties":{"title":{"type":"string"},"roadName":{"type":"string"},"detail":{"type":"string"},"lat":{"type":"number","nullable":true},"lng":{"type":"number","nullable":true},"distanceKm":{"type":"number","nullable":true},"source":{"type":"string","enum":["autobahn-gmbh"]}}},"RoleInput":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"notification_method":{"type":"string","default":"email"},"enabled":{"type":"integer","default":1}}},"RowsFilterMeta":{"type":"object","description":"Present only on a filtered read. Never carries the supplied cleartext.","required":["column","reliable","surface_mode","reason"],"properties":{"column":{"type":"string"},"reliable":{"type":"boolean","description":"False would mean the result set may be wrong. Today every answered filter is reliable — the unreliable cases are refused with 409/422 rather than answered."},"surface_mode":{"type":"string","enum":["plausible","tokens"]},"reason":{"type":"string","nullable":true},"match":{"type":"string","enum":["literal","surface"],"description":"Whether the stored value was compared literally or through a derived surface."},"scope":{"type":"string","enum":["table","database","corpus"],"description":"Which pii-map tier classified the column — the exact table entry, the column name's consensus within the database, or its consensus across the whole map corpus."}}},"RowsMeta":{"allOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/RowsFilterMeta"}}}]},"RowsReport":{"type":"object","required":["rows"],"additionalProperties":true,"properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true}},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"accountId":{"type":"string"},"accountFilter":{"type":"string","nullable":true},"year":{"type":"integer"},"grand_total":{"type":"object","additionalProperties":true},"pagination":{"$ref":"#/components/schemas/Pagination"}}},"RowsResponse":{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/ArchiveRow"}},"meta":{"$ref":"#/components/schemas/RowsMeta"}}},"Rule":{"type":"object","required":["id","match_field","match_type","match_pattern","direction","debit_account","credit_account","category"],"properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9._-]{1,64}$"},"priority":{"type":"integer","minimum":0,"maximum":100000,"default":100},"match_field":{"type":"string"},"match_type":{"type":"string","enum":["contains","equals","starts_with","ends_with"]},"match_pattern":{"type":"string","minLength":1,"maxLength":255},"direction":{"type":"string","enum":["any","in","out"]},"debit_account":{"type":"string","maxLength":32},"credit_account":{"type":"string","maxLength":32},"category":{"type":"string","maxLength":80},"booking_text_prefix":{"type":"string","maxLength":255},"definition":{"type":"object","properties":{"role":{"type":"string","enum":["posting","debit","credit","counter","text","alias","exclude_transfer","extra"]},"account":{"type":"string","maxLength":32},"text":{"$ref":"#/components/schemas/TextDefinition"},"alias":{"type":"object","additionalProperties":false,"properties":{"value":{"type":"string","maxLength":255},"document_type":{"type":"string","enum":["incoming_invoice","outgoing_invoice"]},"credit_account":{"type":"string","minLength":1,"maxLength":32}}},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/Condition"}},"postings":{"type":"array","items":{"$ref":"#/components/schemas/PostingDefinition"}},"generator_kind":{"type":"string","enum":["invoice_join","non_cash_benefit","foreign_table","bank_row"]},"generator":{"$ref":"#/components/schemas/RuleGeneratorDefinition"}}}}},"RuleEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Rule"}}},"RuleGeneratorDefinition":{"type":"object","required":["amount_field","outputs"],"properties":{"source_table":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"tenant_column":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$","default":"tenant_id"},"id_field":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"amount_field":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"currency_field":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$","default":"currency"},"text_fields":{"type":"array","maxItems":10,"items":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"}},"filters":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/Condition"}},"exclusions":{"type":"array","maxItems":50,"items":{"$ref":"#/components/schemas/Condition"}},"account_roles":{"type":"object","additionalProperties":{"type":"string","maxLength":32}},"outputs":{"type":"array","minItems":1,"maxItems":20,"items":{"$ref":"#/components/schemas/RuleGeneratorOutput"}}}},"RuleGeneratorOutput":{"type":"object","properties":{"date":{"type":"string","enum":["month_end"]},"date_field":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"fallback_date_field":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"amount_field":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"},"amount_fields":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]{0,63}$"}},"debit_account":{"type":"string","maxLength":32},"credit_account":{"type":"string","maxLength":32},"debit_role":{"type":"string","maxLength":64},"credit_role":{"type":"string","maxLength":64},"prefix":{"type":"string","maxLength":255},"category":{"type":"string","maxLength":80},"amount":{"type":"object","properties":{"kind":{"type":"string","enum":["source","fixed","source_plus_fixed","sum_plus_fixed"]},"minor_units":{"type":"integer"}}}}},"RuleImport":{"type":"object","required":["mode","settings","rules"],"properties":{"mode":{"$ref":"#/components/schemas/Mode"},"settings":{"type":"object","additionalProperties":false,"properties":{"booking_number_start":{"type":"integer"},"fiscal_month_offset":{"type":"integer","minimum":-11,"maximum":11},"account_width":{"type":"integer","minimum":1,"maximum":16},"default_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"unmatched_policy":{"type":"string","enum":["include","exclude"]},"text_max_length":{"type":"integer","minimum":10,"maximum":255},"text_convention":{"type":"object","additionalProperties":false,"properties":{"preset":{"type":"string","enum":["historical","legacy"],"default":"historical"},"prefixes":{"type":"object","additionalProperties":{"type":"string","maxLength":12}}}},"projection":{"type":"string","enum":["standard","legacy_m"]},"bank_account":{"type":"string","maxLength":32},"inbound_clearing_account":{"type":"string","maxLength":32},"include_transfer":{"type":"boolean"},"include_journal":{"type":"boolean"},"journal_reference_types":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^[a-z0-9_.-]{1,64}$"}},"inbound_booking_prefix":{"type":"string","maxLength":255},"outbound_booking_prefix":{"type":"string","maxLength":255},"inbound_transfer_prefix":{"type":"string","maxLength":255},"outbound_transfer_prefix":{"type":"string","maxLength":255},"validation_text_max_length":{"type":"integer","minimum":10,"maximum":255},"vat_country":{"type":"string","pattern":"^[A-Z]{2}$"},"vat_input_account":{"type":"string","maxLength":32},"vat_output_account":{"type":"string","maxLength":32},"vat_excluded_accounts":{"type":"array","maxItems":200,"items":{"type":"string","pattern":"^[0-9]{1,16}$"}},"vat_generator_roles":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"array","maxItems":50,"items":{"type":"string"}},"output":{"type":"array","maxItems":50,"items":{"type":"string"}}}},"generators":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/ForeignTableGenerator"}},"import_row_rules":{"type":"array","maxItems":500,"description":"Ordered tenant rules that classify imported journal rows (first match wins).","items":{"$ref":"#/components/schemas/ImportRowRule"}}}},"rules":{"type":"array","maxItems":1000,"items":{"$ref":"#/components/schemas/Rule"}}}},"RuleInput":{"type":"object","required":["name","trigger_type"],"properties":{"name":{"type":"string"},"trigger_type":{"type":"string","enum":["before_checkin","on_checkin","after_checkin","before_checkout","on_checkout","after_checkout","on_stage_timeout"]},"trigger_offset_hours":{"type":"integer","default":0},"recipient_role_id":{"type":"integer"},"email_template_id":{"type":"integer"},"enabled":{"type":"integer","default":1},"conditions_json":{"type":"string"},"creates_task":{"type":"integer","default":0},"escalation_hours":{"type":"integer"}}},"RuleListEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Rule"}}}},"Run":{"type":"object","required":["id","tenant_id","schema_id","period_from","period_to","computed_at","computed_by","result_json"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string","description":"Server-derived authenticated tenant binding."},"schema_id":{"type":"string"},"period_from":{"$ref":"#/components/schemas/PeriodKey"},"period_to":{"$ref":"#/components/schemas/PeriodKey"},"computed_at":{"type":"string"},"computed_by":{"type":"string"},"result_json":{"type":"string","description":"Immutable JSON snapshot of computed rows."}}},"RunListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Run"}}}},"RunListResponse":{"$ref":"#/components/schemas/RunListEnvelope"},"RunSyntheticHealthChecksInput":{"type":"object","properties":{"force":{"type":"boolean","default":false},"limit":{"type":"integer","default":50}}},"SafeBoundary":{"type":"object","required":["target","identifier","operation"],"properties":{"target":{"type":"string","enum":["domain","contact","zone"]},"identifier":{"type":"string","maxLength":253},"operation":{"type":"string","enum":["register","update","cancel","transfer","create","delete"]},"revision":{"type":"string","maxLength":191}}},"SandboxProvisioned":{"type":"object","properties":{"sandboxId":{"type":"string"},"apiKey":{"type":"string"},"label":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"ttlSeconds":{"type":"integer"},"status":{"type":"string"},"sandboxNamespace":{"type":"string"},"endpoints":{"type":"array","items":{"type":"string"}},"seedData":{"type":"array","items":{"type":"object","additionalProperties":true}},"seedManifestId":{"type":"string","description":"Opaque relative identifier (filename) of the generated seed manifest. Never an absolute server path."},"note":{"type":"string"}}},"SandboxStatus":{"type":"object","properties":{"sandboxId":{"type":"string"},"label":{"type":"string"},"status":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"remainingSeconds":{"type":"integer"},"seeds":{"type":"array","items":{"type":"string"}},"endpoints":{"type":"array","items":{"type":"string"}}}},"SavedResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["saved"],"properties":{"saved":{"type":"boolean","enum":[true]}}}}},"ScaCallback":{"type":"object","required":["auth_ref","payment_ref","gateway","sca_authenticated","status","replayed"],"properties":{"auth_ref":{"type":"string"},"payment_ref":{"type":"string"},"gateway":{"type":"string"},"sca_authenticated":{"type":"boolean"},"status":{"type":"string"},"replayed":{"type":"boolean"}}},"ScaDecision":{"type":"object","required":["required","exemption","reason"],"properties":{"required":{"type":"boolean"},"exemption":{"type":["string","null"]},"reason":{"type":"string"}}},"ScaDecisionRequest":{"type":"object","required":["amount"],"properties":{"amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"card_type":{"type":"string"},"low_risk":{"type":"boolean"},"recurring_follow_up":{"type":"boolean"}}},"ScaInitiateRequest":{"type":"object","required":["payment_ref","amount","gateway"],"properties":{"payment_ref":{"type":"string"},"amount":{"$ref":"#/components/schemas/NonNegativeMoney"},"currency":{"type":"string"},"gateway":{"type":"string"},"card_type":{"type":"string"}}},"ScaInitiated":{"type":"object","required":["payment_ref","gateway","sca_required","status"],"properties":{"payment_ref":{"type":"string"},"gateway":{"type":"string"},"sca_required":{"type":"boolean"},"exemption":{"type":["string","null"]},"reason":{"type":"string"},"status":{"type":"string"},"challenge_url":{"type":["string","null"]},"auth_ref":{"type":["string","null"]}}},"ScanRequest":{"type":"object","required":["sku"],"properties":{"sku":{"type":"string","description":"Gescannter Barcode / SKU. Der Handler akzeptiert sowohl rohe\nEAN-Barcodes (Lookup ueber StockItem.barcode) als auch SKU-Strings.\n","example":"4012345678901"}}},"ScanResponse":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/PickSessionState"},"position":{"type":"integer","description":"Index der zuletzt gescannten Position im items[]-Array.","example":2},"reason":{"type":"string","nullable":true,"description":"Optionaler Hinweis, wenn der State NICHT vorrueckt (z.B. wenn\nnoch nicht alle Positionen gescannt sind, oder bei Mehrfach-Scan\nderselben SKU).\n","example":"still_more_items"}}},"Scenario":{"type":"object","description":"id, name, sentence, profile, spec, snapshot {headline, horizon, metrics [{key, unit, baseline, scenario, delta}]}, applied [{action, at, by, ref}], version, createdBy, createdAt, updatedAt"},"Schema":{"type":"object","required":["id","tenant_id","name","currency","created_at","updated_at"],"properties":{"id":{"type":"string"},"tenant_id":{"type":"string","description":"Server-derived authenticated tenant binding."},"name":{"type":"string"},"description":{"type":"string","nullable":true},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"SchemaAlignmentConstraintCounts":{"type":"object","additionalProperties":false,"required":["ok","scope","read_only","target","counts"],"properties":{"ok":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["schema-alignment-constraint-counts"]},"read_only":{"type":"boolean","enum":[true]},"target":{"type":"object","additionalProperties":false,"required":["site_name","base_url_host","git_commit"],"properties":{"site_name":{"type":"string","enum":["mt","itt"]},"base_url_host":{"type":"string","enum":["beta.manuel-tremmel.de","beta.it-tremmel.de"]},"git_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"}}},"counts":{"type":"object","additionalProperties":false,"required":["read_only","ddl_safety_proven","inventory_sha256","candidates"],"properties":{"read_only":{"type":"boolean","enum":[true]},"ddl_safety_proven":{"type":"boolean","enum":[false]},"inventory_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"candidates":{"type":"object","maxProperties":100,"description":"Fixed source-owned SHA-256 identities only. Missing, incompatible or timed-out evidence is null, never zero. FK NULLs are excluded from orphan counts; UNIQUE NULLs are excluded from duplicate groups. Duplicate rows counts all rows in non-NULL duplicate groups. Composite tenant keys retain every component; numeric accommodation tenants are not coerced into canonical tenant identifiers. No constraint can be inferred safe from these counts alone.","additionalProperties":{"type":"object","additionalProperties":false,"required":["kind","state","tenant_check","null_rows","orphan_rows","duplicate_groups","duplicate_rows","cross_tenant_rows"],"properties":{"kind":{"type":"string","enum":["foreign","unique","primary"]},"state":{"type":"string","enum":["measured","missing_table","missing_column","unsupported_engine","incompatible_types","query_unavailable","budget_exhausted"]},"tenant_check":{"type":"string","enum":["unknown","composite","not_applicable","measured"]},"null_rows":{"type":"integer","minimum":0,"nullable":true},"orphan_rows":{"type":"integer","minimum":0,"nullable":true},"duplicate_groups":{"type":"integer","minimum":0,"nullable":true},"duplicate_rows":{"type":"integer","minimum":0,"nullable":true},"cross_tenant_rows":{"type":"integer","minimum":0,"nullable":true}}}}}}}},"SchemaAlignmentForeignKeySizing":{"type":"object","additionalProperties":false,"required":["ok","scope","read_only","target","sizing"],"properties":{"ok":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["schema-alignment-fk-sizing"]},"read_only":{"type":"boolean","enum":[true]},"target":{"type":"object","additionalProperties":false,"required":["site_name","base_url_host","git_commit"],"properties":{"site_name":{"type":"string","enum":["mt","itt"]},"base_url_host":{"type":"string","enum":["beta.manuel-tremmel.de","beta.it-tremmel.de"]},"git_commit":{"type":"string","pattern":"^[a-f0-9]{40}$"}}},"sizing":{"type":"object","additionalProperties":false,"required":["read_only","ddl_safety_proven","inventory_sha256","candidates"],"properties":{"read_only":{"type":"boolean","enum":[true]},"ddl_safety_proven":{"type":"boolean","enum":[false]},"inventory_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"candidates":{"type":"object","maxProperties":100,"description":"Fixed source-owned FK identity hashes; scans are capped at 100000 rows per distinct table. Unknown is never a small-table class. These classes do not authorize COPY, locks or a migration.","additionalProperties":{"type":"object","additionalProperties":false,"required":["child_state","child_bucket","parent_state","parent_bucket"],"properties":{"child_state":{"type":"string","enum":["measured","missing_table","unsupported_engine","query_unavailable","budget_exhausted"]},"parent_state":{"type":"string","enum":["measured","missing_table","unsupported_engine","query_unavailable","budget_exhausted"]},"child_bucket":{"type":"string","enum":["lt_1k","lt_10k","lt_100k","gte_100k","unknown"]},"parent_bucket":{"type":"string","enum":["lt_1k","lt_10k","lt_100k","gte_100k","unknown"]}}}}}}}},"SchemaDriftAttributeClass":{"type":"string","enum":["nullable","not_null","default_absent","default_null","default_literal","default_current_timestamp","default_expression","charset_utf8mb4","charset_utf8","charset_utf8mb3","charset_latin1","charset_binary","charset_other","collation_utf8mb4_0900_ai_ci","collation_utf8mb4_unicode_ci","collation_utf8mb4_unicode_520_ci","collation_utf8mb4_general_ci","collation_utf8mb4_bin","collation_binary","collation_other"]},"SchemaDriftAttributeCoverage":{"type":"object","additionalProperties":false,"required":["compared","unavailable","not_comparable"],"properties":{"compared":{"type":"integer","minimum":0},"unavailable":{"type":"integer","minimum":0},"not_comparable":{"type":"integer","minimum":0}}},"SchemaDriftClassHistogram":{"type":"object","additionalProperties":false,"required":["version","column_types","column_attributes","attribute_coverage","constraints","indexes","unexpected_tables"],"description":"Closed, privacy-safe aggregate classes. No table/column/index identifiers, enum/set\nmembers, default literals, literal hashes or raw metadata are returned here.\ncolumn_types counts pairs of normalized expected/actual type classes for the FINAL\nblocking type findings. Integer display widths without ZEROFILL and BOOL aliases\nare already normalized; real lengths, precision, signedness and ZEROFILL stay distinct.\nDifferences can overlap within one pair, but each mismatched column contributes once.\nENUM/SET quote spelling is canonicalized without changing case or member whitespace.\nBackslash escape semantics require a known SQL mode: they remain conservatively\nblocking and are classified as literal_semantics_unavailable, not assumed equal.\nConstraint and index totals reflect final contract/advisory filtering.\nUnexpected tables are unclassified: an undeclared table cannot be proven to be a\nlegacy clone from its name, prefix or shape alone. Existing identifier-bearing\nreport fields are retained for compatibility, not copied into this histogram.\nAttribute comparisons are opt-in (include_attribute_diagnostics), global MySQL only,\nand DIAGNOSTIC ONLY: they never alter drift_detected, missing_details_on_live or\nbaseline new_or_changed. Collations with different semantics remain different.\nCURRENT_TIMESTAMP, CURRENT_TIMESTAMP() and CURRENT_TIMESTAMP(0) are equivalent;\nnonzero precision stays distinct. Nullable implicit DEFAULT NULL is equivalent to\nexplicit DEFAULT NULL, not to the literal 'NULL'. Unknown/inherited attributes\nwithout a source declaration are counted as unavailable, never inferred as equal.\nUnknown SQL modes, backslash escapes, implicit ENUM/SET defaults, general default\nexpressions and unsafe numeric coercions are counted as not_comparable instead of\nguessed differences. Exact integer/decimal defaults are compared without floats.\nutf8/utf8mb3 naming aliases are canonicalized, not conflated with utf8mb4.\nThe new live distribution is measurable only after the next deployment.\n","properties":{"version":{"type":"integer","enum":[1]},"column_types":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["expected_class","actual_class","differences","count"],"properties":{"expected_class":{"$ref":"#/components/schemas/SchemaDriftTypeClass"},"actual_class":{"$ref":"#/components/schemas/SchemaDriftTypeClass"},"differences":{"type":"array","minItems":1,"uniqueItems":true,"items":{"$ref":"#/components/schemas/SchemaDriftTypeDifferenceClass"}},"count":{"type":"integer","minimum":1}}}},"column_attributes":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["attribute","expected_class","actual_class","difference","count"],"properties":{"attribute":{"type":"string","enum":["nullable","default","charset","collation"]},"expected_class":{"$ref":"#/components/schemas/SchemaDriftAttributeClass"},"actual_class":{"$ref":"#/components/schemas/SchemaDriftAttributeClass"},"difference":{"type":"string","enum":["nullable_differ","default_differ","default_literal_differ","default_expr_variant","charset_differ","collation_differ"]},"count":{"type":"integer","minimum":1}}}},"attribute_coverage":{"type":"object","additionalProperties":false,"required":["nullable","default","charset","collation"],"properties":{"nullable":{"$ref":"#/components/schemas/SchemaDriftAttributeCoverage"},"default":{"$ref":"#/components/schemas/SchemaDriftAttributeCoverage"},"charset":{"$ref":"#/components/schemas/SchemaDriftAttributeCoverage"},"collation":{"$ref":"#/components/schemas/SchemaDriftAttributeCoverage"}}},"constraints":{"type":"object","additionalProperties":false,"required":["primary","unique","foreign","other"],"properties":{"primary":{"type":"integer","minimum":0},"unique":{"type":"integer","minimum":0},"foreign":{"type":"integer","minimum":0},"other":{"type":"integer","minimum":0}}},"indexes":{"type":"object","additionalProperties":false,"required":["nonunique","other"],"properties":{"nonunique":{"type":"integer","minimum":0},"other":{"type":"integer","minimum":0}}},"unexpected_tables":{"type":"object","additionalProperties":false,"required":["unclassified"],"properties":{"unclassified":{"type":"integer","minimum":0}}}}},"SchemaDriftTypeClass":{"type":"string","enum":["tinyint","smallint","mediumint","int","integer","bigint","bool","boolean","decimal","numeric","float","real","double","bit","char","varchar","binary","varbinary","tinytext","text","mediumtext","longtext","tinyblob","blob","mediumblob","longblob","date","datetime","timestamp","time","year","json","uuid","geometry","point","linestring","polygon","enum","set","unsupported","unavailable"]},"SchemaDriftTypeDifferenceClass":{"type":"string","enum":["metadata_unavailable","family_differ","unsigned_differ","zerofill_differ","enum_values_differ","set_values_differ","literal_semantics_unavailable","length_differ","length_increased","length_decreased","precision_differ","precision_increased","precision_decreased","scale_differ","scale_increased","scale_decreased","representation_differ"]},"SchemaEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/Schema"}}},"SchemaIntegrityBlockedOperation":{"type":"object","additionalProperties":false,"required":["classification","object_type","object_hash","reason"],"properties":{"classification":{"type":"string","enum":["missing","extra","changed","ambiguous"]},"object_type":{"type":"string","maxLength":40},"object_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"reason":{"type":"string","maxLength":100}}},"SchemaIntegrityChange":{"type":"object","additionalProperties":false,"required":["classification","object_type","object_hash","repairable","detail_categories"],"properties":{"classification":{"type":"string","enum":["missing","extra","changed","ambiguous"]},"object_type":{"type":"string","maxLength":40},"object_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"repairable":{"type":"boolean"},"detail_categories":{"type":"array","maxItems":16,"items":{"type":"string","maxLength":40}}}},"SchemaIntegrityConfirmRequest":{"type":"object","additionalProperties":false,"required":["backup_artifact_id","preview_token","confirmed"],"properties":{"backup_artifact_id":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,128}$"},"preview_token":{"type":"string","maxLength":8192},"confirmed":{"type":"boolean","enum":[true]}}},"SchemaIntegrityConfirmResponse":{"type":"object","additionalProperties":false,"required":["ok","status","executed","plan"],"properties":{"ok":{"type":"boolean","enum":[true]},"status":{"type":"string","enum":["plan_acknowledged"]},"executed":{"type":"boolean","enum":[false]},"plan":{"$ref":"#/components/schemas/SchemaIntegrityPlan"}}},"SchemaIntegrityDiagnosticResponse":{"type":"object","additionalProperties":false,"required":["ok","target","report"],"properties":{"ok":{"type":"boolean","enum":[true]},"target":{"$ref":"#/components/schemas/SchemaIntegrityTarget"},"report":{"$ref":"#/components/schemas/SchemaIntegrityReport"}}},"SchemaIntegrityError":{"type":"object","additionalProperties":false,"required":["ok","error"],"properties":{"ok":{"type":"boolean","enum":[false]},"executed":{"type":"boolean","enum":[false]},"error":{"type":"object","additionalProperties":false,"required":["code"],"properties":{"code":{"type":"string","maxLength":80}}}}},"SchemaIntegrityPlan":{"type":"object","additionalProperties":false,"required":["plan_version","operations","blocked","executable","contains_sql"],"properties":{"plan_version":{"type":"integer","enum":[1]},"operations":{"type":"array","maxItems":200,"items":{"$ref":"#/components/schemas/SchemaIntegrityPlanOperation"}},"blocked":{"type":"array","maxItems":200,"items":{"$ref":"#/components/schemas/SchemaIntegrityBlockedOperation"}},"executable":{"type":"boolean"},"contains_sql":{"type":"boolean","enum":[false]}}},"SchemaIntegrityPlanOperation":{"type":"object","additionalProperties":false,"required":["operation","object_hash","idempotent","source","requires_separate_migration"],"properties":{"operation":{"type":"string","enum":["review_add_nullable_column"]},"object_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotent":{"type":"boolean"},"source":{"type":"string","enum":["versioned_canonical_schema"]},"requires_separate_migration":{"type":"boolean","enum":[true]}}},"SchemaIntegrityPreviewRequest":{"type":"object","additionalProperties":false,"required":["backup_artifact_id"],"properties":{"backup_artifact_id":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,128}$"}}},"SchemaIntegrityPreviewResponse":{"type":"object","additionalProperties":false,"required":["ok","target","backup","report","plan","preview_token"],"properties":{"ok":{"type":"boolean","enum":[true]},"target":{"$ref":"#/components/schemas/SchemaIntegrityTarget"},"backup":{"type":"object","additionalProperties":false,"required":["artifact_hash","verified","restore_proved","scope","tables","full_database_restore_ready"],"properties":{"artifact_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"verified":{"type":"boolean","enum":[true]},"restore_proved":{"type":"boolean","enum":[true]},"scope":{"type":"string","enum":["control_plane_tables_only"]},"tables":{"type":"array","minItems":3,"maxItems":3,"uniqueItems":true,"items":{"type":"string","enum":["tenants","tenant_configs","tenant_aliases"]}},"full_database_restore_ready":{"type":"boolean","enum":[false]}}},"report":{"$ref":"#/components/schemas/SchemaIntegrityReport"},"plan":{"$ref":"#/components/schemas/SchemaIntegrityPlan"},"preview_token":{"type":"string","maxLength":8192}}},"SchemaIntegrityReport":{"type":"object","additionalProperties":false,"required":["schema_version","fingerprint","counts","changes","truncated","healthy"],"properties":{"schema_version":{"type":"string","maxLength":80},"fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"counts":{"type":"object","additionalProperties":false,"required":["missing","extra","changed","ambiguous"],"properties":{"missing":{"type":"integer","minimum":0},"extra":{"type":"integer","minimum":0},"changed":{"type":"integer","minimum":0},"ambiguous":{"type":"integer","minimum":0}}},"changes":{"type":"array","maxItems":200,"items":{"$ref":"#/components/schemas/SchemaIntegrityChange"}},"truncated":{"type":"boolean"},"healthy":{"type":"boolean"}}},"SchemaIntegrityTarget":{"type":"object","additionalProperties":false,"required":["engine","engine_version","target_fingerprint"],"properties":{"engine":{"type":"string","enum":["sqlite","mariadb"]},"engine_version":{"type":"string","maxLength":80},"target_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"SchemaLazyInitializationAdvisory":{"type":"object","additionalProperties":false,"required":["class","table_count","tables","indexes","constraints","creator_proofs"],"description":"Global MySQL inventory only. An absent table with an explicit,\nsource-verified structural runtime-creator link is lazy_uninitialized, not\ndrift. Its expected indexes/constraints belong to the same advisory.\nAll findings on existing tables and all site-contract requirements\nremain strict. This does not bootstrap tables or infer prior usage.\n","properties":{"class":{"type":"string","enum":["lazy_uninitialized"]},"table_count":{"type":"integer","minimum":0},"tables":{"type":"array","items":{"type":"string"}},"indexes":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"constraints":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"creator_proofs":{"type":"object","description":"SHA-256 digests of trusted registry proofs, not paths or live data.","additionalProperties":{"type":"string","pattern":"^[a-f0-9]{64}$"}}}},"SchemaListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/Schema"}}}},"SchemaListResponse":{"$ref":"#/components/schemas/SchemaListEnvelope"},"SchemaPatch":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$"}}},"SchemaResponse":{"$ref":"#/components/schemas/SchemaEnvelope"},"SchemaVerifyRequest":{"type":"object","description":"Exact JSON body signed as raw bytes. A configured site contract accepts only schema_contract with matching site/version identity; an unconfigured deployment accepts only an explicit schema_scope global. Unknown, mixed or extra declarations are rejected with 422. Optional signed include_type_details exposes only source-owned mismatched column identities and allowlisted structural types, never defaults, enum/set members or business rows.","additionalProperties":false,"properties":{"production_context":{"$ref":"#/components/schemas/ProductionMigrationContext"},"include_attribute_diagnostics":{"type":"boolean","default":false,"description":"Global MySQL only. Signed opt-in nullable/default/charset/collation class observations; never part of the fail gate or baseline ratchet. Site scope rejects true."},"include_type_details":{"type":"boolean","default":false,"description":"Opt-in schema-only normalized expected/live type diagnostics; no change to strict gate decisions."},"schema_scope":{"type":"string","enum":["global"],"description":"Explicit global verification. Required when no site contract is configured and forbidden together with schema_contract."},"schema_contract":{"type":"object","additionalProperties":false,"required":["site","version"],"description":"Must exactly match the configured site contract. Its presence selects site scope.","properties":{"site":{"type":"string"},"version":{"type":"integer","minimum":1}}}},"example":{"schema_scope":"global"}},"SchemaVerifyResponse":{"type":"object","required":["class_histogram","ok","driver","expected_count","actual_count","missing_on_live","missing_columns_on_live","missing_indexes_on_live","missing_constraints_on_live","missing_details_on_live","mismatched_column_type_count","mismatched_column_types_on_live","unexpected_on_live","drift_detected"],"properties":{"expected_schema_fingerprint":{"$ref":"#/components/schemas/ExpectedSchemaFingerprint"},"production_context":{"$ref":"#/components/schemas/ProductionMigrationContext"},"live_schema_fingerprint":{"type":"object","description":"Versioned SHA-256 of the complete normalized SchemaMetadataInspector model (columns including nullability/default hashes, index shapes and foreign-key rules). No rows, literal defaults, database identity or engine version are returned. Compare only at the same promoted code pin; older endpoints or unsupported metadata without this field cannot prove beta/prod equivalence.","additionalProperties":false,"required":["version","sha256"],"properties":{"version":{"type":"integer","enum":[1]},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"class_histogram":{"$ref":"#/components/schemas/SchemaDriftClassHistogram"},"ok":{"type":"boolean","description":"'true' when no schema drift is detected."},"driver":{"type":"string","example":"mysql"},"expected_count":{"type":"integer"},"actual_count":{"type":"integer"},"missing_on_live":{"type":"array","items":{"type":"string"}},"missing_columns_on_live":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"missing_indexes_on_live":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"missing_constraints_on_live":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"missing_details_on_live":{"type":"array","items":{"type":"string"}},"advisories":{"type":"object","properties":{"lazy_uninitialized":{"$ref":"#/components/schemas/SchemaLazyInitializationAdvisory"},"recorded_foreign_key_skips":{"type":"object","description":"Global-only advisory for exact source-declared small-table FKs with a matching recorded execution skip and applied migration ledger entry. Missing audit evidence, other constraints, columns, types and indexes stay blocking. No warning messages or business rows are returned.","additionalProperties":false,"required":["constraint_count","constraints"],"properties":{"constraint_count":{"type":"integer","minimum":1},"constraints":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["table","constraint","migration_filename"],"properties":{"table":{"type":"string"},"constraint":{"type":"string"},"migration_filename":{"type":"string","enum":["20261104_120000_small_table_foreign_keys_mysql.sql"]}}}}}}}},"type_mismatch_details":{"type":"array","description":"Present only when include_type_details is true. Enum/set literals are withheld; unsupported or unavailable types are explicit. No defaults, comments or business rows.","items":{"type":"object","additionalProperties":false,"required":["table","column","expected_type","live_type","expected_hash","live_hash"],"properties":{"table":{"type":"string"},"column":{"type":"string"},"expected_type":{"type":"string"},"live_type":{"type":"string"},"expected_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"live_hash":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$"}}}},"mismatched_column_type_count":{"type":"integer","minimum":0},"mismatched_column_types_on_live":{"type":"array","description":"SHA-256 hashes of table and column identities whose declared types differ; no schema identifiers or values are disclosed.","items":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"type_verification_unavailable_count":{"type":"integer","minimum":0,"description":"Number of distinct required columns whose multi-dialect PHP source has no reviewed MariaDB type declaration."},"type_verification_unavailable":{"type":"object","description":"Explicit blocking measurement gaps; these columns are not silently counted as type-verified and make drift_detected true.","additionalProperties":{"type":"array","items":{"type":"object","required":["source","columns","reason"],"properties":{"source":{"type":"string"},"columns":{"type":"array","items":{"type":"string"}},"reason":{"type":"string"}}}}},"type_verification_delegated_to_foreign_key":{"type":"object","description":"Deprecated compatibility field, retained as an empty object; foreign-key columns keep exact type verification.","additionalProperties":{"type":"array","items":{"type":"string"}}},"unexpected_on_live":{"type":"array","description":"Actionable blocking tables. Global scope lists every live table absent from the expected manifest; site scope lists only tables the selected contract explicitly prohibits.","items":{"type":"string"}},"unscoped_on_live":{"type":"array","description":"Site-scope audit evidence for undecided shared-monolith tables. These values never cause drift and are absent in global scope.","items":{"type":"string"}},"adopted_legacy_on_live":{"type":"array","description":"Site-scope audit evidence for live legacy tables the selected contract explicitly adopts. Kept separate from actionable and unscoped tables.","items":{"type":"string"}},"migration_warning_audit":{"type":"array","description":"Owned migration-warning ledger rows in their original order, including duplicates and resolved history.","items":{"type":"object","additionalProperties":true}},"required_migration_warnings":{"type":"array","description":"Owned warning rows whose condition is still actionable against the current live schema.","items":{"type":"object","additionalProperties":true}},"migration_complete":{"type":"boolean","description":"Whether no owned actionable migration warnings remain."},"drift_detected":{"type":"boolean","description":"In site scope, whether required contract objects are missing, actionable owned migration warnings remain, or unexpected_on_live is non-empty. Global scope keeps the strict database-wide unexpected-table behaviour."}}},"SchemaWrite":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1},"description":{"type":"string","nullable":true},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","default":"EUR"},"lines":{"type":"array","items":{"$ref":"#/components/schemas/LineWrite"}}}},"ScimError":{"type":"object","required":["schemas","status","detail"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"detail":{"type":"string"}}},"ScimGroup":{"type":"object","required":["displayName"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"externalId":{"type":"string"},"displayName":{"type":"string"},"members":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"}}}},"meta":{"type":"object","additionalProperties":true}}},"ScimListResponse":{"type":"object","required":["schemas","totalResults","Resources","startIndex","itemsPerPage"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"totalResults":{"type":"integer"},"Resources":{"type":"array","items":{"type":"object"}},"startIndex":{"type":"integer"},"itemsPerPage":{"type":"integer"}}},"ScimPatchRequest":{"type":"object","required":["Operations"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"Operations":{"type":"array","items":{"type":"object","required":["op"],"properties":{"op":{"type":"string","enum":["Add","Replace","Remove","add","replace","remove"]},"path":{"type":"string"},"value":[]}}}}},"ScimUser":{"type":"object","required":["userName"],"properties":{"schemas":{"type":"array","items":{"type":"string"}},"id":{"type":"string"},"externalId":{"type":"string"},"userName":{"type":"string"},"name":{"type":"object","properties":{"givenName":{"type":"string"},"familyName":{"type":"string"}}},"emails":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","format":"email"},"primary":{"type":"boolean"}}}},"active":{"type":"boolean"},"meta":{"type":"object","additionalProperties":true}}},"ScopedChatCutoverEntry":{"type":"object","additionalProperties":false,"required":["id","status","claim_generation","delegated_token_id","worker_id","claimed_at","attempt_count","created_at_raw","created_at_utc","zone_source","zone_ambiguous"],"properties":{"id":{"type":"string","maxLength":128},"status":{"type":"string","enum":["queued","claimed"]},"claim_generation":{"type":["string","null"],"maxLength":128},"delegated_token_id":{"type":["string","null"],"maxLength":128,"description":"Public lookup ID only; never token secret or hash."},"worker_id":{"type":["string","null"],"maxLength":128},"claimed_at":{"type":["string","null"],"maxLength":128},"attempt_count":{"type":"integer","minimum":0},"created_at_raw":{"type":"string","description":"Exact timezone-less stored value."},"created_at_utc":{"type":"string","format":"date-time"},"zone_source":{"type":"string","description":"app_timezone:<configured PHP zone>"},"zone_ambiguous":{"type":"boolean","description":"True for DST fold/gap; never changes membership."}}},"ScopedChatCutoverReceipt":{"type":"object","required":["tenant_id","selector_version","snapshot_digest","id_digest","actor_id","applied_at_utc","reason","changed","skipped","changed_ids","skipped_ids"],"properties":{"tenant_id":{"type":"string"},"selector_version":{"type":"string"},"snapshot_digest":{"type":"string"},"id_digest":{"type":"string"},"actor_id":{"type":"string","description":"Authenticated human actor; client actor ignored."},"applied_at_utc":{"type":"string","format":"date-time"},"reason":{"type":"string"},"changed":{"type":"integer","minimum":0},"skipped":{"type":"integer","minimum":0},"changed_ids":{"type":"array","items":{"type":"string"}},"skipped_ids":{"type":"array","items":{"type":"string"}}}},"ScopedChatCutoverSnapshot":{"type":"object","required":["selector_version","tenant_id","provenance","entries","count","digest"],"properties":{"selector_version":{"type":"string","const":"tenant-widget-open-explicit-ids-v1"},"tenant_id":{"type":"string","description":"Trusted authenticated tenant; client cannot select it."},"provenance":{"type":"string","enum":["operator_supplied_ids","unverified_candidate"]},"entries":{"type":"array","maxItems":100,"items":{"$ref":"#/components/schemas/ScopedChatCutoverEntry"}},"count":{"type":"integer","minimum":0,"maximum":100},"digest":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"SHA-256 of canonical sorted snapshot including tenant/version/provenance."}}},"SeedStatistics":{"type":"object","properties":{"orgUnits":{"type":"integer","description":"Number of org units seeded"},"vorgangstypen":{"type":"integer","description":"Number of case types seeded"},"properties":{"type":"integer","description":"Number of case type properties seeded"},"vorgaenge":{"type":"integer","description":"Number of cases seeded"}},"required":["orgUnits","vorgangstypen","properties","vorgaenge"]},"SemanticSearchResponse":{"type":"object","properties":{"data":{"type":"object","required":["query","passages","count"],"properties":{"query":{"type":"string"},"count":{"type":"integer"},"passages":{"type":"array","items":{"type":"object","required":["source","title","text","score","locale","citation"],"properties":{"source":{"type":"string","enum":["docs","faq","tenant_kb"]},"title":{"type":"string"},"text":{"type":"string"},"score":{"type":"number","format":"float"},"locale":{"type":"string"},"citation":{"type":"object","required":["label","url","reference"],"properties":{"label":{"type":"string"},"url":{"type":"string"},"reference":{"type":"string"}}}}}}}},"finish_reason":{"type":"string","example":"stop"}}},"SepaDirectDebitPaymentCreateRequest":{"type":"object","required":["amount","debtor_iban"],"description":"A payment must identify its mandate with customer_id or mandate_id.\ncustomer_id is the stable tenant-scoped identity and is never inferred\nfrom debtor_name. For a legacy mandate without customer_id, send both\nmandate_id and customer_id once to perform the guarded backfill.\n","properties":{"mandate_id":{"type":"integer","nullable":true,"minimum":1,"example":42},"customer_id":{"type":"string","description":"Stable tenant-scoped customer identity. Required when mandate_id is omitted.","example":"cust_123"},"end_to_end_id":{"type":"string","description":"Optional end-to-end id; generated when omitted.","example":"E2E-INV-1001"},"amount":{"oneOf":[{"type":"integer","minimum":1},{"type":"string","pattern":"^[1-9][0-9]*$"}],"description":"Amount in integer cents.","example":1299},"currency":{"type":"string","default":"EUR","example":"EUR"},"debtor_name":{"type":"string","example":"Max Mustermann"},"debtor_iban":{"type":"string","example":"DE89370400440532013000"},"remittance_info":{"type":"string","nullable":true,"example":"Rechnung 1001"},"sequence_type":{"$ref":"#/components/schemas/SepaSequenceType"}}},"SepaDirectDebitRun":{"type":"object","required":["id","tenant_id","message_id","creditor_name","creditor_iban","creditor_id","status","total_amount","instruction_count"],"properties":{"id":{"type":"integer","example":12},"tenant_id":{"type":"string","example":"tenant_1"},"message_id":{"type":"string","example":"MSG-20260526120000-a1b2c3"},"creditor_name":{"type":"string","example":"Example Trading GmbH"},"creditor_iban":{"type":"string","example":"DE89370400440532013000"},"creditor_bic":{"type":"string","nullable":true,"example":"COBADEFFXXX"},"creditor_id":{"type":"string","example":"DE98ZZZ09999999999"},"requested_execution_date":{"type":"string","nullable":true,"example":"2026-05-29"},"status":{"type":"string","enum":["draft","finalised","executed","rejected"],"example":"draft"},"pain008_xml":{"type":"string","nullable":true,"description":"Generated Pain.008.001.02 XML after finalisation."},"pain008_hash":{"type":"string","nullable":true,"description":"SHA-256 hash over canonicalized generated Pain.008 XML.","example":"4c6f2f9af6a6f4f4784d99435b2ee347924a769478c47d4bd150539563f8f3d2"},"pain008_validation_result":{"type":"string","nullable":true,"description":"JSON validation summary captured when the Pain.008 XML was finalised."},"bank_ack_payload":{"type":"string","nullable":true,"description":"Raw or JSON-encoded EBICS/bank acknowledgement evidence."},"bank_ack_hash":{"type":"string","nullable":true,"description":"SHA-256 hash over the persisted acknowledgement payload.","example":"c9d2ca68c90c4d79bc0db1ba2e5d0f81d84a7f87602f797a5bd0b754873c4808"},"rejected_at":{"type":"string","nullable":true,"example":"2026-05-26 12:35:00"},"rejected_reason":{"type":"string","nullable":true,"description":"Human-readable rejection reason captured with bank evidence."},"total_amount":{"type":"number","format":"float","description":"Sum of attached payments in euros.","example":12.99},"instruction_count":{"type":"integer","example":1},"executed_at":{"type":"string","nullable":true,"example":"2026-05-26 12:30:00"},"created_at":{"type":"string","example":"2026-05-26 12:00:00"},"updated_at":{"type":"string","example":"2026-05-26 12:00:00"}}},"SepaDirectDebitRunCreateRequest":{"type":"object","properties":{"message_id":{"type":"string","description":"Optional idempotent message id; generated when omitted.","example":"MSG-20260526120000-a1b2c3"},"creditor_name":{"type":"string","example":"Example Trading GmbH"},"creditor_iban":{"type":"string","example":"DE89370400440532013000"},"creditor_bic":{"type":"string","nullable":true,"example":"COBADEFFXXX"},"creditor_id":{"type":"string","example":"DE98ZZZ09999999999"},"requested_execution_date":{"type":"string","format":"date","nullable":true,"example":"2026-05-29"}}},"SepaDirectDebitRunEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SepaDirectDebitRun"}}}]},"SepaDirectDebitRunEvidenceRequest":{"type":"object","properties":{"bank_ack_payload":{"description":"Raw EBICS or bank acknowledgement payload, or structured JSON evidence.","nullable":true,"oneOf":[{"type":"string"},{"type":"object"}]},"ebics_ack_payload":{"description":"Alias accepted by the service for EBICS acknowledgement payloads.","nullable":true,"oneOf":[{"type":"string"},{"type":"object"}]},"rejected_reason":{"type":"string","nullable":true,"description":"Required when marking a run as rejected.","example":"EBICS order rejected: invalid creditor identifier."}}},"SepaMandate":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string"},"status":{"type":"string","enum":["active","pending","revoked","expired"]},"mandate_type":{"type":"string","enum":["CORE","B2B","COR1"]},"mandate_holder":{"type":"string","nullable":true},"mandate_ref":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"signed_date":{"type":"string","format":"date","nullable":true},"annotation":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"SepaMandateCreateRequest":{"type":"object","required":["customer_id","debtor_iban"],"properties":{"customer_id":{"type":"string","example":"cust_123"},"mandate_reference":{"type":"string","readOnly":true,"description":"Assigned server-side; client values are ignored.","example":"MND-0123456789ABCDEF01234567"},"mandate_ref":{"type":"string","readOnly":true,"description":"Server-owned legacy reference alias; client values are ignored.","example":"MANDATE-2026-0001"},"debtor_name":{"type":"string","example":"Max Mustermann"},"mandate_holder":{"type":"string","description":"Legacy debtor-name alias.","example":"Max Mustermann"},"debtor_iban":{"type":"string","example":"DE89370400440532013000"},"iban":{"type":"string","description":"Legacy debtor-IBAN alias.","example":"DE89370400440532013000"},"debtor_bic":{"type":"string","nullable":true,"example":"COBADEFFXXX"},"bic":{"type":"string","nullable":true,"description":"Legacy debtor-BIC alias.","example":"COBADEFFXXX"},"creditor_id":{"type":"string","example":"DE98ZZZ09999999999"},"signed_on":{"type":"string","format":"date","nullable":true,"example":"2026-05-26"},"signed_date":{"type":"string","format":"date","nullable":true,"description":"Legacy signature-date alias.","example":"2026-05-26"},"source":{"type":"string","readOnly":true,"description":"Server-owned provenance. Supplying this field returns 422 invalid_input.","example":"sepa"}}},"SepaMandateEnvelope":{"allOf":[{"$ref":"#/components/schemas/SuccessEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SepaMandate"}}}]},"SepaMandateInput":{"type":"object","properties":{"customer_id":{"type":"string"},"status":{"type":"string"},"mandate_type":{"type":"string","enum":["CORE","B2B","COR1"]},"mandate_holder":{"type":"string"},"mandate_ref":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"bank_name":{"type":"string"},"signed_date":{"type":"string","format":"date"},"annotation":{"type":"string"}}},"SepaSequenceType":{"type":"string","enum":["FRST","RCUR","OOFF","FNAL"],"default":"FRST"},"Sepa_ErrorEnvelope":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","example":"invalid_input"},"message":{"type":"string","example":"amount > 0 und debtor_iban Pflicht."}}},"Sepa_SepaMandate":{"type":"object","required":["id","tenant_id","customer_id","status","mandate_reference","debtor_name","debtor_iban","creditor_id","sequence_type"],"properties":{"id":{"type":"integer","example":42},"tenant_id":{"type":"string","example":"tenant_1"},"customer_id":{"type":"string","example":"cust_123"},"status":{"type":"string","enum":["active","revoked"],"example":"active"},"mandate_holder":{"type":"string","nullable":true,"example":"Max Mustermann"},"mandate_ref":{"type":"string","nullable":true,"example":"MANDATE-2026-0001"},"iban":{"type":"string","nullable":true,"example":"DE89370400440532013000"},"iban_hash":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true,"example":"COBADEFFXXX"},"bank_name":{"type":"string","nullable":true},"signed_date":{"type":"string","nullable":true,"example":"2026-05-26"},"recurring_interval":{"type":"string","nullable":true},"recurring_amount":{"type":"number","format":"float","nullable":true},"last_collected_at":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true},"source":{"type":"string","example":"sepa"},"blocked_reason":{"type":"string","nullable":true},"mandate_reference":{"type":"string","example":"MANDATE-2026-0001"},"debtor_name":{"type":"string","example":"Max Mustermann"},"debtor_iban":{"type":"string","example":"DE89370400440532013000"},"debtor_bic":{"type":"string","nullable":true,"example":"COBADEFFXXX"},"creditor_id":{"type":"string","example":"DE98ZZZ09999999999"},"signed_on":{"type":"string","nullable":true,"example":"2026-05-26"},"sequence_type":{"$ref":"#/components/schemas/SepaSequenceType"},"created_at":{"type":"string","example":"2026-05-26 12:00:00"},"updated_at":{"type":"string","example":"2026-05-26 12:00:00"}}},"Sepa_SuccessEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"nullable":true}}},"Series":{"type":"object","nullable":true,"description":"Validity of this delivered version; null when the page belongs to no series.","properties":{"key":{"type":"string","example":"steuerzip-fewo-2025"},"version":{"type":"string","example":"3"},"status":{"type":"string","enum":["gueltig","ersetzt"]},"supersededAt":{"type":"string","nullable":true,"description":"When the successor was published."},"supersededBy":{"allOf":[{"$ref":"#/components/schemas/SeriesRef"}],"nullable":true},"current":{"allOf":[{"$ref":"#/components/schemas/SeriesRef"}],"nullable":true,"description":"The currently valid version of the series."},"total":{"type":"integer"}}},"SeriesRef":{"type":"object","properties":{"version":{"type":"string","example":"4b"},"slug":{"type":"string"},"shortCode":{"type":"string"},"shortUrl":{"type":"string","nullable":true}}},"Server":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"hostname":{"type":"string"},"state":{"type":"string","enum":["ON","OFF","SUSPENDED","UNKNOWN"]},"ipv4":{"type":"array","items":{"type":"string"}},"ipv6":{"type":"array","items":{"type":"string"}}}},"ServerCapabilities":{"type":"object","properties":{"rdns_ipv4":{"type":"boolean"},"rdns_ipv6":{"type":"boolean"},"snapshots":{"type":"boolean"},"snapshot_online":{"type":"boolean"},"power_states":{"type":"array","items":{"type":"string"}},"extras":{"type":"object"}}},"ServerLookupResult":{"type":"object","properties":{"domain":{"type":"string"},"resolved_ip":{"type":"string"},"server_name":{"type":"string"},"datacenter":{"type":"string"},"provider":{"type":"string"},"is_internal":{"type":"boolean"},"lookup_timestamp":{"type":"string"}}},"ServerLookup_ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"validation_error"},"message":{"type":"string","example":"hostname is required."}}},"ServerProviders_Snapshot":{"type":"object","properties":{"name":{"type":"string"},"created":{"type":"string","nullable":true},"description":{"type":"string"},"online":{"type":"boolean"}}},"Service":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"string"},"order_id":{"type":"integer"},"start_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["pending","active","suspended","cancelled","expired"]},"service_type":{"type":"string"},"service_name":{"type":"string"},"service_data":{"type":"string","description":"JSON-encoded service data"},"autorenew":{"type":"integer"},"annotation":{"type":"string"},"legacy_id":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"ServiceCancellation":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"service_id":{"type":"integer"},"end_date":{"type":"string","format":"date"},"cancellation_type":{"type":"string"},"cancellation_data":{"type":"string","description":"JSON-encoded cancellation data"},"annotation":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"ServiceCancellationInput":{"type":"object","required":["end_date"],"properties":{"end_date":{"type":"string","format":"date"},"cancellation_type":{"type":"string","default":"regular"},"cancellation_data":{"type":"object"},"annotation":{"type":"string"}}},"ServiceInput":{"type":"object","required":["service_name"],"properties":{"customer_id":{"type":"string"},"order_id":{"type":"integer"},"start_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["pending","active","suspended","cancelled","expired"]},"service_type":{"type":"string"},"service_name":{"type":"string"},"service_data":{"type":"object"},"autorenew":{"type":"integer","default":0},"annotation":{"type":"string"},"legacy_id":{"type":"string"}}},"ServicePrice":{"type":"object","properties":{"id":{"type":"string"},"priceNet":{"type":"number"},"priceGross":{"type":"number"},"vatType":{"type":"string","enum":["standard","reduced","zero"]},"unit":{"type":"string","enum":["hour","day","project","item"]},"category":{"type":"string"}}},"Session":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["recording","paused","finished"]},"startedAt":{"type":"string","format":"date-time"},"endedAt":{"type":"string","format":"date-time","nullable":true},"pausedMs":{"type":"integer"},"distanceKmComputed":{"type":"number"},"distanceKmEntered":{"type":"number","nullable":true},"pointCount":{"type":"integer"},"summary":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/RideSummary"}]},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}}},"SessionEnvelope":{"type":"object","properties":{"session":{"$ref":"#/components/schemas/Session"}}},"SessionRow":{"type":"object","properties":{"id":{"type":"string"},"device_label":{"type":"string"},"ip":{"type":"string"},"last_seen_at":{"type":"string"},"created_at":{"type":"string"},"current":{"type":"boolean"}}},"SessionSnapshot":{"type":"object","properties":{"pendingChanges":{"type":"array","items":{"$ref":"#/components/schemas/WorkingHourDto"}},"pendingEvents":{"type":"array","items":{"$ref":"#/components/schemas/EventEnvelope"}},"lastUpdated":{"type":"string","format":"date-time","nullable":true},"tenantId":{"type":"string"},"userId":{"type":"string"},"version":{"type":"integer"}},"required":["pendingChanges","pendingEvents","tenantId","userId","version"]},"SessionTransaction":{"type":"object","required":["id","session_id","kind","amount_cents","input_tax_cents"],"properties":{"id":{"type":"integer"},"session_id":{"type":"integer"},"kind":{"type":"string"},"amount_cents":{"type":"integer"},"input_tax_cents":{"type":"integer","minimum":0,"description":"Receipt-backed §33/§15 input tax in integer cents; 0 when not qualified."},"receipt_ref":{"type":["string","null"],"maxLength":120}}},"SessionTransactionCreate":{"type":"object","required":["kind","amount_cents","recorded_by_user_id"],"properties":{"kind":{"type":"string","enum":["sale","refund","no_sale","cash_drop","cash_pickup","cash_out","voided","drawer_open"]},"amount_cents":{"type":"integer","minimum":0},"recorded_by_user_id":{"type":"string"},"ref_pos_sale_id":{"type":["integer","null"],"minimum":1},"ref_pos_refund_id":{"type":["integer","null"],"minimum":1},"payment_method":{"type":["string","null"],"enum":["cash","card","mixed",null],"description":"Required for POS-linked sale/refund movements."},"cash_amount_cents":{"type":["integer","null"],"minimum":0,"description":"Required for mixed tender; only this portion affects drawer cash."},"card_acquirer_reference":{"type":["string","null"],"maxLength":120},"payment_gateway_reconciliation_id":{"type":["string","null"],"maxLength":64,"description":"Optional tenant-scoped link to canonical Erp/PaymentGateway reconciliation."},"input_tax_cents":{"type":["integer","null"],"minimum":0,"description":"Receipt-backed input tax in integer cents for cash_out; mutually exclusive with input_tax_rate_percent."},"input_tax_rate_percent":{"type":["integer","null"],"minimum":1,"maximum":100,"description":"Integer VAT percent. For a qualifying §33 receipt up to 25000 gross cents, input tax is extracted with BCMath and rounded HALF_UP per receipt."},"receipt_ref":{"type":["string","null"],"maxLength":120},"document_id":{"type":["string","null"],"description":"Stored source-document id; creates the sole DocumentLinks edge to the cash-register transaction."}}},"SessionsResponse":{"type":"object","properties":{"sessions":{"type":"array","items":{"$ref":"#/components/schemas/SessionRow"}}}},"Settings":{"type":"object","properties":{"bikeRateCents":{"type":"integer","nullable":true,"description":"own bicycle rate; null = tenant or statutory (0)"},"carRateCents":{"type":"integer","nullable":true,"description":"own car rate; null = tenant or statutory (30)"},"hourlyRateCents":{"type":"integer"},"defaultMode":{"type":"string","enum":["bike","walk","car","sail"]},"storePolyline":{"type":"boolean","description":"default false: the route is never stored"},"pointsRetentionDays":{"type":"integer","description":"raw GPS points kept this many days (default 90, 0 = keep)"}}},"SettingsObject":{"type":"object","additionalProperties":true},"SetupPreview":{"type":"object","description":"{ app_id, step_id, label, mode, fields, prefill (admin form values), needs_input, changes: [{ label, target, before, after }], preview_hash|null }","additionalProperties":true},"SetupStep":{"type":"object","description":"{ id, label, status: done|partial|missing, required, reason, reason_text, mode: autopilot|input|link|none, link|null, fields: [{ name, type, required, label }], requires: [stepId], undo: { entry_id, applied_at }|null }","additionalProperties":true},"ShareLink":{"type":"object","properties":{"id":{"type":"string"},"token":{"type":"string"},"expires_at":{"type":"string","format":"date-time","nullable":true},"has_password":{"type":"boolean"},"download_count":{"type":"integer"}}},"ShareRequest":{"type":"object","required":["recipients"],"properties":{"recipients":{"type":"array","minItems":1,"maxItems":20,"items":{"type":"string"},"description":"Names or emails. Resolution per token — exact email → tenant user (email local-part / display or first name, case-insensitive) → fallback <token>@manuel-tremmel.de ([a-z0-9.-] only). 422 otherwise."},"message":{"type":"string","maxLength":500,"nullable":true}}},"ShareResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"resolved":{"type":"array","items":{"type":"object","properties":{"input":{"type":"string"},"email":{"type":"string"},"via":{"type":"string","enum":["email","user","fallback"]}}}},"draftRef":{"type":"string","example":"email_drafts:42","description":"ONE reviewable email DRAFT — never auto-sent."}}}}},"SharedDashboard":{"type":"object","properties":{"id":{"type":"string","example":"d3a1f2e4-0000-4000-8000-000000000000"},"tenant_id":{"type":"string","example":"default"},"owner_user_id":{"type":"string","example":"42"},"name":{"type":"string","example":"Sales Dashboard"},"description":{"type":"string","example":"Q1 metrics"},"config":{"type":"object","additionalProperties":true},"permissions":{"type":"object","properties":{"users":{"type":"object","additionalProperties":{"type":"string","enum":["view","edit"]}},"roles":{"type":"object","additionalProperties":{"type":"string","enum":["view","edit"]}},"public":{"type":"boolean"}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"is_owner":{"type":"boolean"},"can_edit":{"type":"boolean"}}},"SharedDashboardCreate":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":255,"example":"Sales Dashboard"},"description":{"type":"string","maxLength":2000,"example":"Q1 metrics"},"config":{"type":"object","additionalProperties":true},"permissions":{"type":"object","properties":{"users":{"type":"object","additionalProperties":{"type":"string","enum":["view","edit"]}},"roles":{"type":"object","additionalProperties":{"type":"string","enum":["view","edit"]}},"public":{"type":"boolean"}}}}},"SharedDashboards_Error":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"validation_error"}}},"Sharing":{"type":"object","properties":{"scope":{"type":"string","enum":["user","team","tenant"]},"source":{"type":"string","enum":["shared","personal"]},"role":{"type":"string","enum":["viewer","editor","admin"]},"ownerUserId":{"type":"string"},"environment":{"type":"object","nullable":true,"properties":{"slug":{"type":"string"},"name":{"type":"string"},"id":{"type":"string","nullable":true}}},"defaultRole":{"type":"string","enum":["viewer","editor"]},"members":{"type":"array","items":{"type":"object","properties":{"userId":{"type":"string"},"role":{"type":"string"},"name":{"type":"string","nullable":true}}}}}},"ShippingExport_TemplateInput":{"type":"object","required":["name","service"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"service":{"type":"string"}}},"ShippingPrice":{"type":"object","properties":{"id":{"type":"string"},"priceNet":{"type":"number"},"priceGross":{"type":"number"},"vatType":{"type":"string","enum":["standard","reduced","zero"]},"estimatedDaysMin":{"type":"integer"},"estimatedDaysMax":{"type":"integer"}}},"ShopOrderInvoice":{"type":"object","nullable":true,"properties":{"status":{"type":"string","enum":["creating","created","failed"]},"trigger":{"type":"string","enum":["payment","shipping","manual"]},"invoice_id":{"type":"string","nullable":true},"invoice_number":{"type":"string","nullable":true},"invoice_date":{"type":"string","nullable":true},"invoice_status":{"type":"string","nullable":true},"gross_cents":{"type":"integer","nullable":true},"error":{"type":"string","nullable":true,"description":"e.g. vat_snapshot_missing, invoice_total_mismatch, invoice_write_failed"},"mail_status":{"type":"string","nullable":true},"updated_at":{"type":"string"}}},"ShopProductImage":{"type":"object","properties":{"id":{"type":"integer"},"product_id":{"type":"integer"},"variant_id":{"type":"integer","nullable":true},"is_main":{"type":"boolean"},"sort_order":{"type":"integer"},"alt":{"type":"object","properties":{"de":{"type":"string","maxLength":255},"en":{"type":"string","maxLength":255},"es":{"type":"string","maxLength":255}}},"width":{"type":"integer"},"height":{"type":"integer"},"url":{"type":"string"},"thumb_url":{"type":"string"},"webp_url":{"type":"string"}}},"ShopRefund":{"type":"object","properties":{"id":{"type":"string"},"provider":{"type":"string","enum":["paypal","stripe"]},"amount_cents":{"type":"integer"},"currency":{"type":"string"},"status":{"type":"string","enum":["pending","succeeded","failed"]},"provider_reference":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"ShopRefundPreview":{"type":"object","properties":{"return_id":{"type":"string"},"rma_number":{"type":"string"},"order_id":{"type":"string"},"order_number":{"type":"string"},"state":{"type":"string"},"provider":{"type":"string"},"provider_label":{"type":"string"},"original_payment":{"type":"object","properties":{"method":{"type":"string"},"reference":{"type":"string","nullable":true,"description":"Last six characters of the provider reference only"},"paid_at":{"type":"string","nullable":true}}},"credit_note":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"number":{"type":"string"},"amount_cents":{"type":"integer"}}},"refunded_cents":{"type":"integer"},"max_cents":{"type":"integer"},"amount_cents":{"type":"integer"},"full":{"type":"boolean"},"currency":{"type":"string"},"can_refund":{"type":"boolean"},"blocked_reason":{"type":"string","nullable":true,"enum":["credit_note_required","provider_not_supported","provider_not_configured","refund_in_progress","nothing_to_refund",null]},"confirmation_token":{"type":"string","description":"Send back with the refund to confirm exactly this preview"},"refunds":{"type":"array","items":{"$ref":"#/components/schemas/ShopRefund"}}}},"ShopReturn":{"type":"object","properties":{"id":{"type":"string"},"rma_number":{"type":"string"},"order_id":{"type":"string"},"order_number":{"type":"string"},"customer":{"type":"object"},"state":{"type":"string","enum":["requested","approved","declined","shipped","received","credited","closed"]},"reason_code":{"type":"string","enum":["defect","wrong_item","no_longer_needed","damaged_in_transit","other"]},"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string"},"name":{"type":"string"},"quantity":{"type":"integer"}}}},"refund_cents":{"type":"integer","nullable":true},"photo_proof_url":{"type":"string","nullable":true},"original_invoice_id":{"type":"string","nullable":true},"credit_note_id":{"type":"string","nullable":true},"requested_at":{"type":"string"},"refunds":{"type":"array","description":"Refunds at the payment provider, newest first.","items":{"$ref":"#/components/schemas/ShopRefund"}}}},"ShopSettings":{"type":"object","properties":{"default_vat_rate":{"type":"integer","minimum":0,"maximum":100},"default_vat_rate_configured":{"type":"boolean"},"auto_invoice":{"type":"string","enum":["payment","shipping","off"]},"vat_presets":{"type":"array","items":{"type":"integer"}},"auto_invoice_options":{"type":"array","items":{"type":"string"}}}},"ShopSettingsEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ShopSettings"}}},"ShopTip":{"type":"object","required":["enabled","text","link"],"properties":{"enabled":{"type":"boolean","description":"Presentation switch; it never applies a discount."},"text":{"type":"object","required":["de","en","es","it"],"additionalProperties":false,"properties":{"de":{"type":"string"},"en":{"type":"string"},"es":{"type":"string"},"it":{"type":"string"}}},"link":{"type":"string","nullable":true,"description":"Relative or HTTPS partner-portal URL, or null."}}},"SignalResult":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"signal":{"type":"object","additionalProperties":true},"incident":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/Incident"}]}}}}},"SignatureApplyPayload":{"type":"object","properties":{"signature":{"type":"string"},"signature_image":{"type":"string"},"signed_name":{"type":"string"}}},"SignatureAuditEntry":{"type":"object","properties":{"action":{"type":"string"},"timestamp":{"type":"string","format":"date-time"},"ip_address":{"type":"string"},"user_agent":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}}},"SignatureProjection":{"type":"object","required":["request_id","status","is_complete","outstanding_signers"],"properties":{"request_id":{"type":"string","pattern":"^cpv-[1-9][0-9]*-.+$"},"status":{"type":"string"},"is_complete":{"type":"boolean"},"outstanding_signers":{"type":"integer","minimum":0},"completed_at":{"type":"string","nullable":true}}},"SignatureRequest":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string"},"title":{"type":"string","example":"NDA Agreement"},"description":{"type":"string"},"document_name":{"type":"string","example":"nda.pdf"},"document_hash":{"type":"string","description":"SHA-256 hash of the document content"},"status":{"type":"string","enum":["draft","pending","partially_signed","completed","cancelled","expired"]},"signing_order":{"type":"string","enum":["parallel","sequential"]},"created_by":{"type":"string"},"expires_at":{"type":"string","format":"date-time","nullable":true},"completed_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"signers":{"type":"array","items":{"$ref":"#/components/schemas/Signer"}}}},"SignatureRequestCreate":{"type":"object","required":["title","document_name","document_content","signers"],"properties":{"title":{"type":"string","example":"NDA Agreement"},"description":{"type":"string"},"document_name":{"type":"string","example":"nda.pdf"},"document_content":{"type":"string","description":"Document content (will be stored and hashed)"},"signing_order":{"type":"string","enum":["parallel","sequential"],"default":"parallel"},"created_by":{"type":"string"},"expires_at":{"type":"string","format":"date-time","nullable":true},"signers":{"type":"array","minItems":1,"items":{"type":"object","required":["name","email"],"properties":{"name":{"type":"string"},"email":{"type":"string","format":"email"},"order_index":{"type":"integer"}}}}}},"SignatureRequestPayload":{"type":"object","properties":{"signers":{"type":"array","items":{"$ref":"#/components/schemas/SignatureRequestSignerInput"}},"signer_email":{"type":"string","format":"email"},"email":{"type":"string","format":"email"},"role":{"type":"string"},"signing_order":{"type":"integer","minimum":1}}},"SignatureRequestSignerInput":{"type":"object","required":["email","role","signing_order"],"properties":{"email":{"type":"string","format":"email"},"role":{"type":"string"},"signing_order":{"type":"integer","minimum":1}}},"SignatureSigner":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string","format":"email"},"role":{"type":"string"},"signing_order":{"type":"integer"},"status":{"type":"string","enum":["pending","signed"]},"requested_at":{"type":"string","format":"date-time","nullable":true},"requested_ip":{"type":"string","nullable":true},"signed_at":{"type":"string","format":"date-time","nullable":true},"signed_ip":{"type":"string","nullable":true},"signature_type":{"type":"string","nullable":true}}},"SignedVault":{"type":"object","required":["contract_id","contract_number","signature","archive","available"],"properties":{"contract_id":{"type":"integer"},"contract_number":{"type":"string"},"signature":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SignatureProjection"}]},"archive":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ArchiveProjection"}]},"available":{"type":"boolean","description":"True only when every required signer signed and a matching archive exists."}}},"SignedVaultResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","required":["vault"],"properties":{"vault":{"$ref":"#/components/schemas/SignedVault"}}}}},"Signer":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"request_id":{"type":"string","format":"uuid"},"name":{"type":"string","example":"Jane Doe"},"email":{"type":"string","format":"email","example":"support@it-tremmel.de"},"token":{"type":"string"},"status":{"type":"string","enum":["pending","signed"],"example":"pending"},"signed_at":{"type":"string","format":"date-time","nullable":true},"order_index":{"type":"integer"}}},"Simulation":{"type":"object","description":"profile service|stay, spec (effective, with edited assumptions), horizon {from, to, months, days}, seed, headline, metrics [Metric], months [{month, baselineRevenueCents, scenarioRevenueCents, baselineUtilizationBps, scenarioUtilizationBps}], shiftedTo [{weekday, minutes}], band {revenue {p10,p90}, delta {p10,p90}, runs, seed}|null, assumptions [{key, value, default, unit, min, max, options, source, edited, profile}], data (counts of the data basis), baselineDigest, model {version, bandRuns}, readOnly true, parsed (when a sentence was sent)"},"SiteChangelogEntry":{"type":"object","additionalProperties":false,"required":["schema","site","date","items","source"],"properties":{"schema":{"type":"string","const":"itt-changelog-entry/v1"},"site":{"type":"string","minLength":3,"maxLength":191,"description":"Lowercase hostname without scheme or port."},"date":{"type":"string","format":"date","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["text_de","text_en"],"properties":{"text_de":{"type":"string","minLength":1,"maxLength":8000},"text_en":{"type":"string","minLength":1,"maxLength":8000}}}},"source":{"type":"object","additionalProperties":false,"required":["pin","proof"],"properties":{"pin":{"type":"string","pattern":"^[0-9a-f]{40}$"},"proof":{"type":"string","minLength":1,"maxLength":2048}}}}},"SiteChangelogImportResult":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["created"],"properties":{"created":{"type":"boolean"}}}}},"SkipperLogbuch_Error":{"type":"object","required":["success","error","message"],"properties":{"success":{"type":"boolean","example":false},"error":{"type":"string","example":"validation_error"},"message":{"type":"string"}}},"SlaMetricBucket":{"type":"object","properties":{"measured_tickets":{"type":"integer"},"compliant_tickets":{"type":"integer"},"breached_tickets":{"type":"integer"},"pending_tickets":{"type":"integer"},"compliance_rate":{"type":"number","nullable":true},"average_frt_minutes":{"type":"number","nullable":true}}},"SlaMetrics":{"type":"object","properties":{"totals":{"type":"object","properties":{"total_tickets":{"type":"integer"},"open_tickets":{"type":"integer"},"responded_tickets":{"type":"integer"},"resolved_tickets":{"type":"integer"},"overall_breached_tickets":{"type":"integer"}}},"response_sla":{"$ref":"#/components/schemas/SlaMetricBucket"},"resolution_sla":{"$ref":"#/components/schemas/SlaMetricBucket"},"by_priority":{"type":"array","items":{"type":"object","properties":{"priority":{"type":"string"},"total_tickets":{"type":"integer"},"response_breached_tickets":{"type":"integer"},"resolution_breached_tickets":{"type":"integer"},"average_frt_minutes":{"type":"number","nullable":true},"response_compliance_rate":{"type":"number","nullable":true},"resolution_compliance_rate":{"type":"number","nullable":true}}}}}},"SlaUptimeSample":{"type":"object","required":["started_at","ended_at","available_seconds","total_seconds","idempotency_key"],"properties":{"service_key":{"type":"string","default":"platform"},"started_at":{"type":"string","format":"date-time"},"ended_at":{"type":"string","format":"date-time"},"available_seconds":{"type":"integer","minimum":0},"total_seconds":{"type":"integer","minimum":1},"source":{"type":"string","default":"monitor"},"idempotency_key":{"type":"string","maxLength":255}}},"SmarthomeEventInput":{"type":"object","additionalProperties":false,"required":["item","type","payload"],"properties":{"item":{"type":"string","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","maxLength":255},"type":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]*$","maxLength":128},"payload":{"type":"string","minLength":1,"maxLength":16000},"topic":{"type":"string","minLength":1,"maxLength":512},"occurred_at":{"type":"string","format":"date-time","description":"RFC3339 with at most six fractional digits; normalized to UTC. Defaults to receive time."}}},"Snapshot":{"type":"object","required":["id","tenant_id","latest_hash","entry_count","created_at"],"properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string","example":"default"},"latest_hash":{"type":"string","description":"Hash of the most recent audit entry at snapshot time"},"entry_count":{"type":"integer","description":"Total number of audit entries at snapshot time","example":42},"created_at":{"type":"string","format":"date-time"}}},"SnapshotCreateRequest":{"type":"object","anyOf":[{"required":["dateValue"]},{"required":["date"]},{"required":["date_value"]}],"properties":{"dateValue":{"type":"string","format":"date"},"date":{"type":"string","format":"date"},"date_value":{"type":"string","format":"date"},"branchId":{"type":"string","nullable":true},"branch_id":{"type":"string","nullable":true},"revenue":{"allOf":[{"$ref":"#/components/schemas/RevenueInput"}],"default":0},"orderCount":{"type":"integer","minimum":0,"default":0},"order_count":{"type":"integer","minimum":0,"default":0}}},"SnapshotCreatedData":{"type":"object","additionalProperties":false,"required":["id"],"properties":{"id":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"SnapshotCreatedResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"$ref":"#/components/schemas/SnapshotCreatedData"}}},"SourceType":{"type":"string","enum":["manual","open_items_in","open_items_out","recurring","formula","tax_due_out"]},"Spec":{"type":"object","additionalProperties":false,"properties":{"sentence":{"type":"string","maxLength":500,"description":"optional one-sentence question; parsed levers are defaults, explicit fields win"},"dayOff":{"type":"array","maxItems":3,"items":{"type":"integer","minimum":1,"maximum":7},"description":"ISO weekdays taken off (1 = Monday)"},"priceChangeBps":{"type":"integer","minimum":-5000,"maximum":5000,"description":"price change in basis points (600 = +6 %)"},"addUnits":{"type":"integer","minimum":0,"maximum":5,"description":"additional holiday units"},"addStaffMinutesPerWeek":{"type":"integer","minimum":0,"maximum":2400,"description":"additional staff capacity per week"},"horizonMonths":{"type":"integer","enum":[3,6,12]},"seed":{"type":"integer","minimum":1,"maximum":2147483647},"profile":{"type":"string","enum":["auto","service","stay"]},"assumptions":{"type":"object","description":"overrides of the visible assumptions, e.g. {\"newRebookPercent\": 80, \"rebookDirection\": \"after\"}","additionalProperties":{"oneOf":[{"type":"integer"},{"type":"string"}]}}}},"SpecMeta":{"type":"object","properties":{"name":{"type":"string","description":"Unique identifier for the spec","example":"calculator"},"path":{"type":"string","description":"Relative file path from project root","example":"backend/src/Modules/Calculator/OpenAPI/openapi.yaml"},"title":{"type":"string","description":"Title extracted from the spec's info.title","example":"Calculator API"},"version":{"type":"string","description":"Version extracted from the spec's info.version","example":"1.0.0"}}},"SseTokenResponse":{"type":"object","required":["token","ttl_seconds"],"properties":{"token":{"type":"string","description":"64-character hex nonce consumed by the SSE stream endpoint.","pattern":"^[a-f0-9]{64}$","example":"8f4dcc3b5aa765d61d8327deb882cf99c0f2a4e1a3bd7ec118e2ecfc18924051"},"ttl_seconds":{"type":"integer","description":"Number of seconds before the nonce expires.","minimum":10,"example":120},"transports":{"type":"array","description":"Realtime transports available on this deployment, in preference order. Deployments that run the long-lived WebSocket daemon (Docker/self-hosted, REALTIME_WS_URL configured) advertise [\"websocket\", \"sse\"]; shared PHP-FPM hosting advertises [\"sse\"].\n","items":{"type":"string","enum":["websocket","sse"]},"example":["websocket","sse"]},"ws_url":{"type":"string","description":"WebSocket realtime endpoint (only present when the deployment runs the WebSocket daemon). Clients open this URL and authenticate by sending {\"type\":\"auth\",\"token\":\"<nonce>\",\"channels\":[...]} as the first frame — the nonce never appears in the URL. The same single-use nonce rules apply as for the SSE stream.\n","example":"wss://example.com/ws/realtime"}}},"SsoError":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"string"},"reason":{"type":"string"}}},"StandardError":{"type":"object","description":"Standardisierte Hausfehlerhülle; enthält keine PIN- oder Verifier-Daten.","required":["status","code","message","requestId"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string","example":"FORBIDDEN"},"message":{"type":"string"},"requestId":{"type":"string"},"help_url":{"type":"string"},"error":{"type":"string","nullable":true},"details":{"type":"object","additionalProperties":true,"nullable":true}},"example":{"status":"error","code":"FORBIDDEN","message":"Forbidden.","requestId":"req-example","help_url":"/api/docs/errors#forbidden","error":"forbidden"}},"StandardJsonError":{"type":"object","additionalProperties":false,"required":["success","error","message"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"StandardRepliesAnswer":{"type":"object","properties":{"contract":{"type":"string","enum":["support-lookup/v1"]},"status":{"type":"string","enum":["ok"]},"source":{"type":"string","enum":["support.response_templates"]},"released_status":{"type":"string","enum":["aktuell"]},"total":{"type":"integer"},"items":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"category":{"type":"string"},"content_de":{"type":"string"},"content_en":{"type":"string"},"placeholders":{"type":"array","items":{"type":"string"}},"updated_at":{"type":"string","nullable":true}}}}}},"StartSessionRequest":{"type":"object","required":["ship_date","order"],"properties":{"ship_date":{"type":"string","format":"date","example":"2026-05-21"},"environment_factor":{"type":"number","format":"float","minimum":0.1,"maximum":5,"default":1,"example":1.2,"description":"Wetter-/Umweltfaktor fuer Trockeneis-Bedarf. >1.0 = mehr Filler,\n<1.0 = weniger. Default 1.0.\n"},"order":{"$ref":"#/components/schemas/OrderInput"}}},"Station":{"type":"object","required":["station","name","progress","blockers","station_state"],"properties":{"station":{"type":"integer","minimum":1,"maximum":5},"name":{"type":"string"},"progress":{"type":"integer","minimum":0,"maximum":100},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/Blocker"}},"station_state":{"type":"string","enum":["open","in_progress","done"]}}},"Stats":{"type":"object","properties":{"total":{"type":"integer"},"byStatus":{"type":"object","additionalProperties":{"type":"integer"}},"zeroTouchRate":{"type":"integer","description":"Percent of documents completed hands-free"},"openExceptions":{"type":"integer"},"avgConfidence":{"type":"integer"}}},"Status":{"type":"object","properties":{"status":{"type":"string"}}},"StatusCounts":{"type":"object","properties":{"pending":{"type":"integer","example":3},"approved":{"type":"integer","example":15},"rejected":{"type":"integer","example":2},"spam":{"type":"integer","example":1},"total":{"type":"integer","example":21}}},"StatusResponse":{"type":"object","required":["userId","provisioned"],"properties":{"userId":{"type":"integer"},"provisioned":{"type":"boolean"},"loginname":{"type":"string","nullable":true},"customerid":{"type":"integer","nullable":true}}},"SteeringContractIssued":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"contractId":{"type":"string"},"contract":{"type":"string","description":"Signed token for the X-Steering-Contract header."},"header":{"type":"string","enum":["X-Steering-Contract"]},"tenantId":{"type":"string"},"origin":{"type":"string"},"commands":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string"},"consentReceiptId":{"type":"string"},"authorizeUrl":{"type":"string"},"revokeUrl":{"type":"string"}}}}},"SteeringContractReceipt":{"type":"object","properties":{"id":{"type":"string"},"contractId":{"type":"string"},"kind":{"type":"string","enum":["steering-session-contract"]},"actor":{"type":"object","properties":{"userId":{"type":"string"}}},"origin":{"type":"string"},"rights":{"type":"object","properties":{"voiceSteering":{"type":"boolean"},"commands":{"type":"array","items":{"type":"string"}}}},"consentVersion":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]},"grantedAt":{"type":"string"},"expiresAt":{"type":"string"},"revokedAt":{"type":"string","nullable":true},"revokeReason":{"type":"string","nullable":true},"useCount":{"type":"integer"},"lastUsedAt":{"type":"string","nullable":true},"auditChain":{"type":"array","items":{"type":"object","properties":{"event":{"type":"string"},"at":{"type":"string"},"position":{"type":"integer"},"previousHash":{"type":"string"},"hash":{"type":"string"}}}}}},"SteeringContractRequest":{"type":"object","additionalProperties":false,"required":["consent","commands"],"properties":{"consent":{"type":"boolean","description":"Must be true. There is no default."},"commands":{"type":"array","minItems":1,"maxItems":80,"items":{"type":"string","minLength":1,"maxLength":64}},"consentVersion":{"type":"string","maxLength":32},"ttlSeconds":{"type":"integer","minimum":60,"maximum":3600}}},"SteeringTour":{"type":"object","required":["id","moduleId","route","access","title","summary","keywords","steps"],"properties":{"id":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]*\\.[a-z0-9][a-z0-9-]*$"},"moduleId":{"type":"string"},"route":{"type":"string","pattern":"^/(?:app/[a-z0-9-]+(?:/[a-z0-9-]+)*|my-apps(?:/[a-z0-9-]+)*)$"},"access":{"type":"object","required":["permission"],"properties":{"permission":{"type":"string","enum":["read","write","admin"]},"roles":{"type":"array","description":"Role-bound tour (manager-only areas such as approvals or the team week): shown only to callers holding one of these session roles; administrators always see it.\n","minItems":1,"maxItems":8,"items":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,31}$"}}}},"title":{"$ref":"#/components/schemas/BusinessTaskText"},"summary":{"$ref":"#/components/schemas/BusinessTaskText"},"keywords":{"$ref":"#/components/schemas/BusinessTaskText"},"steps":{"type":"array","minItems":1,"maxItems":12,"items":{"type":"object","required":["id","target","title","body"],"properties":{"id":{"type":"string"},"target":{"type":"object","minProperties":1,"maxProperties":1,"properties":{"testid":{"type":"string"},"testidPrefix":{"type":"string"},"tour":{"type":"string"}}},"placement":{"type":"string","enum":["top","bottom","left","right"]},"title":{"$ref":"#/components/schemas/BusinessTaskText"},"body":{"$ref":"#/components/schemas/BusinessTaskText"}}}}}},"SteeringTourCatalogResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object","required":["schemaVersion","tours"],"properties":{"schemaVersion":{"type":"string","enum":["steering-tours/v1"]},"tours":{"type":"array","items":{"$ref":"#/components/schemas/SteeringTour"}}}}}},"StorageFailureEnvelope":{"description":"A storage failure that says WHAT failed. The plain error envelope answered every storage problem with one sentence, so an unreachable database and a rejected write were indistinguishable and the caller had no lead to follow. This envelope carries the SQLSTATE, the stable driver code, the stage, a named condition and the identifiers the driver itself named. It never carries SQL text, bound values, row content or the database name.\n","type":"object","additionalProperties":false,"required":["success","error","failure","stage","sql_state","driver_code","condition","identifiers"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"failure":{"type":"string","enum":["storage_unreachable","storage_statement_rejected"]},"stage":{"type":"string","enum":["connect","tenant_lookup","preview_read","write","release","proof_read"]},"sql_state":{"description":"The five-character SQLSTATE, or \"unknown\" when the driver named none.","type":"string"},"driver_code":{"description":"The engine error number. Stable across MariaDB and MySQL where SQLSTATE is not.","type":"integer","nullable":true},"condition":{"description":"Named error class, or a sqlstate_-prefixed fallback when the code is unknown.","type":"string"},"identifiers":{"description":"Identifiers the driver named structurally (column, key, table, constraint, index).","type":"object","additionalProperties":{"type":"string"}}}},"StornoCreate":{"type":"object","required":["original_invoice_id","reason"],"properties":{"original_invoice_id":{"type":"integer"},"reason":{"type":"string"},"partial_amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"booking_date":{"type":"string","format":"date"}}},"StrictExportMeta":{"type":"object","required":["privacy_contract","mode","surface_mode","pii_map_loaded"],"properties":{"privacy_contract":{"type":"string","enum":["plausible-strict-v1"]},"mode":{"type":"string","enum":["pseudonymized"]},"surface_mode":{"type":"string","enum":["plausible"]},"pii_map_loaded":{"type":"boolean","enum":[true]}}},"StrictExportResponse":{"type":"object","required":["success","data","meta"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"object"},"meta":{"$ref":"#/components/schemas/StrictExportMeta"}}},"StrictTablesResponse":{"allOf":[{"$ref":"#/components/schemas/StrictExportResponse"},{"type":"object","properties":{"data":{"type":"object","required":["tables","unsupported_tables"],"properties":{"tables":{"type":"array","items":{"type":"string"}},"unsupported_tables":{"type":"object","additionalProperties":{"type":"string"}}}}}}]},"StringListEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"string"}},"meta":{"type":"object","properties":{"mode":{"type":"string","enum":["curated_entities"]}}}}},"Subscriber":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"email":{"type":"string"},"name":{"type":"string","nullable":true},"status":{"type":"string","enum":["pending","active","bounced","unsubscribed"]},"subscribed_at":{"type":"string","format":"date-time"},"unsubscribed_at":{"type":"string","format":"date-time","nullable":true}}},"SubscriberInput":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"},"name":{"type":"string"}}},"SubscriberStateSyncInput":{"type":"object","required":["mode","subscribers"],"properties":{"mode":{"type":"string","enum":["merge","delta","replace"]},"subscribers":{"type":"array","maxItems":10000,"description":"Rows to upsert (delta/replace) or legacy rows to merge.","items":{"type":"object","required":["email"],"additionalProperties":true,"properties":{"email":{"type":"string","format":"email"},"name":{"type":"string"},"status":{"type":"string","enum":["pending","active","unsubscribed","bounced","cleaned"]},"tags":{"type":"array","items":{"type":"string"}}}}},"deletes":{"type":"array","maxItems":10000,"description":"delta only. Emails of rows the user removed.","items":{"type":"string","format":"email"}},"seen":{"type":"array","maxItems":10000,"description":"replace only. Emails of every row the client loaded.","items":{"type":"string","format":"email"}}}},"Subscription":{"type":"object","nullable":true,"properties":{"id":{"type":"integer"},"reseller_user_id":{"type":"integer"},"tenant_id":{"type":"string"},"plan_tier":{"type":"string","example":"business"},"status":{"type":"string","example":"active"},"health_score":{"type":"integer","nullable":true,"example":84},"provider_subscription_id":{"type":"string"},"provider_customer_id":{"type":"string"},"current_period_end":{"type":"string","nullable":true},"pause_started_at":{"type":"string","nullable":true},"pause_grace_ends_at":{"type":"string","nullable":true},"cancelled_at":{"type":"string","nullable":true},"cancellation_reason":{"type":"string","nullable":true},"trial_ends_at":{"type":"string","nullable":true},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"SubscriptionPlanHistoryEntry":{"type":"object","properties":{"id":{"type":"integer"},"subscription_id":{"type":"integer"},"reseller_user_id":{"type":"integer"},"previous_plan":{"type":"string","nullable":true,"example":"starter"},"new_plan":{"type":"string","nullable":true,"example":"business"},"trigger":{"type":"string","example":"user_upgrade"},"changed_by_user_id":{"type":"integer","nullable":true},"changed_at":{"type":"string","example":"2026-04-17 12:30:00"}}},"SubscriptionPlanHistoryResponse":{"type":"object","properties":{"subscription_id":{"type":"integer"},"history":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionPlanHistoryEntry"}}}},"SuccessBackupRecord":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/BackupRecord"}}},"SuccessChatMessage":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ChatMessage"}}},"SuccessDeployment":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Deployment"}}},"SuccessDiskUsage":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/DiskUsageSnapshot"}}},"SuccessEmailDraft":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/EmailDraft"},"idempotent_replay":{"type":"boolean","description":"True only on an HTTP 200 response that returns the already persisted, canonically identical draft."},"actions_ignored":{"type":"object","description":"Present only when the request supplied `actions` while the tenant\nswitch `EMAIL_DRAFT_ACTIONS_ENABLED` is off. The draft was created\nor updated without the buttons; the discard is named here rather\nthan being silent.\n","properties":{"reason":{"type":"string","example":"draft_actions_disabled"},"config_key":{"type":"string","example":"EMAIL_DRAFT_ACTIONS_ENABLED"},"ignored_count":{"type":"integer"},"message":{"type":"string"}}}}},"SuccessEmailTemplate":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/EmailTemplate"}}},"SuccessEnvelope":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"oneOf":[{"$ref":"#/components/schemas/RowsReport"},{"$ref":"#/components/schemas/CacheInvalidationResult"}]}}},"SuccessErrorLog":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/ErrorLog"}}},"SuccessHealthCheck":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/HealthCheck"}}},"SuccessMailQueueSnapshot":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/MailQueueSnapshot"}}},"SuccessMalwareScan":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/MalwareScan"},"warning":{"type":"string"}}},"SuccessMalwareScanStatus":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"scanner_available":{"type":"boolean"},"last_scan":{"oneOf":[{"$ref":"#/components/schemas/MalwareScan"},{"type":"null"}]},"current_scan":{"oneOf":[{"$ref":"#/components/schemas/MalwareScan"},{"type":"null"}]},"summary":{"type":"object","properties":{"total_scans":{"type":"integer"},"total_threats":{"type":"integer"},"total_files_scanned":{"type":"integer"}}}}}}},"SuccessMessage":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string"}}},"SuccessMonitoredItem":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/MonitoredItem"}}},"SuccessMonitoringHealth":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/MonitoringHealth"}}},"SuccessNewsletter":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Newsletter"}}},"SuccessNotification":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Notification"},"deduplicated":{"type":"boolean"},"message":{"type":"string"}}},"SuccessResponse":{"type":"object","properties":{"status":{"type":"string","example":"success"},"message":{"type":"string","example":"Operation erfolgreich"}}},"SuccessSubscriber":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Subscriber"}}},"SuccessSyntheticHealthRun":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"checked":{"type":"integer"},"recorded":{"type":"integer"},"ok":{"type":"integer"},"broken":{"type":"integer"},"timeout":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/SyntheticHealthRunResult"}}}}}},"Suggestion":{"type":"object","description":"{ classification: private|business, ruleId, ruleLabel, action: suggest|apply, customerId|null, customerName|null, placeLabel|null, distanceM|null, projectId|null, projectName|null }","additionalProperties":true},"SummaryPlace":{"type":"object","properties":{"name":{"type":"string"},"adminArea":{"type":"string"},"firstSeenAt":{"type":"string","format":"date-time"},"lat":{"type":"number"},"lng":{"type":"number"}}},"SupportLookupAnswer":{"type":"object","required":["contract","status","result"],"properties":{"contract":{"type":"string","enum":["support-lookup/v1"]},"request_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["found","not_found","ambiguous"]},"ambiguity":{"type":"string","nullable":true,"enum":["sender","recipient",null]},"result":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/SupportSubject"}]}}},"SupportLookupRequest":{"type":"object","required":["contract","sender","recipients"],"properties":{"contract":{"type":"string","enum":["support-lookup/v1"]},"request_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$","description":"Opaque, echoed back; audited only as a short hash."},"sender":{"type":"string","format":"email","maxLength":254,"description":"Exact envelope sender, bare address."},"recipients":{"type":"array","minItems":1,"maxItems":20,"description":"Trusted receive To/Delivered-To addresses; unmapped ones are ignored.","items":{"type":"string","format":"email","maxLength":254}}}},"SupportSubject":{"type":"object","required":["kind","name","customer_number","account_status","open_tickets","open_bookings"],"properties":{"kind":{"type":"string","enum":["customer","portal_user"]},"name":{"type":"string"},"customer_number":{"type":"string","nullable":true},"account_status":{"type":"string","description":"customer: approval_status; portal_user: activated | not_activated"},"open_tickets":{"type":"object","properties":{"total":{"type":"integer"},"items":{"type":"array","maxItems":5,"items":{"type":"object","properties":{"number":{"type":"string","nullable":true},"status":{"type":"string"},"priority":{"type":"string"},"opened_on":{"type":"string","format":"date","nullable":true}}}}}},"open_bookings":{"type":"object","description":"Stage 1: no booking source is connected on this backend (total 0); separate booking backends answer with the same shape.","properties":{"total":{"type":"integer"},"items":{"type":"array","maxItems":5,"items":{"type":"object","properties":{"reference":{"type":"string"},"status":{"type":"string"},"starts_on":{"type":"string","format":"date","nullable":true},"ends_on":{"type":"string","format":"date","nullable":true}}}}}}}},"SyncPlanRequest":{"type":"object","required":["userId","planTier"],"properties":{"userId":{"type":"integer","minimum":1},"planTier":{"type":"string","enum":["basis","business","business-plus","allyoucaneat"]}}},"SyncPlanResponse":{"type":"object","required":["success","userId","planTier","limits"],"properties":{"success":{"type":"boolean"},"userId":{"type":"integer"},"planTier":{"type":"string"},"limits":{"$ref":"#/components/schemas/PlanLimits"}}},"SyncStatus":{"type":"object","properties":{"total_files":{"type":"integer"},"total_size_bytes":{"type":"integer"},"pending_count":{"type":"integer"},"conflict_count":{"type":"integer"},"last_sync":{"type":"string","format":"date-time","nullable":true}}},"SyncedFile":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"filename":{"type":"string","example":"report.pdf"},"path":{"type":"string"},"size_bytes":{"type":"integer","example":102400},"content_hash":{"type":"string","description":"SHA-256 hash of the file content"},"mime_type":{"type":"string","example":"application/pdf"},"sync_status":{"type":"string","enum":["pending","synced","conflict"]},"local_modified_at":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"SyntheticHealthRunResult":{"type":"object","properties":{"item_id":{"type":"integer"},"name":{"type":"string"},"endpoint_url":{"type":"string"},"status":{"type":"string","enum":["ok","broken","timeout"]},"response_time_ms":{"type":"integer","nullable":true},"error_message":{"type":"string","nullable":true},"checked_at":{"type":"string"}}},"SyntheticReadFixtureCredential":{"type":"object","additionalProperties":false,"required":["email","password","prefix","hash"],"description":"Generated by the private operator CLI. Email must exactly match the\nruntime run ID and role under the sandbox provisioner's owner domain.\nPlaintext read keys never cross the API boundary. Property ordering is\ncanonical (contract, id, expires_at, roles; A through F; credential fields).\n","properties":{"email":{"type":"string","format":"email","writeOnly":true},"password":{"type":"string","minLength":32,"maxLength":128,"writeOnly":true},"prefix":{"type":"string","pattern":"^itt_k[a-f0-9]{16}$","writeOnly":true},"hash":{"type":"string","description":"Bcrypt cost 10 hash of the private read key.","writeOnly":true}}},"SyntheticSandboxCopy":{"type":"object","required":["id","source_tenant_id","sandbox_tenant_id","sandbox_name","expires_at","row_count_copied","tables_copied","anonymization_summary","status"],"properties":{"id":{"type":"string"},"source_tenant_id":{"type":"string"},"sandbox_tenant_id":{"type":"string"},"sandbox_name":{"type":"string"},"expires_at":{"type":"string"},"row_count_copied":{"type":"integer"},"tables_copied":{"type":"array","items":{"type":"string"}},"anonymization_summary":{"type":"array","items":{"type":"object","additionalProperties":true}},"status":{"type":"string","enum":["creating","active","expired","deleted"]}}},"TagCount":{"type":"object","properties":{"tag":{"type":"string"},"count":{"type":"integer"}}},"TargetDay":{"type":"object","description":"Ein Tag des Sollzeitkalenders (Minuten). scheduledMinutes = Soll vor Abwesenheiten, targetMinutes = Soll danach, creditMinutes = als gearbeitet gutgeschriebene Abwesenheit.","properties":{"date":{"type":"string","format":"date"},"weekday":{"type":"integer","description":"1 = Montag … 7 = Sonntag"},"employed":{"type":"boolean"},"modelId":{"type":"string","nullable":true},"baseMinutes":{"type":"integer"},"scheduledMinutes":{"type":"integer"},"targetMinutes":{"type":"integer"},"creditMinutes":{"type":"integer"},"source":{"type":"string","enum":["pattern","company_rule","personal_rule","holiday","absence","not_employed"]},"label":{"type":"object","nullable":true,"additionalProperties":{"type":"string"}},"holiday":{"type":"object","nullable":true,"properties":{"name":{"type":"object","additionalProperties":{"type":"string"}},"percent":{"type":"integer"}}},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"kind":{"type":"string"},"minutes":{"type":"integer"},"applied":{"type":"boolean"},"label":{"type":"object","additionalProperties":{"type":"string"}}}}},"absences":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"effect":{"type":"string"},"minutes":{"type":"integer"}}}}}},"TaricEntry":{"type":"object","properties":{"hs_code":{"type":"string"},"description":{"type":"string"},"duty_rate_bp":{"type":"integer"}},"additionalProperties":true},"TaskDescriptor":{"type":"object","properties":{"type":{"type":"string","enum":["hashcash"]},"nonce":{"type":"string","description":"Client-seitig zu berechnender Nonce; wird als leerer String geliefert"},"complexity":{"type":"integer","description":"Schwierigkeit (Anzahl führender Hex-Nullen)"},"expiresAt":{"type":"string","format":"date-time"},"maxAttempts":{"type":"integer","nullable":true}}},"TauriPlatformRelease":{"type":"object","required":["url","signature","sha256"],"properties":{"url":{"type":"string","format":"uri","example":"https://releases.it-tremmel.de/ITT%20Desktop.exe"},"signature":{"type":"string"},"sha256":{"type":"string","pattern":"^[A-Fa-f0-9]{64}$","description":"SHA-256 digest required by Electron updater clients."}}},"TauriUpdateManifest":{"type":"object","required":["version","notes","pub_date","severity","min_version","platforms"],"properties":{"version":{"type":"string"},"notes":{"type":"string"},"pub_date":{"type":"string","format":"date-time"},"severity":{"type":"string"},"min_version":{"type":"string","nullable":true},"platforms":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TauriPlatformRelease"}}}},"Tax/Unterlagen_Error":{"type":"object","required":["success","error","message"],"properties":{"success":{"const":false},"error":{"type":"string"},"message":{"type":"string"}}},"TaxAdvisoryError":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"TaxAdvisoryInvoiceIdRequest":{"type":"object","required":["invoice_id"],"properties":{"invoice_id":{"type":"integer","minimum":1}}},"TaxAdvisoryReverseCharge":{"type":"object","required":["applied","invoice_id"],"properties":{"applied":{"type":"boolean"},"invoice_id":{"type":"integer"},"net_amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"vat_amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"gross_amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"annotation":{"type":"string"},"zm_scheduled":{"type":"boolean"}}},"TaxAdvisoryReverseChargeResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxAdvisoryReverseCharge"}}},"TaxAdvisoryTaxability":{"type":"object","required":["warnings","vies_status","reverse_charge_eligible","threshold_action","advisory"],"properties":{"warnings":{"type":"array","items":{"type":"string"}},"vies_status":{"type":"string","enum":["unknown","valid","invalid","error","stale"]},"reverse_charge_eligible":{"type":"boolean"},"threshold_action":{"type":"string","enum":["no_action","warn_owner","switch_to_oss"]},"advisory":{"type":"string","enum":["OK","review_required"]}}},"TaxAdvisoryTaxabilityRequest":{"type":"object","properties":{"customer_id":{"type":"integer"},"vat_id":{"type":"string"},"customer_country":{"type":"string","pattern":"^[A-Z]{2}$"},"is_eu_b2b":{"type":"boolean"}}},"TaxAdvisoryTaxabilityResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxAdvisoryTaxability"}}},"TaxAdvisoryViesRequest":{"type":"object","required":["vat_id","country_code"],"properties":{"vat_id":{"type":"string"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$"},"customer_id":{"type":"integer","nullable":true}}},"TaxAdvisoryViesResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxAdvisoryViesResult"}}},"TaxAdvisoryViesResult":{"type":"object","required":["id","tenant_id","vat_id","country_code","status","stub","authoritative","source"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"customer_id":{"type":"integer","nullable":true},"vat_id":{"type":"string"},"country_code":{"type":"string"},"status":{"type":"string","enum":["valid","invalid","error"]},"response":{"type":"object","additionalProperties":true},"stub":{"type":"boolean"},"authoritative":{"type":"boolean"},"source":{"type":"string"}}},"TaxAdvisoryViesSync":{"type":"object","required":["valid","invalid","error","skipped","checked","details"],"properties":{"valid":{"type":"integer"},"invalid":{"type":"integer"},"error":{"type":"integer"},"skipped":{"type":"integer"},"checked":{"type":"integer"},"details":{"type":"array","items":{"$ref":"#/components/schemas/TaxAdvisoryViesResult"}}}},"TaxAdvisoryViesSyncResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxAdvisoryViesSync"}}},"TaxElsterEnqueueRequest":{"type":"object","required":["tax_filing_id"],"properties":{"tax_filing_id":{"type":"integer","minimum":1},"xml":{"type":"string"},"kind":{"type":"string","enum":["ustva"]},"year":{"type":"integer","minimum":2000,"maximum":2100},"period":{"type":"integer","minimum":1,"maximum":12}}},"TaxElsterEnqueueResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxElsterEnqueueResult"}}},"TaxElsterEnqueueResult":{"type":"object","required":["outbox_id","status","awaiting_eric"],"properties":{"outbox_id":{"type":"integer"},"status":{"type":"string","enum":["queued","submitted","rejected"]},"awaiting_eric":{"type":"boolean"}}},"TaxElsterError":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"TaxElsterOutbox":{"type":"object","required":["id","tenant_id","kind","status","xml_payload","created_at"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"tax_filing_id":{"type":"integer","nullable":true},"kind":{"type":"string"},"xml_payload":{"type":"string"},"status":{"type":"string","enum":["queued","submitted","rejected"]},"transferticket":{"type":"string","nullable":true},"submitted_at":{"type":"string","nullable":true},"response_payload":{"type":"string","nullable":true},"error_message":{"type":"string","nullable":true},"created_at":{"type":"string"}}},"TaxElsterOutboxResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxElsterOutbox"}}},"TaxElsterPeriodRequest":{"type":"object","required":["year","period"],"properties":{"year":{"type":"integer","minimum":2000,"maximum":2100},"period":{"type":"integer","minimum":1,"maximum":12}}},"TaxElsterPreparation":{"type":"object","required":["tenant_id","year","period","kind","xml"],"properties":{"tenant_id":{"type":"string"},"year":{"type":"integer"},"period":{"type":"integer"},"kind":{"type":"string","enum":["ustva"]},"xml":{"type":"string"}}},"TaxElsterPreparationResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxElsterPreparation"}}},"TaxElsterSubmitRequest":{"type":"object","required":["eric_response_xml","transferticket"],"properties":{"eric_response_xml":{"type":"string"},"transferticket":{"type":"string","minLength":1}}},"TaxFilingDraftRequest":{"type":"object","required":["country","filing_kind","currency"],"oneOf":[{"required":["period_start","period_end"]},{"required":["tax_year"]}],"properties":{"country":{"type":"string","example":"DE"},"filing_kind":{"type":"string","enum":["ustva","annual_ust","kapest","gewst","kst","oss","ioss","kvg","kammerumlage","jahresabschluss","lohnsteuer","bauabzugsteuer","other"],"example":"gewst"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"tax_year":{"type":"integer","minimum":2008,"maximum":2100,"description":"Fiscal-year start year; the server derives the tenant-configured exact annual window."},"currency":{"type":"string","example":"EUR"},"generated_export_id":{"type":"integer","format":"int64","nullable":true,"description":"For OSS, an optional equality assertion; the server binds the exact submitted tenant/year/quarter EuOss report."},"total_tax_due_cents":{"type":"integer","format":"int64","description":"For OSS, omitted/zero derives the submitted report VAT; a divergent non-zero value returns 422."},"total_input_tax_cents":{"type":"integer","format":"int64"},"source_document_ids":{"type":"array","uniqueItems":true,"description":"Tenant-owned source documents linked bidirectionally to the created filing through DocumentLinks.","items":{"type":"string","minLength":1}},"zve_cents":{"type":"integer","format":"int64","minimum":0,"description":"Final taxable income base for kst; the server recomputes KSt and SolZ from this integer-cent value."},"gewerbeertrag_cents":{"type":"integer","format":"int64","minimum":0},"hebesatz_promille":{"type":"integer","description":"Optional assertion only; rejected unless equal to the authoritative master."},"municipality_key":{"type":"string","description":"Required for a single-municipality GewSt filing; resolves the authoritative rate."},"freibetrag_applies":{"type":"boolean"},"financing_interest_cents":{"type":"integer","format":"int64","minimum":0},"financing_rent_movable_cents":{"type":"integer","format":"int64","minimum":0},"financing_rent_immovable_cents":{"type":"integer","format":"int64","minimum":0},"financing_royalties_cents":{"type":"integer","format":"int64","minimum":0},"drohverlust_tax_addback_cents":{"type":"integer","format":"int64","minimum":0},"grundbesitz_einheitswert_cents":{"type":"integer","format":"int64","minimum":0},"schachtel_dividend_income_cents":{"type":"integer","format":"int64","minimum":0},"schachtel_holding_pct_bp":{"type":"integer","minimum":0,"maximum":10000},"privileged_property_income_cents":{"type":"integer","format":"int64","minimum":0},"section_9_reductions_cents":{"type":"integer","format":"int64","minimum":0},"extended_property_reduction_elected":{"type":"boolean"},"operating_split_applies":{"type":"boolean"},"harmful_ancillary_activity_applies":{"type":"boolean"},"extended_property_evidence_ref":{"type":"string","minLength":1,"maxLength":182},"grundsteuer_assessment_ids":{"type":"array","uniqueItems":true,"items":{"type":"string","minLength":1}},"foreign_pe_reductions":{"type":"array","items":{"$ref":"#/components/schemas/GewstForeignPeReduction"}},"municipal_establishment_evidence_ids":{"type":"array","uniqueItems":true,"minItems":2,"items":{"type":"string","minLength":1}}}},"TaxFilingResponse":{"type":"object","properties":{"id":{"type":"integer"},"filing_kind":{"type":"string"},"total_tax_due_cents":{"type":"integer","format":"int64"},"generated_export_id":{"type":"integer","format":"int64","nullable":true},"oss_report_provenance_hash":{"type":"string","nullable":true,"pattern":"^[a-f0-9]{64}$","description":"Immutable submitted-report snapshot hash for quarterly OSS filings."},"gewst_municipal_allocations":{"type":"array","items":{"$ref":"#/components/schemas/GewstMunicipalAllocation"}}}},"TaxPackageArtifactFamily":{"type":"object","additionalProperties":false,"required":["id","label","formats","missing","waivers","source_files"],"properties":{"id":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"formats":{"type":"array","items":{"type":"string","enum":["csv","json","jsonl","md","html","pdf","ods","xlsx","sha256","txt","xml"]}},"missing":{"type":"array","items":{"type":"string"}},"waivers":{"type":"array","items":[]},"source_files":{"type":"array","items":{"type":"string","minLength":1}}}},"TaxPackageArtifactMember":{"type":"object","additionalProperties":false,"required":["path","format","bytes","sha256"],"properties":{"path":{"type":"string","minLength":1},"format":{"type":"string"},"bytes":{"type":"integer","minimum":0},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"TaxPackageComplaintInput":{"type":"object","additionalProperties":false,"required":["zip_sha256","artifact_path","location","finding","reporter","classification","human_confirmed"],"properties":{"zip_sha256":{"type":"string","pattern":"^[a-fA-F0-9]{64}$"},"artifact_path":{"type":"string","minLength":1,"maxLength":2048},"location":{"type":"string","minLength":1,"maxLength":512},"finding":{"type":"string","minLength":1,"maxLength":5000},"reporter":{"type":"string","minLength":1,"maxLength":512},"classification":{"type":"string","enum":["config_daten","code","daten_fehlen","kein_defekt"]},"human_confirmed":{"type":"boolean"}}},"TaxPackageComplaintResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","const":true},"data":{"type":"object","required":["schema","id","artifact","location","finding","reporter","reported_at","classification","probe","resolution","storage_id"],"properties":{"schema":{"type":"string","const":"itt.beanstandung.v1"},"id":{"type":"string","pattern":"^BO-[a-f0-9]{12}$"},"artifact":{"type":"object","required":["zip_sha256","path"],"additionalProperties":false,"properties":{"zip_sha256":{"type":"string"},"path":{"type":"string"}}},"location":{"type":"string"},"finding":{"type":"string"},"reporter":{"type":"string"},"reported_at":{"type":"string","format":"date-time"},"classification":{"type":"object"},"probe":{"type":"object"},"resolution":{"type":"object"},"storage_id":{"type":"integer","minimum":1}}}}},"TaxPackageStoredArtifactInventoryResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"const":true},"data":{"type":"object","additionalProperties":false,"required":["artifacts","gaps","members","member_count","tree_sha256","tree_hash_algorithm","content_tree_sha256","content_tree_hash_algorithm","job_id","tenant_id","package_checksum"],"properties":{"artifacts":{"type":"array","items":{"$ref":"#/components/schemas/TaxPackageArtifactFamily"}},"gaps":{"type":"array","items":{"type":"string"}},"members":{"type":"array","items":{"$ref":"#/components/schemas/TaxPackageArtifactMember"}},"member_count":{"type":"integer","minimum":1},"tree_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tree_hash_algorithm":{"type":"string","const":"sha256(sorted-paths-lf-v1)"},"content_tree_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"content_tree_hash_algorithm":{"type":"string","const":"sha256(path-nul-sha256-nul-bytes-lf-v1)"},"job_id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string","minLength":1},"package_checksum":{"type":"string","pattern":"^[a-f0-9]{64}$"},"report_scope":{"type":"object","additionalProperties":false,"required":["status","tenant_id","year"],"properties":{"status":{"type":"string","enum":["verified","unverified"]},"tenant_id":{"type":"string","minLength":1},"year":{"type":["integer","null"]},"folder":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"reason":{"type":"string","enum":["year_required","tenant_year_metadata_missing","tenant_year_folder_ambiguous"]}}},"bank_journal_scope":{"type":"object","additionalProperties":false,"required":["status","tenant_id","year"],"description":"Separate VIS1-only scope for the canonical root addendum member, never a root-wide report scope. Verified against annual metadata, candidate manifest, VIS1 identity and NACHTRAG member hashes inside the verified completed ZIP. candidate_sha256 identifies the original candidate, not the delivered ZIP.","properties":{"status":{"type":"string","enum":["verified","unverified"]},"tenant_id":{"type":"string","minLength":1},"year":{"type":["integer","null"]},"artifact_id":{"type":"string","const":"VISUALISIERUNG-BANK-JOURNAL/visualisierung-bank-journal"},"source":{"type":"string","const":"SIMULATION-BEFUNDE/NACHTRAG.sha256"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"candidate_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"reason":{"type":"string"}}}}}}},"TaxPilot_Error":{"type":"object","required":["success","status","code","message","messages","details","requestId"],"properties":{"success":{"const":false},"status":{"const":"error"},"code":{"type":"string"},"message":{"type":"string"},"messages":{"$ref":"#/components/schemas/LocalizedMessages"},"details":{"type":"object","additionalProperties":true},"requestId":{"type":"string"}}},"TaxZmEntry":{"type":"object","required":["vat_id","country_code","amount_net","is_triangular","supply_type","line_kind"],"properties":{"id":{"type":"integer","nullable":true},"customer_id":{"type":"integer","nullable":true},"vat_id":{"type":"string"},"country_code":{"type":"string","pattern":"^[A-Z]{2}$"},"amount_net":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"is_triangular":{"type":"integer","enum":[0,1]},"supply_type":{"type":"string"},"line_kind":{"type":"string"}}},"TaxZmError":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string"},"message":{"type":"string"}}},"TaxZmListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/TaxZmReport"}}}},"TaxZmPeriodRequest":{"type":"object","required":["year","period_type","period_index"],"properties":{"year":{"type":"integer","minimum":2000,"maximum":2100},"period_type":{"type":"string","enum":["monthly","quarterly"]},"period_index":{"type":"integer","minimum":1,"maximum":12}}},"TaxZmPreview":{"type":"object","required":["period","entries","errors","total_net"],"properties":{"period":{"type":"object","properties":{"year":{"type":"integer"},"type":{"type":"string"},"index":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"}}},"entries":{"type":"array","items":{"$ref":"#/components/schemas/TaxZmEntry"}},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}},"total_net":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"}}},"TaxZmPreviewResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxZmPreview"}}},"TaxZmReferenceRequest":{"type":"object","required":["reference"],"properties":{"reference":{"type":"string","minLength":1}}},"TaxZmReport":{"type":"object","required":["id","tenant_id","year","period_type","period_index","status","is_amendment"],"properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"year":{"type":"integer"},"period_type":{"type":"string","enum":["monthly","quarterly"]},"period_index":{"type":"integer"},"submitted_at":{"type":"string","nullable":true},"bzst_reference":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","submitted","accepted","rejected"]},"amends_report_id":{"type":"integer","nullable":true},"is_amendment":{"type":"boolean"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/TaxZmEntry"}},"created_at":{"type":"string","nullable":true},"updated_at":{"type":"string","nullable":true}}},"TaxZmReportResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxZmReport"}}},"TaxZmTransmission":{"type":"object","required":["report","acknowledged","transferticket","testmerker","envelope_sha256"],"properties":{"report":{"$ref":"#/components/schemas/TaxZmReport"},"acknowledged":{"type":"boolean"},"transferticket":{"type":"string","nullable":true},"testmerker":{"type":"string"},"envelope_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"TaxZmTransmissionResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/TaxZmTransmission"}}},"TelegramBootstrapDryRunResponse":{"type":"object","properties":{"dry_run":{"type":"boolean","example":true},"tenant_id":{"type":"string"},"driver":{"type":"string","example":"telegram_bot"},"driver_identifier":{"type":"string"},"config_keys":{"type":"array","items":{"type":"string"}},"allowed_chat_id_count":{"type":"integer","example":0}}},"TelegramBootstrapRequest":{"type":"object","properties":{"tenant_id":{"type":"string","description":"Optional tenant override. Falls back to `TENANT_ID`."},"dry_run":{"type":"boolean","description":"Validate config without writing a channel row."}}},"TelegramBootstrapResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"action":{"type":"string","enum":["inserted","updated"]},"channel":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"channel_type":{"type":"string","example":"telegram"},"driver":{"type":"string","example":"telegram_bot"},"driver_identifier":{"type":"string"},"status":{"type":"string","example":"connected"}}},"allowed_chat_id_count":{"type":"integer","example":2}}},"TelegramBridgeChannelStatus":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"purpose":{"type":"string"},"env":{"type":"object","description":"Configured-yes/no per field — never values","properties":{"bot_token":{"type":"boolean"},"chat_id":{"type":"boolean"},"webhook_secret":{"type":"boolean"},"webhook_url":{"type":"boolean"}}},"env_sources":{"type":"object","additionalProperties":{"type":"string"},"description":"Which env KEY NAME satisfied each field"},"missing_env":{"type":"array","items":{"type":"string"}},"ready":{"type":"boolean"},"channel":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"status":{"type":"string"},"driver_identifier":{"type":"string"},"updated_at":{"type":"string"}}},"feedback_pending":{"type":"object","nullable":true,"properties":{"count":{"type":"integer"},"oldest_at":{"type":"string","nullable":true}}},"last_roundtrip":{"type":"object","nullable":true,"properties":{"id":{"type":"string"},"nonce":{"type":"string"},"status":{"type":"string","enum":["sent","confirmed"]},"sent_at":{"type":"string"},"confirmed_at":{"type":"string","nullable":true},"inbound_seen":{"type":"boolean"},"last_inbound_at":{"type":"string","nullable":true}}}}},"TelematicsBatchInput":{"type":"object","required":["records"],"properties":{"records":{"type":"array","maxItems":500,"items":{"$ref":"#/components/schemas/TelematicsInput"}}}},"TelematicsInput":{"type":"object","required":["vehicle_id","lat","lng","source"],"properties":{"vehicle_id":{"type":"string"},"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"speed":{"type":"number","minimum":0,"maximum":1000,"nullable":true},"heading":{"type":"number","minimum":0,"maximum":360,"nullable":true},"altitude_m":{"type":"integer","minimum":-500,"maximum":20000,"nullable":true},"device_id":{"type":"string","maxLength":128,"nullable":true},"source":{"type":"string","enum":["gps_device","mobile_app","obd","webhook"]},"recorded_at":{"type":"string","format":"date-time"}}},"Template":{"type":"object","required":["id","tenant_id","name","debit_account","credit_account","amount","tax_rate","booking_description","category","is_active","created_at","updated_at"],"properties":{"id":{"type":"integer","example":1},"tenant_id":{"type":"string"},"name":{"type":"string","example":"Miete Buero"},"description":{"type":"string","nullable":true,"example":"Monatliche Bueromiete"},"debit_account":{"type":"string","example":"6300"},"credit_account":{"type":"string","example":"1200"},"amount":{"type":"number","format":"double","example":500},"tax_rate":{"type":"number","format":"double","example":0},"booking_description":{"type":"string","example":"Miete Buero"},"category":{"type":"string","example":"rent"},"is_active":{"type":"integer","enum":[0,1],"example":1},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"TemplateApply":{"type":"object","description":"Optional overrides when applying a template as a booking","properties":{"booking_date":{"type":"string","format":"date","description":"Defaults to today"},"document_number":{"type":"string","nullable":true},"description":{"type":"string","description":"Overrides template booking_description"},"amount":{"type":"number","format":"double","description":"Overrides template amount"}}},"TemplateCreate":{"type":"object","required":["name","debit_account","credit_account","amount","booking_description"],"properties":{"name":{"type":"string","example":"Miete Buero"},"description":{"type":"string","nullable":true},"debit_account":{"type":"string","example":"6300"},"credit_account":{"type":"string","example":"1200"},"amount":{"type":"number","format":"double","minimum":0.01,"example":500},"tax_rate":{"type":"number","format":"double","default":0},"booking_description":{"type":"string","example":"Miete Buero"},"category":{"type":"string","default":"general"},"is_active":{"type":"integer","enum":[0,1],"default":1}}},"TemplateFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"name":{"type":"string","minLength":1},"subject_de":{"type":"string"},"subject_en":{"type":"string"},"subject_es":{"type":"string"},"body_html_de":{"type":"string"},"body_html_en":{"type":"string"},"body_html_es":{"type":"string"},"body_text_de":{"type":"string","nullable":true},"body_text_en":{"type":"string","nullable":true},"body_text_es":{"type":"string","nullable":true},"variables_schema":{"type":"string","nullable":true,"description":"JSON Schema describing accepted render variables."}}},"TemplateInput":{"allOf":[{"$ref":"#/components/schemas/TemplateFields"}],"required":["name","subject_de"]},"TemplateListResponse":{"type":"object","required":["success","data","total","limit","offset"],"properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","additionalProperties":true}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"TemplateUpdate":{"type":"object","description":"Partial update - only provided fields are changed","properties":{"name":{"type":"string"},"description":{"type":"string","nullable":true},"debit_account":{"type":"string"},"credit_account":{"type":"string"},"amount":{"type":"number","format":"double"},"tax_rate":{"type":"number","format":"double"},"booking_description":{"type":"string"},"category":{"type":"string"},"is_active":{"type":"integer","enum":[0,1]}}},"Tenancy":{"type":"object","required":["id","label","unit_label","start","end","area_milli_sqm","persons_milli","consumption_milli"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"unit_label":{"type":"string"},"start":{"type":"string","format":"date"},"end":{"type":"string","format":"date"},"area_milli_sqm":{"type":"integer","minimum":0},"persons_milli":{"type":"integer","minimum":0},"consumption_milli":{"type":"integer","minimum":0},"units_milli":{"type":"integer","minimum":0,"default":1000},"prepayments_cents":{"type":"integer","minimum":0,"nullable":true}}},"Tenant":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"plan":{"type":"string"}}},"TenantBackup_Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"message":{"type":"string"}}},"TenantControlBackupResponse":{"type":"object","additionalProperties":false,"required":["artifact_id","checksum_sha256","size_bytes","target_fingerprint","tenant_hash","schema_fingerprint","schema_sha256","tables","created_at","verified_at","restore_proved_at"],"properties":{"artifact_id":{"type":"string","pattern":"^[a-f0-9]{64}$"},"checksum_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"size_bytes":{"type":"integer","minimum":1},"target_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tenant_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schema_fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"schema_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tables":{"type":"object","additionalProperties":false,"required":["tenants","tenant_configs","tenant_aliases"],"properties":{"tenants":{"type":"integer","minimum":0},"tenant_configs":{"type":"integer","minimum":0},"tenant_aliases":{"type":"integer","minimum":0}}},"created_at":{"type":"string","format":"date-time"},"verified_at":{"type":"string","format":"date-time"},"restore_proved_at":{"type":"string","format":"date-time"}}},"TenantControlBackupUnavailableResponse":{"type":"object","additionalProperties":false,"required":["status","code","message","help_url","requestId"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string","enum":["TENANT_CONTROL_BACKUP_UNAVAILABLE"]},"message":{"type":"string"},"help_url":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"object","additionalProperties":false,"required":["reason"],"properties":{"reason":{"type":"string","enum":["proc_open_disabled","fsync_unavailable","dump_binary_missing","path_outside_open_basedir","backup_directory_missing","not_writable","backup_directory_unsafe","manifest_secret_missing","database_driver_unsupported","database_not_local","database_backup_requires_beta_identity","database_backup_target_mismatch","database_backup_document_root_unavailable","database_backup_empty_inventory","database_backup_unsupported_identifier","database_backup_unsupported_object","database_backup_external_reference","database_backup_inventory_changed"]}}}}},"TenantCreateRequest":{"type":"object","required":["slug","name"],"properties":{"slug":{"type":"string","description":"Unique 3-64 char lowercase kebab-case tenant identifier (idempotency key).","pattern":"^[a-z0-9][a-z0-9-]{1,62}[a-z0-9]$","example":"acme"},"name":{"type":"string","description":"Human-readable tenant/company name.","example":"ACME GmbH"},"id":{"type":"string","description":"Optional explicit tenant id. Defaults to slug when omitted.","example":"acme"},"plan":{"type":"string","enum":["starter","professional","enterprise"],"default":"starter"},"status":{"type":"string","enum":["active","suspended","pending","deprovisioned"],"default":"pending"},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code.","example":"DE"},"timezone":{"type":"string","example":"Europe/Berlin"},"operator_email":{"type":"string","format":"email"}}},"TenantCreateResponse":{"type":"object","properties":{"success":{"type":"boolean"},"created":{"type":"boolean","description":"true if a new tenant row was created, false on an idempotent slug replay."},"tenant":{"$ref":"#/components/schemas/Tenant"}}},"TenantListResponse":{"type":"object","properties":{"tenants":{"type":"array","items":{"$ref":"#/components/schemas/TenantMembership"}},"active_tenant_id":{"type":"string"}}},"TenantMembership":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string"},"config_id":{"type":"integer","nullable":true,"description":"Internal tenant configuration key for authorized hierarchy administration."}}},"TenantQuestionItem":{"type":"object","description":"Public shape of one agent-to-tenant question or data request.","properties":{"id":{"type":"integer","description":"Queue id in the reserved question range (>= 9000000)."},"type":{"type":"string","enum":["question","data_request"]},"priority":{"type":"string","enum":["P0","P1","P2","P3"]},"title":{"type":"string"},"question":{"type":"string"},"category":{"type":"string","nullable":true},"status":{"type":"string","enum":["open","answered","dismissed","expired"]},"expiresAt":{"type":"string","nullable":true},"answerMode":{"type":"string","nullable":true,"enum":["text","choice","file",null]},"answerOptions":{"type":"array","nullable":true,"items":{"type":"string"}},"answerText":{"type":"string","nullable":true},"answerAttachments":{"type":"array","items":{"type":"string"},"description":"document-manager document ids (UUIDs) backing the answer."},"answeredBy":{"type":"string","nullable":true},"answeredAt":{"type":"string","nullable":true},"dismissReason":{"type":"string","nullable":true},"origin":{"type":"string","nullable":true,"description":"Requesting agent/lane."},"updatedAt":{"type":"string"}}},"TenantSetupExportResponse":{"type":"object","properties":{"success":{"type":"boolean"},"format":{"type":"string","description":"Notation marker; bumped when the command notation changes incompatibly.","example":"itt-tenant-setup/v1"},"generated_at":{"type":"string","format":"date-time","description":"Generation time. Returned beside the script and deliberately absent from it."},"tenant_count":{"type":"integer"},"commands":{"type":"string","description":"The deterministic, runnable command sequence."},"unsupported":{"type":"array","description":"Named coverage gaps, so a reproduced environment is never silently incomplete.","items":{"type":"string"}}}},"TenantSetupOperationResult":{"type":"object","properties":{"kind":{"type":"string","enum":["tenant","edge","member","unknown"]},"target":{"type":"string"},"status":{"type":"string","enum":["create","exists","error"]},"message":{"type":"string"}}},"TenantSetupPreviewResponse":{"type":"object","properties":{"success":{"type":"boolean"},"parse_errors":{"type":"array","items":{"type":"object"}},"operations":{"type":"array","items":{"$ref":"#/components/schemas/TenantSetupOperationResult"}},"summary":{"type":"object","additionalProperties":{"type":"integer"}}}},"TenantSetupScriptRequest":{"type":"object","required":["commands"],"properties":{"commands":{"type":"string","description":"A provision-tenant.sh command sequence, as produced by the export."}},"additionalProperties":false},"TenantSwitchRequest":{"type":"object","required":["tenant_id"],"properties":{"tenant_id":{"type":"string"},"session_scope":{"type":"string","enum":["window"],"description":"Validate and select the tenant for this browser window without rotating the shared auth cookie."}}},"TenantSwitchResponse":{"type":"object","required":["tenant_id"],"properties":{"tenant_id":{"type":"string"},"session_scope":{"type":"string","enum":["window"]},"token":{"type":"string","nullable":true},"expiresIn":{"type":"integer"}}},"TenantUpdateRequest":{"type":"object","minProperties":1,"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":255,"description":"Human-readable tenant display name.","example":"Portale"},"status":{"type":"string","enum":["active","suspended","pending","deprovisioned"]}}},"TenantUpdateResponse":{"type":"object","required":["success","changed","updated_fields","tenant"],"properties":{"success":{"type":"boolean"},"changed":{"type":"boolean","description":"false when all requested values already matched."},"updated_fields":{"type":"array","items":{"type":"string","enum":["name","status"]}},"tenant":{"$ref":"#/components/schemas/Tenant"}}},"Terms":{"type":"object","properties":{"kind":{"type":"string","enum":["percent","fixed","none"]},"percent":{"type":"integer","minimum":0,"maximum":30},"fixedCents":{"type":"integer","minimum":0,"maximum":100000},"capCents":{"type":"integer","nullable":true,"minimum":1},"vatPercent":{"type":"integer","minimum":0,"maximum":25}}},"TestAccountError":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable error code."},"message":{"type":"string"}}},"TextDefinition":{"type":"object","additionalProperties":false,"properties":{"primary_fields":{"type":"array","items":{"type":"string","enum":["counterparty","counterparty_iban","reference","classification_key","currency","bank_label"]}},"append_fields":{"type":"array","items":{"type":"string","enum":["counterparty","counterparty_iban","reference","classification_key","currency","bank_label"]}},"separator":{"type":"string","maxLength":8},"transformations":{"type":"array","items":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string","enum":["truncate_at","replace","strip","extract_between"]},"search":{"type":"string","maxLength":255},"replace":{"type":"string","maxLength":255},"start":{"type":"string","maxLength":255},"end":{"type":"string","maxLength":255}}}}}},"Theme":{"type":"object","description":"One selectable theme. Generated from the frontend registry (@itt/platform-theme themes/<id>.json) by scripts/generate-theme-registry.mjs; \"full\" themes differ in colour, typography, spacing and radii, \"accent\" families only in their accent colours.","properties":{"id":{"type":"string","example":"nordlicht"},"name":{"type":"string","example":"Nordlicht"},"kind":{"type":"string","enum":["full","accent"]},"primaryColor":{"type":"string","example":"#0f6e8c"},"secondaryColor":{"type":"string","example":"#4f5f80"},"description":{"type":"object","description":"Picker description per language (de, en, es).","additionalProperties":{"type":"string"}},"preview":{"type":"object","description":"Light-mode preview facts (fontFamily, fontFamilyHeading, radius, density, background, text).","additionalProperties":{"type":"string"}}}},"Ticket":{"type":"object","properties":{"solution_context":{"type":"object","description":"Workspace support staff only; never included for customers or portal principals.","properties":{"forbidden_terms":{"type":"array","items":{"type":"string"}},"drafts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"is_published":{"type":"integer"}}}}}},"id":{"type":"integer"},"tenant_id":{"type":"string"},"ticket_number":{"type":"string","nullable":true},"customer_id":{"type":"string","nullable":true},"subject":{"type":"string"},"description":{"type":"string","nullable":true},"category":{"type":"string","enum":["general","billing","technical","portal","account"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"status":{"type":"string","enum":["open","in_progress","waiting","resolved","closed"]},"assigned_to":{"type":"string","nullable":true},"resolution":{"type":"string","nullable":true},"first_response_at":{"type":"string","format":"date-time","nullable":true},"resolved_at":{"type":"string","format":"date-time","nullable":true},"sla_deadline":{"type":"string","format":"date-time","nullable":true},"sla_breached":{"type":"integer"},"response_target_minutes":{"type":"integer","nullable":true},"resolution_target_minutes":{"type":"integer","nullable":true},"response_time_minutes":{"type":"integer","nullable":true},"frt_duration_minutes":{"type":"integer","nullable":true},"resolution_time_minutes":{"type":"integer","nullable":true},"response_sla_breached":{"type":"integer"},"resolution_sla_breached":{"type":"integer"},"escalation_level":{"type":"integer"},"escalated_at":{"type":"string","format":"date-time","nullable":true},"legacy_id":{"type":"string","nullable":true},"legacy_source":{"type":"string","nullable":true},"origins":{"type":"array","description":"Records the ticket was opened from (active DocumentLinks origin edges).","items":{"type":"object","properties":{"type":{"type":"string","enum":["customer","order","quote","invoice","delivery-note"]},"id":{"type":"string"}}}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"tags":{"type":"array","items":{"type":"string"}},"predicted_satisfaction":{"$ref":"#/components/schemas/TicketPredictedSatisfaction"}}},"TicketAutoTagRule":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"is_active":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"TicketAutoTagRuleCreate":{"type":"object","required":["keywords","tags"],"properties":{"name":{"type":"string"},"keywords":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"tags":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"is_active":{"type":"boolean"}}},"TicketCreate":{"type":"object","required":["subject"],"properties":{"ticket_number":{"type":"string"},"customer_id":{"type":"string"},"subject":{"type":"string"},"description":{"type":"string"},"category":{"type":"string","enum":["general","billing","technical","portal","account"],"default":"general"},"priority":{"type":"string","enum":["low","normal","high","urgent"],"default":"normal"},"status":{"type":"string","enum":["open","in_progress","waiting","resolved","closed"],"default":"open"},"assigned_to":{"type":"string"},"legacy_id":{"type":"string"},"legacy_source":{"type":"string"}}},"TicketMessage":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"ticket_id":{"type":"integer"},"sender_type":{"type":"string","enum":["agent","customer","system"]},"sender_id":{"type":"string","nullable":true},"message":{"type":"string"},"is_internal":{"type":"integer"},"is_pinned":{"type":"integer"},"mentions":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}}},"TicketMessageCreate":{"type":"object","required":["message"],"properties":{"sender_type":{"type":"string","enum":["agent","customer","system"],"default":"agent"},"sender_id":{"type":"string"},"message":{"type":"string"},"is_internal":{"type":"boolean"},"is_pinned":{"type":"boolean"}}},"TicketPredictedSatisfaction":{"type":"object","properties":{"score":{"type":"integer"},"label":{"type":"string","enum":["high","medium","low"]},"likely_satisfied":{"type":"boolean"},"likely_low_csat":{"type":"boolean"},"message_count":{"type":"integer"},"risk_factors":{"type":"array","items":{"type":"string"}}}},"TicketTagCloudEntry":{"type":"object","properties":{"tag":{"type":"string"},"count":{"type":"integer"}}},"TicketTagMutation":{"type":"object","properties":{"tag":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"TicketTagStatsEntry":{"type":"object","properties":{"tag":{"type":"string"},"total":{"type":"integer"},"series":{"type":"array","items":{"$ref":"#/components/schemas/TicketTagStatsPoint"}}}},"TicketTagStatsPoint":{"type":"object","properties":{"date":{"type":"string","format":"date"},"count":{"type":"integer"}}},"TicketTagStatsResponse":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"tags":{"type":"array","items":{"$ref":"#/components/schemas/TicketTagStatsEntry"}}}},"TicketUpdate":{"type":"object","properties":{"ticket_number":{"type":"string"},"customer_id":{"type":"string"},"subject":{"type":"string"},"description":{"type":"string"},"category":{"type":"string","enum":["general","billing","technical","portal","account"]},"priority":{"type":"string","enum":["low","normal","high","urgent"]},"status":{"type":"string","enum":["open","in_progress","waiting","resolved","closed"]},"assigned_to":{"type":"string"},"resolution":{"type":"string"},"legacy_id":{"type":"string"},"legacy_source":{"type":"string"}}},"TimerEntry":{"type":"object","properties":{"id":{"type":"integer"},"date":{"type":"string","format":"date"},"start":{"type":"string"},"end":{"type":["string","null"]},"notes":{"type":"string","x-pii":{"category":"contact","strategy":"freetext_pii"}},"projectId":{"type":["string","null"]},"projectName":{"type":"string"},"clientId":{"type":["string","null"]},"isBillable":{"type":"boolean"},"startedAt":{"type":"string","format":"date-time"},"durationMinutes":{"type":["integer","null"]},"discarded":{"type":"boolean"}}},"TimerInput":{"type":"object","properties":{"notes":{"type":"string","maxLength":500,"x-pii":{"category":"contact","strategy":"freetext_pii"}},"projectId":{"type":["string","null"],"maxLength":64},"projectName":{"type":"string","maxLength":255},"clientId":{"type":["string","null"],"maxLength":64},"isBillable":{"type":"boolean"},"start":{"type":"string","pattern":"^\\d{2}:\\d{2}(:\\d{2})?$","description":"Startzeit HH:MM heute (nicht in der Zukunft)"}}},"TimerStatus":{"type":"object","properties":{"employeeId":{"type":"integer"},"running":{"oneOf":[{"$ref":"#/components/schemas/TimerEntry"},{"type":"null"}]},"recent":{"type":"array","items":{"type":"object","properties":{"entryId":{"type":"integer"},"notes":{"type":"string","x-pii":{"category":"contact","strategy":"freetext_pii"}},"projectId":{"type":["string","null"]},"projectName":{"type":"string"},"clientId":{"type":["string","null"]},"isBillable":{"type":"boolean"},"lastDate":{"type":"string","format":"date"}}}},"todayMinutes":{"type":"integer"},"serverNow":{"type":"string","format":"date-time"},"timezone":{"type":"string"}}},"TimetrackingPersonalText":{"type":"object","description":"Personal fields emitted by timetracking handlers; entire free text is protected for LLM principals.","properties":{"first_name":{"type":"string","x-pii":"contact"},"last_name":{"type":"string","x-pii":"contact"},"email":{"type":"string","x-pii":"contact"},"employee_name":{"type":"string","x-pii":"contact"},"comments":{"type":"string","x-pii":{"category":"contact","strategy":"freetext_pii"}},"comment":{"type":"string","x-pii":{"category":"contact","strategy":"freetext_pii"}},"reason":{"type":"string","x-pii":{"category":"contact","strategy":"freetext_pii"}}}},"TimetrackingTenantSettings":{"type":"object","additionalProperties":true,"properties":{"presenceReconciliation":{"type":"object","required":["homeofficeClockInRequiredFrom"],"properties":{"homeofficeClockInRequiredFrom":{"type":"string","format":"date","default":"2025-07-15","description":"Before this tenant-scoped cutoff, an otherwise empty day is treated as a historical clock gap and therefore as a presence day."}}}}},"TimetrackingVacationContingent":{"type":"object","properties":{"tenantId":{"type":"string"},"employeeId":{"type":"string"},"year":{"type":"integer"},"annualEntitlement":{"type":"number","description":"Days granted for the year (halves allowed)."},"manualAnnualEntitlement":{"type":"number","description":"Stored manual entitlement before phase calculation."},"calculationMode":{"type":"string","enum":["manual","effective_phases"]},"manualAdjustment":{"type":"number","minimum":-366,"maximum":366},"calculation":{"type":"object","nullable":true,"description":"Effective-dated full-/part-time derivation with one entry per regulation phase."},"parentalLeaveReductionEnabled":{"type":"boolean"},"parentalLeaveFullMonths":{"type":"array","items":{"type":"integer","minimum":1,"maximum":12}},"parentalLeaveReduction":{"type":"number","minimum":0,"description":"Separately disclosed section 17 BEEG reduction."},"carryoverFromPrevious":{"type":"number","description":"Days carried over from the previous year."},"taken":{"type":"integer","description":"Distinct vacation days up to the tenant-today (derived)."},"planned":{"type":"integer","description":"Distinct future vacation days (derived)."},"remaining":{"type":"number","description":"entitlement + carryover - taken - planned."},"expiryDate":{"type":"string","format":"date","nullable":true,"description":"When the carryover expires."},"updatedAt":{"type":"string"}}},"Timetracking_EventEnvelope":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"tenantId":{"type":"string"},"eventType":{"type":"string"},"eventVersion":{"type":"integer"},"schemaRef":{"type":"string"},"payload":{"type":"object","additionalProperties":true},"actorId":{"type":"string","nullable":true},"traceId":{"type":"string","nullable":true},"idempotencyKey":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"}},"required":["id","tenantId","eventType","eventVersion","schemaRef","payload","createdAt"]},"TodoDocumentRevisionMismatch":{"type":"object","properties":{"success":{"type":"boolean"},"code":{"type":"string","enum":["revision_mismatch"]},"revision":{"type":"integer","description":"Current stored revision"}}},"TodoDocumentSummary":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"source":{"type":"string","nullable":true},"status":{"type":"string","enum":["lent","returned"]},"revision":{"type":"integer"},"line_count":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"returned_at":{"type":"string","format":"date-time","nullable":true}}},"TodoDocumentValidationError":{"type":"object","properties":{"success":{"type":"boolean"},"code":{"type":"string","enum":["invalid_document","invalid_request"]},"errors":{"type":"array","items":{"type":"object","properties":{"rule":{"type":"string","example":"structure_line_changed"},"line_id":{"type":"string","nullable":true},"index":{"type":"integer","nullable":true}}}}}},"TodoSectionsDocument":{"type":"object","additionalProperties":true,"required":["format","lines"],"properties":{"format":{"type":"string","enum":["m-todo-sections/v1"]},"name":{"type":"string"},"source":{"type":"string"},"final_newline":{"type":"boolean"},"lines":{"type":"array","maxItems":20000,"items":{"$ref":"#/components/schemas/TodoSectionsLine"}}}},"TodoSectionsLine":{"type":"object","additionalProperties":true,"required":["id","kind"],"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$"},"kind":{"type":"string","enum":["preamble","section","blank","item","label","child"]},"raw":{"type":"string","nullable":true,"description":"Original source line; null only for an app-created item"},"section":{"type":"integer","minimum":0},"group":{"type":"integer"},"title":{"type":"string"},"note":{"type":"string"},"indent":{"type":"string"},"mark":{"type":"string","enum":["","-","--"],"description":"'' normal, '-' deletion candidate, '--' scheduled for deletion"},"prio":{"type":"integer","minimum":0,"maximum":3,"description":"0 normal, 1 \"(\", 2 \"((\", 3 \"(((\""},"text":{"type":"string"},"urgent":{"type":"boolean"},"tags":{"type":"array","items":{"type":"string"}}}},"ToernBooking/Crew_Offer":{"type":"object","required":["title","skipper_name","area","date_from","date_to","berths","min_crew","price_cents","cancellation_policy","payment_note"],"properties":{"confirm":{"type":"boolean"},"portal":{"type":"string"},"wish_id":{"type":"string"},"source_trip_id":{"type":"integer","minimum":1,"description":"Own completed logbook trip only; owner checked on preview and write."},"request_id":{"type":"string","minLength":16,"maxLength":64,"pattern":"^[a-zA-Z0-9_-]+$","description":"Required with source_trip_id; stable across retries. Reusing with different facts returns 409."},"title":{"type":"string","minLength":3,"maxLength":120},"skipper_name":{"type":"string","minLength":2,"maxLength":60},"area":{"type":"string"},"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"berths":{"type":"integer","minimum":1,"maximum":12},"min_crew":{"type":"integer","minimum":1,"maximum":12},"price_cents":{"type":"integer","minimum":0,"maximum":1000000,"description":"Price per berth in cents"},"cancellation_policy":{"type":"string","enum":["flexible","moderate","strict"]},"payment_note":{"type":"string","minLength":5,"maxLength":300,"description":"How the crew pays the skipper directly"}}},"ToernBookingWrite":{"type":"object","required":["boatId","departureDate","returnDate","crewCount","customerName","customerEmail","price"],"properties":{"id":{"type":"string"},"boatId":{"type":"string"},"departureDate":{"type":"string","format":"date"},"returnDate":{"type":"string","format":"date"},"crewCount":{"type":"integer","minimum":1},"customerName":{"type":"string"},"customerEmail":{"type":"string","format":"email"},"notes":{"type":"string"},"status":{"type":"string","enum":["draft","deposit_pending","confirmed","cancelled"]},"createdAt":{"type":"string","format":"date-time"},"price":{"type":"object","required":["days","basePrice","deposit","remainder","total"],"properties":{"days":{"type":"integer","minimum":0},"basePrice":{"type":"number","minimum":0},"deposit":{"type":"number","minimum":0},"remainder":{"type":"number","minimum":0},"total":{"type":"number","minimum":0},"currency":{"type":"string","enum":["EUR"]}}}}},"ToernDate":{"type":"object","additionalProperties":false,"description":"Required on create; PATCH merges onto the stored date. Wrong types 400, rules 422 with errors [{field, code}].","properties":{"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date","description":">= date_from, at most 366 days later, not in the past"},"area":{"type":"string","maxLength":120,"description":"The portal's own sailing-area value (no shared vocabulary)"},"start_port":{"type":"string","maxLength":120,"nullable":true},"berths":{"type":"integer","minimum":1,"maximum":50,"nullable":true},"note":{"type":"string","maxLength":500,"nullable":true}}},"ToernHistoryEntry":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string","minLength":1,"maxLength":120},"area":{"type":"string","maxLength":120},"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"role":{"type":"string","enum":["skipper","co_skipper","crew"]},"vessel":{"type":"string","maxLength":120,"nullable":true},"distance_nm":{"type":"number","minimum":0,"maximum":100000,"multipleOf":0.1,"nullable":true},"night_nm":{"type":"number","minimum":0,"nullable":true,"description":"<= distance_nm"},"visibility":{"type":"string","enum":["internal","public"]},"note":{"type":"string","maxLength":500,"nullable":true,"description":"Only ever shown to the owner"},"toern_date_id":{"type":"string","pattern":"^ctd_[a-f0-9]{24}$","nullable":true}}},"Tolerance":{"type":"string","description":"Vergleich Soll vs. Ist. `ok` = innerhalb Toleranzband,\n`under`/`over` = ausserhalb (UI zeigt Override-Hint).\n","enum":["ok","under","over"]},"TopDay":{"type":"object","additionalProperties":false,"required":["date","revenue","revenueMinor"],"properties":{"date":{"type":"string","format":"date"},"revenue":{"$ref":"#/components/schemas/RevenueAmount"},"revenueMinor":{"$ref":"#/components/schemas/RevenueMinor"}}},"TopDaysResponse":{"type":"object","additionalProperties":false,"required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true]},"data":{"type":"array","items":{"$ref":"#/components/schemas/TopDay"}}}},"Tour":{"type":"object","description":"{ id, startedAt, endedAt, localDate, localStart, localEnd, weekday (1-7), durationSeconds, durationMinutes, pauseMinutes, distanceKm (2-decimal string), pointCount, mode: bike|walk|car|sail, classification: private|business|open, decidedBy: user|rule|null, suggestion: Suggestion|null (open tours, consented rules only), business: BusinessSummary|null, canUndo }","additionalProperties":true},"TourClassification_Rule":{"type":"object","description":"{ id, kind: ends_at_customer|ends_at_place|weekend_private, label, params, action: suggest|apply, enabled, priority (1-999, lower first), consentAt|null, updatedAt }","additionalProperties":true},"TourClassification_RuleInput":{"type":"object","description":"{ kind, label?, params?: ends_at_customer { radiusM 50-2000 } | ends_at_place { label, lat, lng, radiusM?, customerId?, projectId?, projectName? } | weekend_private {}, action?: suggest|apply, enabled?, priority?, consent?: true (explicit; changing kind/params/action withdraws consent unless given again) }","additionalProperties":true},"TourReportRow":{"type":"object","required":["tourId","salesRepId","customerCount","completedVisits","revenue_cents"],"properties":{"tourId":{"type":"string"},"salesRepId":{"type":"string"},"customerCount":{"type":"integer"},"completedVisits":{"type":"integer"},"revenue_cents":{"type":"integer","format":"int64","description":"Exact invoice revenue in EUR cents."}}},"TrackPoint":{"type":"object","required":["lat","lng","recordedAt"],"properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"altitude":{"type":"number","nullable":true},"accuracy":{"type":"number","nullable":true},"speedKmh":{"type":"number","nullable":true},"headingDeg":{"type":"number","nullable":true},"recordedAt":{"type":"string","format":"date-time"}}},"TransferCreate":{"type":"object","required":["fromLocationId","toLocationId","items"],"properties":{"fromLocationId":{"type":"integer","minimum":1},"toLocationId":{"type":"integer","minimum":1},"items":{"type":"array","items":{"type":"object","additionalProperties":true}},"note":{"type":"string","nullable":true}}},"TransferDomainRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","required":["auth_code","nameservers","contacts"],"properties":{"auth_code":{"type":"string","maxLength":255,"writeOnly":true},"nameservers":{"$ref":"#/components/schemas/Nameservers"},"contacts":{"$ref":"#/components/schemas/CompleteDomainContacts"}}}]},"TransportErrorEnvelope":{"oneOf":[{"$ref":"#/components/schemas/ErrorEnvelope"},{"$ref":"#/components/schemas/CanonicalErrorEnvelope"}]},"TreatmentCreateRequest":{"type":"object","required":["treatment_kind","owner_ref","due_at"],"properties":{"treatment_kind":{"type":"string","enum":["avoid","reduce","share","accept"]},"owner_ref":{"type":"string"},"due_at":{"type":"string"}}},"TrialBalance":{"type":"object","required":["date_from","date_to","entries","total_debit","total_credit","is_balanced","balance_difference"],"properties":{"date_from":{"type":"string","format":"date","nullable":true},"date_to":{"type":"string","format":"date"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/TrialBalanceEntry"}},"total_debit":{"type":"number","format":"double"},"total_credit":{"type":"number","format":"double"},"is_balanced":{"type":"boolean","description":"Whether total debits equal total credits for the selected period."},"balance_difference":{"type":"number","format":"double","description":"Total debit minus total credit for the selected period."},"chart_conformity":{"nullable":true,"$ref":"#/components/schemas/ChartConformity"}}},"TrialBalanceEntry":{"type":"object","required":["account_number","name","type","type_source","debit_total","credit_total","balance"],"properties":{"account_number":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"},"type_source":{"type":"string","enum":["confirmed","retyped","legacy"],"description":"Where `type` comes from. `confirmed` — the tenant's configured\nKontenrahmen defines this number with the same name AND type.\n`retyped` — the number is in that chart but the stored row reads\ndifferently, so the type was overridden while the name stayed as\nimported. `legacy` — the number is outside the configured chart\nentirely and the type is an unverified import value. A zero on a\n`legacy` account is unmeasured, not measured as zero.\n"},"debit_total":{"type":"number","format":"double"},"credit_total":{"type":"number","format":"double"},"balance":{"type":"number","format":"double"}}},"Trip":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"client_ref":{"type":"string","maxLength":64,"nullable":true},"name":{"type":"string"},"start_time":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time","nullable":true},"status":{"$ref":"#/components/schemas/TripStatus"},"departure_port":{"type":"string"},"arrival_port":{"type":"string"},"distance":{"type":"number","nullable":true},"duration":{"type":"integer","nullable":true,"description":"Duration in seconds"},"crew_list":{"type":"array","items":{"type":"string"}},"crew_consent_at":{"type":"string","format":"date-time","nullable":true},"crew_consent_token":{"type":"string","maxLength":64,"nullable":true},"weather_conditions":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time","nullable":true}}},"TripCreateRequest":{"type":"object","required":["start_time"],"properties":{"client_ref":{"type":"string","minLength":1,"maxLength":64,"description":"Stable client identity for retry-safe offline create/complete merging"},"name":{"type":"string","maxLength":255},"start_time":{"type":"string","format":"date-time"},"end_time":{"type":"string","format":"date-time","nullable":true},"status":{"$ref":"#/components/schemas/TripStatus"},"departure_port":{"type":"string","maxLength":255},"arrival_port":{"type":"string","maxLength":255},"distance":{"type":"number","minimum":0,"nullable":true},"duration":{"type":"integer","minimum":0,"nullable":true},"crew_list":{"type":"array","items":{"type":"string","maxLength":255}},"crew_consent_at":{"type":"string","format":"date-time","nullable":true},"crew_consent_token":{"type":"string","maxLength":64,"nullable":true},"weather_conditions":{"type":"string","maxLength":2000,"nullable":true}}},"TripListResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"type":"array","items":{"$ref":"#/components/schemas/Trip"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"TripResponse":{"type":"object","properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/Trip"}}},"TripStatus":{"type":"string","description":"Trip lifecycle state. PATCH transitions are validated by the\nfinite-state machine documented on `/trips/{id}` PATCH.\n","enum":["planned","active","completed","cancelled","archived"]},"TripUpdateRequest":{"allOf":[{"$ref":"#/components/schemas/TripCreateRequest"},{"type":"object","properties":{"end_time":{"type":"string","format":"date-time","nullable":true},"status":{"$ref":"#/components/schemas/TripStatus"}}}]},"TrustClaim":{"type":"object","description":"{ key, label (template text DE/EN/ES/IT), source: postal_letter|video_review|trust_score|toern_certificates|account|inquiries, sourceLabel, facts (minimal: bool, bucket, rounded number or YYYY-MM), issuedAt: YYYY-MM-DD, expiresAt: YYYY-MM-DD|null }","additionalProperties":true},"TrustPassConsentsInput":{"type":"object","description":"{ consents: [{ claim, surface: profile|listings|links, enabled: bool }] } (1-60 entries)","additionalProperties":true},"TrustPassOverview":{"type":"object","description":"{ subject: { type: portal_user|tenant_user }, surfaces: [profile, listings, links], claims: [{ key, name, proven, claim: TrustClaim|null, hint|null, consent: { profile, listings, links } }], shares: [TrustPassShare], limits: { maxActiveShares, maxDays, defaultDays } }","additionalProperties":true},"TrustPassShare":{"type":"object","description":"{ id: tps_…, kind: link|embed, label|null (owner only), claims: [key], status: active|expired|revoked, verifyPath: /vertrauenspass/<token>, expiresAt, createdAt, revokedAt|null, badge: { key: tpk1_…, allowedOrigins, scriptPath, snippet }|null }","additionalProperties":true},"TrustPassShareInput":{"type":"object","description":"{ kind?: link|embed (default link), claims: [key] (each switched on for links), label?: string ≤ 80, expiresInDays?: 1-730 (default 365), allowedOrigins?: ['https://host[:port]'] (embed only, 1-10 exact), confirm?: bool — without confirm a preview that writes nothing }","additionalProperties":true},"TrustPassStatement":{"type":"object","description":"{ status: valid|revoked|expired, share, issuer: { kind: portal, portal } | { kind: business }, claims: [TrustClaim], validUntil, checkedAt, signed (the canonical statement), signature: { algorithm: ed25519, publicKey, fingerprint, value } }","additionalProperties":true},"TwoFactorConfirmRequest":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}},"TwoFactorConfirmResponse":{"type":"object","properties":{"recovery_codes":{"type":"array","items":{"type":"string"}}}},"TwoFactorDisableRequest":{"type":"object","required":["password"],"properties":{"password":{"type":"string"}}},"TwoFactorEnrollResponse":{"type":"object","properties":{"provisioning_uri":{"type":"string"},"secret_base32":{"type":"string"}}},"TwoFactorStatusResponse":{"type":"object","properties":{"enabled":{"type":"boolean"},"recovery_codes_remaining":{"type":"integer"}}},"TwoFactorVerifyRequest":{"type":"object","required":["challenge_token","code"],"properties":{"challenge_token":{"type":"string"},"code":{"type":"string"}}},"TwoFactorVerifyResponse":{"type":"object","properties":{"token":{"type":"string"},"expiresIn":{"type":"integer"},"expiresAt":{"type":"integer"}}},"UcpRequest":{"type":"object","additionalProperties":true,"description":"UCP checkout / lodging booking request body (shape per ucp.dev schemas). Crew berths use crew-toern:{offer_id}, quantity 1 and crew_consent; linked crew portal user required.","properties":{"crew_consent":{"type":"object","properties":{"display_name":{"type":"string","minLength":2,"maxLength":60},"consent_share_name":{"type":"boolean"},"consent_share_contact":{"type":"boolean"},"accept_terms":{"type":"boolean"}}}}},"UnassignmentInput":{"type":"object","properties":{"end_at":{"type":"string","format":"date-time"}}},"UnifiedExportRequest":{"type":"object","required":["report_type"],"properties":{"report_type":{"type":"string","enum":["eur","revenue","invoice_monitor","configurations","eur_details","journal","bank_transactions","document_links","filings"]},"filters":{"type":"object"},"format":{"type":"string","enum":["json","csv","pdf","xlsx"],"default":"json"},"orientation":{"type":"string","enum":["portrait","landscape"],"default":"portrait"}}},"UnitFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"slug":{"type":"string","minLength":1},"bezeichnung":{"type":"string","minLength":1},"kapazitaet":{"type":"integer","minimum":1},"aktiv":{"type":"integer","enum":[0,1]},"adresse":{"type":"string","nullable":true},"ortshinweis_de":{"type":"string","nullable":true},"ortshinweis_en":{"type":"string","nullable":true},"ortshinweis_es":{"type":"string","nullable":true}}},"UnitInput":{"allOf":[{"$ref":"#/components/schemas/UnitFields"}],"required":["slug","bezeichnung"]},"UpdateContactRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","description":"Partial update; type, firstname and lastname of an existing contact are immutable (422).","properties":{"handle":{"type":"string","maxLength":191,"description":"Optional echo; must match the path contact id"},"type":{"type":"integer","minimum":0,"maximum":255},"firstname":{"type":"string"},"lastname":{"type":"string"},"organization":{"type":"string"},"email":{"type":"string","format":"email"},"phone":{"type":"string"},"fax":{"type":"string"},"street":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"postal_code":{"type":"string"},"country":{"type":"string","minLength":2,"maxLength":2},"state":{"type":"string"},"salutation":{"type":"string"},"title":{"type":"string"}}}]},"UpdateDomainRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","description":"Registrant (owner) changes are rejected with 422 owner_contact_change_requires_trade.","properties":{"nameservers":{"$ref":"#/components/schemas/Nameservers"},"contacts":{"$ref":"#/components/schemas/DomainContacts"},"auto_renew":{"type":"boolean"},"expire_method":{"type":"integer","minimum":0,"maximum":255}}}]},"UpdateRecordRequest":{"type":"object","properties":{"data":{"type":"object","description":"JSON data to replace existing data","additionalProperties":true},"validation":{"$ref":"#/components/schemas/ValidationRules"}},"required":["data"]},"UpdateZoneRequest":{"allOf":[{"$ref":"#/components/schemas/MutationRequest"},{"type":"object","required":["primary","email","ttl","records"],"properties":{"primary":{"type":"string"},"email":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"records":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}}}}]},"UploadScanConflict":{"type":"object","additionalProperties":false,"required":["status"],"properties":{"status":{"type":"string","enum":["conflict"]}}},"UploadScanLease":{"type":"object","additionalProperties":false,"required":["id","lease_token","expires_at","revision","byte_length","sha256"],"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},"lease_token":{"type":"string","pattern":"^[A-Za-z0-9._~-]{16,512}$"},"expires_at":{"type":"string","format":"date-time"},"revision":{"type":"integer","minimum":1},"byte_length":{"type":"integer","minimum":0,"maximum":25000000},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}}},"UploadScannerMetadata":{"type":"object","additionalProperties":false,"properties":{"engine":{"type":"string","pattern":"^[A-Za-z0-9._:/+-]{1,128}$"},"protocol":{"type":"string","pattern":"^[A-Za-z0-9._:/+-]{1,128}$"},"result_class":{"type":"string","pattern":"^[A-Za-z0-9._:/+-]{1,128}$"},"error_type":{"type":"string","nullable":true,"pattern":"^[A-Za-z0-9._:/+-]{1,128}$"},"engine_version":{"type":"string","pattern":"^[A-Za-z0-9._:/+-]{1,128}$"},"signature_version":{"type":"string","pattern":"^[A-Za-z0-9._:/+-]{1,128}$"},"signature_name":{"type":"string","pattern":"^[A-Za-z0-9._:/+-]{1,128}$"}}},"UploadedDocument":{"type":"object","required":["document_id","tenant_id","filename","mime_type","size","uploaded_at"],"properties":{"document_id":{"type":"string","format":"uuid"},"tenant_id":{"type":"string"},"filename":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"source_ref":{"type":"string","nullable":true},"module":{"type":"string"},"category":{"type":"string"},"uploaded_at":{"type":"string","format":"date-time"},"ocr_status":{"type":"string","enum":["pending","processing","completed","no_text","failed"]},"extraction_status":{"type":"string","enum":["pending","processing","completed","no_text","failed"]},"recognition_status":{"type":"string","nullable":true,"enum":["text","ocr","unlesbar"]},"recognition_reason":{"type":"string"}}},"UpsertRequest":{"type":"object","required":["title","content"],"properties":{"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,190}$","description":"Omit to derive from the title (kebab, ASCII, uniquified -2, -3… → a NEW doc). Pass explicitly to append versions to an existing doc."},"title":{"type":"string","maxLength":255},"format":{"type":"string","enum":["markdown","html"],"default":"markdown"},"content":{"type":"string","description":"Raw body, max 2 MiB. HTML is sanitized at ingest."},"note":{"type":"string","maxLength":500,"nullable":true},"audience":{"type":"string","enum":["owner","all","user"],"default":"owner"},"user_id":{"type":"string","nullable":true,"description":"Required iff audience=user."},"questionAuditToken":{"type":"string","nullable":true,"description":"Mandatory when content parses to owner questions. Issued only by the separate audit-capability endpoint for this tenant, slug, current question-free staging version, exact target bytes, protected assets and browser proof. Invalid, expired or replayed tokens return 422 before version insert.\n"},"expectedVersion":{"type":"integer","minimum":0,"description":"Optional compare-and-set token. The version this content was MERGED against (0 = the document must not exist yet). If the document moved on in the meantime the write is refused with 409 version_conflict instead of silently replacing the newer content — the guarantee that makes a page several lanes write to (the owner-questions sheet) mergeable instead of overwritable. Omit for last-writer-wins.\n"},"links":{"type":"array","items":{"type":"object","required":["entityType","entityId"],"properties":{"entityType":{"type":"string","maxLength":60,"example":"app"},"entityId":{"type":"string","maxLength":120,"example":"kanban"}}}},"seriesKey":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,119}$","example":"steuerzip-fewo-2025","description":"Optional document series (tenant, period, artefact family). A page new to the series becomes its newest version and the previous valid version is marked \"ersetzt\" in the same transaction. A page already in the series keeps its version (re-push = new DocShare version).\n"},"seriesVersion":{"oneOf":[{"type":"integer","minimum":1},{"type":"string","pattern":"^v?[1-9][0-9]{0,3}[a-z]?$"}],"example":"4b","description":"Delivered version label; omitted = next whole version. A label older than the valid one is refused (409 series_conflict, reason version_not_newest)."},"seriesAllowSuperseded":{"type":"boolean","default":false,"description":"Owner-ticket path only — attach an OLDER version as \"ersetzt\" (never a second valid one)."}}},"UpsertResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"slug":{"type":"string"},"shortCode":{"type":"string","description":"Globally unique 9-char lowercase base36 short-link code."},"shortUrl":{"type":"string","nullable":true,"description":"Public short link https://<host>/d/<code> (request host, DOC_SHARE_PUBLIC_BASE fallback)."},"version":{"type":"integer","description":"Always previous current_version + 1 (append-only)."},"created":{"type":"boolean"},"validatedQuestions":{"type":"integer","description":"Number of questions validated atomically before this version was inserted."},"url":{"type":"string","description":"Login-protected viewer URL."},"series":{"$ref":"#/components/schemas/Series"}}}}},"UptimeResponse":{"type":"object","required":["generated_at","windows"],"properties":{"generated_at":{"type":"string","format":"date-time","example":"2026-02-07T12:00:00Z"},"windows":{"$ref":"#/components/schemas/UptimeWindows"}}},"UptimeWindow":{"type":"object","required":["window_start","uptime_percentage","sample_count","up_samples","down_samples"],"properties":{"window_start":{"type":"string","format":"date-time","description":"Inclusive UTC start timestamp for the aggregation window","example":"2026-02-06T12:00:00Z"},"uptime_percentage":{"type":"number","format":"float","nullable":true,"description":"Percentage of recorded checks in the window that were available","example":99.75},"sample_count":{"type":"integer","example":288},"up_samples":{"type":"integer","description":"Recorded healthy or degraded checks in the window","example":287},"down_samples":{"type":"integer","description":"Recorded unhealthy checks in the window","example":1}}},"UptimeWindows":{"type":"object","required":["last_24h","last_7d","last_30d"],"properties":{"last_24h":{"$ref":"#/components/schemas/UptimeWindow"},"last_7d":{"$ref":"#/components/schemas/UptimeWindow"},"last_30d":{"$ref":"#/components/schemas/UptimeWindow"}}},"Usage":{"type":"object","required":["id","agentId","capability","units","unitPrice","amount","status"],"properties":{"id":{"type":"integer"},"agentId":{"type":"string"},"capability":{"type":"string"},"units":{"type":"integer"},"unitPrice":{"$ref":"#/components/schemas/Money"},"amount":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]{2}$"},"status":{"type":"string","enum":["pending","billed","waived"]}}},"UsageCreateRequest":{"type":"object","required":["agentId","capability"],"properties":{"agentId":{"type":"string","example":"agent-demo"},"capability":{"type":"string","example":"api.read"},"units":{"type":"integer","minimum":1,"default":1},"unitPrice":{"$ref":"#/components/schemas/Money"},"referenceType":{"type":"string","example":"synthetic-job"},"referenceId":{"type":"string","example":"synthetic-job-1"},"description":{"type":"string","example":"Synthetic metering event"}}},"UsageListResponse":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Usage"}},"meta":{"type":"object","additionalProperties":true}}},"UsageResponse":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Usage"}}},"UserVariantAccess":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"variant_id":{"type":"integer"},"access_level":{"type":"string","enum":["read","write","admin"]},"granted_at":{"type":"string"}}},"UserVariantAccessGrant":{"type":"object","required":["user_id"],"properties":{"user_id":{"type":"string"},"access_level":{"type":"string","enum":["read","write","admin"],"default":"read"}}},"UserVariantAccessWithVariant":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"user_id":{"type":"string"},"variant_id":{"type":"integer"},"access_level":{"type":"string","enum":["read","write","admin"]},"granted_at":{"type":"string"},"variant_code":{"type":"string"},"variant_name":{"type":"string"}}},"UstAbgleichWerte":{"type":"object","properties":{"umsatzsteuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"vorsteuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"saldo_cents":{"$ref":"#/components/schemas/UstBetragCents"}}},"UstAbschnitt":{"type":"object","properties":{"zeilen":{"type":"array","items":{"$ref":"#/components/schemas/UstZeile"}},"summe_bemessungsgrundlage_cents":{"$ref":"#/components/schemas/UstBetragCents"},"summe_steuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"hinweis":{"type":"string"}}},"UstBetragCents":{"type":"string","description":"Ganzzahlige Cent als Dezimalstring. Niemals Fliesskomma.","pattern":"^-?\\d+$"},"UstVoranmeldungsAbgleich":{"type":"object","properties":{"zeilen":{"type":"array","items":{"type":"object","properties":{"zeitraum":{"type":"object","properties":{"von":{"type":"string"},"bis":{"type":"string"}}},"meldung":{"type":"object","properties":{"filing_ref":{"type":"string"},"status":{"type":"string"},"abgegeben":{"type":"boolean"}}},"erklaert":{"$ref":"#/components/schemas/UstAbgleichWerte"},"gebucht":{"$ref":"#/components/schemas/UstAbgleichWerte"},"abweichung":{"$ref":"#/components/schemas/UstAbgleichWerte"},"restliste_cents":{"$ref":"#/components/schemas/UstBetragCents"}}}},"monate_ohne_voranmeldung":{"type":"array","items":{"type":"object","properties":{"periode":{"type":"string"}}}},"summe_voranmeldungen":{"$ref":"#/components/schemas/UstAbgleichWerte"},"jahr_gebucht":{"$ref":"#/components/schemas/UstAbgleichWerte"},"abweichung":{"allOf":[{"$ref":"#/components/schemas/UstAbgleichWerte"},{"type":"object","properties":{"ist_null":{"type":"boolean","description":"Wahr nur, wenn alle drei Abweichungen exakt null sind."}}}]},"hinweis":{"type":"string"}}},"UstVorgang":{"type":"object","properties":{"vat_ledger_id":{"type":"string"},"periode":{"type":"string"},"beleg_art":{"type":"string"},"beleg_id":{"type":"string"},"richtung":{"type":"string","enum":["collect","pay","reversal"]},"versteuerung":{"type":"string"},"netto_cents":{"$ref":"#/components/schemas/UstBetragCents"},"steuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"steuersatz":{"type":"object","properties":{"roh":{"type":"string"},"prozent":{"type":["integer","null"]},"befund":{"type":"string"},"eindeutig":{"type":"boolean"}}},"kennzahl":{"type":["string","null"]},"abschnitt":{"type":["string","null"]},"grund":{"type":"string"},"zaehlt":{"type":"boolean"}}},"UstZeile":{"type":"object","description":"Eine Auswertungszeile. `bemessungsgrundlage_cents` und `steuer_cents` enthalten AUSSCHLIESSLICH bestaetigte Vorgaenge; die nur vorgeschlagenen stehen getrennt unter `vorgeschlagen`.\n","properties":{"schluessel":{"type":"string"},"kennzahl":{"type":["string","null"]},"steuersatz_prozent":{"type":["integer","null"],"description":"Ganzzahliger Prozentwert. Null, wenn der Satz nicht eindeutig ist."},"grund":{"type":"string"},"norm":{"type":"string"},"label":{"type":"string"},"anzahl":{"type":"integer"},"bemessungsgrundlage_cents":{"$ref":"#/components/schemas/UstBetragCents"},"steuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"vorgeschlagen":{"type":"object","properties":{"anzahl":{"type":"integer"},"bemessungsgrundlage_cents":{"$ref":"#/components/schemas/UstBetragCents"},"steuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"zaehlt_nicht":{"type":"boolean"}}}}},"UstZuarbeitBericht":{"type":"object","properties":{"tenant_id":{"type":"string"},"legal_group":{"type":["string","null"]},"zeitraum":{"type":"object","properties":{"von":{"type":"string"},"bis":{"type":"string"},"perioden":{"type":"array","items":{"type":"string"}}}},"kennzeichnung":{"type":"string"},"keine_uebermittlung":{"type":"boolean"},"keine_anrechnung_vorauszahlungen":{"type":"boolean"},"keine_fristenbewertung":{"type":"boolean"},"steuerpflichtige_umsaetze":{"$ref":"#/components/schemas/UstAbschnitt"},"steuerfreie_umsaetze":{"$ref":"#/components/schemas/UstAbschnitt"},"vorsteuer":{"$ref":"#/components/schemas/UstAbschnitt"},"steuerschuld_leistungsempfaenger":{"$ref":"#/components/schemas/UstAbschnitt"},"ergaenzende_angaben":{"$ref":"#/components/schemas/UstAbschnitt"},"zahllast":{"type":"object","properties":{"umsatzsteuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"vorsteuer_cents":{"$ref":"#/components/schemas/UstBetragCents"},"saldo_cents":{"$ref":"#/components/schemas/UstBetragCents"},"art":{"type":"string","enum":["zahllast","erstattung"]},"hinweis":{"type":"string"}}},"restliste":{"type":"object","properties":{"anzahl":{"type":"integer"},"betrag_cents":{"$ref":"#/components/schemas/UstBetragCents"},"nach_grund":{"type":"array","items":{"type":"object","properties":{"grund":{"type":"string"},"anzahl":{"type":"integer"},"betrag_cents":{"$ref":"#/components/schemas/UstBetragCents"}}}},"hinweis":{"type":"string"}}},"voranmeldungs_abgleich":{"$ref":"#/components/schemas/UstVoranmeldungsAbgleich"}}},"UstZuordnung":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"vat_ledger_id":{"type":"string"},"period":{"type":"string"},"kennzahl":{"type":["string","null"]},"grund":{"type":["string","null"]},"status":{"type":"string","enum":["bestaetigt","vorgeschlagen","pruefliste","abgelehnt"]},"origin":{"type":"string","enum":["manuell","automatisch"]},"confidence":{"type":["integer","null"],"minimum":0,"maximum":100},"zaehlt_fuer_zuarbeit":{"type":"boolean"}}},"UstvaPrefill":{"type":"object","required":["year","period","period_key","period_locked","identity","identity_error","rows","zahllast"],"properties":{"year":{"type":"integer"},"period":{"type":"integer"},"period_key":{"type":"string","description":"Canonical YYYY-MM filing period key."},"period_locked":{"type":"boolean"},"identity":{"type":["object","null"],"properties":{"steuernummer":{"type":"string"},"bundesland":{"type":"string"},"bufa":{"type":"string"}}},"identity_error":{"type":["string","null"]},"rows":{"type":"array","items":{"$ref":"#/components/schemas/UstvaPrefillRow"}},"zahllast":{"type":"string","description":"Kz83 aggregate (output VAT minus input tax), 2-dp string."}}},"UstvaPrefillRow":{"type":"object","required":["kennziffer","field","label","section","amount","amount_type"],"properties":{"kennziffer":{"type":"string"},"field":{"type":"string"},"label":{"type":"string","description":"Statutory German UStVA form label (not localised by design)."},"section":{"type":"string"},"amount":{"type":"string","description":"bcmath 2-dp string (net base or tax amount per amount_type)."},"amount_type":{"type":"string","enum":["net","tax"]}}},"UtilitySettlementInput":{"type":"object","required":["object_label","period_start","period_end","tenancies","positions"],"properties":{"object_label":{"type":"string","maxLength":160},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"source_document_id":{"type":"string","nullable":true},"status":{"type":"string","enum":["draft","recognizing","needs_review","ready","final"]},"tenancies":{"type":"array","items":{"$ref":"#/components/schemas/Tenancy"}},"positions":{"type":"array","items":{"$ref":"#/components/schemas/CostPosition"}}}},"ValidationError":{"type":"object","properties":{"field":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"},"expected":{"type":"string"},"actual":{"type":"string"},"max_length":{"type":"integer"},"actual_length":{"type":"integer"}}},"ValidationFieldRule":{"type":"object","properties":{"type":{"type":"string","enum":["string","number","boolean","date"]},"required":{"type":"boolean"},"maxLength":{"type":"integer","minimum":1}}},"ValidationMessage":{"type":"object","properties":{"level":{"type":"string","enum":["info","warning","error"]},"messageKey":{"type":"string"},"employeeId":{"type":"integer","nullable":true},"date":{"type":"string","format":"date","nullable":true},"details":{"type":"string","nullable":true}},"required":["level","messageKey"]},"ValidationRules":{"type":"object","properties":{"required":{"type":"array","description":"List of required data field names","items":{"type":"string"}},"fields":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ValidationFieldRule"}}}},"ValidationSummary":{"type":"object","properties":{"total_invoices":{"type":"integer"},"missing_number":{"type":"integer"},"overdue":{"type":"integer"},"zero_amount":{"type":"integer"},"total_outstanding":{"type":"number"}}},"Variant":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"code":{"type":"string","enum":["standard","premium","enterprise","starter","webapp","timetracking"]},"name":{"type":"string"},"legal_form":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"owner":{"type":"string","nullable":true},"tax_id":{"type":"string","nullable":true},"vat_id":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"bank_holder":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"paypal_url":{"type":"string","nullable":true},"logo_url":{"type":"string","nullable":true},"is_active":{"type":"integer"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"VariantAxisValue":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}}},"VariantCell":{"type":"object","properties":{"id":{"type":"string"},"colorId":{"type":"string"},"sizeId":{"type":"string"},"materialId":{"type":"string"},"stock":{"type":"integer"},"price":{"type":"number","description":"Decimal euro amount (stored as integer minor units)"},"ean":{"type":"string"}}},"VariantCreate":{"type":"object","required":["code","name"],"properties":{"code":{"type":"string","enum":["standard","premium","enterprise","starter","webapp","timetracking"]},"name":{"type":"string"},"legal_form":{"type":"string"},"address":{"type":"string"},"phone":{"type":"string"},"owner":{"type":"string"},"tax_id":{"type":"string"},"vat_id":{"type":"string"},"website":{"type":"string"},"email":{"type":"string"},"bank_holder":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"bank_name":{"type":"string"},"paypal_url":{"type":"string"},"logo_url":{"type":"string"},"is_active":{"type":"integer","default":1}}},"VariantMatrix":{"type":"object","properties":{"itemId":{"type":"string"},"itemSku":{"type":"string"},"itemName":{"type":"string"},"colors":{"type":"array","items":{"$ref":"#/components/schemas/VariantAxisValue"}},"sizes":{"type":"array","items":{"$ref":"#/components/schemas/VariantAxisValue"}},"materials":{"type":"array","items":{"$ref":"#/components/schemas/VariantAxisValue"}},"cells":{"type":"array","items":{"$ref":"#/components/schemas/VariantCell"}}}},"VariantModule":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"variant_id":{"type":"integer"},"module_name":{"type":"string"},"is_enabled":{"type":"integer"},"config_json":{"type":"string","nullable":true}}},"VariantPageSet":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"variant_id":{"type":"integer"},"page_key":{"type":"string"},"page_label":{"type":"string","nullable":true},"sort_order":{"type":"integer"},"created_at":{"type":"string"}}},"VariantPageSetCreate":{"type":"object","required":["page_key"],"properties":{"page_key":{"type":"string"},"page_label":{"type":"string"},"sort_order":{"type":"integer","default":0}}},"VariantSetting":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"variant_id":{"type":"integer"},"setting_key":{"type":"string"},"setting_value":{"type":"string","nullable":true},"setting_type":{"type":"string","enum":["string","number","boolean","json"]},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"VariantUpdate":{"type":"object","properties":{"code":{"type":"string","enum":["standard","premium","enterprise","starter","webapp","timetracking"]},"name":{"type":"string"},"legal_form":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"owner":{"type":"string","nullable":true},"tax_id":{"type":"string","nullable":true},"vat_id":{"type":"string","nullable":true},"website":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"bank_holder":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"paypal_url":{"type":"string","nullable":true},"logo_url":{"type":"string","nullable":true},"is_active":{"type":"integer"}}},"VatConfig":{"type":"object","properties":{"standard":{"$ref":"#/components/schemas/VatRate"},"reduced":{"$ref":"#/components/schemas/VatRate"},"zero":{"$ref":"#/components/schemas/VatRate"}}},"VatDefinition":{"type":"object","required":["side","account","numerator","denominator"],"properties":{"side":{"type":"string","enum":["debit","credit"]},"account":{"type":"string"},"numerator":{"type":"integer","minimum":0},"denominator":{"type":"integer","minimum":1}}},"VatJournalRow":{"type":"object","description":"One posted cash-basis VAT journal row.","additionalProperties":true},"VatQuarterlyReport":{"type":"object","additionalProperties":true},"VatRate":{"type":"object","properties":{"rate":{"type":"number","example":0.19},"label":{"type":"string","example":"19%"},"description":{"type":"string","example":"Standard VAT rate (Germany)"}}},"VatReportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/VatJournalRow"}}}}}},"VatTotals":{"type":"object","properties":{"destination_country":{"type":"string"},"vat_rate_bp":{"type":"integer"},"ioss_eligible":{"type":"boolean"},"intrinsic_value_cents":{"type":"integer"},"net_total_cents":{"type":"integer"},"vat_total_cents":{"type":"integer"},"gross_total_cents":{"type":"integer"}}},"VerfahrensdokumentationRequest":{"type":"object","required":["company_name"],"properties":{"company_name":{"type":"string","example":"IT-Tremmel"},"company_address":{"type":"string"},"tax_number":{"type":"string"},"vat_id":{"type":"string"},"fiscal_year_start":{"type":"string","example":"01.01."},"fiscal_year_end":{"type":"string","example":"31.12."},"responsible_person":{"type":"string"},"generated_date":{"type":"string"},"return_format":{"type":"string","enum":["base64","binary"],"default":"binary"}}},"VerificationResult":{"type":"object","required":["valid","total_entries","verified"],"properties":{"valid":{"type":"boolean","description":"Whether the entire hash chain is intact","example":true},"total_entries":{"type":"integer","description":"Total number of entries in the chain","example":42},"verified":{"type":"integer","description":"Number of entries successfully verified","example":42},"first_broken_at":{"type":"integer","description":"Sequence number where the chain first breaks (only present when invalid)"},"error":{"type":"string","description":"Human-readable error description (only present when invalid)"}}},"VerifyEmailRequest":{"type":"object","properties":{"token":{"type":"string"}}},"VerticalBlueprints_Error":{"type":"object","properties":{"success":{"type":"boolean","example":false},"error":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}}},"VibeBridgeAck":{"type":"object","additionalProperties":false,"required":["assignmentId","sessionId","messageId"],"properties":{"assignmentId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"sessionId":{"type":"string","minLength":1,"maxLength":64},"messageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$"}}},"VibeBridgeAssignment":{"type":"object","required":["assignment","pollAfterSeconds"],"properties":{"pollAfterSeconds":{"type":"integer","enum":[5]},"assignment":{"type":"object","nullable":true,"required":["assignmentId","tenantId","sessionId","branchName","pendingPrompt","scope"],"properties":{"assignmentId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"tenantId":{"type":"string"},"sessionId":{"type":"string","minLength":1,"maxLength":64},"branchName":{"type":"string"},"pendingPrompt":{"type":"object","nullable":true,"required":["promptId","prompt","requestedAt","sequence","guard","complexity"],"properties":{"promptId":{"type":"string"},"prompt":{"type":"string","minLength":1,"maxLength":32000},"requestedAt":{"type":"string","format":"date-time"},"sequence":{"type":"integer","minimum":1},"guard":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["approved"]},"reason":{"type":"string"},"model":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"reviewedByUserId":{"type":"integer"},"reviewedAt":{"type":"string","format":"date-time"}}},"complexity":{"type":"object","required":["level","fileCount","diffLines"],"properties":{"level":{"type":"string"},"fileCount":{"type":"integer","minimum":0},"diffLines":{"type":"integer","minimum":0}}}}},"scope":{"type":"object","required":["tenantId","manifestPath","manifestEnabled","allowedPatterns","deniedPatterns"],"properties":{"tenantId":{"type":"string"},"manifestPath":{"type":"string"},"manifestEnabled":{"type":"boolean"},"allowedPatterns":{"type":"array","items":{"type":"string"}},"deniedPatterns":{"type":"array","items":{"type":"string"}}}}}}}},"VibeBridgeEmpty":{"type":"object","additionalProperties":false},"VibeBridgeEvent":{"type":"object","additionalProperties":false,"required":["assignmentId","sessionId","messageId","eventType"],"properties":{"assignmentId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"sessionId":{"type":"string","minLength":1,"maxLength":64},"messageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$"},"eventType":{"type":"string","enum":["prompt_received","prompt_rejected","apply_started","apply_succeeded","apply_failed","scan_started","scan_passed","scan_failed"]},"promptId":{"type":"string","maxLength":128},"changedPaths":{"type":"array","maxItems":200,"items":{"type":"string","minLength":1,"maxLength":512}},"filesChanged":{"type":"integer","minimum":0,"maximum":10000000},"diffLines":{"type":"integer","minimum":0,"maximum":10000000}}},"VibeBridgeHeartbeat":{"type":"object","additionalProperties":false,"required":["ready"],"properties":{"ready":{"type":"boolean"}}},"VibeBridgePreview":{"type":"object","additionalProperties":false,"required":["assignmentId","sessionId","messageId","imageBase64"],"properties":{"assignmentId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"sessionId":{"type":"string","minLength":1,"maxLength":64},"messageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$"},"imageBase64":{"type":"string","format":"byte","maxLength":1333336,"description":"Rendered PNG only, <= 1000000 decoded bytes, <= 4096 per axis and 4000000 pixels. No URL, HTML or code."}}},"VibeBridgeReceipt":{"type":"object","required":["messageId","assignmentId","accepted"],"properties":{"messageId":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$"},"assignmentId":{"type":"string","pattern":"^[a-f0-9]{64}$"},"accepted":{"type":"boolean"},"previewUrl":{"type":"string","description":"Server-generated same-origin authenticated PNG path"}}},"VibeBridgeRegistration":{"type":"object","required":["workerId","tenantId","protocol","previewTransport","pollAfterSeconds"],"properties":{"workerId":{"type":"string"},"tenantId":{"type":"string"},"protocol":{"type":"string","enum":["itt-vibe-worker-v1"]},"previewTransport":{"type":"string","enum":["png-push"]},"pollAfterSeconds":{"type":"integer","enum":[5]}}},"VibeBridgeWorkerState":{"type":"object","required":["workerId","tenantId","state","sessionId"],"properties":{"workerId":{"type":"string"},"tenantId":{"type":"string"},"state":{"type":"string"},"sessionId":{"type":"string","nullable":true}}},"VibeTenantOption":{"type":"object","required":["tenant_id","enabled","operator_enabled","paid","action","status","container","branding","logo_asset_path","hmac_binding_name","retain_data"],"properties":{"tenant_id":{"type":"string","maxLength":64},"enabled":{"type":"boolean","description":"Tenant-admin opt-in; default false"},"operator_enabled":{"type":"boolean","description":"Server-config opt-in VIBECODING_CUSTOMER_CONTAINER_TENANTS"},"paid":{"type":"boolean"},"subscription_valid_until":{"type":"string","nullable":true},"action":{"type":"string","enum":["provision","deprovision"]},"status":{"type":"string","enum":["active","teardown"]},"container":{"type":"string","enum":["itt-vibecoding"]},"branding":{"type":"string","enum":["ITT VibeCoding"]},"logo_asset_path":{"type":"string"},"hmac_binding_name":{"type":"string","nullable":true,"description":"Binding name only; never the secret"},"retain_data":{"type":"boolean","enum":[true]},"updated_at":{"type":"string","nullable":true},"annotation":{"type":"string","nullable":true}}},"VibeTenantOptionResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/VibeTenantOption"}}},"VideoFields":{"type":"object","additionalProperties":false,"minProperties":1,"properties":{"unit_id":{"type":"integer","minimum":1,"nullable":true},"typ":{"type":"string","minLength":1},"url":{"type":"string","format":"uri"},"bezeichnung_de":{"type":"string","minLength":1},"bezeichnung_en":{"type":"string","minLength":1},"bezeichnung_es":{"type":"string","minLength":1},"aktiv":{"type":"integer","enum":[0,1]}}},"VideoInput":{"allOf":[{"$ref":"#/components/schemas/VideoFields"}],"required":["typ","url","bezeichnung_de","bezeichnung_en","bezeichnung_es"]},"VmAccess":{"type":"object","required":["principalId","tenantAdmin","grants"],"properties":{"principalId":{"type":"string"},"tenantAdmin":{"type":"boolean"},"grants":{"type":"array","items":{"$ref":"#/components/schemas/VmGrant"}}}},"VmAuditEntry":{"type":"object","required":["id","actorId","operationId","serverId","state","createdAt"],"properties":{"id":{"type":"string"},"actorId":{"type":"string"},"operationId":{"type":"string"},"serverId":{"type":"string","nullable":true},"state":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"executionId":{"type":"string","format":"uuid"}}},"VmAuditPage":{"type":"object","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/VmAuditEntry"}},"total":{"type":"integer"}}},"VmConfirm":{"type":"object","additionalProperties":false,"required":["confirmed"],"properties":{"confirmed":{"type":"boolean","enum":[true]}}},"VmConnection":{"type":"object","required":["connected"],"properties":{"connected":{"type":"boolean"},"userId":{"type":"string"}}},"VmCreateGrant":{"type":"object","additionalProperties":false,"required":["userId","serverId","role","confirmed"],"properties":{"userId":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"},"serverId":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"role":{"type":"string","enum":["viewer","operator","admin"]},"confirmed":{"type":"boolean","enum":[true]}}},"VmError":{"type":"object","required":["error","code"],"properties":{"error":{"type":"string"},"code":{"type":"string"},"executionId":{"type":"string","format":"uuid"}}},"VmExecution":{"type":"object","required":["id","actorId","operationId","serverId","providerTaskId","state","statusCode","errorCode","createdAt","updatedAt"],"properties":{"id":{"type":"string","format":"uuid"},"actorId":{"type":"string"},"operationId":{"type":"string"},"serverId":{"type":"string","nullable":true},"providerTaskId":{"type":"string","format":"uuid","nullable":true},"state":{"$ref":"#/components/schemas/VmExecutionState"},"statusCode":{"type":"integer","nullable":true},"errorCode":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"VmExecutionPage":{"type":"object","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/VmExecution"}},"total":{"type":"integer"}}},"VmExecutionState":{"type":"string","enum":["queued","running","succeeded","failed","unknown","cancelled"]},"VmGrant":{"type":"object","required":["id","userId","serverId","role"],"properties":{"id":{"type":"string","format":"uuid"},"userId":{"type":"string"},"serverId":{"type":"string"},"role":{"type":"string","enum":["viewer","operator","admin"]}}},"VmOperation":{"type":"object","required":["id","method","path","summary","description","group","mutating","parameters"],"properties":{"id":{"type":"string"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"]},"path":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"group":{"type":"string"},"mutating":{"type":"boolean"},"parameters":{"type":"array","items":{"type":"object","required":["name","in","required","description","schema"],"properties":{"name":{"type":"string"},"in":{"type":"string","enum":["path","query"]},"required":{"type":"boolean"},"description":{"type":"string"},"schema":{"type":"object","additionalProperties":true},"style":{"type":"string"},"explode":{"type":"boolean"}}}},"requestBody":{"type":"object","required":["required","schema"],"properties":{"required":{"type":"boolean"},"schema":{"type":"object","additionalProperties":true},"contentType":{"type":"string"}}}}},"Vorgang":{"type":"object","properties":{"id":{"type":"string","description":"Unique case identifier"},"vorgangstypId":{"type":"string","description":"Reference to the case type"},"vorgangstypName":{"type":"string","description":"Resolved name of the case type"},"orgUnitId":{"type":"string","description":"Assigned organization unit"},"orgUnitName":{"type":"string","description":"Resolved name of the org unit"},"status":{"type":"string","enum":["offen","in_bearbeitung","erledigt"],"description":"Current status of the case"},"bearbeiterId":{"type":"string","description":"ID of the assigned processor"},"bearbeiterName":{"type":"string","description":"Name of the assigned processor"},"properties":{"type":"object","additionalProperties":true,"description":"Dynamic properties as key-value pairs"},"eingangsdatum":{"type":"string","format":"date","description":"Date the case was received"},"kohorte":{"type":"integer","description":"Year extracted from eingangsdatum for cohort grouping"},"erledigungsdatum":{"type":"string","format":"date","nullable":true,"description":"Date the case was completed (null if still open)"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"deletedAt":{"type":"string","format":"date-time","nullable":true,"description":"Soft-delete timestamp (only present if deleted)"},"deletedBy":{"type":"string","nullable":true,"description":"User who soft-deleted the case"},"permanentDeleteAt":{"type":"string","format":"date-time","nullable":true,"description":"Scheduled permanent deletion date (30 days after soft-delete)"}},"required":["id","vorgangstypId","orgUnitId","status","eingangsdatum","createdAt","updatedAt"]},"VorgangCreateRequest":{"type":"object","properties":{"orgUnitId":{"type":"string","description":"Target organization unit"},"vorgangstypId":{"type":"string","description":"Case type identifier"},"eingangsdatum":{"type":"string","format":"date","description":"Reception date"},"status":{"type":"string","enum":["offen","in_bearbeitung","erledigt"],"default":"offen","description":"Initial status"},"bearbeiterId":{"type":"string","description":"Assigned processor ID"},"bearbeiterName":{"type":"string","description":"Assigned processor display name"},"erledigungsdatum":{"type":"string","format":"date","nullable":true,"description":"Completion date (if already completed)"},"properties":{"type":"object","additionalProperties":true,"description":"Dynamic properties matching the case type schema"}},"required":["orgUnitId","vorgangstypId","eingangsdatum"]},"VorgangUpdateRequest":{"type":"object","properties":{"status":{"type":"string","enum":["offen","in_bearbeitung","erledigt"],"description":"Updated status"},"erledigungsdatum":{"type":"string","format":"date","nullable":true,"description":"Completion date"},"properties":{"type":"object","additionalProperties":true,"description":"Updated dynamic properties"}},"description":"At least one field must be provided"},"Vorgangstyp":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","example":"typ-meldebescheinigung"},"name":{"type":"string","description":"Display name","example":"Meldebescheinigung"},"description":{"type":"string","nullable":true,"description":"Detailed description of the case type"},"properties":{"type":"array","items":{"$ref":"#/components/schemas/VorgangstypProperty"},"description":"Configurable properties for this case type"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","properties","createdAt","updatedAt"]},"VorgangstypProperty":{"type":"object","properties":{"id":{"type":"string","description":"Property key identifier","example":"kanal"},"name":{"type":"string","description":"Human-readable property name","example":"Kanal"},"dataType":{"type":"string","enum":["text","select","number","date","boolean"],"description":"Data type of the property"},"required":{"type":"boolean","description":"Whether this property is mandatory"},"sortOrder":{"type":"integer","description":"Display order"},"options":{"type":"array","items":{"type":"string"},"description":"Available options (only for select data type)"}},"required":["id","name","dataType","required","sortOrder"]},"VoteResponse":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/FeatureRequest"},"voted":{"type":"boolean"}}},"VoucherLedgerEvent":{"type":"object","required":["kind","economic_date","pool_ref","currency","origin","evidence_status","source_document_id","source_locator","source_sha256"],"properties":{"valid_until":{"type":"string","nullable":true},"issue_date":{"type":"string","nullable":true},"payroll_month":{"type":"string","nullable":true},"employee_ref":{"type":"string","nullable":true},"booking_id":{"type":"string","nullable":true},"payroll_run_id":{"type":"string","nullable":true},"rule_event_id":{"type":"string","nullable":true},"supersedes_id":{"type":"string","nullable":true},"kind":{"type":"string","enum":["opening","closing","purchase","return","issue","sale","outflow","funding","monthly_rule","payroll_evidence","gift","contract","reversal"]},"economic_date":{"type":"string","pattern":"^\\d{4}-\\d{2}(-\\d{2})?$","description":"Evidenced month or day; precision is retained, no date is invented."},"pool_ref":{"type":"string"},"currency":{"type":"string"},"origin":{"type":"string","enum":["original","owner","derived"]},"evidence_status":{"type":"string","enum":["supported","conditional","conflict"]},"stock_status":{"type":"string","enum":["unposted","confirmed"]},"contract_state":{"type":"string","enum":["active","inactive","unknown"]},"source_document_id":{"type":"string"},"source_locator":{"type":"string"},"source_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"amount_cents":{"type":"integer","minimum":0,"maximum":999999999999,"nullable":true},"pool_confirmed":{"type":"boolean","default":false}}},"WalletBalance":{"type":"object","properties":{"currency":{"type":"string","example":"EUR"},"totalCents":{"type":"integer"},"refundableCents":{"type":"integer"},"nonRefundableCents":{"type":"integer"},"heldCents":{"type":"integer"},"heldRefundableCents":{"type":"integer"},"heldNonRefundableCents":{"type":"integer"},"availableCents":{"type":"integer"},"availableRefundableCents":{"type":"integer"},"availableNonRefundableCents":{"type":"integer"}}},"WalletLedgerEntry":{"type":"object","properties":{"id":{"type":"integer"},"operationId":{"type":"string"},"type":{"type":"string"},"kind":{"type":"string","enum":["refundable","non_refundable"]},"amountCents":{"type":"integer","description":"Signed: credit > 0, debit < 0"},"balanceAfterCents":{"type":"integer","nullable":true},"source":{"type":"object","nullable":true,"properties":{"type":{"type":"string","nullable":true},"id":{"type":"string","nullable":true}}},"priceKey":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"createdAt":{"type":"string"},"expiresAt":{"type":"string","nullable":true},"pending":{"type":"boolean"}}},"WalletOperation":{"type":"object","properties":{"operationId":{"type":"string"},"type":{"type":"string"},"amountCents":{"type":"integer"},"split":{"type":"object","properties":{"non_refundable":{"type":"integer"},"refundable":{"type":"integer"}}},"replayed":{"type":"boolean"},"balance":{"$ref":"#/components/schemas/WalletBalance"}}},"WalletOverviewEnvelope":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"allOf":[{"$ref":"#/components/schemas/WalletBalance"},{"type":"object","properties":{"chargesEnforced":{"type":"boolean"},"holds":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"priceKey":{"type":"string","nullable":true},"amountCents":{"type":"integer"},"status":{"type":"string"},"expiresAt":{"type":"string"}}}},"expiringNonRefundable":{"type":"array","items":{"type":"object","properties":{"entryId":{"type":"integer"},"amountCents":{"type":"integer"},"expiresAt":{"type":"string"}}}}}}]}}},"Waypoint":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"trip_id":{"type":"integer"},"latitude":{"type":"number"},"longitude":{"type":"number"},"timestamp":{"type":"string","format":"date-time"}}},"WaypointCreateRequest":{"type":"object","description":"Names the trip by trip_id, or (#40717) for a trip recorded offline by trip_client_ref, the client_ref of its queued creation; one of the two is required.","required":["latitude","longitude","timestamp"],"properties":{"trip_id":{"type":"integer","minimum":1},"trip_client_ref":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,64}$"},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180},"timestamp":{"type":"string","format":"date-time"}}},"WaypointListResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Waypoint"}},"total":{"type":"integer"},"limit":{"type":"integer"},"offset":{"type":"integer"}}},"WaypointResponse":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"$ref":"#/components/schemas/Waypoint"}}},"WeatherAlert":{"type":"object","properties":{"code":{"type":"string","enum":["thunderstorm","heavy_rain","storm_gusts","hail","snow"]},"severity":{"type":"string","enum":["watch","warning"]},"atLat":{"type":"number"},"atLng":{"type":"number"},"distanceKm":{"type":"number"},"anticipated":{"type":"boolean"},"etaMinutes":{"type":"integer","description":"Only present for anticipated (projected) points"},"detail":{"type":"string"}}},"WebVitalIngestResult":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"recorded":{"type":"boolean"}}}}},"WebVitalMeasurement":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","enum":["CLS","FCP","FID","INP","LCP","TTFB"]},"value":{"type":"number"},"delta":{"type":"number"},"rating":{"type":"string","enum":["good","needs-improvement","poor"]},"route":{"type":"string"},"navigationType":{"type":"string","nullable":true}}},"Webhook":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"secret":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["portal.listing.created","portal.listing.updated","portal.listing.deleted","portal.listing.expired","portal.inquiry.received","portal.inquiry.replied","portal.user.registered","portal.user.deleted","portal.user.updated","invoicing.invoice.created","invoicing.invoice.updated","invoicing.invoice.sent","invoicing.invoice.paid","invoicing.invoice.overdue","invoicing.invoice.cancelled","invoicing.invoice.deleted","order.created","order.updated","order.approved","order.paid","order.shipped","order.delivered","order.completed","order.cancelled","customer.registered","customer.updated","customer.deleted","subscription.created","subscription.changed","subscription.cancelled","subscription.renewed","payment.received","payment.failed","inventory.stock.changed","timetracking.checkin","timetracking.checkout","support.ticket.created","support.ticket.updated","support.ticket.resolved","support.ticket.closed","booking.created","booking.confirmed","booking.cancelled","ext_erp.proposal.applied","ext_erp.entity.synced"]}},"is_active":{"type":"integer","enum":[0,1]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"WebhookDelivery":{"type":"object","properties":{"id":{"type":"integer"},"webhook_id":{"type":"integer"},"event_type":{"type":"string"},"payload":{"type":"string"},"status":{"type":"string","enum":["pending","success","failed"]},"response_code":{"type":"integer","nullable":true},"response_body":{"type":"string","nullable":true},"attempts":{"type":"integer"},"next_retry_at":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"}}},"WeeeCategory":{"type":"integer","minimum":1,"maximum":6,"description":"Stiftung-EAR device category (1..6)."},"WeeePlacement":{"type":"object","description":"One stored electronics placement row.","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"placed_at":{"type":"string"},"category":{"$ref":"#/components/schemas/WeeeCategory"},"units":{"type":"integer"},"weight_kg":{"type":"number"},"product_label":{"type":"string"},"ear_brand_id":{"type":"string","nullable":true},"notes":{"type":"string"}}},"WeeePlacementRequest":{"type":"object","required":["category"],"description":"At least one of units / weight_kg must be positive; both must be non-negative.\n","properties":{"category":{"$ref":"#/components/schemas/WeeeCategory"},"units":{"type":"integer","minimum":0,"description":"Number of devices placed."},"weight_kg":{"type":"number","minimum":0,"description":"Total mass in kilograms (physical, not money)."},"product_label":{"type":"string"},"ear_brand_id":{"type":"string","nullable":true,"description":"Optional Stiftung-EAR brand registration id."},"placed_at":{"type":"string","description":"Placement timestamp; defaults to now when omitted."},"notes":{"type":"string"}}},"WeeePlacementResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/WeeePlacement"}}},"WeeeReport":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"period":{"type":"string","example":"2026-Q1"},"status":{"type":"string","example":"computed"},"computed_at":{"type":"string"},"totals":{"type":"array","items":{"$ref":"#/components/schemas/WeeeReportTotal"}}}},"WeeeReportResponse":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/WeeeReport"}}},"WeeeReportTotal":{"type":"object","properties":{"category":{"$ref":"#/components/schemas/WeeeCategory"},"units":{"type":"integer"},"weight_kg":{"type":"number"}}},"WeighRequest":{"type":"object","required":["weight_g"],"properties":{"weight_g":{"type":"integer","minimum":0,"example":1230,"description":"Tatsaechlich gemessenes Gewicht in Gramm (inkl. Karton + Items,\nohne Filler). Wird gegen `totals.expected_weight_g` +/- Toleranz\nverglichen.\n"},"override":{"type":"boolean","default":false,"description":"Wenn `true`: out-of-tolerance Reading wird trotzdem akzeptiert\nund mit Override-Flag im Audit-Trail vermerkt. Setzt Operator-\nPermission voraus.\n"}}},"WeighResponse":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/PickSessionState"},"tolerance":{"$ref":"#/components/schemas/Tolerance"},"expected_g":{"type":"integer","example":1200},"actual_g":{"type":"integer","example":1230},"delta_g":{"type":"integer","example":30}}},"WerbungskostenArt":{"type":"object","required":["art","bezeichnung","betrag_cents"],"properties":{"art":{"type":"string"},"bezeichnung":{"type":"string"},"betrag_cents":{"type":"string","pattern":"^-?[0-9]+$"}}},"WhatIf_Explanation":{"type":"object","description":"Explain-module shape: type whatif_scenario, id, field (metric key), label, status, amountCents, recomputedCents, consistent, highlightStep, steps [{id, kind, label, valueCents, formula?, source? {type,id,label}}], anomalies, hiddenSteps, lang, text {source: template, summary}"},"WindowCreateRequest":{"type":"object","required":["work_center_id","period_start","period_end","available_minutes"],"properties":{"work_center_id":{"type":"string"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"available_minutes":{"type":"integer","minimum":0}}},"WiringEndpoint":{"type":"object","additionalProperties":false,"required":["module","schema","tenantId"],"properties":{"module":{"type":"string","example":"Webhooks"},"schema":{"type":"string","example":"InboundWebhookPayloadV1"},"tenantId":{"type":"string","example":"default"}}},"WiringRatchetMeasurement":{"type":"object","required":["ok","profile","schema","tenant_id","baseline_sha256","types","baseline","befreiungen","regressions","measured_types","required_measured_types","green"],"properties":{"ok":{"type":"boolean","enum":[true]},"profile":{"type":"string"},"schema":{"type":"string","enum":["wiring-orphan-ratchet/v1"]},"tenant_id":{"type":"string"},"baseline_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"generatedAt":{"type":"string","format":"date-time"},"baselineFile":{"type":"string"},"measured_types":{"type":"integer","minimum":0},"required_measured_types":{"type":"integer","minimum":30},"green":{"type":"boolean","description":"False on a regression or fewer than 30 measured node types."},"types":{"type":"object","additionalProperties":{"type":"object","required":["state"],"properties":{"state":{"type":"string","enum":["gemessen","nicht_messbar"]},"total":{"type":"integer","minimum":0},"missing":{"type":"integer","minimum":0},"unproven":{"type":"integer","minimum":0},"reason":{"type":"string"}}}},"baseline":{"type":"object","additionalProperties":{"type":"integer","minimum":0}},"befreiungen":{"type":"object","additionalProperties":{"type":"string"}},"regressions":{"type":"array","items":{"type":"object","required":["type","baseline","measured"],"properties":{"type":{"type":"string"},"baseline":{"type":"integer","minimum":0},"measured":{"type":"integer","minimum":0}}}}}},"WiringSimulationRequest":{"type":"object","additionalProperties":false,"required":["source","target"],"properties":{"source":{"$ref":"#/components/schemas/WiringEndpoint"},"target":{"$ref":"#/components/schemas/WiringEndpoint"},"locale":{"type":"string","enum":["de","en","es"],"default":"de"}}},"Wish":{"type":"object","required":["area","date_from","date_to","budget_cents"],"properties":{"area":{"type":"string","enum":["ostsee","nordsee","ijsselmeer","bodensee","kroatien","griechenland","balearen","kanaren","italien","frankreich","tuerkei","karibik"]},"date_from":{"type":"string","format":"date"},"date_to":{"type":"string","format":"date"},"budget_cents":{"type":"integer","minimum":0,"maximum":1000000,"description":"Budget per berth in cents"},"level":{"type":"string","enum":["any","beginner","intermediate","experienced"]}}},"WorkCenterCreateRequest":{"type":"object","required":["code","name"],"properties":{"code":{"type":"string"},"name":{"type":"string"},"daily_minutes_capacity":{"type":"integer","minimum":0}}},"WorkDistribution":{"type":"object","description":"Integer minutes per weekday; the sum must equal weekly_hours.","additionalProperties":false,"properties":{"monday":{"type":"integer","minimum":0,"maximum":1440},"tuesday":{"type":"integer","minimum":0,"maximum":1440},"wednesday":{"type":"integer","minimum":0,"maximum":1440},"thursday":{"type":"integer","minimum":0,"maximum":1440},"friday":{"type":"integer","minimum":0,"maximum":1440},"saturday":{"type":"integer","minimum":0,"maximum":1440},"sunday":{"type":"integer","minimum":0,"maximum":1440}}},"WorkerJob":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["voice_transcribe","llm_chat","document_ocr"]},"target_hint":{"type":"string","nullable":true},"tenant_id":{"type":"string"},"input":{"type":"object","nullable":true,"description":"Parsed chat payload, null for voice jobs"},"audio_url":{"type":"string","nullable":true,"description":"Absolute URL to stream audio bytes"},"artifact_url":{"type":"string","nullable":true,"description":"Absolute URL to stream the claimed input artifact"},"audio_mime":{"type":"string","nullable":true},"audio_bytes":{"type":"integer","nullable":true},"created_at":{"type":"string","format":"date-time"},"claimed_at":{"type":"string","format":"date-time"},"claim_generation":{"type":"string","nullable":true,"description":"Server-made identity of this claim; new on every claim, kept by heartbeats."}}},"WorkflowAutomationError":{"type":"object","properties":{"error":{"type":"string"}}},"WorkflowExecution":{"type":"object","properties":{"id":{"type":"string"},"executionId":{"type":"string"},"workflowId":{"type":"string"},"workflowName":{"type":"string"},"status":{"type":"string"},"startedAt":{"type":"string","nullable":true},"completedAt":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"triggerData":{"type":"object","additionalProperties":true},"steps":{"type":"array","items":{"type":"object","additionalProperties":true}},"nodeResults":{"type":"array","items":{"type":"object","additionalProperties":true}},"logs":{"type":"array","items":{"type":"object","additionalProperties":true}},"duration":{"type":"integer"},"shadow":{"type":"boolean","description":"True when all side-effect nodes were recorded without mutation."},"hypotheticalActions":{"type":"array","description":"Full resolved action payloads recorded by a shadow execution.","items":{"type":"object","required":["nodeId","type","payload","recordedAt"],"properties":{"nodeId":{"type":"string"},"type":{"type":"string","enum":["http_request","send_email","module_action"]},"payload":{"type":"object","additionalProperties":true},"recordedAt":{"type":"string","format":"date-time"}}}}}},"WorkflowRunSummary":{"type":"object","properties":{"id":{"type":"string"},"executionId":{"type":"string"},"workflowId":{"type":"string"},"workflowName":{"type":"string"},"status":{"type":"string","enum":["pending","running","paused","completed","failed"]},"startedAt":{"type":"string","nullable":true},"completedAt":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"stepCount":{"type":"integer"},"failedSteps":{"type":"array","items":{"type":"object","additionalProperties":true}}}},"WorkingHourDto":{"type":"object","properties":{"id":{"type":"integer","nullable":true},"employeeId":{"type":"integer"},"userId":{"type":"integer","nullable":true,"description":"Alias fuer employeeId"},"account":{"type":"string","default":"Arbeit","x-pii":{"category":"contact","strategy":"freetext_pii"}},"documentId":{"type":"string","nullable":true,"description":"Der Beleg (Stundenzettel), aus dem diese Zeile gelesen wurde. Wird beim Schreiben als document_links-Kante festgehalten (Verfassung §1.8). Ueberschreibt im Batch das documentId des Envelopes. Fremder Mandant -> 422 unknown_document.\n"},"date":{"type":"string","format":"date"},"start":{"type":"string","nullable":true,"description":"HH:MM:SS"},"end":{"type":"string","nullable":true,"description":"HH:MM:SS"},"breakMinutes":{"type":"integer","default":0},"breaks":{"type":"array","description":"Manuelle Pausenfenster; werden kanonisch als breaks_json persistiert","items":{"type":"object","required":["start","end"],"properties":{"start":{"type":"string","example":"12:00"},"end":{"type":"string","example":"12:30"}}}},"notes":{"type":"string","nullable":true,"x-pii":{"category":"contact","strategy":"freetext_pii"}},"isCalculateEnabled":{"type":"boolean","default":true},"isHomeoffice":{"type":"boolean","default":false},"clientId":{"type":"string","nullable":true},"projectId":{"type":"string","nullable":true},"projectName":{"type":"string","default":"","x-pii":{"category":"contact","strategy":"freetext_pii"}},"hourlyRate":{"type":"number","format":"double","minimum":0,"nullable":true},"currency":{"type":"string","default":"EUR","example":"EUR"},"isBillable":{"type":"boolean","default":false},"invoiceId":{"type":"string","nullable":true},"invoicedAt":{"type":"string","format":"date-time","nullable":true},"duration":{"type":"string","nullable":true,"description":"HH:MM - Dauer (brutto)"},"breakDeduction":{"type":"string","nullable":true,"description":"HH:MM - Pausenabzug"},"durationValid":{"type":"string","nullable":true,"description":"HH:MM - Dauer (gueltig/netto)"},"capped":{"type":"string","nullable":true,"description":"HH:MM - Gesamte Abzuege (Pause + Kappung)"},"capTime":{"type":"string","nullable":true,"description":"HH:MM - Kappzeit (ueber Maximum)"},"targetWorkTime":{"type":"string","nullable":true,"description":"HH:MM - Tages-Soll z.B. 8:30"},"maximumHours":{"type":"string","nullable":true,"description":"HH:MM - Tages-Maximum z.B. 10:00"},"cumulated":{"type":"string","nullable":true,"description":"HH:MM - Kumuliert (gueltige Zeit)"},"accountBalance":{"type":"string","nullable":true,"description":"HH:MM - Stundenkontostand (kann negativ sein)"},"cumulatedWork":{"type":"string","nullable":true,"description":"HH:MM - Kumuliert Arbeit (regulaere Arbeitszeit)"},"accountBalanceWork":{"type":"string","nullable":true,"description":"HH:MM - Stundenkontostand Arbeit"},"cumulatedOvertimePlus":{"type":"string","nullable":true,"description":"HH:MM - Kumuliert Ueberstunden+"},"accountBalanceOvertimePlus":{"type":"string","nullable":true,"description":"HH:MM - Stundenkontostand Ueberstunden+"},"cumulatedOvertimeMinus":{"type":"string","nullable":true,"description":"HH:MM - Kumuliert Ueberstunden- (Minusstunden)"},"accountBalanceOvertimeMinus":{"type":"string","nullable":true,"description":"HH:MM - Stundenkontostand Ueberstunden-"},"durationSeconds":{"type":"integer","nullable":true},"validSeconds":{"type":"integer","nullable":true},"targetSeconds":{"type":"integer","nullable":true},"maximumSeconds":{"type":"integer","nullable":true},"capTimeSeconds":{"type":"integer","nullable":true},"workSeconds":{"type":"integer","nullable":true},"overtimePlusSeconds":{"type":"integer","nullable":true},"overtimeMinusSeconds":{"type":"integer","nullable":true},"cumulatedSeconds":{"type":"integer","nullable":true},"accountBalanceSeconds":{"type":"integer","nullable":true}},"required":["employeeId","account","date"]},"WorkingHourImportError":{"type":"object","description":"Fehler-Envelope; error ist der stabile maschinenlesbare Code.","required":["error","message"],"properties":{"error":{"type":"string","enum":["invalid_json","invalid_request","idempotency_conflict","empty_batch","batch_too_large","rate_limited","idempotency_unavailable","import_commit_failed","projection_pending"]},"message":{"type":"string","description":"Menschenlesbarer Text; Clients steuern ausschließlich über error."}}},"WorkingHourImportRequest":{"type":"object","description":"Batch-Import-Envelope (#A2). dryRun defaults TRUE — Vorschau und Commit teilen denselben Code-Pfad (Validierung, Overlap, GoBD-Monatssperre), Parity gilt per Konstruktion.\n","required":["entries"],"properties":{"entries":{"type":"array","maxItems":500,"description":"Max. 500 Zeilen pro Batch (mehr → 422 batch_too_large)","items":{"$ref":"#/components/schemas/WorkingHourDto"}},"dryRun":{"type":"boolean","default":true,"description":"true = nur validieren/berichten, nichts schreiben"},"stopOnError":{"type":"boolean","default":false,"description":"true = beim ersten Zeilenfehler abbrechen (stopped=true)"},"allowNewAccounts":{"type":"boolean","default":false,"description":"Striktes Quell-Konto-Gate: Standardmäßig muss jede Zeile, die ein Zeitkonto BENENNT, ein dem Mandanten bekanntes Konto nennen (kanonische Aliase, Konten aus Regulierungen/Arbeitsregeln oder bereits gespeicherte Einträge) — sonst Zeilenfehler unknown_account. true = neue Konten bewusst zulassen\n"},"documentId":{"type":"string","description":"Der Stundenzettel, aus dem dieser Batch gelesen wurde (Verfassung §1.8). Jede angelegte Zeile hält diese Quelle SOFORT als document_links-Kante fest, damit sie nicht später rekonstruiert werden muss; eine einzelne Zeile darf per eigenem documentId einen anderen Beleg nennen, wenn ein Upload mehrere Monate umfasst. Eine Dokument-Id, die nicht diesem Mandanten gehört, wird mit 422 unknown_document abgelehnt, BEVOR eine Zeile geschrieben wird. (fingerprint-relevant nur wenn gesetzt).\n"}}},"WorkingHourImportResult":{"type":"object","description":"Batch-Ergebnis; Teilerfolg ist ein Ergebnis, kein Fehler (HTTP 200)","properties":{"dry_run":{"type":"boolean"},"stop_on_error":{"type":"boolean"},"count":{"type":"integer","description":"Anzahl verarbeiteter Zeilen"},"created":{"type":"integer"},"would_create":{"type":"integer"},"skipped_duplicate":{"type":"integer"},"errors":{"type":"integer"},"stopped":{"type":"boolean","description":"true wenn stopOnError abgebrochen hat"},"atomic":{"type":"boolean","description":"true bei Commits mit Idempotency-Key-Header: der Batch ist all-or-none — EIN Zeilenfehler rollt den GESAMTEN Batch zurück (created=0, rolled_back=N, HTTP 200) und gibt den Idempotency-Claim für einen korrigierten Retry frei.\n"},"rolled_back":{"type":"integer","description":"Anzahl Zeilen, die bereits angelegt waren und durch den All-or-none-Rollback zurückgerollt wurden (nur bei atomic=true und errors>0).\n"},"replayed":{"type":"boolean","description":"true wenn der Idempotency-Key-Header einen bereits committeten Batch referenziert — das vollständig gespeicherte Ergebnis wird unverändert zurückgegeben (Transportfehler können sicher wiederholt werden)\n"},"results":{"type":"array","items":{"$ref":"#/components/schemas/WorkingHourImportRowResult"}}}},"WorkingHourImportRowResult":{"type":"object","description":"Pro-Zeile-Ergebnis (ImportResult-Vokabular wie ErpImport)","required":["row","status"],"properties":{"row":{"type":"integer","description":"0-basierter Index in entries"},"status":{"type":"string","enum":["created","would_create","skipped_duplicate","error","rolled_back","not_processed"],"description":"rolled_back / not_processed erscheinen nur nach einem All-or-none-Rollback eines keyed Commits: rolled_back = Zeile war angelegt und wurde zurückgerollt; not_processed = Zeile wurde wegen stopOnError nie verarbeitet.\n"},"id":{"type":"integer","description":"ID der (bereits) angelegten Zeile"},"field":{"type":"string","description":"Betroffenes Feld bei error"},"message":{"type":"string","description":"Maschinenlesbarer Fehlercode, z. B. overlap, month_closed, beginAfterEnd, invalid date, unknown_account, employee_access_denied. Persistenzfehler werden nie als unspezifisches row_failed verschluckt, sondern tragen einen stabilen Untercode wie persistence_constraint, persistence_schema_mismatch oder event_append_failed.\n"}}},"WorkloadFlowAnalysis_ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[false]},"error":{"type":"string","description":"Machine-readable error code"},"message":{"type":"string","description":"Human-readable error description"}},"required":["success","error","message"]},"WorkloadFlowAnalysis_Pagination":{"type":"object","properties":{"page":{"type":"integer","minimum":1},"pageSize":{"type":"integer","minimum":1,"maximum":500},"totalCount":{"type":"integer","minimum":0},"totalPages":{"type":"integer","minimum":0}},"required":["page","pageSize","totalCount","totalPages"]},"WorkloadFlowAnalysis_SuccessResponse":{"type":"object","properties":{"success":{"type":"boolean","enum":[true]}},"required":["success"]},"WorkloadMetrics":{"type":"object","properties":{"orgUnitId":{"type":"string"},"orgUnitName":{"type":"string"},"orgUnitType":{"type":"string","enum":["bereich","abteilung","team"]},"period":{"$ref":"#/components/schemas/Period"},"metrics":{"type":"object","properties":{"anfangsbestand":{"type":"integer","description":"Opening stock — cases open at period start"},"zugaenge":{"type":"integer","description":"Inflows — cases received during the period"},"erledigungen":{"type":"integer","description":"Completions — cases completed during the period"},"endbestand":{"type":"integer","description":"Closing stock (anfangsbestand + zugaenge - erledigungen)"},"nettoveraenderung":{"type":"integer","description":"Net change (zugaenge - erledigungen)"},"durchsatz":{"type":"number","format":"float","description":"Throughput ratio (erledigungen / zugaenge)"},"reichweite":{"type":"number","format":"float","nullable":true,"description":"Months of stock based on average monthly completions"}},"required":["anfangsbestand","zugaenge","erledigungen","endbestand","nettoveraenderung","durchsatz"]},"trend":{"type":"object","properties":{"endbestandChange":{"type":"number","format":"float"},"durchsatzChange":{"type":"number","format":"float"}}},"children":{"type":"array","items":{"$ref":"#/components/schemas/WorkloadMetrics"},"description":"Recursive child org unit metrics (when includeChildren is true)"}},"required":["orgUnitId","orgUnitName","orgUnitType","period","metrics","trend"]},"WorkloadMetricsRequest":{"type":"object","properties":{"orgUnitIds":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Org unit IDs to compute metrics for"},"from":{"type":"string","format":"date","description":"Period start (inclusive)"},"to":{"type":"string","format":"date","description":"Period end (inclusive)"},"includeChildren":{"type":"boolean","default":true,"description":"Whether to include child org units recursively"}},"required":["orgUnitIds","from","to"]},"WorkspacePlan":{"type":"object","nullable":true,"description":"Only for a `request`/`plan` source: the deterministic plan of one sentence — matched templates with confidence, facts (team size), every item with the reason it was chosen and whether it is selected, the app settings still to check (links to the tenant setup; never set here) and a plan id for `itt environments apply --plan`.\n","properties":{"source":{"type":"string","enum":["rules","rules+local-model"]},"confidence":{"type":"number","minimum":0,"maximum":1},"confidenceLevel":{"type":"string","enum":["high","medium","low"]},"intents":{"type":"array","items":{"type":"object","properties":{"template":{"type":"string"},"title":{"type":"string"},"icon":{"type":"string"},"confidence":{"type":"number"},"matched":{"type":"array","items":{"type":"string"}},"parts":{"type":"array","items":{"type":"string","enum":["all","boards","dashboards"]}},"via":{"type":"string","enum":["rules","local-model"]},"reason":{"type":"string"}}}},"facts":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"integer"},"reason":{"type":"string"}}}},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"board:auftraege"},"kind":{"type":"string","enum":["board","dashboard","automation","form","view","recipe","app","leadWidget"]},"key":{"type":"string"},"label":{"type":"string"},"template":{"type":"string"},"reason":{"type":"string"},"status":{"type":"string","enum":["ok","needs_input","unavailable"]},"selected":{"type":"boolean"},"excludedBy":{"type":"string"},"note":{"type":"string"},"needs":{"type":"string","enum":["website","price-calculator"]},"href":{"type":"string"}}}},"setupSteps":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"reason":{"type":"string"},"href":{"type":"string"},"status":{"type":"string","enum":["check"]}}}},"exclude":{"type":"array","items":{"type":"string"}},"planId":{"type":"string"},"refine":{"type":"object","properties":{"status":{"type":"string"},"templates":{"type":"array","items":{"type":"string"}}}}}},"YearEndClosingPreview":{"type":"object","required":["jahr","schema","tenant_id","period","vorschlaege","hinweise","zaehlung","eingaben","digest"],"properties":{"jahr":{"type":"integer"},"schema":{"type":"string"},"tenant_id":{"type":"string"},"period":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"}}},"vorschlaege":{"type":"array","items":{"type":"object","additionalProperties":true}},"hinweise":{"type":"array","items":{"type":"object","additionalProperties":true}},"zaehlung":{"type":"object","additionalProperties":true},"eingaben":{"type":"object","additionalProperties":true},"digest":{"type":"string"}}},"YearEndTakeoverRequest":{"type":"object","required":["year","document_id","rows","storno_booking_ids"],"properties":{"year":{"type":"integer","minimum":2000,"maximum":2099},"document_id":{"type":"string","minLength":1},"storno_booking_ids":{"type":"array","maxItems":500,"items":{"type":"string","pattern":"^[0-9]{1,18}$"}},"rows":{"type":"array","maxItems":500,"items":{"type":"object","additionalProperties":false,"required":["nr","datum","soll","haben","betrag_cents","belegart","buchungstext"],"properties":{"nr":{"type":"integer","minimum":1},"datum":{"type":"string","format":"date"},"soll":{"type":"string","pattern":"^[0-9]{3,9}$"},"haben":{"type":"string","pattern":"^[0-9]{3,9}$"},"betrag_cents":{"type":"integer","minimum":1},"belegart":{"type":"string","enum":["ER","BA","BE","AR","UB","AB"]},"buchungstext":{"type":"string","minLength":1,"maxLength":240}}}}}},"ZeroTouchDocuments_Document":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"source":{"type":"string","enum":["upload","email","watch_folder","api"]},"doc_type":{"type":"string","enum":["invoice","delivery_note","contract"]},"file_name":{"type":"string"},"file_sha256":{"type":"string","nullable":true},"supplier_name":{"type":"string","nullable":true},"supplier_vat_id":{"type":"string","nullable":true},"supplier_known":{"type":"boolean"},"doc_number":{"type":"string","nullable":true},"doc_date":{"type":"string","nullable":true},"order_reference":{"type":"string","nullable":true},"matched_order_id":{"type":"string","nullable":true},"match_basis":{"type":"string","nullable":true},"total_amount_cents":{"type":"integer","nullable":true},"net_amount_cents":{"type":"integer","nullable":true},"tax_amount_cents":{"type":"integer","nullable":true},"currency":{"type":"string"},"extracted":{"type":"object","additionalProperties":true,"nullable":true},"filing_path":{"type":"string","nullable":true},"draft_booking":{"type":"object","additionalProperties":true,"nullable":true},"posted_booking_ref":{"type":"string","nullable":true},"confidence":{"type":"integer","minimum":0,"maximum":100},"confidence_factors":{"type":"object","additionalProperties":true,"nullable":true},"status":{"type":"string","enum":["auto_completed","exception","approved","rejected"]},"exception_reasons":{"type":"array","nullable":true,"items":{"type":"object","additionalProperties":true}},"decided_by":{"type":"string","nullable":true},"decided_at":{"type":"string","nullable":true},"decision_note":{"type":"string","nullable":true},"created_at":{"type":"string"},"processed_at":{"type":"string","nullable":true},"log":{"type":"array","items":{"$ref":"#/components/schemas/LogEntry"}}}},"ZeroTouchDocuments_LogEntry":{"type":"object","properties":{"id":{"type":"integer"},"tenant_id":{"type":"string"},"document_id":{"type":"string","nullable":true},"rule_id":{"type":"string","nullable":true},"actor":{"type":"string"},"action":{"type":"string"},"details":{"type":"object","additionalProperties":true,"nullable":true},"created_at":{"type":"string"}}},"ZeroTouchDocuments_Rule":{"type":"object","properties":{"id":{"type":"string"},"tenant_id":{"type":"string"},"prompt":{"type":"string"},"rule_type":{"type":"string","enum":["new_supplier","amount_above","doc_type","supplier_match","confidence_below"]},"doc_type":{"type":"string","nullable":true},"threshold_cents":{"type":"integer","nullable":true},"supplier_pattern":{"type":"string","nullable":true},"max_confidence":{"type":"integer","nullable":true},"action":{"type":"string","enum":["review","auto"]},"active":{"type":"boolean"},"created_by":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"}}},"Zone":{"type":"object","required":["name","primary","email","ttl","records","revision"],"properties":{"name":{"type":"string"},"primary":{"type":"string"},"email":{"type":"string"},"ttl":{"type":"integer","minimum":0,"maximum":2147483647},"records":{"type":"array","items":{"$ref":"#/components/schemas/DnsRecord"}},"revision":{"type":"string"}}},"Zweck":{"type":"object","required":["text"],"properties":{"steuerart":{"type":["string","null"]},"station":{"type":["integer","null"],"description":"Tax-pilot station this blocks"},"feld":{"type":["string","null"]},"text":{"type":"string"}}},"_root_ProblemDetails":{"type":"object","description":"RFC 7807 problem response emitted by `App\\Http\\ProblemDetails`.","required":["type","title","status","detail"],"properties":{"type":{"type":"string","example":"/api/docs/errors#validation-failed"},"title":{"type":"string","example":"Validation failed"},"status":{"type":"integer","example":400},"detail":{"type":"string","example":"Field email is required."},"instance":{"type":"string","nullable":true,"example":"/api/example"},"code":{"type":"string","nullable":true,"example":"VALIDATION_FAILED"},"requestId":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"message":{"type":"string","nullable":true}}}},"securitySchemes":{"AccountingReportsJwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"AccountingReportsMachineKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound key carrying the dedicated accounting.reports:read scope."},"AdminBootstrapHmac":{"type":"apiKey","in":"header","name":"X-Migrations-Signature","description":"Public-route JWT bypass only. The caller must send the lowercase hex\nHMAC-SHA256 of the exact raw JSON request body using\n`ADMIN_MIGRATIONS_HMAC_SECRET`. A leading `sha256=` prefix is also\naccepted. When the secret is unset the handler fails closed with\nHTTP 503.\n"},"AdminMigrationsSignature":{"type":"apiKey","in":"header","name":"X-Migrations-Signature","description":"HMAC-SHA256 signature using `ADMIN_MIGRATIONS_HMAC_SECRET`. The module\naccepts either a bare hex digest or `sha256=<hex>`; the comparison is\nconstant-time against the lowercase hex digest.\n\nContract v2 is required by the tenant-backup and API-key bootstrap\nroutes (`X-Migrations-Signature-Version: 2`). Its length-framed payload\nbinds version, uppercase HTTP method, canonical URI path, server-owned\npurpose, timestamp, nonce, and exact raw body. Legacy migration-run and\nschema-verify automation remains on its explicitly documented v1\ncontract during caller migration; v1 signatures are never accepted by\nv2 routes.\nThe fixed `itt-financial-column-metadata` FK diagnostic scope also\nrequires v2 with purpose `admin-migrations:fk-diagnostic:itt-financial-column-metadata`.\nAll previously shipped FK diagnostic scopes retain their v1 contract.\nBoth of these headers are REQUIRED:\n  - `X-Migrations-Timestamp`: unix seconds; rejected (401) when more\n    than 300 s away from server time. Non-numeric → 400.\n  - `X-Migrations-Nonce`: opaque single-use token; a repeat inside the\n    freshness window is rejected (401, \"replay detected\").\nA captured signature+body pair therefore cannot be replayed.\n"},"AgentNotifyApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Constant-time comparison against the existing DOC_SHARE_API_KEY."},"ApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"ChatAgentPullHmac":{"type":"apiKey","in":"header","name":"X-Migrations-Signature","description":"Public-route JWT bypass only. External pull workers must send the\nlowercase hex HMAC-SHA256 of the exact raw JSON request body using\n`ADMIN_MIGRATIONS_HMAC_SECRET`. A leading `sha256=` prefix is also\naccepted. When the secret is unset the handler fails closed with\nHTTP 503.\n"},"CommerceBearer":{"type":"http","scheme":"bearer","bearerFormat":"opaque","description":"Optional for guest sessions; linked OAuth tokens are issuer-, tenant-, client- and subject-bound."},"CsrfToken":{"type":"apiKey","in":"header","name":"X-CSRF-Token","description":"Required on proposal mutations in addition to bearer auth. Supply the\nsigned CSRF header token as `X-CSRF-Token: <token.signature>`.\n"},"DeployToken":{"type":"apiKey","in":"header","name":"X-Deploy-Token","description":"Single-use deployment token uploaded by the deploy script in a\n`deployment-opcache-reset-*.txt` file. The handler consumes the token\nfile on success so the request cannot be replayed.\n\nThe token MUST be at least 32 characters (the deploy script writes a\nlong random hex value, >=128 bits); shorter tokens are rejected with\n403 before any filesystem lookup (#28007). The token file is looked up\nonly under a single resolved deploy root, never a broad ancestor-walk\nglob (#28017). The route is rate-limited to 5 requests / 60 s.\n"},"DocumentLinksReadApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key with document-links:read."},"DocumentLinksWriteApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key with document-links:write."},"DocumentManagerBearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT or PAT"},"DocumentManagerTenantApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key carrying the documents:read scope."},"DocumentsDeleteApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key with the dedicated documents:delete scope."},"DocumentsJwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"DocumentsReadApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key with the documents:read scope."},"DocumentsTenantApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key with the documents:upload scope."},"DoubleEntryTenantApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key with the accounting.booking-stapel:write scope."},"OwnerApprovalBearer":{"type":"http","scheme":"bearer","bearerFormat":"owner-approval-pull-token"},"OwnerInboxSignature":{"type":"apiKey","in":"header","name":"X-Owner-Inbox-Signature"},"PortalSyncHmac":{"type":"apiKey","in":"header","name":"X-Portal-Sync-Signature"},"ReplicationApiKey":{"type":"apiKey","in":"header","name":"X-Api-Key"},"ReservationOpsCookie":{"type":"apiKey","in":"cookie","name":"auth_token","description":"Verified workspace session; tenant membership and app permission required. Writes also require X-CSRF-Token."},"ReservationOpsInstallKey":{"type":"apiKey","in":"header","name":"X-ReservationOps-Key","description":"Existing single install key bound to its configured tenant."},"SmarthomeEventApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"TenantAdminBearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT or PAT"},"TenantApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"TenantMembersApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Tenant-bound machine key carrying the users:read scope."},"TodoDocumentsApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"UstZuarbeitJwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"UstZuarbeitMachineKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Mandantengebundener Schluessel mit genau dem Scope accounting.vat-ledger:read. Streng lesend; die Bindung des Schluessels an seinen Mandanten ist massgeblich und kann per X-Tenant-Id nicht ueberschrieben, nur bestaetigt werden.\n"},"VibeWorkerHmac":{"type":"apiKey","in":"header","name":"X-Vibe-Signature","description":"Lowercase hex HMAC-SHA256 over ITT-VIBE-WORKER-HMAC-V1 canonical request. Dedicated identity key; timestamp, nonce, worker and tenant headers are signed."},"WiringRatchetSignature":{"type":"apiKey","in":"header","name":"X-Migrations-Signature","description":"HMAC-SHA256 v2 over method, exact path, purpose admin-migrations:wiring-ratchet, timestamp, nonce and raw body. The nonce is consumed once."},"WorkflowWebhookHmac":{"type":"apiKey","in":"header","name":"X-Webhook-Signature","description":"Public-route JWT bypass only. Callers must send the lowercase hex\nHMAC-SHA256 of the exact raw JSON request body using\n`WORKFLOW_AUTOMATION_WEBHOOK_SECRET`. A leading `sha256=` prefix is\nalso accepted. When the secret is unset the handler fails closed with\nHTTP 503.\n"},"WorkshopPortalToken":{"type":"apiKey","in":"header","name":"X-Customer-Portal-Token"},"accommodationCustomerBearer":{"type":"http","scheme":"bearer","description":"Accommodation customer session token, not an operator JWT."},"accommodationCustomerCookie":{"type":"apiKey","in":"cookie","name":"customer_session","description":"HttpOnly customer session on local HTTP development sites."},"accommodationCustomerSecureCookie":{"type":"apiKey","in":"cookie","name":"__Host-customer_session","description":"Secure HttpOnly customer session on HTTPS sites."},"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Kanonischer Tenant-API-Key für Machine-to-Machine-Aufrufe. Dieser Header ist erforderlich, wenn ein vorgeschalteter Webserver Authorization für genau ein syntaktisch gültiges HTTP-Basic-Credential verwendet; dieses bleibt unverändert. Validiert werden die von Slim PSR-7 normalisierten Headerwerte; normales äußeres HTTP OWS ist danach nicht mehr sichtbar und wird daher akzeptiert. Der normalisierte Headerwert muss genau ein kanonischer Key nach dem Muster itt_k + 8 oder 16 kleingeschriebene Hex-Zeichen + _live_ + 32 kleingeschriebene Hex-Zeichen sein, ohne internen Leerraum oder Komma. Alternativ bleibt genau ein Authorization: Bearer itt_k... (Scheme case-insensitive, exakt ein internes ASCII-Leerzeichen) unterstützt. Auch Basic erfordert exakt ein internes ASCII-Leerzeichen. Andere, doppelte oder kombinierte Credentials sind unzulässig."},"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"basicAuth":{"type":"http","scheme":"basic"},"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Bearer JWT; Scopes werden per Claims ausgewertet (Policy Engine)."},"bookingImportKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"customerPortalAccountToken":{"type":"apiKey","in":"header","name":"X-Customer-Portal-Token","description":"Read-only portal-account link token (cpa_…), valid only on the four customer-area GET routes."},"cutoverHumanCookie":{"type":"apiKey","in":"cookie","name":"auth_token","description":"Existing human-admin auth cookie; mutating requests require existing CSRF protection."},"cutoverHumanJwt":{"type":"http","scheme":"bearer","bearerFormat":"Human JWT","description":"Existing human-admin JWT with lifecycle, tracked session and MFA safeguards."},"docShareApiKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Constant-time compare against DOC_SHARE_API_KEY or any entry in DOC_SHARE_PUBLISHER_KEYS (ConfigLoader). Publisher keys are docshare-only: they authorize this surface and no other."},"docShareQuestionAuditKey":{"type":"apiKey","in":"header","name":"X-Question-Audit-Key","description":"Separate review capability. It must not equal any publisher key; the server derives reviewer identity from configuration and issues a short-lived HMAC token for one exact question version."},"edgeBasicAuth":{"type":"http","scheme":"basic"},"outerBasic":{"type":"http","scheme":"basic","description":"Outer server protection; required together with the tenant API key for provider calls."},"platformChangelogImportKey":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Existing tenant-bound API key with literal changelog.manage scope; import only, never the read view."},"platformReleaseAdminKey":{"type":"apiKey","in":"header","name":"X-Platform-Release-Admin-Key","description":"Secondary platform administration key; never replaces session authentication or the admin role."},"platformReleaseCronHeaderKey":{"type":"apiKey","in":"header","name":"X-Cron-Key"},"platformReleaseCronQueryKey":{"type":"apiKey","in":"query","name":"key"},"platformReleasePublishKey":{"type":"apiKey","in":"header","name":"X-Platform-Release-Key","description":"Bundle-bound publish key; also requires the matching X-Platform-Release-Bundle header. No session JWT required."},"podControlKey":{"type":"apiKey","in":"header","name":"X-Pod-Control-Key","description":"Shared secret from the site's `.env` (POD_CONTROL_RESTART_API_KEY), compared with hash_equals(). Never stored in code, image or repository.\n"},"prepaidAgentBearer":{"type":"http","scheme":"bearer","bearerFormat":"itt_agt_","description":"Scoped communication:chat key issued only after settled prepaid order"},"scimBearer":{"type":"http","scheme":"bearer","bearerFormat":"SCIM token","description":"Tenant-scoped bearer token issued for SCIM provisioning."},"sseNonce":{"type":"apiKey","in":"query","name":"token","description":"Short-lived single-use nonce returned by POST /api/realtime/sse-token."},"tenantApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"},"uploadScannerBearer":{"type":"http","scheme":"bearer","description":"Dedicated server-provisioned scanner credential, valid only for these routes"},"workerAuth":{"type":"http","scheme":"bearer","description":"Send `Authorization: Bearer <unix-timestamp>.<hex-hmac-sha256>`, where the HMAC input is `<unix-timestamp>\\n<X-Worker-Id>` and the HMAC key is the trimmed `AI_BG_WORKER_TOKEN` shared secret. Tokens expire after `AI_BG_WORKER_TOKEN_TTL_SECONDS` (default 300s). `X-Worker-Id` is required, and the source-IP allowlist (`AI_BG_WORKER_IPS`) is enforced fail-closed: a non-matching IP, or an empty allowlist in production without `AI_BG_WORKER_ALLOW_OPEN=1`, is rejected with 403. The allowlist is evaluated against the raw peer IP; `X-Forwarded-For` is honoured only when `AI_BG_WORKER_TRUST_FORWARDED=1` and the peer is in `AI_BG_WORKER_TRUSTED_PROXIES`, so a spoofed `X-Forwarded-For` cannot bypass it (#28004).\n"},"workerHeaderAuth":{"type":"apiKey","in":"header","name":"X-AI-Worker-Authorization","description":"Additive carrier for the exact same rotating Bearer proof used by `workerAuth`. Use it when an upstream HTTP Basic gate owns `Authorization`; all HMAC, TTL, worker-id, IP and tenant checks remain unchanged.\n"},"workerSignature":{"type":"apiKey","in":"header","name":"X-AI-Worker-Signature","description":"Ed25519 per-request signature (owner 2026-10-06). Headers `X-AI-Worker-Key` (machine name), `X-AI-Worker-Timestamp` (unix s, at most 60 s off), `X-AI-Worker-Nonce` (16..128 [A-Za-z0-9_-], single use) and `X-AI-Worker-Signature` (base64) over the lines `ITT-AI-WORKER-ED25519-V1`, host, METHOD, path?query, sha256-hex(body), timestamp, nonce, X-Worker-Id, machine name. The site holds only public keys (`AI_BG_WORKER_ED25519_KEYS`); a signed request needs neither the HMAC bearer nor the IP allowlist, and its worker id becomes `<machine>:<X-Worker-Id>`. 401 worker_signature_incomplete / _stale / _invalid, worker_key_unknown, worker_nonce_replayed; never a fallback to the HMAC path.\n"}},"parameters":{"X-Tenant-Id":{"name":"X-Tenant-Id","in":"header","required":false,"description":"Optionaler Tenant-Override; normal aus Token.","schema":{"type":"string"}},"X-Trace-Id":{"name":"X-Trace-Id","in":"header","required":false,"description":"Korrelation für Logs/Metriken.","schema":{"type":"string"}},"page":{"name":"page","in":"query","required":false,"description":"Seitenindex","schema":{"type":"integer","minimum":1,"default":1}},"size":{"name":"size","in":"query","required":false,"description":"Seitengröße","schema":{"type":"integer","minimum":1,"maximum":200,"default":20}},"sort":{"name":"sort","in":"query","required":false,"description":"Sortierkriterium","schema":{"type":"string"}},"TenantConfirmation":{"name":"X-Tenant-Id","in":"header","required":true,"description":"Exact fewo confirmation; it cannot override the API key's server-side tenant binding.","schema":{"type":"string","enum":["fewo"]}},"TenantHeader":{"name":"X-Tenant-Id","in":"header","required":true,"description":"Canonical tenant or registered alias; membership/key binding remains authoritative.","schema":{"type":"string","minLength":1,"maxLength":100}},"ConditionalImportIdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"Required when dryRun is false or omitted because the request can persist statement data. Optional only when dryRun=true, which parses and validates without reconciliation or other business-data writes; API-key previews still write batch/audit control-plane evidence for deterministic replay and, when configured, owner approval. Stable retry semantics and changed-content rejection match the mandatory IdempotencyKey contract below.\n","schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z0-9._:-]+$"}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"Stable retry key for this exact request. Reusing a key with a changed JSON body or uploaded statement is invalid; generate a new key when any request content changes.\n","schema":{"type":"string","minLength":1,"maxLength":128,"pattern":"^[a-zA-Z0-9._:-]+$"}},"FiscalYearLabel":{"name":"year","in":"query","required":false,"description":"Fiscal-year end label; overrides from/to (for example, 2025 means 2024-12-01 through 2025-11-30 for a December-start tenant).","schema":{"type":"integer","minimum":1900,"maximum":2200}},"FromDate":{"name":"from","in":"query","required":false,"description":"Required together with to unless year is supplied.","schema":{"type":"string","format":"date"}},"ToDate":{"name":"to","in":"query","required":false,"description":"Required together with from unless year is supplied.","schema":{"type":"string","format":"date"}},"Mode":{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},"Format":{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","csv"],"default":"json"}},"TenantAssertion":{"name":"X-Tenant-Id","in":"header","required":false,"description":"Optional assertion for machine calls. When supplied it must equal the key's stored tenant binding; a mismatch fails with 403 and never switches the key to another tenant.\n","schema":{"type":"string","example":"tenant-a"}},"AccountId":{"name":"accountId","in":"path","required":true,"schema":{"type":"string","example":"1200"}},"AccountFilter":{"name":"accountFilter","in":"query","required":false,"schema":{"type":"string","enum":["sachkonto","debitor","kreditor"]}},"Year":{"name":"year","in":"query","required":true,"schema":{"type":"integer","minimum":2000,"maximum":2100,"example":2026}},"Page":{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1}},"PageSize":{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":1000,"default":100}},"UserId":{"name":"userId","in":"path","required":true,"description":"Positive integer ID of the target user account.","schema":{"type":"integer","minimum":1}},"BundleId":{"name":"bundleId","in":"path","required":true,"description":"Bundle identifier from the backend bundle catalog.","schema":{"type":"string","enum":["maritime","buha","portal","fewo","zeit","handwerk","shop"]}},"ModuleId":{"name":"moduleId","in":"path","required":true,"schema":{"type":"string"}},"ResourceId":{"in":"path","name":"id","required":true,"schema":{"type":"integer","minimum":1}},"Limit":{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}},"AgentId":{"in":"query","name":"agentId","schema":{"type":"string"}},"SubjectId":{"in":"query","name":"subjectId","schema":{"type":"string"}},"SubjectType":{"in":"query","name":"subjectType","schema":{"type":"string","enum":["usage","escrow"]}},"UsageStatus":{"in":"query","name":"status","schema":{"type":"string","enum":["pending","billed","waived"]}},"EscrowStatus":{"in":"query","name":"status","schema":{"type":"string","enum":["pending_approval","locked","released","refunded","disputed","cancelled"]}},"SessionId":{"name":"id","in":"path","required":true,"schema":{"type":"string"}},"UcpAgent":{"name":"UCP-Agent","in":"header","required":false,"description":"RFC 8941 dictionary, profile=\"<https URL of the platform UCP profile>\".","schema":{"type":"string"}},"FeatureUsageSince":{"name":"since","in":"query","required":false,"description":"First day (YYYY-MM-DD) or a window like 30d (default 30d, at most 400 days)","schema":{"type":"string","example":"30d"}},"FeatureUsageUntil":{"name":"until","in":"query","required":false,"description":"Last day (YYYY-MM-DD, default today, UTC)","schema":{"type":"string","example":"2026-10-27"}},"FeatureUsageApp":{"name":"app","in":"query","required":false,"description":"Only this app id","schema":{"type":"string","example":"invoicing"}},"FindingId":{"name":"findingId","in":"path","required":true,"schema":{"type":"string"}},"AppointmentWorkId":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},"CsrfToken":{"name":"X-CSRF-Token","in":"header","required":true,"schema":{"type":"string"},"description":"CSRF token required by mutating offset-run routes."},"RunId":{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Offset run identifier."},"PartnerId":{"name":"partnerId","in":"path","required":true,"schema":{"type":"string"},"description":"Business-partner identifier (both debtor and creditor)."},"TenantId":{"name":"X-Tenant-Id","in":"header","required":true,"description":"Tenant identifier for multi-tenancy isolation","schema":{"type":"string","example":"default"}},"CronKeyHeader":{"name":"X-Cron-Key","in":"header","required":false,"description":"Site CRON_KEY (alternatively the `key` query parameter)","schema":{"type":"string"}},"DriveLeaseName":{"name":"lease","in":"query","required":false,"schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_.:-]{0,79}$","default":"job-drive"}},"CronMaxSeconds":{"name":"max_seconds","in":"query","required":false,"description":"Wall-clock budget of the tick. No new tenant, processor, task or job\nstarts after it; the remainder is reported as deferred and runs on a\nlater tick. Values are clamped to 1..300; non-numeric values answer 400.\n","schema":{"type":"integer","minimum":1,"maximum":300,"default":55}},"CronTenantFilter":{"name":"tenant","in":"query","required":false,"schema":{"type":"string"}},"GuaranteeId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1},"description":"Bank guarantee id."},"StatementId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"TransactionId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"HostingCommitmentId":{"name":"id","in":"path","required":true,"description":"Opaque hosting association ID; quote ID and service ID are identical","schema":{"type":"string","pattern":"^[a-f0-9]{32}$"}},"ChoreoTenantId":{"name":"X-Tenant-Id","in":"header","required":false,"description":"Tenant identifier (resolved from JWT in production).","schema":{"type":"string","example":"default"}},"CommerceTenantId":{"name":"X-Tenant-Id","in":"header","required":true,"description":"Tenant identifier for multi-tenancy isolation","schema":{"type":"string","example":"default"}},"Offset":{"name":"offset","in":"query","schema":{"type":"integer","default":0,"minimum":0}},"EmailLedgerStatus":{"name":"status","in":"query","schema":{"$ref":"#/components/schemas/EmailLedgerStatus"}},"EmailLedgerKind":{"name":"kind","in":"query","schema":{"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9_.:-]{0,127}$"}},"EmailLedgerFrom":{"name":"from","in":"query","description":"Inclusive UTC lower bound on updated_at, exactly YYYY-MM-DDTHH:mm:ssZ","schema":{"type":"string","format":"date-time"}},"EmailLedgerTo":{"name":"to","in":"query","description":"Inclusive UTC upper bound on updated_at, exactly YYYY-MM-DDTHH:mm:ssZ","schema":{"type":"string","format":"date-time"}},"EmailLedgerLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"EmailLedgerOffset":{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"maximum":1000000,"default":0}},"Period":{"name":"period","in":"path","required":true,"schema":{"type":"string","pattern":"^\\d{4}-H[12]$"},"description":"Half-year period, \"YYYY-Hn\" (n = 1 or 2), e.g. 2026-H1."},"ContractsLifecycleId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"CustomerAreaPage":{"name":"page","in":"query","required":false,"description":"Token path only (default 1).","schema":{"type":"integer","minimum":1,"default":1}},"CustomerAreaSize":{"name":"size","in":"query","required":false,"description":"Token path only (default 20, at most 100).","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},"InvoiceId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"PortalToken":{"name":"X-Customer-Portal-Token","in":"header","required":true,"description":"The secret link token (cp_…); the page keeps it in the URL fragment.","schema":{"type":"string"}},"Id":{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},"DocumentId":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":128}},"customerId":{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},"BranchId":{"in":"path","name":"branchId","required":true,"schema":{"type":"string","minLength":1}},"OptionalBranchId":{"in":"query","name":"branchId","required":false,"schema":{"type":"string","minLength":1}},"OptionalFromDate":{"in":"query","name":"from","required":false,"schema":{"type":"string","format":"date"}},"OptionalToDate":{"in":"query","name":"to","required":false,"schema":{"type":"string","format":"date"}},"Granularity":{"in":"query","name":"granularity","required":true,"schema":{"type":"string","enum":["day","month"]}},"TopDayLimit":{"in":"query","name":false,"required":true,"schema":{"type":"integer","minimum":1,"maximum":366}},"ModuleName":{"name":"module","in":"path","required":true,"description":"Module name (must be in the whitelist)","schema":{"type":"string","enum":["accounting","skipper-logbuch","salary-calculator","calendar-widget","classifieds"],"example":"accounting"}},"RecordId":{"name":"id","in":"path","required":true,"description":"Record UUID","schema":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440000"}},"Provider":{"name":"provider","in":"query","required":false,"schema":{"type":"string"},"description":"DNS provider adapter (GET /api/dns/providers; alias p4t)"},"Account":{"name":"account","in":"query","required":false,"schema":{"type":"string","default":"default","pattern":"^[a-z0-9][a-z0-9-]{0,30}$"},"description":"credential profile (operator config; never credentials)"},"Zone":{"name":"zone","in":"path","required":true,"schema":{"type":"string","example":"example.org"}},"docSlug":{"in":"path","name":"slug","required":true,"schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,190}$"}},"assetFilename":{"in":"path","name":"filename","required":true,"schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{0,190}$"}},"tenantHeader":{"in":"header","name":"X-Tenant-Id","required":false,"schema":{"type":"string"},"description":"Optional assertion against the authenticated publishing tenant. A mismatch returns 422 TENANT_MISMATCH; omission uses the server-resolved tenant."},"agentName":{"in":"header","name":"X-Agent-Name","required":false,"schema":{"type":"string","maxLength":120},"description":"Author label recorded on versions/chat/shares (default \"agent\")."},"checklistFilter":{"in":"query","name":"filter","required":false,"schema":{"type":"string","enum":["all","open","done"],"default":"all"},"description":"Restrict the returned items. `summary` always covers the WHOLE list, never the filtered subset."},"checklistItemKey":{"in":"path","name":"itemKey","required":true,"schema":{"type":"string","maxLength":64},"description":"Stable item identity from the checklist GET. Either `id.<anchor>` when the markdown line carries an explicit `<!-- id:… -->` anchor, or `<32 hex chars>.<ordinal>` derived from the normalized item text. Never a line number — line numbers shift on every doc re-push.\n"},"questionKey":{"in":"path","name":"questionKey","required":true,"schema":{"type":"string","maxLength":64},"description":"Stable question identity, preferably from `<!-- id:… -->`."},"ArchiveFilename":{"name":"filename","in":"query","required":false,"description":"Partial filename or title match","schema":{"type":"string"}},"ArchiveDateFrom":{"name":"date_from","in":"query","required":false,"description":"Inclusive archive date lower bound (YYYY-MM-DD or ISO 8601)","schema":{"type":"string","example":"2026-04-01"}},"ArchiveDateTo":{"name":"date_to","in":"query","required":false,"description":"Inclusive archive date upper bound (YYYY-MM-DD or ISO 8601)","schema":{"type":"string","example":"2026-04-30"}},"ArchiveDocumentType":{"name":"document_type","in":"query","required":false,"description":"Exact archived document type","schema":{"type":"string","example":"invoice"}},"ArchiveContent":{"name":"content","in":"query","required":false,"description":"Case-insensitive full-text match against archived file contents","schema":{"type":"string"}},"Domain":{"name":"domain","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9-]+(\\.[a-z0-9-]+)+$"}},"ContactId":{"name":"contactId","in":"path","required":true,"schema":{"type":"string","maxLength":191}},"JobId":{"name":"jobId","in":"path","required":true,"schema":{"type":"string","maxLength":191}},"Cursor":{"name":"cursor","in":"query","schema":{"type":"string","maxLength":191}},"DateFrom":{"name":"date_from","in":"query","required":false,"description":"Start date filter (inclusive, YYYY-MM-DD)","schema":{"type":"string","format":"date","example":"2025-01-01"}},"DateTo":{"name":"date_to","in":"query","required":false,"description":"End date filter (inclusive, YYYY-MM-DD)","schema":{"type":"string","format":"date","example":"2025-12-31"}},"CompanyName":{"name":"company_name","in":"query","required":false,"description":"Company name for PDF header","schema":{"type":"string","default":"Unternehmen"}},"DoubleEntryFrom":{"name":"from","in":"query","required":true,"schema":{"type":"string","format":"date"}},"DoubleEntryTo":{"name":"to","in":"query","required":true,"schema":{"type":"string","format":"date"}},"DoubleEntryDateFrom":{"name":"date_from","in":"query","required":true,"schema":{"type":"string","format":"date"}},"DoubleEntryDateTo":{"name":"date_to","in":"query","required":true,"schema":{"type":"string","format":"date"}},"EntityId":{"name":"id","in":"path","required":true,"schema":{"type":"string"}},"ErpCalendarCsrfToken":{"name":"X-CSRF-Token","in":"header","required":true,"description":"CSRF protection token (CsrfMiddleware) for mutating requests","schema":{"type":"string"}},"ReminderId":{"name":"reminderId","in":"path","required":true,"schema":{"type":"string"}},"AuditId":{"name":"auditId","in":"path","required":true,"schema":{"type":"string"}},"PolicyId":{"name":"policyId","in":"path","required":true,"schema":{"type":"string"}},"RequestId":{"name":"requestId","in":"path","required":true,"schema":{"type":"string"}},"AssessmentId":{"name":"assessmentId","in":"path","required":true,"schema":{"type":"string"}},"TreatmentId":{"name":"treatmentId","in":"path","required":true,"schema":{"type":"string"}},"ProgramId":{"name":"programId","in":"path","required":true,"schema":{"type":"string"}},"AssignmentId":{"name":"assignmentId","in":"path","required":true,"schema":{"type":"string"}},"ErpFleetCsrfToken":{"name":"X-CSRF-Token","in":"header","required":true,"description":"CSRF protection token (CsrfMiddleware) for mutating requests","schema":{"type":"string"}},"ErpHrCsrfToken":{"name":"X-CSRF-Token","in":"header","required":true,"description":"CSRF protection token (CsrfMiddleware) for mutating requests","schema":{"type":"string"}},"PlanId":{"name":"planId","in":"path","required":true,"schema":{"type":"integer"}},"EnrolmentId":{"name":"enrolmentId","in":"path","required":true,"schema":{"type":"integer"}},"BandId":{"name":"bandId","in":"path","required":true,"schema":{"type":"integer"}},"EmployeeId":{"name":"employeeId","in":"path","required":true,"schema":{"type":"string"}},"ContractId":{"name":"contractId","in":"path","required":true,"schema":{"type":"string"}},"Jahr":{"name":"jahr","in":"query","description":"Reporting year","schema":{"type":"integer","minimum":1900,"maximum":2200}},"ArtMapping":{"name":"art_mapping","in":"query","style":"deepObject","explode":true,"description":"Tenant-specific category substring to Werbungskosten type mapping","schema":{"type":"object","additionalProperties":{"type":"string","enum":["afa","schuldzinsen","erhaltungsaufwand","betriebskosten","verwaltungskosten","versicherung","unbestimmt"]}}},"Afa":{"name":"afa","in":"query","style":"deepObject","explode":true,"description":"Property-keyed building share and annual AfA rate; both use basis points","schema":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/AfaConfig"}}},"ErpSubscriptionsCsrfToken":{"name":"X-CSRF-Token","in":"header","required":true,"description":"CSRF protection token (CsrfMiddleware) for mutating requests","schema":{"type":"string"}},"CuratedEntity":{"in":"path","name":"entity","required":true,"schema":{"type":"string","enum":["addresses","appointments","assets","bank_accounts","bank_guarantees","bank_statements","blanket_orders","bom","bookings","budgets","campaigns","categories","chart_of_accounts","competitors","contacts","contracts","cost_centers","cost_units","credit_notes","currencies","customers","delivery_notes","discounts","documents","email_campaigns","employees","goods_receipts","incoming_invoices","invoices","issues","item_prices","items","leads","lots","maintenance_schedules","maintenance_visits","manufacturers","manufacturing_orders","market_segments","material_requests","offers","opportunities","orders","packing_slips","payment_requests","payment_terms","payments","pick_lists","pos_invoices","pos_profiles","price_lists","production_plans","projects","purchase_offers","purchase_orders","quality_inspections","reminders","returns","sales_partners","sales_reps","serial_numbers","shipments","shipping_rules","stock_movements","stock_reconciliations","subcontracting_orders","subscriptions","supplier_quotations","supplier_scorecards","suppliers","tags","tasks","tax_rates","territories","timesheets","units_of_measure","variants","warehouse_locations","warehouses","warranty_claims"]}},"MappedFlag":{"in":"query","name":"mapped","description":"When true, response rows are translated from upstream field names to our local field names via the bundled entity mapper.","schema":{"type":"boolean","default":false}},"FahrtenbuchResourceId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"FahrtenbuchCsrfToken":{"name":"X-CSRF-Token","in":"header","required":true,"schema":{"type":"string","minLength":1}},"FeatureRequestId":{"name":"id","in":"path","required":true,"schema":{"type":"string"}},"FileIntegrityCsrf":{"name":"X-CSRF-Token","in":"header","required":true,"schema":{"type":"string","minLength":16},"description":"Must match the authenticated CSRF cookie/session token."},"Horizon":{"name":"horizon","in":"query","required":false,"description":"Forecast window in days; defaults to 30.","schema":{"type":"integer","enum":[30,60,90,91],"default":30}},"PathEmployeeId":{"name":"employeeId","in":"path","required":true,"schema":{"type":"string","minLength":1}},"PathIntegerId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"QueryDepartment":{"name":"department","in":"query","schema":{"type":"string"}},"QueryPayrollStatus":{"name":"payroll_status","in":"query","schema":{"type":"string"}},"QueryOnboardingStatus":{"name":"onboarding_status","in":"query","schema":{"type":"string"}},"QuerySearch":{"name":"search","in":"query","schema":{"type":"string"}},"PseudonymisiertFlag":{"name":"pseudonymisiert","in":"query","required":false,"description":"`1` verschaerft (jeder darf das, auch ein Echtdaten-Schluessel).\n`0` verlangt Klartext und ist NUR mit\n`communication.imap:read.echtdaten` erlaubt — ohne diesen Scope\nantwortet der Endpunkt mit 403, nie mit einem stillen Rueckfall auf\nPseudonyme. Ein unverstaendlicher Wert gilt als nicht angegeben.\nAlias: `pseudonymized`.\n","schema":{"type":"string","enum":["0","1","true","false","ja","nein","on","off","yes","no"]}},"InsightKey":{"in":"path","name":"key","required":true,"schema":{"type":"string","example":"lead-high-value:lead-1"},"description":"Item key `<detector>:<record id>` (URL-encoded)"},"ReportId":{"in":"path","name":"id","required":true,"schema":{"type":"integer","minimum":1}},"TemplateId":{"name":"id","in":"path","required":true,"schema":{"type":"integer"}},"LifeBookPeriod":{"in":"query","name":"period","description":"UTC calendar year or ISO week; defaults to current year","schema":{"type":"string","pattern":"^20[0-9]{2}(-W[0-9]{2})?$","example":"2026"}},"SchemaId":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1}},"LineId":{"name":"lineId","in":"path","required":true,"schema":{"type":"string","minLength":1}},"PeriodFromQuery":{"name":"from","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PeriodKey"}},"PeriodToQuery":{"name":"to","in":"query","required":false,"schema":{"$ref":"#/components/schemas/PeriodKey"}},"DebriefId":{"name":"id","in":"path","required":true,"schema":{"type":"string"}},"ChannelId":{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Messaging channel id scoped to the authenticated tenant."},"PerPage":{"name":"per_page","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"AgentRegistryProjectQuery":{"name":"project","in":"query","description":"Configured tenant-local project. Defaults to itt when neither selector is present. If the project header is also supplied it must match, otherwise 422.","schema":{"type":"string","pattern":"^[a-z][a-z0-9_-]{0,31}$"}},"AgentRegistryEntryId":{"name":"entryId","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9._-]{0,95}$"},"description":"Stable technical ID; never use a customer name or private path."},"AgentRegistryLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}},"LocationId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"TransferId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"RuleId":{"name":"id","in":"path","required":true,"description":"Notification rule ID","schema":{"type":"integer","example":1}},"BriefingTenant":{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}},"BriefingProduct":{"name":"productId","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"BriefingOrder":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"BriefingLine":{"name":"line","in":"path","required":true,"schema":{"type":"integer","minimum":0}},"ProductId":{"name":"productId","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"ImageId":{"name":"imageId","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"CommunityTenant":{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}},"OrderId":{"name":"id","in":"path","required":true,"description":"Shop order id.","schema":{"type":"integer","minimum":1}},"ReturnId":{"name":"id","in":"path","required":true,"description":"Return (RMA) id.","schema":{"type":"string","pattern":"^[A-Za-z0-9-]{1,64}$"}},"Source":{"name":"source","in":"query","schema":{"type":"string"}},"Status":{"name":"status","in":"query","schema":{"type":"string","enum":["pending","imported","unmatched","initiated","processing","succeeded","completed","matched","settled","reconciled","failed","refunded","disputed","cancelled","reversed","voided"]}},"From":{"name":"from","in":"query","schema":{"type":"string","format":"date"}},"To":{"name":"to","in":"query","schema":{"type":"string","format":"date"}},"InvoiceIdQuery":{"name":"invoice_id","in":"query","schema":{"type":"string"}},"PageNumber":{"name":"page","in":"query","required":false,"description":"1-basierte Seitennummer fuer Audit-Replay.","schema":{"type":"integer","minimum":1,"default":1}},"PickPackBalanceProposalId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"PickPackWaveId":{"name":"wid","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"PlatformReleaseBundleQuery":{"in":"query","name":"bundle_id","required":true,"schema":{"type":"string"},"description":"Known bundle identifier; an unknown or missing bundle is hidden with 404."},"PlatformReleaseChannelQuery":{"in":"query","name":"channel","schema":{"type":"string","default":""},"description":"Exact channel filter; an empty or unknown channel has no matching release."},"PlatformReleaseTenantReadKey":{"in":"header","name":"X-Platform-Tenant-Key","schema":{"type":"string"},"description":"Optional bundle-bound tenant read key. Missing reads public releases only; invalid, revoked or wrong-bundle keys are hidden with 404."},"PlatformReleaseBundlePath":{"in":"path","name":"bundle_id","required":true,"schema":{"type":"string"}},"PlatformReleaseTenantPath":{"in":"path","name":"tenant_id","required":true,"schema":{"type":"string","minLength":1,"pattern":"\\S"}},"PolicyScope":{"name":"scope","in":"query","required":false,"description":"platform, tenant (reseller or customer), user or a record scope such as listing","schema":{"type":"string","pattern":"^[a-z][a-z_]{1,15}$"}},"PolicyTenant":{"name":"tenant","in":"query","required":false,"description":"Another tenant level within reach (platform admin; reseller over its subtree)","schema":{"type":"string","maxLength":64}},"PolicyRef":{"name":"ref","in":"query","required":false,"description":"User id or record id of a user/record level","schema":{"type":"string","maxLength":64}},"PolicyUser":{"name":"user","in":"query","required":false,"description":"User of the context (effective values, blocks, owner of a record level)","schema":{"type":"string","maxLength":64}},"PolicyTarget":{"name":"target","in":"query","required":false,"description":"Subject of per-app/per-action keys: app:<id>, action:<id> or *","schema":{"type":"string","maxLength":80}},"AdminListingTenant":{"in":"path","name":"tenantId","required":true,"schema":{"type":"string"}},"BounceTenant":{"name":"tenantId","in":"path","required":true,"schema":{"type":"string","minLength":1}},"BounceCsrf":{"name":"X-CSRF-Token","in":"header","required":true,"schema":{"type":"string"}},"PricingSchemaId":{"name":"id","in":"path","required":true,"description":"Pricing schema identifier within the authenticated tenant.","schema":{"type":"string","minLength":1}},"ChoreoId":{"name":"choreoId","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":80}},"MirrorSite":{"name":"X-Replication-Site","in":"header","description":"Opt-in site registry credential scope; no operator-key fallback.","schema":{"type":"string","maxLength":64}},"MirrorSource":{"name":"X-Replication-Source-Instance","in":"header","description":"Required pinned source instance when X-Replication-Site is sent.","schema":{"type":"string","maxLength":64}},"ConsumerApplied":{"name":"applied","in":"query","required":false,"description":"Optional consumer ack (§9.1): the caller's durable applied cursor. Requires the X-Replication-Instance header; upserts the consumer row in replication_feed_consumers that bin/replication-prune.php derives its safe journal-retention bound from. Absent ⇒ nothing is written (backward compatible).","schema":{"type":"integer","format":"int64","minimum":0}},"ConsumerInstance":{"name":"X-Replication-Instance","in":"header","required":false,"description":"Stable consumer instance id (the replica's REPLICATION_INSTANCE_ID). Required whenever `applied` is sent; 400 when `applied` is present without a valid instance id.","schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9][A-Za-z0-9_.:-]{0,63}$"}},"FileMirrorSite":{"name":"site","in":"query","required":true,"description":"Explicit source-site identity; credentials are bound to exactly this registry entry.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,63}$"}},"LiveMirrorSite":{"name":"X-Replication-Site","in":"header","required":true,"description":"Registered site whose scoped read-only key is presented; the operator feed key is never accepted.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,63}$"}},"LiveMirrorSource":{"name":"X-Replication-Source-Instance","in":"header","required":true,"description":"Pinned source instance (REPLICATION_INSTANCE_ID of the source); mismatch is 409.","schema":{"type":"string","maxLength":64}},"LivePullId":{"name":"X-File-Mirror-Pull-Id","in":"header","required":true,"description":"Random 32-hex identifier shared by all requests of one pull (rate/concurrency gate, sampled success audit).","schema":{"type":"string","pattern":"^[0-9a-f]{32}$"}},"ReservationOpsGuestResource":{"name":"resource","in":"path","required":true,"schema":{"type":"string","enum":["units","keyboxes","keybox-codes","contacts","contact-labels","contact-absences","onsite-presences","videos"]}},"RetentionTenantId":{"name":"X-Tenant-Id","in":"header","required":true,"description":"Tenant identifier for multi-tenancy isolation","schema":{"type":"string","example":"default"}},"DestinationId":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"ServerId":{"name":"serverId","in":"path","required":true,"schema":{"type":"string","pattern":"^[0-9]+$"}},"Ip":{"name":"ip","in":"path","required":true,"schema":{"type":"string"},"description":"IPv4 or IPv6 address"},"WorkshopObjectId":{"in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":64}},"TripId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"Token":{"name":"token","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{24,128}$"}},"Lang":{"name":"lang","in":"query","required":false,"schema":{"type":"string","enum":["de","en","es","it"]}},"RadarTenantId":{"name":"X-Tenant-Id","in":"header","required":false,"description":"Tenant identifier (resolved from JWT in production).","schema":{"type":"string","example":"default"}},"TaxElsterOutboxId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"TaxZmId":{"name":"id","in":"path","required":true,"schema":{"type":"integer","minimum":1}},"Tenant":{"name":"tenant","in":"path","required":true,"schema":{"type":"string","minLength":1}},"TelegramBridgeChannelKey":{"name":"key","in":"path","required":true,"schema":{"type":"string","enum":["yacht-intelligence","ittcoding-feedback"]}},"Portal":{"name":"portal","in":"query","required":false,"schema":{"type":"string","example":"mitsegler-gesucht-de"}},"ListingId":{"name":"listingId","in":"path","required":true,"schema":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"DateId":{"name":"dateId","in":"path","required":true,"schema":{"type":"string","pattern":"^ctd_[a-f0-9]{24}$"}},"UploadScanId":{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"}},"UploadScanLeaseToken":{"name":"X-Upload-Scan-Lease-Token","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._~-]{16,512}$"}},"VibeWorkerId":{"in":"header","name":"X-Vibe-Worker-Id","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,64}$"}},"VibeTenantId":{"in":"header","name":"X-Vibe-Tenant-Id","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9._-]{1,64}$"}},"VibeTimestamp":{"in":"header","name":"X-Vibe-Timestamp","required":true,"schema":{"type":"string","pattern":"^[0-9]{1,12}$"}},"VibeNonce":{"in":"header","name":"X-Vibe-Nonce","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,128}$"}},"VmId":{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},"VmServer":{"name":"serverId","in":"query","schema":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"}},"VmState":{"name":"state","in":"query","schema":{"$ref":"#/components/schemas/VmExecutionState"}},"VmLimit":{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":100,"default":50}},"VmOffset":{"name":"offset","in":"query","schema":{"type":"integer","minimum":0,"maximum":999999999,"default":0}},"WebhookId":{"name":"id","in":"path","required":true,"description":"Webhook subscription ID","schema":{"type":"integer","example":1}},"WebhookSignature":{"name":"X-Webhook-Signature","in":"header","required":true,"description":"HMAC header in the form `sha256=<hex>` over `{timestamp}.{delivery_id}.{rawBody}`.","schema":{"type":"string","example":"sha256=4a932e2c7e6326f4b2d4dbb5c5e4b6ed35f22f4b6b6e0f339a8f35592e58f2a0"}},"WebhookTimestamp":{"name":"X-Webhook-Timestamp","in":"header","required":true,"description":"Unix timestamp in seconds. Receivers must reject requests outside the replay window and verify the same value was used in the HMAC payload.","schema":{"type":"string","pattern":"^[0-9]+$","example":"1763203200"}},"WebhookDeliveryId":{"name":"X-Webhook-Delivery-Id","in":"header","required":true,"description":"Stable delivery identifier included in the HMAC payload and stored for idempotent replay handling.","schema":{"type":"string","example":"wh_01jv3h7xv6q1m6d3zv2s9t6g2p"}},"CaseToken":{"name":"token","in":"path","required":true,"schema":{"type":"string","pattern":"^[a-fA-F0-9]{64}$"}},"WorkflowAutomationTenantId":{"name":"X-Tenant-Id","in":"header","required":true,"description":"Tenant identifier for multi-tenancy isolation","schema":{"type":"string","example":"default"}}},"responses":{"PlatformUnsupportedRequestMediaType":{"description":"The request body has an unsupported Content-Type. JSON endpoints accept application/json and application/*+json.","content":{"application/json":{"schema":{"type":"object","required":["status","code","message"],"properties":{"status":{"type":"string","enum":["error"]},"code":{"type":"string","enum":["UNSUPPORTED_MEDIA_TYPE"]},"message":{"type":"string"}}}}}}}},"tags":[{"name":"AccommodationCustomerAuth","description":"Customer-scoped OAuth login; distinct from operator SSO."},{"name":"AccommodationCustomerPortal","description":"Tenant-scoped data for a validated accommodation customer session."},{"name":"AccountingReports","description":"Read-only ledger and tax-verification reports."},{"name":"Admin","description":"Cross-tenant owner/admin account-management operations"},{"name":"AdminMessagingBootstrap","description":"Operator-only bootstrap endpoints that bypass JWT but still require HMAC"},{"name":"AdminMigrations","description":"HMAC-protected deploy automation endpoints"},{"name":"Agent Billing","description":"Tenant-bound usage metering and audit."},{"name":"Agent Escrow","description":"Tenant-bound escrow lifecycle and settlement."},{"name":"AgentAuth","description":"Agent bearer tokens, scope enforcement, and audit log."},{"name":"AgentDiscovery","description":"Public /.well-known discovery documents for agents."},{"name":"AgentOAuth","description":"OAuth 2.0 discovery, token and revocation endpoints for agent keys."},{"name":"AgentPrepaid","description":"Own prepaid public-information communication"},{"name":"Analytics","description":"Portal analytics dashboards"},{"name":"ApiDocs","description":"API documentation discovery and serving"},{"name":"ApiKeys","description":"Tenant API key CRUD and usage analytics."},{"name":"App Instances","description":"User app instance CRUD"},{"name":"ApprovalSync","description":"Push/pull/decision for the suggestions approval queue."},{"name":"ArApOffset","description":"AR/AP open-item offsetting runs"},{"name":"Archive","description":"Search archived business documents"},{"name":"Assist","description":"Quiet suggestions and service requests to the provider"},{"name":"Audit","description":"Audit trail"},{"name":"AuditLog","description":"Admin audit log"},{"name":"Auth","description":"Authentication and session management"},{"name":"BankGuarantees","description":"Bank guarantee register and expiry reminders"},{"name":"BankStatements"},{"name":"barcode","description":"Barcode/QR-Scanning-Workflows"},{"name":"Billing","description":"Billing- und Rechnungs-Endpunkte"},{"name":"Billing Trial","description":"Trial subscription management"},{"name":"Blocklist","description":"Blocked emails, whitelist, and problematic users"},{"name":"Boards","description":"Shared Kanban boards — scope, roles, versioned moves, presence."},{"name":"Branding","description":"Tenant branding customization"},{"name":"BundleDownload","description":"Token-gated bundle handoff downloads"},{"name":"Calculator","description":"Calculator history operations"},{"name":"Campaigns","description":"Email campaign CRUD, send, test, and statistics"},{"name":"CapabilityDirectory","description":"Tenant management of published capabilities and incoming subscriptions."},{"name":"CapabilityDirectoryPublic","description":"Unauthenticated discovery + subscribe surface for external agents."},{"name":"Cart","description":"Session-based shopping cart operations"},{"name":"CashVatJournals","description":"Cash-basis (Ist-Versteuerung) VAT journal reads and postings"},{"name":"Channels","description":"Notification channel management (create, update, delete, test)"},{"name":"Chat","description":"Chat-bezogene Endpunkte"},{"name":"ChatAgent","description":"AI chat agent endpoints"},{"name":"Checkout","description":"Order creation and payment processing"},{"name":"ChoreoMarketplace","description":"Marketplace listings, installs, approvals, and revenue share."},{"name":"CMS","description":"Portal CMS page management"},{"name":"Commerce","description":"Commerce analytics, bundles, sales, and inventory endpoints"},{"name":"ComplianceBattery","description":"Battery placements and statutory half-year EAR reports"},{"name":"ComplianceCopilot","description":"Living GDPR/GoBD/E-Rechnung compliance dossier with approval-gated fixes"},{"name":"ComplianceWeee","description":"WEEE placements and statutory quarterly EAR reports"},{"name":"Conflicts","description":"Conflict listing and resolution"},{"name":"Cron","description":"CRON_KEY-gated drive endpoints for FTPS sites without a system cron"},{"name":"Daily Revenue"},{"name":"DemoTakeover","description":"Take over the visitor's own demo work into the new account."},{"name":"DeployHealthProbe","description":"Token-gated deploy-time health probe"},{"name":"DesktopReleases","description":"Login-protected desktop-app beta release downloads"},{"name":"DesktopUpdates","description":"Desktop update checks and Tauri updater manifests"},{"name":"Destinations","description":"Saved destinations (\"Wunschziele\") imported from exported files"},{"name":"Detours","description":"Detour (\"Abstecher\") suggestions near saved destinations"},{"name":"DocShare","description":"Human surface (JWT)."},{"name":"DocShare Agent","description":"Machine surface (X-API-Key)."},{"name":"Document Upload","description":"Tenant-scoped upload and read-back of durable documents"},{"name":"DocumentEditor","description":"Document editor storage operations"},{"name":"Documents","description":"Document upload, metadata, download, and deletion"},{"name":"DPA","description":"Data Processing Agreement generation and dispatch"},{"name":"EdgeChoreos","description":"Offline-capable guided workflows with reconnect sync + audit chaining."},{"name":"Entries","description":"Individual log entries (position, weather, narrative)"},{"name":"Environments","description":"Environment-as-Code — templates, preview, apply, export."},{"name":"ERP Inventory","description":"Inventory planning, storage, traceability, movement, counting, and fulfilment operations."},{"name":"ErpCalendarBusinessDays","description":"Business-day calendars (weekly schedule + date exceptions)"},{"name":"ErpCalendarHolidays","description":"Holiday calendars with parent inheritance"},{"name":"ErpCalendarResources","description":"Bookable resources + bookings"},{"name":"ErpCashFlowForecast"},{"name":"ErpComplianceAttestations"},{"name":"ErpComplianceAudits"},{"name":"ErpComplianceBioAudits"},{"name":"ErpComplianceFindings"},{"name":"ErpCompliancePolicyDocs"},{"name":"ErpCompliancePrivacyRequests"},{"name":"ErpComplianceRiskAssessments"},{"name":"ErpComplianceTraining"},{"name":"ErpCustomsIoss"},{"name":"ErpFleetFuel","description":"Fuel log + consumption metrics"},{"name":"ErpFleetMaintenance","description":"Maintenance schedule + service log"},{"name":"ErpFleetVehicles","description":"Vehicle register (fleet_vehicles)"},{"name":"ErpHrAttendance","description":"Daily attendance records + exception flags (B139)"},{"name":"ErpHrBenefits"},{"name":"ErpHrCompensation"},{"name":"ErpHrEmployees","description":"Employee master data and employment-contract generation"},{"name":"ErpHrGoals","description":"Employee goals + progress check-ins (B135)"},{"name":"ErpHrPerformanceReviews","description":"Employee performance reviews + competency scores (B135)"},{"name":"ErpHrTimeEntries","description":"Clock-in/out time entries (erp_time_entries)"},{"name":"ErpHrTimeOff","description":"Time-off requests + leave balances (B139)"},{"name":"ErpHrTimesheets","description":"Weekly timesheet rollups + approval FSM (erp_timesheets)"},{"name":"ErpManufacturingCapacityPlanning"},{"name":"ErpManufacturingShopFloor"},{"name":"ErpPayroll"},{"name":"ErpPersonnelMaster"},{"name":"ErpRealEstateVermietung"},{"name":"ErpSubscriptionsBilling","description":"Recurring-billing engine (billing events)"},{"name":"ErpSubscriptionsContracts","description":"Subscription contract CRUD + state machine"},{"name":"ErpVariantMatrix"},{"name":"Events","description":"Events, attendees and reminders"},{"name":"Executions","description":"Job execution history"},{"name":"Feature Requests","description":"Feature request CRUD, voting, and public portal submission"},{"name":"FeatureReadiness","description":"Platform feature configuration/activation status."},{"name":"FederatedIntelligence"},{"name":"Files","description":"File upload, listing, download, and deletion"},{"name":"Finance"},{"name":"FlowCockpit","description":"Prozess-Röntgen — lead times, conversion and stuck items of the document chain."},{"name":"FroxlorProvisioning","description":"Admin-only Froxlor customer provisioning."},{"name":"FroxlorProxy","description":"Reseller-scoped Froxlor API proxy."},{"name":"Health","description":"Application health checks"},{"name":"HomeAssistant"},{"name":"HrAtsOnboardingPipelines","description":"Hire-to-certified onboarding pipeline records and transitions."},{"name":"HRCoreAbsences","description":"Absence ledger and vacation entitlement."},{"name":"HRCoreEmployees","description":"Employee profiles and onboarding checklists."},{"name":"HRCorePerformanceReviews","description":"Performance review cycles, goals, and outcomes."},{"name":"HRCorePersonnelDocuments","description":"Personnel file documents, acknowledgements, and checklists."},{"name":"ImportExport","description":"Configuration import and export"},{"name":"InboxAutopilot","description":"Autonomous inbox triage with approval-gated drafts"},{"name":"Insights","description":"Chancen & Risiken — detected opportunities and risks as prepared actions."},{"name":"InventoryAutopilot","description":"Inventory replenishment autopilot with approval-gated purchase proposals"},{"name":"items","description":"Artikelstamm"},{"name":"Jobs","description":"Job definition CRUD and trigger"},{"name":"LegacyMigration","description":"Migrated legacy backendui data (bank transactions, support tickets)."},{"name":"LicenseServer","description":"License administration. Admin read responses never expose reusable keys."},{"name":"LiquidityPlan"},{"name":"Lists","description":"Recipient list management"},{"name":"Live Contracts"},{"name":"Log","description":"Read-only delivery log with filtering and pagination"},{"name":"MessagingChannels","description":"Messaging channel and bot-management endpoints"},{"name":"Metrics","description":"Workload, cohort, and attribute distribution analytics"},{"name":"MigrationImport"},{"name":"Moderation","description":"Content moderation queue and decisions"},{"name":"Modules","description":"Per-module configuration CRUD"},{"name":"MultiLocation"},{"name":"MyDay","description":"Mein Tag — attention feed, briefing, snooze and done."},{"name":"Offers","description":"App offer management"},{"name":"Orders","description":"Order listing and details"},{"name":"OrgUnits","description":"Organization unit hierarchy (Bereiche, Abteilungen, Teams)"},{"name":"PartnerStorefront","description":"Storefront config, listings, licensing, metering, support routing."},{"name":"Payment Basis"},{"name":"PaymentFeed"},{"name":"Payments"},{"name":"PeriodCloseCopilot","description":"Period-close copilot with approval-gated checklist fixes"},{"name":"PermissionDrift","description":"Drift report, persisted findings, and approval-gated proposals."},{"name":"picking","description":"Kommissionierung"},{"name":"pickpack-audit","description":"GoBD-konformes Audit-Replay (registriert vom AuditTrail-Modul)"},{"name":"pickpack-compliance","description":"Supervisor-Sichten fuer Versand- und Compliance-Nachverfolgung"},{"name":"pickpack-operations","description":"Cross-dock, 3PL, BOPIS, pre-cooling, QC, assignments and station operations (F40)"},{"name":"pickpack-sessions","description":"Session-Lebenszyklus + State-Machine"},{"name":"PodControl"},{"name":"Points","description":"Batch GPS point ingestion"},{"name":"Portal","description":"Portal listings, accounts, messaging, moderation, commerce, CMS, and administration."},{"name":"PortalClassicSync"},{"name":"PostingAssistant","description":"Configurable posting suggestions with document provenance."},{"name":"Pricing","description":"Centralized pricing data API"},{"name":"PricingSchema","description":"Cost-based pricing pipelines and effective defaults"},{"name":"Purchase Invoice Inbox","description":"Controlled inbound supplier-invoice review and accounting"},{"name":"Realtime","description":"Server-Sent Events token exchange and stream endpoints."},{"name":"RemoteSteering"},{"name":"Replication","description":"Write-journal pull feed for replica mirroring (protocol v1)."},{"name":"ReplicationFiles","description":"Pull-based immutable uploaded-file generations."},{"name":"Requests","description":"Signature request CRUD"},{"name":"Retention","description":"Customer retention and churn risk analytics"},{"name":"RouteAlerts","description":"Weather + road-closure alerts for the anticipated route"},{"name":"Rules","description":"Event routing rules that map events to channels"},{"name":"SaasFederation"},{"name":"SchemaIntegrity","description":"Admin-session schema diagnostics and bounded repair confirmation"},{"name":"SCIM","description":"SCIM 2.0 provisioning endpoints"},{"name":"ScopedChatCutover","description":"Explicit OLD-ID maintenance; parent must independently prove provenance."},{"name":"Seed","description":"Demo data seeding (non-production only)"},{"name":"Sepa","description":"SEPA mandates and direct-debit run lifecycle"},{"name":"Sessions","description":"Ride recording sessions (create, list, pause/resume, finish)"},{"name":"Sharing","description":"Share link creation and access"},{"name":"ShopTip","description":"Presentation-only tenant shop notices"},{"name":"Signatures","description":"Digital signature request, signing, and audit status"},{"name":"Signing","description":"Signing, verification, and download"},{"name":"SSO","description":"OAuth and OIDC sign-in/provider endpoints"},{"name":"stock","description":"Bestandsführung und Bewegungen"},{"name":"Summary","description":"LLM place summary (Ortszusammenfassung)"},{"name":"SupplyChainRadar","description":"What-breaks-first radar, alternative suppliers, switch proposals."},{"name":"Sync","description":"Sync triggering and status"},{"name":"SystemStatus","description":"Maintenance-window administration and tenant maintenance access"},{"name":"Taxonomy","description":"Tags and categories"},{"name":"Templates","description":"Reusable email template management"},{"name":"TenantHandshakes"},{"name":"TenantStorage"},{"name":"Themes","description":"Theme selection"},{"name":"Timetracking","description":"Arbeitszeiten, Events und Session-Snapshots"},{"name":"Trips","description":"Voyages / passages — top-level container for entries, waypoints, events"},{"name":"UoM","description":"Mengeneinheiten-Stamm"},{"name":"UoM Conversions","description":"Umrechnungsfaktoren zwischen UoMs"},{"name":"UoM Resolver","description":"Qty-Konvertierung über UoMs"},{"name":"UploadScans"},{"name":"Users","description":"User management and administration"},{"name":"Verfahrensdokumentation","description":"GoBD procedural documentation generation"},{"name":"Vorgaenge","description":"CRUD operations on cases (Vorgaenge)"},{"name":"Vorgangstypen","description":"Case types and their configurable properties"},{"name":"warehouses","description":"Lager und Lagerplätze"},{"name":"Waypoints","description":"GPS polyline points for map rendering"},{"name":"Webhooks","description":"Payment provider webhooks"},{"name":"WorkflowAutomation","description":"Workflow execution and automation endpoints"}],"security":[{"AccountingReportsJwt":[]},{"BearerAuth":[]},{"CommerceBearer":[]},{"DocumentManagerBearer":[]},{"DocumentsJwt":[]},{"OwnerApprovalBearer":[]},{"TenantAdminBearer":[]},{"UstZuarbeitJwt":[]},{"accommodationCustomerBearer":[]},{"bearerAuth":[]},{"cutoverHumanJwt":[]},{"prepaidAgentBearer":[]},{"scimBearer":[]},{"uploadScannerBearer":[]},{"workerAuth":[]}]}