{"openapi":"3.1.0","info":{"title":"THIDE Pro Studio API","version":"1.2","description":"Pro Studio operations. Authenticate using x-thide-key-id AND x-thide-secret for this profile, or its legacy key header. GET /professional/operations returns only the commands allowed by the supplied credential. A profile may have up to 5 non-revoked keys. All its keys share 120 requests per minute, in addition to the per-key limit of 120 per minute. A 429 response includes Retry-After; no daily quota applies. Every role-operation mutation and every /identity mutation except challenge, verify and signout needs Idempotency-Key; on the resource routes it is optional and honoured for keyed callers on POST /mandates and POST /request-groups/{id}/decision only. Codes, explicit term acceptance, provider verification and document review requirements are enforced equally for the UI and API. Browser-local presentation settings are not business operations. A continuation is not proof of payment or verification completion."},"servers":[{"url":"/api/v1"}],"components":{"securitySchemes":{"assigneeKey":{"type":"apiKey","in":"header","name":"x-thide-assignee","description":"Legacy subcontractor key (thide_asg_…) of an active assignee account. No longer issued since 13 Oct: new subcontractor credentials are keyId + apiSecret, which open the same doors. Only opens that member's current translation/legalisation assignments for the owning professional. Revoked keys and inactive members are refused. Do not send x-thide-key or x-thide-studio alongside it; mixed credentials return 401. Metered at 120 requests/minute per key and per profile. No portal cookie or work token is accepted.\n"},"clientToken":{"type":"apiKey","in":"query","name":"token","description":"Resource locator; requires the recipient's verified portalSession cookie as well."},"portalSession":{"type":"apiKey","in":"cookie","name":"thide_portal","description":"Signed session from the e-mail code flow; must match the mandate"},"studioSession":{"type":"apiKey","in":"cookie","name":"thide_studio","description":"The professional's Studio session, sealed like portalSession by the same e-mail code flow when the challenge was started from the Studio door (since 3 Nov 2026 each workspace has its own cookie, so one browser can hold a client, a Studio and a Subco session at once). Read by Studio pages, exports and browser downloads; never by the client API.\n"},"assigneeSession":{"type":"apiKey","in":"cookie","name":"thide_subco","description":"The subcontractor's Subco Studio session, sealed by the same flow when the challenge was started from /subco or a /m or /n link. Read by the Subco workspace and the assignee-workspaces listing. recipient.\n"},"apiKey":{"type":"apiKey","in":"header","name":"x-thide-key","description":"Legacy client key (thide_cli_…, stored hashed). Settings → API no longer issues these since 13 Oct; existing keys keep working, and a client key-ID/secret pair (keyId + apiSecret) opens exactly the same doors. Authorises what an integrator key does PLUS the owner's own mandates without a ?token= — exactly: GET /mandates/{id}, GET/POST questions, GET/POST accept, GET/POST legalisation, GET terms, document and attachment download, archive, case file, POST pay and POST /request-groups/{id}/pay — and PINS intake: POST /mandates must carry the owner's clientEmail or answers 403 client_email_mismatch. Another owner's mandate answers 401 exactly as a wrong token does. Revoking a key under Settings takes effect on the next request; metered at 120 requests/minute per key and per profile (429 rate_limited). The env list THIDE_API_KEYS (comma-separated) is the bootstrap integrator credential for TD/KSc only — no owner, no per-client access.\n"},"studioKey":{"type":"apiKey","in":"header","name":"x-thide-studio","description":"Legacy professional key (thide_pro_…, stored hashed, revocable). Studio → Settings → API no longer issues these since 13 Oct; existing keys keep working, and a professional key-ID/secret pair opens exactly the same doors. Exactly the studio's own access; metered at 120 requests/minute per key and per profile. The env STUDIO_DEV_KEY is the bootstrap for TD/KSc only and is not production security. SERVER-INTERNAL ONLY, never for integrators: the Studio's own server actions call this API with the bootstrap key plus `x-thide-studio-context`, a short-lived HMAC-signed owner context (lib/studio-api-context.ts) that names which professional the call acts for; it is refused with 401 unless it verifies against the bootstrap secret, and a key created under Settings never needs it (its owner is the key's).\n"},"creatorGrant":{"type":"apiKey","in":"header","name":"x-thide-creator","description":"The creator grant as a bearer (B-03, 31 Oct 2026). POST /mandates returns it ONCE as `creatorGrant` to a caller that presented no client or professional credential — the same signed grant the web form puts in the browser's creator cookie. It opens exactly the request (or multi-language group) it was issued for, on its own (no ?token= beside it), for seven days (the life of the signed document links in the same envelope) and only while that request is unpaid: GET /mandates/{id} (envelope, quote, engagementOffer), GET/POST questions, GET/POST legalisation, GET /mandates/{id}/terms, GET /mandates/{id}/accept, the request's own document and attachment download and archive. From the first funded status on it is 401 everywhere. It proves no inbox and never charges: POST /mandates/{id}/pay and POST /request-groups/{id}/pay answer it 403 verification_required with {continuation: {kind: verification, url}} once the quote is payable (5 Nov 2026) — the web payment-verification entry, where the person who owns the request's inbox proves it and pays — and it never accepts a delivery, opens another request, saved payment methods, keys or the role operations: those take the recipient's verified session or the client's own key. It is not a key: unmetered as one, and the intake meters are unchanged. Keep it like the access token; a lost grant means verifying the inbox to continue.\n"},"keyId":{"type":"apiKey","in":"header","name":"x-thide-key-id","description":"Profile API key ID. Must be accompanied by apiSecret in the same request. Do not mix with legacy credentials."},"apiSecret":{"type":"apiKey","in":"header","name":"x-thide-secret","description":"One-time issued profile secret, stored hashed. Send together with keyId; role, permission, expiry and revocation are enforced."},"identityChallenge":{"type":"apiKey","in":"cookie","name":"thide_login_challenge","description":"HTTP-only challenge cookie issued by identity/challenge. Must be preserved and sent to identity/verify together with the code or link proof."}},"parameters":{"CallbackEvent":{"name":"x-thide-event","in":"header","required":true,"schema":{"type":"string"},"description":"The event name (mandate.<status> | ping)."},"CallbackDelivery":{"name":"x-thide-delivery","in":"header","required":true,"schema":{"type":"string"},"description":"Delivery id — a retry reuses it; treat a repeat as already handled."},"CallbackTimestamp":{"name":"x-thide-timestamp","in":"header","required":true,"schema":{"type":"string"},"description":"Unix seconds when this attempt was signed; reject if more than 5 minutes from now."},"CallbackSignature":{"name":"x-thide-signature","in":"header","required":true,"schema":{"type":"string"},"description":"\"sha256=\" + hex(HMAC_SHA256(secret, x-thide-timestamp + \".\" + rawBody)). Compare in constant time over the RAW bytes."},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":200,"pattern":"^[\\x20-\\x7E]+$"},"description":"Make a retried creation safe (TD, 6 Sep). Any printable-ASCII string up to 200 characters, unique per request (a UUID is ideal); anything else → 400 idempotency_key_invalid. KEYED CALLERS ONLY: the header is scoped to your API key, so the open (keyless) door refuses it with 400 idempotency_requires_key — authenticate with a key (key ID and secret, or a legacy key), or drop the header. Valid 24 h. Same key + the same request (method, path and the RAW body bytes — a retry must resend the IDENTICAL bytes: a multipart body with the same boundary, fixed in your client, or a JSON body; a regenerated boundary is a different body and gets 422, not a replay) → the stored response is replayed with the same status and body and the header `Idempotent-Replayed: true` (a first answer carries `false`). Same key + a different request → 422 idempotency_key_reused. Same key while the first request is still running → 409 idempotency_in_flight (retry in a moment; after 3 minutes an unfinished first request counts as dead and the retry takes over). Stored and replayed: 2xx and the deterministic 4xx (validation, 403, 404, 415…). NOT stored — the retry re-executes: 5xx, a crash, and the transient statuses 408/425/429 (a rate-limit answer is never replayed) — as long as nothing was created. A request that fails AFTER it created something answers 500 partly_processed, and that answer IS stored and replayed: the retry never creates the request a second time. Read the current state (GET /mandates) before deciding what to send next. POST /mandates and POST /request-groups/{id}/decision honour it. Group release replays the response without another notification.\n"}},"responses":{"RateLimited":{"description":"rate_limited — the credential presented (x-thide-key-id with x-thide-secret, or a legacy x-thide-key, x-thide-studio or x-thide-assignee key), or its profile across all its keys, exceeded 120 requests in the last minute. The env bootstrap keys have their own 120/minute bucket each. Nothing ran; wait Retry-After seconds and retry. Every route that accepts a key can answer this, before any other check. Mandate tokens are not key-metered; the intake, archive, question, identity and catalog doors meter per IP, mandate or e-mail instead — and the intake all callers together (100 / 10 min, 5 Nov 2026): a keyless door needs a bound a rotating IP cannot lift.\n","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until the oldest request falls out of the window."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"KeyForbidden":{"description":"insufficient_scope — the credential lacks the permission this route needs (info.description, PERMISSIONS: read for a GET; payments for pay, accept, self-bill, refund-referred, release-referred, count and a decline; workflow for any other POST). terms_acceptance_required — the professional has not accepted every document onboarding.get lists (onboarding.get, onboarding.accept); or, where the Engagement Terms are among them, on a quote send only (POST /mandates/{id}/decision action send, POST /request-groups/{id}/decision, quotes.confirm-request), her newest Engagement Terms receipt is not for the version now in force — the message names that version; or the subcontractor has not accepted the subcontractor terms. Nothing ran.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"JsonBodyTooLarge":{"description":"payload_too_large — the JSON body is larger than 64 KiB, declared in Content-Length or counted while streaming. Nothing was parsed or changed.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"AssigneeJob":{"type":"object","description":"Assigned work only. No client contact credentials, prices, invoices, internal professional reference or other subcontractors' uploads. Every response is Cache-Control no-store. Current invitations may inspect source documents; subcontractor uploads remain restricted to the member's accepted assignment revisions. Contact information is redacted from filenames and notes.\n","required":["id","requestId","updatedAt","reference","status","languages","kind","assignments","documents"],"properties":{"id":{"type":"string"},"requestId":{"type":"string","description":"Grouping key for this owned request; only jobs returned to this member belong in a confirmation."},"updatedAt":{"type":"string","format":"date-time","description":"Copy exactly as expectedUpdatedAt when confirming decisions or submitting prepared work."},"reference":{"type":"string","description":"THIDE display reference."},"status":{"type":"string","enum":["accepted","in_progress","translated","delivered","settled"]},"languages":{"type":"object","required":["source","target"],"properties":{"source":{"type":"string"},"target":{"type":"string"}}},"kind":{"type":"string","enum":["regular","sworn"]},"assignments":{"type":"array","items":{"type":"object","required":["role","assignedAt","pendingAcceptance","acceptedAt","review","dueDate"],"properties":{"role":{"type":"string","enum":["translation","legalisation"]},"assignedAt":{"type":"string","format":"date-time"},"pendingAcceptance":{"type":"boolean"},"acceptedAt":{"type":["string","null"],"format":"date-time"},"dueDate":{"type":["string","null"],"format":"date","description":"The day the professional wants this work back (a civil day, YYYY-MM-DD), set on the assignment; null when none was named."},"review":{"type":["object","null"],"required":["state","documentId","note"],"properties":{"state":{"type":"string","enum":["changes_requested","approved"]},"documentId":{"type":["string","null"]},"note":{"type":["string","null"]}}}}}},"documents":{"type":"array","items":{"type":"object","required":["id","role","kind","fileName","mimeType","sizeBytes","createdAt","download"],"properties":{"id":{"type":"string"},"role":{"type":"string","enum":["source","partner_upload"]},"kind":{"type":["string","null"],"enum":["translation","legalisation",null]},"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"download":{"type":"string","description":"Relative download URL; requires the same assignee key."}}}}}},"AssigneeSubmissionResult":{"type":"object","required":["findings","checksUnavailable"],"properties":{"checksUnavailable":{"type":"boolean","description":"True when automatic checks could not complete; never means checks passed."},"findings":{"type":"array","description":"Advisory checks; the file is saved regardless of these findings.","items":{"type":"object","required":["code","level","message"],"properties":{"code":{"type":"string","enum":["language_mismatch","language_undetected","apostille_missing","apostille_not_evidenced","suspiciously_short","unreadable","same_as_source","invoice_amount_mismatch","invoice_credit_note","invoice_type_unverified","invoice_amount_unreadable","invoice_missing"]},"level":{"type":"string","enum":["warn","note"]},"message":{"type":"string"}}}}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code. The enum below is COMPLETE — apps/web/src/app/api/v1/openapi-parity.test.ts fails when a route emits a code that is not listed here. Grouped: request shape (validation — also an unknown ?status= name on GET /mandates —, terms_not_accepted, terms_acceptance_required, unsupported_file_type, malware_detected — the virus scan refused a document; nothing stored —, payload_too_large, archive_too_large, unknown_lane, unknown_bucket, invoice_required, idempotency_key_invalid, idempotency_requires_key); auth (unauthorized, forbidden, client_email_mismatch, rate_limited, count_capacity — the background reading queue refused the documents: retry after Retry-After, or send smaller batches); lookup (not_found, file_missing, link_expired); state (illegal_transition, no_payable_quote, price_locked, price_held, count_not_applicable, quote_not_releasable, quote_vat_mismatch, no_translator, not_referred, not_refundable, not_releasable, idempotency_key_reused, idempotency_in_flight); payment (payment_attempt_pending, engagement_acceptance_required); invoicing by THIDE (self_billing_disabled, unassigned, issuer_incomplete, self_bill_missing, invoice_unavailable, self_bill_not_issued, self_bill_already_issued, self_bill_already_contested, contest_window_closed, invoice_rejection_unavailable, self_bill_not_rejected, self_bill_not_refunded, own_invoice_not_expected, own_invoice_already_attached, ubl_invalid — the built e-invoice failed the structural check: number allocated, nothing stored, retry after the fix; pdf_unavailable — the PDF renderer is down, nothing numbered or issued, answered with 503 so the caller retries later); Stripe and Recommand webhooks (missing_signature, invalid_signature, stripe_mode_mismatch, stripe_webhook_scope_mismatch, stripe_webhook_configuration, missing_metadata, not_configured; a non-JSON Recommand body is invalid_body); cookie-authenticated browser doors (origin_required, method_not_allowed, unsupported_media_type, verification_required, unavailable); relay (relay_failed); configuration (terms_unavailable, payments_not_configured, scanner_unavailable — no virus-scan verdict on an exposed host; nothing stored, retry later); assignee input/state (invalid_body, too_large, work_conflict); and internal.\n","enum":["archive_too_large","browser_owner_required","client_email_mismatch","commission_review_required","contest_window_closed","count_capacity","count_not_applicable","credential_changed","credential_escalation","credential_inactive","duplicate_label","engagement_acceptance_required","file_missing","forbidden","idempotency_in_flight","idempotency_key_invalid","idempotency_key_reused","idempotency_requires_key","illegal_transition","insufficient_scope","internal","invalid_body","invalid_credential_authority","invalid_expiry","invalid_label","invalid_scopes","invalid_selection","invalid_signature","invoice_pending","invoice_evidence_unavailable","invoice_rejection_unavailable","invoice_required","invoice_unavailable","issuer_incomplete","key_limit_reached","legacy_credential","assistant_connection","link_expired","malware_detected","method_not_allowed","missing_metadata","missing_signature","mixed_credentials","no_payable_quote","no_translator","not_configured","not_found","not_referred","not_refundable","not_releasable","onboarding_incomplete","operator_forbidden","origin_required","own_invoice_already_attached","own_invoice_not_expected","partly_processed","payload_too_large","payment_attempt_pending","payments_not_configured","pdf_unavailable","price_held","price_locked","quote_not_releasable","quote_vat_mismatch","rate_limited","relay_failed","scanner_unavailable","self_bill_already_contested","self_bill_already_issued","self_bill_missing","self_bill_not_issued","self_bill_not_refunded","self_bill_not_rejected","self_billing_disabled","stripe_mode_mismatch","stripe_webhook_configuration","stripe_webhook_scope_mismatch","terms_acceptance_required","terms_not_accepted","terms_unavailable","too_large","ubl_invalid","unassigned","unauthorized","unavailable","unknown_bucket","unknown_lane","unsupported_file_type","unsupported_media_type","billing_change_pending","billing_choice_required","validation","verification_required","verification_unavailable","work_conflict"]},"message":{"type":"string"}}}}},"EngagementAcceptance":{"type":"object","description":"The checkout contract (24 Sep 2026): the Engagement Terms version and content hash plus the exact items being paid, each pinned to its quote snapshot. Served as `engagementOffer` on a CLIENT envelope while the mandate is payable (status 'quoted', real total, no rate pending); posted back verbatim as `engagementAcceptance` on POST /mandates/{id}/pay. For POST /request-groups/{id}/pay merge the `items` of every payable member's offer (version and contentHash are identical across members). The server recomputes the offer under the payment lock and compares the sorted item set, the quote snapshots and the terms version — any difference is 409 engagement_acceptance_required, payoutTiming included: echo the offer exactly.\n","required":["payoutTiming","version","contentHash","items"],"properties":{"payoutTiming":{"type":"string","enum":["delivery-v1","acceptance-v1"],"description":"When the professional's share is released — at the client's acceptance (express or deemed, Platform Terms 9.2; what every checkout is offered since 4 November 2026) or, for the engagements accepted on 3–4 November 2026, at delivery. Part of the agreement; echo it as served."},"version":{"type":"string"},"contentHash":{"type":"string"},"items":{"type":"array","minItems":1,"items":{"type":"object","required":["mandateId","quoteId","quoteHash","totalCents"],"properties":{"mandateId":{"type":"string"},"quoteId":{"type":"string"},"quoteHash":{"type":"string","description":"SHA-256 of the canonical quote snapshot."},"totalCents":{"type":"integer"}}}}}},"MandateStatus":{"type":"string","description":"The state machine (lib/domain.ts TRANSITIONS). 'cancelled' was legacy-only from 10 Oct 2026 until 4 Nov 2026; since then it is where a sent quote lands when the client declines it or it lapses unpaid after 30 days (Platform Terms 7.1–7.2); a withdrawn quote lands on 'declined'.","enum":["submitted","quoted","paid","declined","accepted","in_progress","translated","delivered","settled","refunded","cancelled"]},"CompanyBillingInput":{"type":"object","description":"The buyer on the invoice. Give the registered address as one `address` line, OR as all four of street, postalCode, city and country — the line is then composed from the parts (country spelt out) and the parts are kept for e-invoicing. A Belgian VAT number (BE prefix, or a bare 10-digit enterprise number) is stored as BE0xxxxxxxxx and refused (400 validation) when its check digits fail; VAT numbers from other countries are stored as typed. enterpriseNumber is the buyer's KBO number (10 digits, check digits verified; must match a Belgian vatNumber).\n","required":["companyName","vatNumber"],"properties":{"companyName":{"type":"string","minLength":1,"maxLength":200},"vatNumber":{"type":"string","minLength":1,"maxLength":200},"enterpriseNumber":{"type":"string","minLength":1,"maxLength":200},"address":{"type":"string","minLength":1,"maxLength":500,"description":"One line; optional when street, postalCode, city and country are all given."},"street":{"type":"string","minLength":1,"maxLength":120},"postalCode":{"type":"string","minLength":1,"maxLength":20},"city":{"type":"string","minLength":1,"maxLength":80},"country":{"type":"string","description":"ISO 3166-1 alpha-2 (see countries[] in GET /catalog)."}}},"Mandate":{"type":"object","description":"Mandate (domain.ts) as the envelope serialises it. Client reads carry accessToken; professional reads omit clientEmail (and redact client contact data elsewhere) and carry assignments and payouts, which client reads never do. Fields not listed here follow domain.ts; nothing is added without a spec change.\n","required":["id","status","clientName","payerType","pair","kind","deadlineBucket","gdprConsentAt","pretranslationGateAck","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/MandateStatus"},"requestGroupId":{"type":"string","description":"Present on every part of a multi-language request."},"orderReference":{"type":"string","description":"The order reference a human reads (`AEDZ-VNES`): one per request, shared by every part of a multi-language request, unchanged from quote to job to invoice."},"professionalId":{"type":["string","null"],"description":"Live owner; null = explicitly unassigned (routing mode)."},"accessToken":{"type":"string","description":"Client reads only — the bearer credential for this mandate."},"clientEmail":{"type":"string","description":"Client reads only."},"clientName":{"type":"string"},"clientLanguage":{"type":"string","enum":["en","nl"]},"subject":{"type":"string","maxLength":160},"requestedDate":{"type":"string","format":"date","description":"The day the client would like the work by (Platform Terms §1.9 Requested Date), a civil day YYYY-MM-DD; indicative, no price effect. Absent when none was given."},"payerType":{"type":"string","enum":["individual","company"]},"payerTypeExplicit":{"type":"boolean","description":"True only when the request or payment supplied an explicit billing choice; legacy individual defaults do not imply consent."},"companyBilling":{"type":"object","properties":{"companyName":{"type":"string"},"vatNumber":{"type":"string"},"enterpriseNumber":{"type":"string"},"address":{"type":"string"},"street":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}}},"pair":{"type":"object","required":["source","target"],"properties":{"source":{"type":"string"},"target":{"type":"string"}}},"kind":{"type":"string","enum":["regular","sworn"]},"destinationCountry":{"type":"string"},"issuingCountry":{"type":"string"},"documentCategory":{"type":"string","enum":["civil_status","diploma","notarial","commercial","other"]},"documentCategorySource":{"type":"string","enum":["client","detected","translator"]},"issuingCountrySource":{"type":"string","enum":["client","detected"]},"machineTier":{"type":"boolean"},"upgradedFromMandateId":{"type":"string"},"legalisationOverride":{"type":"object","required":["requirement","setBy","at"],"properties":{"requirement":{"type":"string","enum":["none","apostille","consular_legalisation"]},"setBy":{"type":"string","enum":["client","translator"]},"reason":{"type":"string"},"at":{"type":"string","format":"date-time"}}},"deadlineBucket":{"type":"string","enum":["rush_1_3d","week_1","month_1"]},"origin":{"type":"string","enum":["thide","direct"]},"gdprConsentAt":{"type":"string","format":"date-time"},"pretranslationGateAck":{"type":"boolean"},"termsAccepted":{"type":"array","items":{"type":"object","required":["documentId","version","contentHash","acceptedAt","via"],"properties":{"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"},"via":{"type":"string","enum":["web","api"]},"checkout":{"type":"object","description":"Present on the Engagement Terms acceptance recorded at payment.","properties":{"batchId":{"type":"string"},"items":{"type":"array","items":{"type":"object"}}}}}}},"acceptance":{"type":"object","description":"The client's delivery acceptance (see GET /mandates/{id}/accept).","properties":{"openedAt":{"type":"string","format":"date-time"},"state":{"type":"string","enum":["pending","commented","referred","accepted"]},"via":{"type":"string","enum":["explicit","deemed"]},"acceptedAt":{"type":"string","format":"date-time"},"referredAt":{"type":"string","format":"date-time"},"referredBy":{"type":"string","enum":["client","professional","thide"],"description":"Who referred; absent on referrals from before 4 November 2026, all of them the client's."},"comments":{"type":"array","items":{"$ref":"#/components/schemas/AcceptanceComment"}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"Quote":{"type":"object","description":"Quote (domain.ts); requiresManualRate=true with zeroed amounts for ad-hoc pairs. Since 2026-08-21 thideFeeCents is 7% of subtotalCents (everything ex VAT, legalisation included) and payoutCents = subtotalCents − thideFeeCents. Optional fixedPriceCents / legalisationPriceCents record the professional's own price choices (studio audience only, like thideFeeCents and payoutCents). Optional commissionTax and actualPayoutCents are studio-only: payoutCents remains net before VAT; actualPayoutCents records the quoted transfer after the explicitly configured commission VAT. Legacy quotes do not acquire a tax snapshot retrospectively. Client reads never carry thideFeeCents, payoutCents, commissionTax or actualPayoutCents.\n","required":["id","mandateId","lineCount","ratePerLineCents","translationCents","legalisationCents","legalisationRequirement","legalisationQuotedSeparately","deadlineBucket","urgencyModifier","subtotalCents","vatRate","vatCents","totalCents","requiresManualRate","createdAt"],"properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"charCount":{"type":"integer"},"lineCount":{"type":"integer"},"ratePerLineCents":{"type":"integer","description":"Per billing unit (see GET /pricing)."},"translationCents":{"type":"integer"},"legalisationCents":{"type":"integer"},"legalisationRequirement":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"legalisationQuotedSeparately":{"type":"boolean","description":"True on the consular route — a real cost this total does NOT include."},"deadlineBucket":{"type":"string","enum":["rush_1_3d","week_1","month_1"],"description":"Retained for stored quotes; the lanes left the UI on 2026-10-31. New quotes carry week_1 with modifier 0."},"urgencyModifier":{"type":"number"},"deliveryDate":{"type":"string","format":"date","description":"The day the professional proposes to deliver by (Platform Terms §1.14 Delivery Date), a civil day YYYY-MM-DD; seeded from requestedDate at first pricing, set with quotes.set-delivery-date until the quote is sent, frozen with the sent quote. Absent when neither side named a day."},"validUntil":{"type":"string","format":"date-time","description":"The instant the sent quote lapses unpaid (Platform Terms 7.1–7.2): the end of the Brussels day 30 days after the latest send recorded on the status log (a quote sent before the release that introduced the validity counts from that release). Present only while a human mandate is quoted; absent on an indicative quote, a machine quote and after payment. Derived, never stored — a re-issued or revised quote starts a fresh period."},"clientEstimate":{"type":"object","description":"Studio audience only. The figures the client sees while the mandate is submitted: THIDE's own computation (intake, automatic count, legalisation ruling), carried unchanged by the professional's draft edits. Client reads get these figures in subtotalCents/vatCents/totalCents/vatRate instead, and never the field itself. Absent on quotes from before migration 0077.","required":["subtotalCents","vatCents","totalCents","vatRate","computedAt"],"properties":{"subtotalCents":{"type":"integer"},"vatCents":{"type":"integer"},"totalCents":{"type":"integer"},"vatRate":{"type":"number"},"computedAt":{"type":"string","format":"date-time"}}},"subtotalCents":{"type":"integer","description":"Ex VAT, urgency included."},"vatRate":{"type":"number"},"vatCents":{"type":"integer"},"totalCents":{"type":"integer","description":"What the client pays."},"thideFeeCents":{"type":"integer","description":"Studio reads only."},"payoutCents":{"type":"integer","description":"Studio reads only."},"actualPayoutCents":{"type":"integer","description":"Studio reads only."},"commissionTax":{"type":"object","description":"Studio reads only."},"requiresManualRate":{"type":"boolean"},"upgradeCreditCents":{"type":"integer","description":"Historical only: the machine fee credited on a human-upgrade quote from before 2026-11-04. No longer granted; a revision prices at full rate and omits it."},"fixedPriceCents":{"type":"integer"},"legalisationPriceCents":{"type":"integer"},"billing":{"type":"object","description":"The billing-unit snapshot this quote was computed with (see GET /pricing)."},"createdAt":{"type":"string","format":"date-time"}}},"DocumentView":{"type":"object","required":["id","role","fileName","mimeType","sizeBytes","createdAt","downloadPath"],"properties":{"id":{"type":"string"},"role":{"type":"string","enum":["source","translation","apostille","invoice","receipt","credit_note","invoice_xml","credit_note_xml","partner_upload","machine_text"],"description":"Client reads never see partner_upload or machine_text; invoice_xml / credit_note_xml are the UBL renderings beside a THIDE-issued PDF (B-01 Phase 2)."},"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"charCount":{"type":"integer"},"charCountMethod":{"type":"string","enum":["text_extraction","ocr","manual_override"]},"photoEstimateChars":{"type":"integer"},"version":{"type":"integer","minimum":1,"description":"Revision number for a delivered translation or legalisation file."},"currentVersion":{"type":"boolean","description":"Whether this is the current revision; older revisions remain downloadable through their signed links."},"createdAt":{"type":"string","format":"date-time"},"downloadPath":{"type":"string","description":"Relative and signed; embeds the token for client reads. Never build it by hand."},"download":{"type":"object","description":"Professional command continuation; preserves verified operator selection.","required":["operation","input"],"properties":{"operation":{"const":"document.download"},"input":{"type":"object","required":["mandateId","documentId"],"properties":{"mandateId":{"type":"string"},"documentId":{"type":"string"}}}}}}},"StatusLogEntry":{"type":"object","required":["id","mandateId","from","to","actor","at"],"properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"from":{"oneOf":[{"$ref":"#/components/schemas/MandateStatus"},{"type":"null"}]},"to":{"$ref":"#/components/schemas/MandateStatus"},"actor":{"type":"string","enum":["client","translator","system"]},"actorId":{"type":"string","description":"Studio reads only."},"note":{"type":"string","description":"Studio reads only."},"at":{"type":"string","format":"date-time"}}},"QuestionMessage":{"type":"object","required":["id","mandateId","from","message","relayed","at"],"properties":{"id":{"type":"string"},"mandateId":{"type":"string","description":"May name a sibling part of the same request."},"from":{"type":"string","enum":["client","translator"]},"message":{"type":"string"},"relayed":{"type":"boolean","description":"True when the message reached the other side — by e-mail, or in the portal alone when the recipient switched e-mail updates off (the channel they chose; nothing to retry). False only when the e-mail could not go out; the row is on the thread regardless.\n"},"at":{"type":"string","format":"date-time"},"attachments":{"type":"array","description":"Reference material sent with the message (a glossary, an earlier translation) — present only when there is some. Never a document of the request: not counted, priced, delivered or listed with the documents. Each item's downloadPath is this reader's link.\n","items":{"$ref":"#/components/schemas/MessageAttachmentView"}}}},"MessageAttachmentView":{"type":"object","description":"A file attached to a conversation message. Readable by the parties of that message only; a private professional/subcontractor file is never on a client's view. The storage key and content hash stay on the server.\n","required":["id","fileName","mimeType","sizeBytes","downloadPath"],"properties":{"id":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string","description":"Derived from the accepted extension, never taken from the uploader."},"sizeBytes":{"type":"integer"},"downloadPath":{"type":"string","description":"GET /mandates/{id}/attachments/{attachmentId} — signed (exp+sig, 7-day TTL) with the token for a client reader, header-authorised and token-less for a studio reader, exactly like DocumentView.downloadPath.\n"}}},"Timeline":{"type":"object","description":"Client-visible checkpoints derived from the status.","required":["submitted","accepted","translated","delivered"],"properties":{"submitted":{"type":"boolean"},"accepted":{"type":"boolean"},"translated":{"type":"boolean"},"delivered":{"type":"boolean"}}},"Legalisation":{"type":"object","description":"Both legalisation legs. translation = the route the mandate runs on — an override never erases the recommendation. original = ADVISORY for the client's ORIGINAL document, which answers to the country that ISSUED it (send issuingCountry at intake). Never priced, never gating; null when there is nothing to say (regular work / no destination). Computed live rather than frozen — it is advice, not contract.\n","required":["translation","original"],"properties":{"translation":{"type":"object","required":["recommended","effective","override","deviates"],"properties":{"recommended":{"type":"object","required":["requirement","basis","rationale","confirmWithProfessional"],"properties":{"requirement":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"basis":{"type":"string","enum":["not_sworn","belgian_domestic_use","eu_regulation_2016_1191","hague_apostille","bilateral_objection","no_treaty","not_modelled","insufficient_input"]},"rationale":{"type":"string"},"confirmWithProfessional":{"type":"boolean"}}},"effective":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"override":{"type":["object","null"]},"deviates":{"type":"boolean"}}},"original":{"type":["object","null"],"properties":{"requirement":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"basis":{"type":"string"},"advice":{"type":"string"},"outsideOurReach":{"type":"boolean"}}}}},"MandateEnvelope":{"type":"object","description":"Uniform read shape returned by most endpoints.","required":["mandate","quote","documents","statusLog","timeline","questions","legalisation"],"properties":{"engagementOffer":{"$ref":"#/components/schemas/EngagementAcceptance","description":"CLIENT reads only, and only while the mandate is payable (status 'quoted', a real total, no rate pending). Absent otherwise — its absence is the signal that nothing can be paid yet. Echo it back as `engagementAcceptance` to pay (QUICKSTART §2).\n"},"mandate":{"$ref":"#/components/schemas/Mandate","description":"Including optional subject (client reference, at most 160 characters). Client reads include their own accessToken; professional reads omit client contact credentials. Professional payout records and commission settlement evidence are excluded from all client envelopes, including callbacks.\n"},"quote":{"oneOf":[{"$ref":"#/components/schemas/Quote"},{"type":"null"}],"description":"Null until a quote exists (paused scan, routing mode)."},"documents":{"type":"array","items":{"$ref":"#/components/schemas/DocumentView"},"description":"Includes downloadPath (tokenized for client reads) per document. `role` is one of source, translation, apostille, invoice, receipt, credit_note, invoice_xml, credit_note_xml (the studio-only roles partner_upload and machine_text never appear in a client envelope). invoice_xml / credit_note_xml are the UBL BIS Billing 3.0 renderings of an invoice / credit note THIDE issued in the professional's name (B-01 Phase 2): the same document as the PDF, listed only when the client may see the PDF (delivered). Which rendering is the legal original follows the self-bill's deliveryChannel — 'peppol' makes the XML the original, 'pdf' the PDF, 'pending' is not yet decided. A document without an XML sibling was issued PDF-only; the builder's reason (no Peppol endpoint for a private client or an unregistered company, one-line address, unsupported_vat_regime, vat_regime_mismatch) is recorded in the status log, never as an API error.\n"},"statusLog":{"type":"array","items":{"$ref":"#/components/schemas/StatusLogEntry"},"description":"Append-only; client reads carry no note or actorId."},"timeline":{"$ref":"#/components/schemas/Timeline"},"questions":{"type":"array","description":"The question relay thread, oldest first — so one read of the mandate is the whole picture (status change AND any new answer). relayed=true also when the recipient switched e-mail updates off (the portal is their channel; nothing to retry); relayed=false means the e-mail could not go out but the message is still on the thread. The thread is the whole CONVERSATION of the request (12 Oct 2026): on a multi-language request every part shares one client/professional thread, so a row's mandateId may name a sibling part, not the mandate read. Identical to GET /mandates/{id}/questions, also on callbacks.\n","items":{"$ref":"#/components/schemas/QuestionMessage"}},"legalisation":{"$ref":"#/components/schemas/Legalisation"}}},"MandateList":{"type":"object","required":["items","count"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/MandateEnvelope"}},"count":{"type":"integer","description":"items.length — the whole board, one page."}}},"PaymentVerificationContinuation":{"description":"The 403 a creatorGrant gets from the two pay operations once the quote is payable (5 Nov 2026): error.code verification_required and a continuation — the shape the role operations give the same concept (WorkflowError). No money moved, no mode: continuation.url is the web payment-verification entry for the person who owns the request's inbox, /verify with the pay page as its next step; they prove the inbox there with the six-digit code and pay in the browser. A URL alone establishes nothing: poll GET /mandates/{id} afterwards (the grant is 401 from the first funded status on).\n","allOf":[{"$ref":"#/components/schemas/WorkflowError"},{"type":"object","required":["error","continuation"],"properties":{"error":{"type":"object","properties":{"code":{"const":"verification_required"}}},"continuation":{"type":"object","properties":{"kind":{"const":"verification"},"url":{"type":"string","format":"uri"}}}}}]},"PayResponse":{"description":"Branch on `mode`, never on the status code.","oneOf":[{"type":"object","required":["mode","checkoutUrl"],"properties":{"mode":{"const":"stripe_checkout"},"checkoutUrl":{"type":"string","format":"uri"}}},{"allOf":[{"type":"object","required":["mode"],"properties":{"mode":{"const":"dev"}}},{"$ref":"#/components/schemas/MandateEnvelope"}]}]},"GroupPayResponse":{"description":"Branch on `mode`. covered = the members this checkout pays; skipped = members left out and why.","oneOf":[{"type":"object","required":["mode","checkoutUrl","covered","skipped"],"properties":{"mode":{"const":"stripe_checkout"},"checkoutUrl":{"type":"string","format":"uri"},"covered":{"type":"array","items":{"type":"string"}},"skipped":{"type":"array","items":{"type":"object","required":["id","reason"],"properties":{"id":{"type":"string"},"reason":{"type":"string"}}}}}},{"allOf":[{"type":"object","required":["mode","covered","skipped"],"properties":{"mode":{"const":"dev"},"covered":{"type":"array","items":{"type":"string"}},"skipped":{"type":"array","items":{"type":"object","required":["id","reason"],"properties":{"id":{"type":"string"},"reason":{"type":"string"}}}}}},{"$ref":"#/components/schemas/MandateEnvelope"}]}]},"GroupDecisionReview":{"type":"object","required":["requestGroupId","quotes"],"properties":{"requestGroupId":{"type":"string"},"quotes":{"type":"array","description":"One per pending human part — the studio envelope plus the exact review tokens to echo.","items":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","required":["review"],"properties":{"review":{"type":"object","required":["id","updatedAt","fingerprint"],"properties":{"id":{"type":"string"},"updatedAt":{"type":"string"},"fingerprint":{"type":["string","null"],"description":"Null when no quote exists yet."},"exclusionReason":{"type":"string","description":"Present on a part marked \"not offered\" in Studio — echo it verbatim on the POST."}}}}}]}}}},"GroupDecisionResult":{"type":"object","required":["requestGroupId","confirmed"],"properties":{"requestGroupId":{"type":"string"},"confirmed":{"type":"array","items":{"type":"string"},"description":"The mandate ids now 'quoted'; excluded parts are declined and not listed."}}},"CallbackEnvelope":{"type":"object","description":"The body of a callback delivery (see `webhooks` below): the MandateEnvelope GET /mandates/{id} would return to THIS key at send time — a client key gets the client view (its accessToken included), a professional key the studio view — plus three fields: event, deliveryId and at. The `ping` test event sends {event, deliveryId, at, ping: true, keyId} instead.\n","allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","required":["event","deliveryId","at"],"properties":{"event":{"type":"string","description":"mandate.<status> | ping"},"deliveryId":{"type":"string","description":"Same as x-thide-delivery — retries reuse it, dedupe on it."},"at":{"type":"string","format":"date-time"},"eventStatus":{"type":"string","description":"The mandate status the event announced when it was raised. The rest of the body is built at send time, so a retried mandate.quoted may arrive with mandate.status already 'paid' — eventStatus still says 'quoted'. Absent on ping. Delivery order is not guaranteed: trust statusLog/status, dedupe on deliveryId.\n"}}}]},"TermsSummary":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"string"},"title":{"type":"string"},"audience":{"type":"string","enum":["client","professional"]},"status":{"type":"string","enum":["draft","in_force"]},"partnerApplicable":{"type":"boolean"},"effectiveDate":{"type":["string","null"]},"summary":{"type":"string"},"contentHash":{"type":"string"},"path":{"type":"string"}},"required":["id","version","title","audience","status","effectiveDate","summary","contentHash","path"]},"TermsDocument":{"allOf":[{"$ref":"#/components/schemas/TermsSummary"},{"type":"object","properties":{"body":{"type":"string"}},"required":["body"]}]},"SelfBill":{"type":"object","properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"professionalId":{"type":"string"},"invoiceNumber":{"type":"string"},"createdAt":{"type":"string"},"issuedAt":{"type":"string"},"invoiceDocumentId":{"type":"string"},"noticeDismissedAt":{"type":"string"},"contestedAt":{"type":"string"},"contestNote":{"type":"string"},"creditNoteNumber":{"type":"string"},"creditNoteIssuedAt":{"type":"string"},"creditNoteDocumentId":{"type":"string"},"ublDocumentId":{"type":"string"},"creditNoteUblDocumentId":{"type":"string"},"status":{"type":"string","enum":["draft","issued"]},"acceptedBy":{"type":"string","enum":["translator"]},"acceptance":{"type":"string","enum":["explicit","tacit"]},"deliveryChannel":{"type":"string","enum":["pending","peppol","pdf"]},"deadlineNotices":{"type":"array","items":{"type":"object","properties":{"sentAt":{"type":"string"},"audience":{"type":"string","enum":["professional","ops"]},"deadline":{"type":"string"},"stage":{"type":"string","enum":["due_soon","overdue"]}},"required":["sentAt","audience","deadline"]}}},"required":["id","mandateId","professionalId","status","createdAt"]},"Extraction":{"type":"object","properties":{"charCount":{"type":["integer","null"]},"method":{"type":"string","enum":["text_extraction","ocr","needs_ocr","manual_override"]},"countPending":{"type":"boolean"},"detectedLanguage":{"type":["string","null"]},"detectedOtherLabel":{"type":["string","null"]},"detectedIssuingCountry":{"type":["string","null"]},"detectedDocumentCategory":{"type":["string","null"]},"languageMismatch":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"charCount":{"type":["integer","null"]},"rawCharCount":{"type":["integer","null"]},"method":{"type":"string","enum":["text_extraction","ocr","needs_ocr","manual_override"]},"detectedLanguage":{"type":["string","null"]},"photoEstimateChars":{"type":["integer","null"]}},"required":["fileName","charCount","method"]}}},"required":["charCount","method","countPending","detectedLanguage","languageMismatch","files"]},"CreatorGrant":{"type":"string","description":"Present when the caller presented no client or professional credential. Send it as x-thide-creator on the reads of this request or group (see securitySchemes.creatorGrant): seven days, until the request is paid. Opaque — do not parse it.\n"},"IntakeResult":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"extraction":{"$ref":"#/components/schemas/Extraction"},"creatorGrant":{"$ref":"#/components/schemas/CreatorGrant"}},"required":["extraction"]}]},{"type":"object","properties":{"requestGroup":{"type":"object","properties":{"id":{"type":"string"},"count":{"type":"integer"}},"required":["id","count"]},"mandates":{"type":"array","items":{"$ref":"#/components/schemas/MandateEnvelope"}},"extraction":{"$ref":"#/components/schemas/Extraction"},"creatorGrant":{"$ref":"#/components/schemas/CreatorGrant"}},"required":["requestGroup","mandates","extraction"]}]},"HealthReport":{"type":"object","properties":{"ok":{"type":"boolean"},"migrations":{"type":"object","properties":{"applied":{"type":["string","null"]},"expected":{"type":["string","null"]},"missing":{"type":"array","items":{"type":"string"},"description":"Migration files of this build the store has not applied, oldest first. Present only when there is one."},"unknown":{"type":"array","items":{"type":"string"},"description":"Applied migration files this build does not know (the schema of a newer release under an older build). Present only when there is one."}},"required":["applied","expected"]},"gaps":{"type":"array","items":{"type":"string"}},"scanner":{"type":"object","description":"The malware scanner. off locally (a gap on an exposed host); a configured clamd that does not answer makes ok false, because every upload is then refused.","properties":{"mode":{"type":"string","enum":["clamd","off"]},"reachable":{"type":["boolean","null"],"description":"null when off."},"version":{"type":["string","null"],"description":"clamd's VERSION answer when reachable."}},"required":["mode","reachable","version"]},"error":{"type":"string","enum":["database_unavailable"]}},"required":["ok","migrations","gaps","scanner"]},"ClientAcceptance":{"type":"object","description":"The client's delivery acceptance (see GET /mandates/{id}/accept).","properties":{"openedAt":{"type":"string","format":"date-time"},"state":{"type":"string","enum":["pending","commented","referred","accepted"]},"via":{"type":"string","description":"explicit = the client's Accept; deemed = a window passed; thide = THIDE released a referred delivery after mediation.","enum":["explicit","deemed","thide"]},"reviewFrom":{"type":"string","format":"date-time","description":"Start of the running 3-working-day review window after a new version (two correction rounds, 24 Nov 2026). Absent while the window runs from delivery (openedAt). Messages never move it. After the second round, referral is open from this moment.\n"},"acceptedAt":{"type":"string","format":"date-time"},"referredAt":{"type":"string","format":"date-time"},"referredBy":{"type":"string","enum":["client","professional","thide"],"description":"Who referred; absent on referrals from before 4 November 2026, all of them the client's."},"comments":{"type":"array","description":"The delivery-comment thread, oldest first.","items":{"$ref":"#/components/schemas/AcceptanceComment"}},"refundPending":{"type":"boolean","description":"True while durable refund recovery is pending. Acceptance, comments and corrections are blocked until recovery completes; internal provider identifiers are withheld."}}},"AcceptanceComment":{"type":"object","description":"One delivery comment — the client's concern about delivered work, or the professional's reply — on the acceptance thread. Files sent with it ride the same gate, store and download door as a question's (POST /mandates/{id}/questions), and read as MessageAttachmentView on the acceptance route and on the envelope.\n","required":["id","by","message","at"],"properties":{"id":{"type":"string"},"by":{"type":"string","enum":["client","translator"]},"message":{"type":"string"},"at":{"type":"string","format":"date-time"},"correction":{"type":"boolean","enum":[true],"description":"Present on the client's correction request (request.correction), one of at most two rounds; absent on every other comment."},"attachments":{"type":"array","description":"Reference material sent with the comment — present only when there is some. Each item's downloadPath is this reader's link.","items":{"$ref":"#/components/schemas/MessageAttachmentView"}}}},"EffectiveLegalisation":{"type":"object","required":["recommended","effective","override","deviates"],"properties":{"recommended":{"type":"object","required":["requirement","basis","rationale","confirmWithProfessional"],"properties":{"requirement":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"basis":{"type":"string","enum":["not_sworn","belgian_domestic_use","eu_regulation_2016_1191","hague_apostille","bilateral_objection","no_treaty","not_modelled","insufficient_input"]},"rationale":{"type":"string"},"confirmWithProfessional":{"type":"boolean"}}},"effective":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"override":{"type":["object","null"]},"deviates":{"type":"boolean"}}},"Catalog":{"type":"object","properties":{"languages":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"}},"required":["code","label"]}},"pairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"},"autoQuoted":{"type":"boolean"}},"required":["source","target","autoQuoted"]}},"kinds":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","enum":["regular","sworn"]},"label":{"type":"string"},"description":{"type":"string"}},"required":["value","label","description"]}},"deadlines":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"},"priceModifier":{"type":"number"}},"required":["value","label","priceModifier"]}},"countries":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"label":{"type":"string"},"legalisation":{"type":["string","null"],"enum":["none","apostille","consular_legalisation",null]},"hagueParty":{"type":"boolean"}},"required":["code","label","legalisation","hagueParty"]}},"documentCategories":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"]}},"upload":{"type":"object","properties":{"maxFileBytes":{"type":"integer"},"maxFiles":{"type":"integer"},"maxTotalFileBytes":{"type":"integer"},"maxMultipartBodyBytes":{"type":"integer"},"maxJsonBodyBytes":{"type":"integer"},"maxCharCount":{"type":"integer"},"acceptedExtensions":{"type":"array","items":{"type":"string"}},"multipleFiles":{"type":"boolean"}},"required":["maxFileBytes","maxFiles","maxTotalFileBytes","maxMultipartBodyBytes","maxJsonBodyBytes","maxCharCount","acceptedExtensions","multipleFiles"]},"quoting":{"type":"object","properties":{"lineLengthChars":{"type":"integer"},"vatRate":{"type":"number"},"currency":{"const":"eur"}},"required":["lineLengthChars","vatRate","currency"]},"terms":{"type":"array","items":{"$ref":"#/components/schemas/TermsSummary"}}},"required":["languages","pairs","kinds","deadlines","countries","documentCategories","upload","quoting","terms"]},"TermsAcceptanceEvidence":{"type":"object","required":["documentId","version","contentHash","acceptedAt","via"],"properties":{"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"},"via":{"type":"string","enum":["web","api"]},"checkout":{"type":"object","description":"Present on the Engagement Terms acceptance recorded at payment.","properties":{"batchId":{"type":"string"},"items":{"type":"array","items":{"type":"object"}}}}}},"WorkflowError":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"type":["string","integer"]}},"message":{"type":"string"}},"required":["path","message"]}}},"required":["code","message"]},"data":{"description":"The operation result when a workflow refuses or partly completes; consult the named operation response schema."},"continuation":{"type":"object","properties":{"kind":{"type":"string","enum":["application","provider","verification"]},"url":{"type":"string"}},"required":["kind","url"]},"retainedInput":{"type":"boolean","description":"True only for a retained review with exact original input/files; generic navigation is false."},"preparedAction":{"$ref":"#/components/schemas/PreparedWorkflowReceipt"},"executed":{"type":"boolean","description":"False for a human handoff before the guarded business action executes."},"status":{"type":"string","const":"awaiting_confirmation","description":"A human step is required; follow the application continuation and re-read state. This is not business completion."}},"required":["error"]},"WorkflowCatalog":{"type":"object","properties":{"role":{"type":"string","enum":["client","professional","assignee"]},"operations":{"type":"array","items":{"type":"object","properties":{"operation":{"type":"string"},"title":{"type":"string","description":"Human-readable Studio label; use operation as the stable identifier."},"description":{"type":"string"},"scope":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]},"readOnly":{"type":"boolean"},"input":{"type":"object","properties":{},"required":[]},"response":{"type":"object","properties":{},"required":[]},"uploads":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"required":{"type":"boolean"},"multiple":{"type":"boolean"}},"required":["field"]}},"additionalScopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}}},"required":["operation","description","scope","input","response"]}}},"required":["role","operations"]},"RoleOpenApiDocument":{"type":"object","properties":{"openapi":{"const":"3.1.0"},"info":{"type":"object","properties":{"title":{"type":"string"},"version":{"type":"string"},"description":{"type":"string"}},"required":["title","version"]},"paths":{"type":"object","description":"OpenAPI Path Items with generated operation-specific command and response schemas.","additionalProperties":{"type":"object"}},"components":{"type":"object","description":"OpenAPI components including JSON Schemas and security schemes."}},"required":["openapi","info","paths"]},"IdentityChallengeInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","maxLength":254},"persona":{"default":"client","type":"string","enum":["client","pro","assignee"]},"returnTo":{"type":"string","maxLength":2048},"requestEmail":{"type":"string","maxLength":254}},"required":["email"],"additionalProperties":false},"IdentityVerifyInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^\\d{6}$"}},"required":["code"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$"}},"required":["id","token"],"additionalProperties":false}]},"IdentityPasswordInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email":{"type":"string","maxLength":254},"password":{"type":"string","minLength":1,"maxLength":800},"persona":{"default":"client","type":"string","enum":["client","pro","assignee"]},"returnTo":{"type":"string","maxLength":2048}},"required":["email","password"],"additionalProperties":false},"IdentitySecondStepInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"code":{"type":"string","minLength":6,"maxLength":40}},"required":["code"],"additionalProperties":false},"IdentityCredentialsInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"role":{"type":"string","enum":["client","professional","assignee"]},"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$"},"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["role","label"],"additionalProperties":false},"IdentityTermsInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$"},"documents":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"version":{"type":"string","minLength":1,"maxLength":128},"contentHash":{"type":"string","minLength":1,"maxLength":128}},"required":["id","version","contentHash"],"additionalProperties":false}}},"required":["token","documents"],"additionalProperties":false},"IdentityNominationInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$"},"decision":{"type":"string","enum":["accept","decline"]},"role":{"type":"string","enum":["translation","review","legalisation","invoicing"]},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"internalReference":{"type":"string","maxLength":160}},"required":["token","decision"],"additionalProperties":false},"IdentitySignoutInput":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"AssigneeDecision":{"type":"object","required":["mandateId","role","assignedAt","expectedUpdatedAt","accept"],"properties":{"mandateId":{"type":"string","minLength":1,"maxLength":128},"role":{"type":"string","enum":["translation","legalisation"]},"assignedAt":{"type":"string","format":"date-time"},"expectedUpdatedAt":{"type":"string","format":"date-time"},"accept":{"type":"boolean"},"internalReference":{"type":"string","maxLength":160},"declineReason":{"type":"string","minLength":1,"maxLength":4000,"description":"Non-whitespace reason required when accept is false; shared with the professional at confirmation."}},"allOf":[{"if":{"properties":{"accept":{"const":false}}},"then":{"required":["declineReason"]}}]},"AssigneeDeliverySelection":{"type":"array","minItems":1,"maxItems":200,"items":{"type":"object","required":["mandateId","role","assignedAt","expectedUpdatedAt"],"properties":{"mandateId":{"type":"string","minLength":1,"maxLength":128},"role":{"type":"string","enum":["translation","legalisation"]},"assignedAt":{"type":"string","format":"date-time"},"expectedUpdatedAt":{"type":"string","format":"date-time"},"draftId":{"type":"string","minLength":1,"maxLength":128,"description":"A file already prepared through the role operations' draft flow, used instead of a new upload for this item."}}}},"AssigneeBatchSubmissionResult":{"type":"object","required":["reports"],"properties":{"reports":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/AssigneeSubmissionResult"},{"type":"object","required":["mandateId","fileName"],"properties":{"mandateId":{"type":"string"},"fileName":{"type":"string"}}}]}}}},"professionalCommand":{"oneOf":[{"title":"Referral Messages","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"referral.messages"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Read only your private conversation with THIDE for this referred delivery; frozen participants retain closed history.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Referral Send","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"referral.send"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false}},"description":"Send a private message to THIDE on an open referral. Dedicated persisted retry identity; never accepts/refunds work or contacts providers.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Profile Read","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"profile.read"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Read own business, billing, pricing, subcontractor and payout settings without credentials.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Customers List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"customers.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"activity":{"type":"string","enum":["open","none"]},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","enum":["name","activity","revenue","jobs","open"]},"direction":{"type":"string","enum":["asc","desc"]},"page":{"type":"string","pattern":"^[1-9]\\d{0,8}$"}},"additionalProperties":false}},"description":"Read customer groups without email addresses. Filters and sorting match Studio; supply page for 25-row pagination, omit it for all filtered customers.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Customers Export","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"customers.export"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"activity":{"type":"string","enum":["open","none"]},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","enum":["name","activity","revenue","jobs","open"]},"direction":{"type":"string","enum":["asc","desc"]},"page":{"type":"string","pattern":"^[1-9]\\d{0,8}$"},"language":{"type":"string","enum":["en","nl"]},"ids":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":200}}},"additionalProperties":false}},"description":"Export every filtered customer as CSV, across all pages. Never includes email addresses.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Billing Statements","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.statements"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"q":{"type":"string","maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^[A-Za-z0-9_-]+$"}},"additionalProperties":false}},"description":"Read the shared invoice register, grouped invoice totals and issuance/delivery status. Optional limit (1–100) or cursor pages grouped rows by ascending mandateId; totals cover the entire filtered register. Live traversal is not a snapshot. Omit both to preserve the complete legacy register.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"THIDE invoices","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.thide-invoices"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"q":{"type":"string","maxLength":200}},"additionalProperties":false}},"description":"Read the invoices THIDE sent you for its platform fees (one per month, by Peppol), with their jobs and the stored PDF and UBL XML. Optional since/until (invoice date, YYYY-MM-DD) and q (invoice number or job reference), as the register filters.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Billing Thide Invoice Download","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.thide-invoice-download"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fileId":{"type":"string","pattern":"^cmf_[A-Za-z0-9-]{8,64}$"}},"required":["fileId"],"additionalProperties":false}},"description":"Download the stored PDF or UBL XML of an invoice THIDE sent you, exactly as it was sent.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Billing Thide Invoices Archive","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.thide-invoices-archive"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":300,"type":"array","items":{"type":"string","pattern":"^cmf_[A-Za-z0-9-]{8,64}$"}}},"required":["ids"],"additionalProperties":false}},"description":"Download a selection of the stored PDF and UBL XML files of the invoices THIDE sent you as one ZIP, exactly as they were sent. IDs are the files' ids from billing.thide-invoices.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Billing Agreement","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.agreement"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Read the exact version and text required before enabling invoicing.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"List Requests and Jobs","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"jobs.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."}},"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"screen":{"type":"string","enum":["requests","jobs"]},"archive":{"type":"string","enum":["0","1"]},"view":{"type":"string","maxLength":30},"month":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"q":{"type":"string","maxLength":200},"unread":{"type":"string","enum":["0","1"]},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"sort":{"type":"string","maxLength":40},"direction":{"type":"string","enum":["asc","desc"]}},"required":["screen"],"additionalProperties":false}]}},"description":"List owned Requests and Jobs. CSV filters use OR within each field and AND on the same item. Supply screen for Studio scope/display statuses; without screen, status keeps legacy raw mandate-status matching.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Open Request or Job","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"jobs.read"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Read an owned Request or Job, documents, conversation, quote and current assignment revision.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Quotes Review","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.review"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Read all request parts and their exact quote fingerprints before review or confirmation.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Quotes Set Price","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.set-price"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","enum":["fixed","unit"]},"fixedPrice":{"type":"string","maxLength":40},"unitRate":{"type":"string","maxLength":40}},"required":["mandateId","mode"],"additionalProperties":false}},"description":"Set a fixed or unit quote price through the Studio price-lock workflow. Amounts are euro strings.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Set Legalisation Price","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.set-legalisation-price"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"legalisationPrice":{"type":"string","maxLength":40}},"required":["mandateId","legalisationPrice"],"additionalProperties":false}},"description":"Set or reset the legalisation quote price. Empty string resets it.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Set Count","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.set-count"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"charCount":{"type":"integer","exclusiveMinimum":0,"maximum":100000000}},"required":["mandateId","charCount"],"additionalProperties":false}},"description":"Correct the character count using the existing quote locks; funded reductions can refund the difference.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Set Delivery Date","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.set-delivery-date"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"deliveryDate":{"type":"string"}},"required":["mandateId","deliveryDate"],"additionalProperties":false}},"description":"Set or clear the delivery date the quote proposes (civil day YYYY-MM-DD, a day after today and at most six months out; \"\" clears) while the request is still to be priced.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Set Volume","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.set-volume"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"charCount":{"type":"integer","minimum":0,"maximum":100000000}},"required":["mandateId","charCount"],"additionalProperties":false}},"description":"Save the billing source volume or draft count for the selected billing method.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Legalisation","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.legalisation"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"requirement":{"type":"string","enum":["none","apostille","consular_legalisation"]},"reason":{"type":"string","maxLength":4000}},"required":["mandateId","requirement"],"additionalProperties":false}},"description":"Confirm the legalisation requirement with an optional reason.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Save Review","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.save-review"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":128},"fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["mandateId","version"],"additionalProperties":false}},"description":"Record review of the exact quote version and fingerprint.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Set Exclusion","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.set-exclusion"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"include":{"type":"string","enum":["yes","no"]},"reason":{"type":"string","maxLength":4000}},"required":["mandateId","include"],"additionalProperties":false}},"description":"Include a part or record its internal exclusion reason before request confirmation.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Confirm Request","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.confirm-request"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"internalReference":{"type":"string","maxLength":160},"message":{"type":"string","maxLength":4000},"parts":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":128},"fingerprint":{"type":"string","maxLength":64},"exclusionReason":{"type":"string","maxLength":4000}},"required":["id","version","fingerprint"],"additionalProperties":false}}},"required":["mandateId","parts"],"additionalProperties":false}},"description":"Release reviewed exact request quotes and the optional client message.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Jobs Accept","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"jobs.accept"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignTo":{"type":"string","maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Accept a legacy paid job; current requests are accepted when funded.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Jobs Decline","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"jobs.decline"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"note":{"type":"string","maxLength":4000}},"required":["mandateId"],"additionalProperties":false}},"description":"Decline owned work through the existing refund-aware workflow.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Withdraw","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.withdraw"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Withdraw a sent, unpaid quote (Platform Terms 7.1): every quoted part of the request closes as Withdrawn, the client is told once, nothing financial is recorded. Refused once a payment is in progress or taken. Re-issue it later with quotes.reissue.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Quotes Reissue","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"quotes.reissue"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Reopen a withdrawn quote for review: the request returns to the professional with its draft pre-filled; confirm it again with quotes.confirm-request, which starts a fresh 30-day validity. Only a withdrawn quote reopens this way.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Jobs Set Reference","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"jobs.set-reference"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"internalReference":{"type":"string","maxLength":160}},"required":["mandateId","internalReference"],"additionalProperties":false}},"description":"Set the professional internal reference on the request.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Jobs Close Payment Attempt","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"jobs.close-payment-attempt"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Close a stale payment attempt using the same Stripe verification as Studio.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Messages Send Client","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"messages.send-client"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false}},"description":"Send and persist a client message through the existing relay. Reference material (a glossary, an earlier translation) travels as repeated multipart `attachment` parts within the message bounds; it is named in the relay mail and downloaded on THIDE.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"attachment","multiple":true}]},{"title":"Messages Reply Delivery","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"messages.reply-delivery"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":5,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false}},"description":"Reply to a delivery concern without accepting on the client’s behalf. Reference material travels as repeated multipart `attachment` parts within the message bounds, like messages.send-client; it is named in the relay mail and downloaded on THIDE.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"attachment","multiple":true}]},{"title":"Messages Mark Client","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"messages.mark-client"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"seenAt":{"type":"string","minLength":1,"maxLength":128},"unread":{"type":"boolean"}},"required":["mandateId","seenAt","unread"],"additionalProperties":false}},"description":"Mark a rendered incoming client message read or unread.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Messages Read Subcontractor","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"messages.read-subcontractor"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128}},"required":["mandateId","memberId","assignmentAt"],"additionalProperties":false}},"description":"Read the subcontractor conversation across their current assignments in this mandate.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Messages Send Subcontractor","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"messages.send-subcontractor"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","memberId","assignmentAt","message"],"additionalProperties":false}},"description":"Send a message to a subcontractor on the exact assignment. Reference material travels as repeated multipart `attachment` parts within the message bounds.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"attachment","multiple":true}]},{"title":"Messages Mark Subcontractor","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"messages.mark-subcontractor"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128},"at":{"type":"string","minLength":1,"maxLength":128},"unread":{"type":"boolean"}},"required":["mandateId","memberId","assignmentAt","at","unread"],"additionalProperties":false}},"description":"Mark an assignment conversation read or unread.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Assignments Set","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"assignments.set"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignee":{"type":"string","minLength":1,"maxLength":200},"nomineeName":{"type":"string","maxLength":200},"nomineeEmail":{"type":"string","maxLength":254},"dueDate":{"type":"string"},"freeText":{"type":"string","maxLength":200},"assignmentRevision":{"type":"string","minLength":1,"maxLength":128},"confirmCancellation":{"type":"string","const":"yes"}},"required":["mandateId","assignee"],"additionalProperties":false}},"description":"Assign translation, nominate a new subcontractor, or cancel with the reviewed assignment revision.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Assignments Set Package","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"assignments.set-package"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignee":{"type":"string","minLength":1,"maxLength":200},"nomineeName":{"type":"string","maxLength":200},"nomineeEmail":{"type":"string","maxLength":254},"dueDate":{"type":"string"},"scope":{"type":"string","enum":["selected","package"]},"message":{"type":"string","maxLength":4000},"items":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","updatedAt"],"additionalProperties":false}}},"required":["mandateId","assignee","scope","items"],"additionalProperties":false}},"description":"Assign exact job versions to an existing or nominated subcontractor: scope selected assigns this job only (one item, mandateId), scope package assigns every active job of the request together.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Assignments Set Due Date","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"assignments.set-due-date"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"dueDate":{"type":"string"}},"required":["mandateId","assignedAt","dueDate"],"additionalProperties":false}},"description":"Set, move or clear the deadline of the current subcontractor assignment (civil day YYYY-MM-DD; \"\" clears) on an active job, guarded by the exact assignment revision.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Assignments Review","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"assignments.review"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"role":{"type":"string","enum":["translation","legalisation"]},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"documentId":{"type":"string","minLength":1,"maxLength":200},"decision":{"type":"string","enum":["approved","changes_requested"]},"note":{"type":"string","maxLength":2000}},"required":["mandateId","role","memberId","assignedAt","documentId","decision"],"additionalProperties":false}},"description":"Approve or request corrections to the exact latest subcontractor submission.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[]},{"title":"Delivery Check","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.check"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["mandateId"],"additionalProperties":false}},"description":"Check selected delivery files. Invoice totals are checked against server-owned package billing (or the individual quote); ambiguous or unreadable totals remain unverified. Advisory only. Multipart files repeat under files, with corresponding input.roles.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[{"field":"files","multiple":true}]},{"title":"Delivery Submit","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.submit"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["mandateId"],"additionalProperties":false}},"description":"Submit a single-job delivery or prepare one part of a package. Multipart: files+roles, or translation/apostille/invoice. A package invoice travels with delivery.release-package. Once a draft invoice waits or the job is delivered, the same files are a harmless repeat and new files are refused (409); a delivered translation changes through delivery.correct.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"files","multiple":true},{"field":"translation"},{"field":"apostille"},{"field":"invoice"}]},{"title":"Delivery Submit Request","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.submit-request"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"entries":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"prefix":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,60}$"},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["id","prefix"],"additionalProperties":false}}},"required":["mandateId","entries"],"additionalProperties":false}},"description":"Submit multiple request parts. Each part selects a multipart prefix; upload prefix.translation/apostille. A single job may add prefix.invoice; a package invoice travels with delivery.release-package.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"<input.entries[].prefix>.translation"},{"field":"<input.entries[].prefix>.apostille"},{"field":"<input.entries[].prefix>.invoice"}]},{"title":"Delivery Review Package","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.review-package"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Read package preparation state, invoice evidence and exact reviewKey required to release it.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Delivery Release Package","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.release-package"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"reviewKey":{"type":"string","minLength":1,"maxLength":128}},"required":["mandateId","reviewKey"],"additionalProperties":false}},"description":"Release the exact reviewed package; multipart invoice if billing mode requires it. On a delivered package the reviewed key only resumes a pending notification; another key or an invoice part is refused.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"invoice"}]},{"title":"Submit new version","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.correct"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"replacesDocumentId":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"string","minLength":1,"maxLength":128},"operationId":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,128}$"}},"required":["mandateId","replacesDocumentId","revision","operationId"],"additionalProperties":false}},"description":"Publish an append-only translation correction (a new version) while the client’s correction request is open; it starts the client’s 3-working-day review again. Read jobs.read first: replacesDocumentId is the translation with currentVersion true, revision is correctionRevision. Multipart file required. Reuse operationId only to retry the same file; a retry creates no second version.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"file","required":true}]},{"title":"Delivery Upload Credit Note","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.upload-credit-note"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Attach the supplier credit note to a refunded package. Multipart creditNote required.","x-required-scope":"workflow","x-required-scopes":["workflow"],"x-read-only":false,"x-uploads":[{"field":"creditNote","required":true}]},{"title":"Billing Accept Invoice","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.accept-invoice"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"skipApprovalNextTime":{"type":"string","enum":["0","1"]}},"required":["mandateId"],"additionalProperties":false}},"description":"Accept a draft self-bill, with an optional explicit future automatic-issuance election.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Billing Contest Invoice","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.contest-invoice"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"note":{"type":"string","minLength":5,"maxLength":4000}},"required":["mandateId","note"],"additionalProperties":false}},"description":"Contest an issued self-bill using the existing credit-note workflow.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Billing Dismiss Notice","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.dismiss-notice"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Dismiss an invoice issuance notice.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Billing Upload Invoice","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"billing.upload-invoice"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Upload the professional’s own replacement invoice. Multipart invoice required.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[{"field":"invoice","required":true}]},{"title":"Panel Add","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"panel.add"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"email":{"type":"string","maxLength":254},"iban":{"type":"string","maxLength":40},"pairs":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"}}},"required":["name","email"],"additionalProperties":false}},"description":"Add a subcontractor to the professional’s own address book.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Panel Update","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"panel.update"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"iban":{"type":"string","maxLength":40},"selfBillAgreed":{"type":"string","enum":["0","1"]}},"required":["memberId","iban","selfBillAgreed"],"additionalProperties":false},{"type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"pairsForm":{"type":"string","const":"1"},"pairs":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"}}},"required":["memberId","pairsForm","pairs"],"additionalProperties":false}]}},"description":"Update one owned subcontractor’s settlement details (iban and selfBillAgreed, both required; an empty iban clears it) or replace its language pairs (pairsForm \"1\" with the complete pairs list).","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Panel Language Pair","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"panel.language-pair"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"pair":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"},"action":{"type":"string","enum":["add","remove"]}},"required":["memberId","pair","action"],"additionalProperties":false}},"description":"Add or remove one subcontractor language pair without overwriting other edits.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Set Cell","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.set-cell"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string","minLength":2,"maxLength":2},"target":{"type":"string","minLength":2,"maxLength":2},"forward":{"type":"object","properties":{"rate":{"type":"string","maxLength":40},"regular":{"type":"string","maxLength":40},"adHoc":{"type":"boolean"}},"required":["rate","regular","adHoc"],"additionalProperties":false},"reverse":{"type":"object","properties":{"rate":{"type":"string","maxLength":40},"regular":{"type":"string","maxLength":40},"adHoc":{"type":"boolean"}},"required":["rate","regular","adHoc"],"additionalProperties":false}},"required":["source","target"],"additionalProperties":false}},"description":"Set either or both ungrouped directions of one pricing cell. Euro strings; adHoc requests a manual quote. Group-owned directions must be edited through their group.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Group Save","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.group.save"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"},"expectedUpdatedAt":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"pairs":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":2,"maxLength":2},"target":{"type":"string","minLength":2,"maxLength":2}},"required":["source","target"],"additionalProperties":false}},"rate":{"type":"string","minLength":1,"maxLength":40},"regular":{"type":"string","maxLength":40}},"required":["expectedUpdatedAt","name","pairs","rate"],"additionalProperties":false}},"description":"Create or update an exact directional pricing group. Omitted pairs restore their previous rates; expectedUpdatedAt protects concurrent edits.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Group Remove","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.group.remove"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"},"expectedUpdatedAt":{"type":"string","minLength":1,"maxLength":100}},"required":["id","expectedUpdatedAt"],"additionalProperties":false}},"description":"Remove an owned pricing group and restore previous rates for its pairs. Existing quotes remain unchanged.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Add Language","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.add-language"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":1,"maxLength":100},"rate":{"type":"string","maxLength":40}},"required":["language"],"additionalProperties":false}},"description":"Add an ad-hoc language or a priced language with the Dutch pivot rate.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Remove Language","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.remove-language"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":2,"maxLength":2}},"required":["language"],"additionalProperties":false}},"description":"Remove a language and its future rates; historical quotes remain intact.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Remove Axis","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.remove-axis"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":2,"maxLength":2},"axis":{"type":"string","enum":["from","into"]}},"required":["language","axis"],"additionalProperties":false}},"description":"Set one directional language axis to manual pricing.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Minimums","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.minimums"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"minimumRegular":{"type":"string","maxLength":40},"minimumSworn":{"type":"string","maxLength":40}},"required":["minimumRegular","minimumSworn"],"additionalProperties":false}},"description":"Set regular and certified minimum charges as euro strings.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Deadlines","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.deadlines"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rush_1_3d":{"type":"number","exclusiveMinimum":-100,"maximum":200},"week_1":{"type":"number","exclusiveMinimum":-100,"maximum":200},"month_1":{"type":"number","exclusiveMinimum":-100,"maximum":200}},"required":["rush_1_3d","week_1","month_1"],"additionalProperties":false}},"description":"Set deadline percentages with the same ordering and bounds as Studio.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Pricing Billing Method","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"pricing.billing-method"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"basis":{"type":"string","enum":["characters","words","pages"]},"charactersPerUnit":{"type":"integer","minimum":1,"maximum":1000000},"unitName":{"type":"string","enum":["line","standard_page","characters"]},"includeSpaces":{"type":"string","enum":["yes","no"]},"rounding":{"type":"string","enum":["whole","proportional"]}},"required":["basis","charactersPerUnit","unitName","includeSpaces","rounding"],"additionalProperties":false}},"description":"Set billing units and convert compatible future rates using the existing pricing workflow.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Settings Business","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"settings.business"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"businessName":{"type":"string","minLength":1,"maxLength":200},"country":{"type":"string","const":"BE"},"enterpriseNumber":{"type":"string","maxLength":40},"vatRegime":{"type":"string","enum":["normal","franchise","exempt"]},"iban":{"type":"string","maxLength":40},"address":{"type":"string","maxLength":200},"street":{"type":"string","maxLength":200},"postalCode":{"type":"string","maxLength":40},"city":{"type":"string","maxLength":200}},"required":["businessName","enterpriseNumber"],"additionalProperties":false}},"description":"Save professional billing identity through the existing identifier and country validation. Send street, postalCode and city together; a stored structured address changes only that way.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Settings Invoicing","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"settings.invoicing"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enable":{"type":"string","enum":["0","1"]},"agreement":{"type":"string","const":"1"},"agreementVersion":{"type":"string","maxLength":100}},"required":["enable"],"additionalProperties":false}},"description":"Enable or withdraw invoice issuing authorisation. Enabling requires agreement=1 and the reviewed agreementVersion.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Settings Recheck Issuer","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"settings.recheck-issuer"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Recheck the existing issuer registration status.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Settings Notifications","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"settings.notifications"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"emailNotifications":{"type":"string","enum":["0","1"]}},"required":["emailNotifications"],"additionalProperties":false}},"description":"Enable or disable professional email notifications.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Settings Commission Vat","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"settings.commission-vat"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Explicitly activate Belgian commission VAT for future quotes.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Payouts Verify","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"payouts.verify"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Create a hosted Stripe verification continuation; provider verification still requires the professional. The link is one-use and never replayed.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Payouts Dashboard","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"payouts.dashboard"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Obtain the professional’s one-use hosted payout dashboard continuation. The link is never replayed.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Payouts Update","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"payouts.update"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Obtain the hosted payout details update continuation. The link is one-use and never replayed.","x-required-scope":"payments","x-required-scopes":["payments"],"x-read-only":false,"x-uploads":[]},{"title":"Reports Export","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"reports.export"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"pair":{"type":"string","maxLength":20},"assignee":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":80},"from":{"type":"string","minLength":1,"maxLength":128},"to":{"type":"string","minLength":1,"maxLength":128},"completedFrom":{"type":"string","minLength":1,"maxLength":128},"completedTo":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false}},"description":"Download the same filtered job report CSV as Studio.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Reports Commission","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"reports.commission"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"}},"required":["month"],"additionalProperties":false}},"description":"Read the retained commission accounting preview for a month.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Export Requests and Jobs","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"reports.selection"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"archive":{"type":"string","maxLength":20},"view":{"type":"string","maxLength":30},"unread":{"type":"string","maxLength":20},"page":{"type":"string","maxLength":20},"screen":{"type":"string","maxLength":30},"section":{"type":"string","maxLength":30},"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"ids":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sort":{"type":"string","maxLength":40},"direction":{"type":"string","enum":["asc","desc"]},"month":{"type":"string","maxLength":7}},"additionalProperties":false}},"description":"Download a filtered selection of request/job rows as CSV.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Reports Invoices","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"reports.invoices"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","pattern":"^[\\w-]+:[\\w-]+$"}}},"required":["ids"],"additionalProperties":false}},"description":"Download an authorised selection of existing invoice files as ZIP. IDs are mandateId:documentId.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Reports Audit","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"reports.audit"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"description":"Download an owned job’s audit CSV.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Reports Bank File","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"reports.bank-file"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"batchId":{"type":"string","minLength":1,"maxLength":200}},"required":["batchId"],"additionalProperties":false}},"description":"Download a retained subcontractor settlement batch’s SEPA file; this does not submit a bank transfer.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Attachment Download","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"attachment.download"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"attachmentId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","attachmentId"],"additionalProperties":false}},"description":"Download reference material attached to a message in an owned request conversation or assignment conversation, through the same owner-checked route as Studio.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Document Download","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"document.download"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"documentId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","documentId"],"additionalProperties":false}},"description":"Download an owned document, including operator-selected profiles, through the shared document visibility checks.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Delivery Download Prepared","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"delivery.download-prepared"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"key":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","key"],"additionalProperties":false}},"description":"Download an owned prepared delivery or invoice file using the key returned by package review.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Onboarding Get","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"onboarding.get"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Read Studio setup progress, the full current text of each document this profile is asked to accept — always the Platform Terms, and the Engagement Terms where THIDE asks professionals for them — with `accepted`: false while this profile still has to accept it (the Platform Terms once, the Engagement Terms at their current version before a new quote can be sent), and the immutable acceptance receipts, earlier versions included.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Onboarding Accept","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"onboarding.accept"},"input":{"anyOf":[{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["accepted","documents","language"],"additionalProperties":false},{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["language"],"additionalProperties":false}],"description":"The authenticated credential selects the input contract. Current authority plus H policy accepts a human handoff without personal proof fields; preserved legacy credentials require the original input. Supplied fields are validated in either contract."}},"description":"Open THIDE onboarding for the verified profile owner to review and personally accept the actual current documents. This call records no acceptance. accepted and documents are optional for this handoff; supplied values remain validated. language remains required. Read onboarding.get afterward.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Onboarding Receipt","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"onboarding.receipt"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Download the stored acceptance evidence and exact accepted document text.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Referrals List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.referrals.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"THIDE operator only: queue of frozen referred cases, including closed history.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Referrals Messages","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.referrals.messages"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"channel":{"type":"string","enum":["client","professional"]}},"required":["mandateId","channel"],"additionalProperties":false}},"description":"THIDE operator only: read exactly the selected private channel.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Referrals Send","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.referrals.send"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000},"channel":{"type":"string","enum":["client","professional"]}},"required":["mandateId","message","channel"],"additionalProperties":false}},"description":"THIDE operator only: reply to exactly one private channel. Does not resolve acceptance or refund.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Applications List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.applications.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":1000000}},"additionalProperties":false}},"description":"Operator-only professional applications, 25 per page. No account is created by submission.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Applications Review","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.applications.review"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applicationId":{"type":"string","minLength":1,"maxLength":128},"decision":{"type":"string","enum":["approve","decline"]}},"required":["applicationId","decision"],"additionalProperties":false}},"description":"Approve or decline a pending application. Approval creates a clean Studio but never sends an invitation.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Professionals Invitation Preview","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.invitation-preview"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128}},"required":["professionalId"],"additionalProperties":false}},"description":"Review the exact invitation recipient, subject, body and sign-in link before explicitly sending. The link grants no access.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Professionals Invite","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.invite"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128},"previewHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["professionalId","previewHash"],"additionalProperties":false}},"description":"Explicitly send the reviewed invitation to the saved professional email. Requires the current previewHash; never accepts a recipient override.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Professionals List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Operator-only professional registry and eligibility review data.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Professionals Register","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.register"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","maxLength":254}},"required":["name","email"],"additionalProperties":false}},"description":"Register a professional using the same operator validation as Studio.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Professionals Eligibility","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.eligibility"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128},"pairs":{"type":"string","minLength":1,"maxLength":4000},"service":{"minItems":1,"type":"array","items":{"type":"string","enum":["regular","sworn"]}},"countries":{"type":"string","maxLength":1000},"evidence":{"type":"string","minLength":1,"maxLength":4000},"verified":{"type":"boolean","const":true},"active":{"type":"boolean"}},"required":["professionalId","pairs","service","countries","evidence","verified","active"],"additionalProperties":false}},"description":"Record reviewed qualification evidence and availability.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Allocation List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Read the exact deduplicated unallocated-request and pending-follow-up queues shown in Studio.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Allocation Evaluate","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.evaluate"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"jurisdictions":{"default":[],"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}}},"required":["requestId","from","to"],"additionalProperties":false}},"description":"Evaluate eligible professionals using requested dates and qualification jurisdictions.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Allocation Assign","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.assign"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128},"professionalId":{"type":"string","minLength":1,"maxLength":128},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"jurisdictions":{"type":"string","maxLength":1000}},"required":["requestId","professionalId","from","to","jurisdictions"],"additionalProperties":false}},"description":"Allocate the reviewed request and initiate its existing follow-up workflow.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Allocation Retry","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.retry"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false}},"description":"Retry the current allocation follow-up through its existing guarded service.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Einvoice Retry","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.einvoice.retry"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deliveryId":{"type":"string","minLength":1,"maxLength":128}},"required":["deliveryId"],"additionalProperties":false}},"description":"Retry a failed e-invoice delivery when its invoice is still eligible.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Terms Ledger","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.terms.ledger"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":128},"requestGroupId":{"type":"string","minLength":1,"maxLength":128},"email":{"type":"string","minLength":3,"maxLength":254},"professionalId":{"type":"string","minLength":1,"maxLength":128},"memberId":{"type":"string","minLength":1,"maxLength":128},"eventId":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false}},"description":"Operator-only read of the append-only terms acceptance ledger: who accepted which document version, when, through which door, from where, and which mail confirmed it. Exactly one selector: mandateId (its whole request), requestGroupId, email (every request under that address), professionalId (the profile and its panel members), memberId or eventId. Rows come oldest first.","x-required-scope":"operator","x-required-scopes":["operator"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Credentials List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. List your profile API credentials and connected assistants with their permissions. Secrets are never returned.","x-required-scope":"operator","x-required-scopes":["operator","credentials"],"x-read-only":true,"x-uploads":[]},{"title":"Operator Credentials Create","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.create"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["label"],"additionalProperties":false}},"description":"Only the credential owner profile may create or rotate secrets; selecting another professional is refused. Requires operator and credentials permissions. Create an API key ID and secret for your profile, with permissions and optional expiry. The secret is returned once; delegation cannot exceed your own permissions or lifetime.","x-required-scope":"operator","x-required-scopes":["operator","credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Credentials Rotate","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.rotate"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Only the credential owner profile may create or rotate secrets; selecting another professional is refused. Requires operator and credentials permissions. Rotate a profile credential secret. Its ID, permissions and expiry remain unchanged; the previous secret stops working immediately.","x-required-scope":"operator","x-required-scopes":["operator","credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Credentials Revoke","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.revoke"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Revoke one of your profile API credentials or disconnect an assistant immediately.","x-required-scope":"operator","x-required-scopes":["operator","credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Callbacks Save","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.callbacks.save"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["keyId","url"],"additionalProperties":false}},"description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Set or clear a callback URL for an owned readable credential. A changed URL returns its new signing secret once.","x-required-scope":"operator","x-required-scopes":["operator","credentials","read"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Callbacks Rotate","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.callbacks.rotate"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Rotate a callback signing secret, returned once.","x-required-scope":"operator","x-required-scopes":["operator","credentials","read"],"x-read-only":false,"x-uploads":[]},{"title":"Operator Callbacks Test","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"operator.callbacks.test"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Send one signed test event to the stored callback URL.","x-required-scope":"operator","x-required-scopes":["operator","credentials","read"],"x-read-only":false,"x-uploads":[]},{"title":"Profile Get","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"profile.get"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Read the authenticated Studio profile identity and image availability.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Profile Image Get","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"profile.image.get"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Read the normalized profile image.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Upload picture","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"profile.image.set"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Upload a JPEG, PNG or WebP image up to 2 MB in the image multipart field.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[{"field":"image","required":true}]},{"title":"Profile Image Remove","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"profile.image.remove"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"Remove the profile image.","x-required-scope":"settings","x-required-scopes":["settings"],"x-read-only":false,"x-uploads":[]},{"title":"Counterparty Image Get","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"counterparty.image.get"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1},"target":{"type":"string","enum":["counterparty","assignment"]}},"required":["mandateId"],"additionalProperties":false}},"description":"Read the counterpart profile image for an owned human request. Professional callers may set target to assignment for the current translation assignee; no account id is accepted. Client access starts when the request becomes a job. Returns 404 if unavailable.","x-required-scope":"read","x-required-scopes":["read"],"x-read-only":true,"x-uploads":[]},{"title":"Credentials List","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"credentials.list"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"description":"List your profile API credentials and connected assistants with their permissions. Secrets are never returned.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":true,"x-uploads":[]},{"title":"Credentials Create","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"credentials.create"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["label"],"additionalProperties":false}},"description":"Create an API key ID and secret for your profile, with permissions and optional expiry. The secret is returned once; delegation cannot exceed your own permissions or lifetime.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Credentials Rotate","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"credentials.rotate"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Rotate a profile credential secret. Its ID, permissions and expiry remain unchanged; the previous secret stops working immediately.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Credentials Revoke","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"credentials.revoke"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Revoke one of your profile API credentials or disconnect an assistant immediately.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Callbacks Save","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"callbacks.save"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["keyId","url"],"additionalProperties":false}},"description":"Set or clear a callback URL for an owned readable credential. A changed URL returns its new signing secret once.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Callbacks Rotate","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"callbacks.rotate"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Rotate a callback signing secret, returned once.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":false,"x-uploads":[]},{"title":"Callbacks Test","type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"callbacks.test"},"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}},"description":"Send one signed test event to the stored callback URL.","x-required-scope":"credentials","x-required-scopes":["credentials"],"x-read-only":false,"x-uploads":[]}]},"professionalResult":{"anyOf":[{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["caseId","anchorId","memberIds","referredAt","closed","channel","canWrite","messages"],"additionalProperties":false,"properties":{"caseId":{"type":"string"},"anchorId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"referredAt":{"type":"string"},"closed":{"type":"boolean"},"channel":{"enum":["client","professional"]},"canWrite":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}}}}}},"x-operation":"referral.messages"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}}},"x-operation":"referral.send"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"id":{"type":"string"},"businessName":{"type":"string"},"email":{"type":"string"},"address":{"type":"string"},"addressDetails":{"type":"object","properties":{"street":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}},"required":["street","postalCode","city","country"],"additionalProperties":false},"vatNumber":{"type":"string"},"iban":{"type":"string"},"issuer":{"type":"object","properties":{"country":{"type":"string"},"enterpriseNumber":{"type":"string"},"vatRegime":{"type":"string"},"vies":{"type":"object","properties":{"status":{"enum":["valid","invalid","unavailable"]},"name":{"type":"string"},"address":{"type":"string"},"requestDate":{"type":"string"},"requestIdentifier":{"type":"string"},"checkedAt":{"type":"string"}},"required":["status","checkedAt"],"additionalProperties":false},"kbo":{"type":"object","properties":{"status":{"enum":["active","inactive","unknown"]},"legalForm":{"type":"string"},"vatCapacity":{"type":"boolean"},"checkedAt":{"type":"string"},"source":{"type":"string"}},"required":["status","checkedAt","source"],"additionalProperties":false},"registry":{"type":"object","properties":{"provider":{"type":"string"},"issuerId":{"type":"string"},"enterpriseNumber":{"type":"string"},"verificationUrl":{"type":"string"},"state":{"type":"string"},"requestedAt":{"type":"string"},"verifiedAt":{"type":"string"}},"required":["provider","issuerId","state","requestedAt"],"additionalProperties":false}},"required":["country","enterpriseNumber","vatRegime"],"additionalProperties":false},"eligibility":{"type":"object","properties":{"approval":{"enum":["pending","approved","suspended"]},"active":{"type":"boolean"},"languagePairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["source","target","evidence"],"additionalProperties":false}},"services":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["kind","evidence"],"additionalProperties":false}},"jurisdictions":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["country","kind","evidence"],"additionalProperties":false}}},"required":["approval","active","languagePairs","services","jurisdictions"],"additionalProperties":false},"emailNotifications":{"type":"boolean"},"selfBilling":{"type":"object","properties":{"enabled":{"type":"boolean"},"agreementAcceptedAt":{"type":"string"},"agreementVersion":{"type":"string"},"pendingAuthorisationAt":{"type":"string"},"pendingAgreementVersion":{"type":"string"},"seriesPrefix":{"type":"string"},"nextNumber":{"type":"integer"},"creditNoteNextNumber":{"type":"integer"},"perInvoiceAcceptance":{"type":"boolean"},"contestDays":{"type":"integer"},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"event":{"type":"string"},"note":{"type":"string"}},"required":["at","event"],"additionalProperties":false}}},"required":["enabled","seriesPrefix","nextNumber","perInvoiceAcceptance","contestDays","events"],"additionalProperties":false},"pricing":{"type":"object","properties":{"rates":{"type":"object","additionalProperties":{"type":"object","properties":{"defaultCents":{"type":"integer"},"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"regularCents":{"type":"integer"},"provisional":{"type":"boolean"},"derived":{"type":"boolean"},"adHoc":{"type":"boolean"}},"required":["defaultCents","minCents","maxCents"],"additionalProperties":false}},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"pairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"}},"required":["source","target"],"additionalProperties":false}},"rate":{"type":"object","properties":{"defaultCents":{"type":"integer"},"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"regularCents":{"type":"integer"},"provisional":{"type":"boolean"},"derived":{"type":"boolean"},"adHoc":{"type":"boolean"}},"required":["defaultCents","minCents","maxCents"],"additionalProperties":false}},"required":["id","name","pairs","rate"],"additionalProperties":false}},"adHocLanguages":{"type":"array","items":{"type":"string"}},"minimumCents":{"type":"object","properties":{"regular":{"type":"integer"},"sworn":{"type":"integer"}},"required":["regular","sworn"],"additionalProperties":false},"deadlinePricing":{"type":"object","properties":{"rush_1_3d":{"type":"number"},"week_1":{"type":"number"},"month_1":{"type":"number"}},"required":["rush_1_3d","week_1","month_1"],"additionalProperties":false},"billingMethod":{"type":"object","properties":{"basis":{"enum":["characters","words","pages"]},"charactersPerUnit":{"type":"integer"},"unitName":{"enum":["line","standard_page","characters"]},"includeSpaces":{"type":"boolean"},"rounding":{"enum":["whole","proportional"]}},"required":["basis","charactersPerUnit","unitName","includeSpaces","rounding"],"additionalProperties":false},"commissionTax":{"type":"object","properties":{"treatment":{"const":"be_standard"},"basis":{"type":"string"}},"required":["treatment","basis"],"additionalProperties":false},"unit":{"type":"string"},"currency":{"type":"string"},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"event":{"type":"string"},"note":{"type":"string"}},"required":["at","event"],"additionalProperties":false}}},"required":["rates","adHocLanguages","events"],"additionalProperties":false},"awayPeriods":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"note":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"connectStatus":{"type":"object","properties":{"state":{"type":"string"},"payoutsEnabled":{"type":"boolean"},"chargesEnabled":{"type":"boolean"},"checkedAt":{"type":"string"}},"required":["state","payoutsEnabled","chargesEnabled","checkedAt"],"additionalProperties":false},"hasPayoutAccount":{"type":"boolean"},"settlementBatches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"paidAt":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"memberId":{"type":"string"},"role":{"type":"string"},"amountCents":{"type":"integer"}},"required":["mandateId","memberId","role","amountCents"],"additionalProperties":false}}},"required":["id","createdAt","items"],"additionalProperties":false}},"updatedAt":{"type":"string"},"panel":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"language":{"type":"string"},"iban":{"type":"string"},"status":{"enum":["active","nominated","declined"]},"languagePairs":{"type":"array","items":{"type":"string"}},"rates":{"type":"object","properties":{"perLine":{"type":"object","additionalProperties":{"type":"integer"}},"roleFlat":{"type":"object","additionalProperties":{"type":"integer"}}},"required":[],"additionalProperties":false},"nominatedAt":{"type":"string"},"joinedAt":{"type":"string"},"termsAcceptedAt":{"type":"string"},"selfBillAgreedAt":{"type":"string"}},"required":["id","name","email","status","languagePairs","rates","nominatedAt"],"additionalProperties":false}}},"required":["id","businessName","email","address","vatNumber","iban","emailNotifications","selfBilling","pricing","hasPayoutAccount","settlementBatches","updatedAt","panel"],"additionalProperties":false}},"x-operation":"profile.read"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pages":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"start":{"type":"integer"},"end":{"type":"integer"}},"required":["page","pages","offset","total","start","end"],"additionalProperties":false},"customers":{"type":"array","items":{"type":"object","properties":{"reference":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"mandateIds":{"type":"array","items":{"type":"string"}},"pairs":{"type":"array","items":{"type":"string"}},"settledCents":{"type":"integer"},"liveCount":{"type":"integer"},"lastActivity":{"type":"string"},"latestJobId":{"type":"string"}},"required":["reference","name","company","mandateIds","pairs","settledCents","liveCount","lastActivity","latestJobId"],"additionalProperties":false}}},"required":["pagination","customers"],"additionalProperties":false}},"x-operation":"customers.list"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"totalCents":{"type":"integer"},"subtotalCents":{"type":"integer"},"rows":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"clientName":{"type":"string"},"status":{"$ref":"#/components/schemas/MandateStatus"},"totalCents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"subtotalCents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"issuedAt":{"type":"string"},"issuance":{"anyOf":[{"type":"object","properties":{"chargeableAt":{"type":"string"},"deadline":{"type":"string"},"state":{"enum":["ok","due_soon","overdue"]},"line":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["chargeableAt","deadline","state","line"],"additionalProperties":false},{"type":"null"}]},"invoice":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"invoiceNumber":{"type":"string"},"creditNoteNumber":{"type":"string"},"contestedAt":{"type":"string"},"deliveryChannel":{"type":"string"}},"required":["id","status"],"additionalProperties":false},{"type":"null"}]},"delivery":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"kind":{"type":"string"},"deliveredAt":{"type":"string"},"failureCategory":{"type":"string"}},"required":["status","kind"],"additionalProperties":false},{"type":"null"}]},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"role":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"downloadPath":{"type":"string"},"archiveId":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"document.download"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"documentId":{"type":"string"}},"required":["mandateId","documentId"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["id","mandateId","role","fileName","mimeType","downloadPath","archiveId","download"],"additionalProperties":false}}},"required":["mandateId","clientName","status","totalCents","subtotalCents","issuedAt","issuance","invoice","delivery","documents"],"additionalProperties":false}},"page":{"type":"object","additionalProperties":false,"required":["limit","nextCursor","hasMore","order"],"properties":{"limit":{"type":"integer","minimum":1,"maximum":100},"nextCursor":{"type":["string","null"]},"hasMore":{"type":"boolean"},"order":{"const":"mandateId:asc"}}}},"required":["totalCents","subtotalCents","rows"],"additionalProperties":false}},"x-operation":"billing.statements"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"batchId":{"type":"string"},"kind":{"const":"invoice"},"month":{"type":"string"},"invoiceNumber":{"type":"string"},"invoiceDate":{"type":"string"},"netCents":{"type":"integer"},"vatCents":{"type":"integer"},"grossCents":{"type":"integer"},"jobs":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"reference":{"type":"string"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["mandateId","reference","heading"],"additionalProperties":false}},"sentAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"role":{"enum":["pdf","xml"]},"fileName":{"type":"string"},"sizeBytes":{"type":"integer"},"downloadPath":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"billing.thide-invoice-download"},"input":{"type":"object","properties":{"fileId":{"type":"string"}},"required":["fileId"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["id","role","fileName","sizeBytes","downloadPath","download"],"additionalProperties":false}}},"required":["batchId","kind","month","invoiceNumber","invoiceDate","netCents","vatCents","grossCents","jobs","sentAt","files"],"additionalProperties":false}}},"required":["rows"],"additionalProperties":false}},"x-operation":"billing.thide-invoices"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false}},"x-operation":"billing.agreement"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"stats":{"type":"object","properties":{"yourDecision":{"type":"integer"},"yourDecisionPayoutCents":{"type":"integer"},"yourDecisionPriced":{"type":"integer"},"awaitingClient":{"type":"integer"},"awaitingClientPayoutCents":{"type":"integer"},"awaitingClientPriced":{"type":"integer"},"running":{"type":"integer"},"runningPayoutCents":{"type":"integer"},"completedThisMonth":{"type":"integer"},"payoutThisMonthCents":{"type":"integer"},"lane":{"type":"object","properties":{"in_progress":{"type":"integer"},"with_client":{"type":"integer"},"completed":{"type":"integer"}},"required":["in_progress","with_client","completed"],"additionalProperties":false}},"required":["yourDecision","yourDecisionPayoutCents","yourDecisionPriced","awaitingClient","awaitingClientPayoutCents","awaitingClientPriced","running","runningPayoutCents","completedThisMonth","payoutThisMonthCents","lane"],"additionalProperties":false},"jobs":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"internalReference":{"anyOf":[{"type":"string"},{"type":"null"}]},"jobNumber":{"type":"integer"},"jobCount":{"type":"integer"},"deadline":{"type":"object","properties":{"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"daysRemaining":{"anyOf":[{"type":"integer"},{"type":"null"}]},"risk":{"enum":["overdue","due_soon","on_track","none"]}},"required":["dueAt","daysRemaining","risk"],"additionalProperties":false},"unreadClientCount":{"type":"integer"},"unreadSubcoCount":{"type":"integer"},"unreadMessageCount":{"type":"integer"},"unansweredClientMessage":{"type":"boolean"},"stageSince":{"type":"string"}},"required":["internalReference","jobNumber","jobCount","deadline","unreadClientCount","unreadSubcoCount","unreadMessageCount","unansweredClientMessage","stageSince"]}]}}},"required":["stats","jobs"],"additionalProperties":false}},"x-operation":"jobs.list"},{"type":"object","required":["data"],"properties":{"data":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"assignmentRevision":{"type":"string"},"correctionRevision":{"type":"string"},"internalReference":{"type":"object","properties":{"locked":{"type":"boolean"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchorId":{"type":"string"},"createdAt":{"type":"string"},"jobNumber":{"type":"integer"},"jobCount":{"type":"integer"}},"required":["locked","reference","anchorId","createdAt","jobNumber","jobCount"],"additionalProperties":false},"payout":{"anyOf":[{"type":"object","properties":{"state":{"enum":["transferring","on_stripe_balance","payout_waiting","payout_started","paid_out","payout_failed"]},"amountCents":{"type":"integer"},"at":{"type":"string"},"arrivalDate":{"type":"string"},"message":{"type":"string"},"dashboard":{"type":"object","properties":{"operation":{"const":"payouts.dashboard"}},"required":["operation"],"additionalProperties":false}},"required":["state","message","dashboard"],"additionalProperties":false},{"type":"null"}]}},"required":["assignmentRevision","correctionRevision","internalReference","payout"]}]}},"x-operation":"jobs.read"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"anchorId":{"type":"string"},"parts":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"review":{"type":"object","properties":{"version":{"type":"string"},"fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewed":{"type":"boolean"},"exclusionReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["version","fingerprint","reviewed"],"additionalProperties":false}},"required":["review"]}]}}},"required":["anchorId","parts"],"additionalProperties":false}},"x-operation":"quotes.review"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.set-price"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.set-legalisation-price"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.set-count"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.set-delivery-date"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.set-volume"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.legalisation"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.save-review"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"type":"boolean"}},"required":["saved"],"additionalProperties":false}},"x-operation":"quotes.set-exclusion"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"confirmed":{"type":"integer"},"errors":{"type":"array","items":{"type":"string"}}},"required":["confirmed","errors"],"additionalProperties":false}},"x-operation":"quotes.confirm-request"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"jobs.accept"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"jobs.decline"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.withdraw"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"quotes.reissue"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"jobs.set-reference"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"jobs.close-payment-attempt"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"messages.send-client"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"messages.reply-delivery"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"messages.mark-client"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"professionalId":{"type":"string"},"memberId":{"type":"string"},"assignmentAt":{"type":"string"},"from":{"enum":["professional","subcontractor"]},"message":{"type":"string"},"at":{"type":"string"},"kind":{"type":"string"},"memberName":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","fileName","mimeType","sizeBytes","download"],"properties":{"id":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"download":{"type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"attachment.download"},"input":{"type":"object","additionalProperties":false,"required":["mandateId","attachmentId"],"properties":{"mandateId":{"type":"string"},"attachmentId":{"type":"string"}}}}}}}}},"required":["id","mandateId","professionalId","memberId","assignmentAt","from","message","at"],"additionalProperties":false}}},"required":["messages"],"additionalProperties":false}},"x-operation":"messages.read-subcontractor"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"messages.send-subcontractor"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"messages.mark-subcontractor"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"assignments.set"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"assignments.set-package"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"assignments.set-due-date"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"assignments.review"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"classification":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"role":{"enum":["translation","apostille","invoice","unknown"]}},"required":["fileName","role"],"additionalProperties":false}},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"level":{"enum":["warn","note"]},"message":{"type":"string"}},"required":["code","level","message"],"additionalProperties":false}}},"required":["classification","findings"],"additionalProperties":false}},"x-operation":"delivery.check"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"review":{"type":"boolean"}},"required":[],"additionalProperties":false}},"x-operation":"delivery.submit"},{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"error":{"type":"string"},"review":{"type":"boolean"}},"required":["id"],"additionalProperties":false}}},"x-operation":"delivery.submit-request"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"object","properties":{"prepared":{"const":false},"reviewKey":{"type":"null"}},"required":["prepared","reviewKey"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"anchorId":{"type":"string"},"phase":{"type":"string"},"version":{"type":"integer"},"ready":{"type":"boolean"},"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"prepared":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"role":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"key":{"type":"string"}},"required":["mandateId","key"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["fileName","mimeType","sizeBytes","role","download"],"additionalProperties":false}}},"required":["id","prepared","files"],"additionalProperties":false}},"reviewKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"invoiceHtml":{"anyOf":[{"type":"string"},{"type":"null"}]},"invoice":{"anyOf":[{"type":"object","properties":{"mode":{"enum":["self","own"]},"parts":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"quote":{"$ref":"#/components/schemas/Quote"}},"required":["mandateId","quote"],"additionalProperties":false}},"file":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"role":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"key":{"type":"string"}},"required":["mandateId","key"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["fileName","mimeType","sizeBytes","role","download"],"additionalProperties":false},{"type":"null"}]}},"required":["mode","parts","file"],"additionalProperties":false},{"type":"null"}]},"refund":{"anyOf":[{"type":"object","properties":{"completedAt":{"type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"role":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"key":{"type":"string"}},"required":["mandateId","key"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["fileName","mimeType","sizeBytes","role","download"],"additionalProperties":false}}},"required":["files"],"additionalProperties":false},{"type":"null"}]}},"required":["id","anchorId","phase","version","ready","members","reviewKey","invoiceHtml","invoice","refund"],"additionalProperties":false}]}},"x-operation":"delivery.review-package"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"delivery.release-package"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"delivery.correct"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"delivery.upload-credit-note"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"billing.accept-invoice"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"billing.contest-invoice"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"billing.dismiss-notice"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"billing.upload-invoice"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"panel.add"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"panel.update"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"pairs":{"type":"array","items":{"type":"string"}}},"required":["pairs"],"additionalProperties":false}},"x-operation":"panel.language-pair"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.set-cell"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.group.save"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.group.remove"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.add-language"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.remove-language"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.remove-axis"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.minimums"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"pricing.deadlines"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"type":"boolean"}},"required":["saved"],"additionalProperties":false}},"x-operation":"pricing.billing-method"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"settings.business"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"settings.invoicing"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"settings.recheck-issuer"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"settings.notifications"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"settings.commission-vat"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false}},"x-operation":"payouts.verify"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"payouts.dashboard"},{"type":"object","required":["data"],"properties":{"data":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]}},"x-operation":"payouts.update"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"invoicingFees":{"type":"object","properties":{"status":{"const":"accrued"},"periodBasis":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"chargeId":{"type":"string"},"billId":{"type":"string"},"kind":{"enum":["invoice","credit_note"]},"mandateId":{"type":"string"},"invoiceNumber":{"type":"string"},"issuedAt":{"type":"string"},"version":{"const":"invoice-fee-v1"},"netCents":{"type":"integer"},"vatCents":{"type":"integer"},"totalCents":{"type":"integer"},"rateBps":{"type":"integer"},"treatment":{"const":"be_standard"},"basis":{"type":"string"},"agreementVersion":{"type":"string"}},"required":["chargeId","billId","kind","mandateId","invoiceNumber","issuedAt","version","netCents","vatCents","totalCents","rateBps","treatment","basis","agreementVersion"],"additionalProperties":false}},"totals":{"type":"object","properties":{"netCents":{"type":"integer"},"vatCents":{"type":"integer"},"totalCents":{"type":"integer"}},"required":["netCents","vatCents","totalCents"],"additionalProperties":false}},"required":["status","periodBasis","lines","totals"],"additionalProperties":false},"status":{"const":"preview"},"periodBasis":{"const":"Europe/Brussels"},"adjustmentReconciliationRequired":{"const":true},"professionalId":{"type":"string"},"month":{"type":"string"},"currency":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"version":{"type":"integer"},"settlementId":{"type":"string"},"quoteId":{"type":"string"},"professionalId":{"type":"string"},"settledAt":{"type":"string"},"currency":{"type":"string"},"collectedCents":{"type":"integer"},"professionalTransferredCents":{"type":"integer"},"commissionTax":{"type":"object","properties":{"version":{"type":"integer"},"currency":{"type":"string"},"treatment":{"type":"string"},"basis":{"type":"string"},"rateBps":{"type":"integer"},"feeRateBps":{"type":"integer"},"feeBasis":{"type":"string"},"rounding":{"type":"string"},"creditTreatment":{"type":"string"},"feeBasisCents":{"type":"integer"},"originalCommissionNetCents":{"type":"integer"},"upgradeCreditCents":{"type":"integer"},"commissionNetCents":{"type":"integer"},"commissionVatCents":{"type":"integer"},"commissionGrossCents":{"type":"integer"}},"required":["version","currency","treatment","basis","rateBps","feeRateBps","feeBasis","rounding","creditTreatment","feeBasisCents","originalCommissionNetCents","upgradeCreditCents","commissionNetCents","commissionVatCents","commissionGrossCents"],"additionalProperties":false},"processingFeeCents":{"type":"integer"},"processingFeeVatCents":{"type":"integer"},"processingFeeGrossCents":{"type":"integer"}},"required":["version","settlementId","quoteId","professionalId","settledAt","currency","collectedCents","professionalTransferredCents","commissionTax"],"additionalProperties":false}},"totals":{"type":"object","properties":{"commissionNetCents":{"type":"integer"},"commissionVatCents":{"type":"integer"},"commissionGrossCents":{"type":"integer"},"processingFeeNetCents":{"type":"integer"},"processingFeeVatCents":{"type":"integer"},"processingFeeGrossCents":{"type":"integer"},"invoiceNetCents":{"type":"integer"},"invoiceVatCents":{"type":"integer"},"invoiceGrossCents":{"type":"integer"}},"required":["commissionNetCents","commissionVatCents","commissionGrossCents","processingFeeNetCents","processingFeeVatCents","processingFeeGrossCents","invoiceNetCents","invoiceVatCents","invoiceGrossCents"],"additionalProperties":false},"needsReconciliation":{"type":"object","properties":{"count":{"type":"integer"},"commissionNetCents":{"type":"integer"},"commissionVatCents":{"type":"integer"},"commissionGrossCents":{"type":"integer"},"processingFeeNetCents":{"type":"integer"},"processingFeeVatCents":{"type":"integer"},"processingFeeGrossCents":{"type":"integer"},"invoiceNetCents":{"type":"integer"},"invoiceVatCents":{"type":"integer"},"invoiceGrossCents":{"type":"integer"}},"required":["count","commissionNetCents","commissionVatCents","commissionGrossCents","processingFeeNetCents","processingFeeVatCents","processingFeeGrossCents","invoiceNetCents","invoiceVatCents","invoiceGrossCents"],"additionalProperties":false},"dateBasis":{"type":"string"},"settlementDates":{"type":"array","items":{"type":"object","properties":{"settlementId":{"type":"string"},"mandateId":{"type":"string"},"transferAt":{"type":"string"}},"required":["settlementId","mandateId","transferAt"],"additionalProperties":false}},"notice":{"type":"string"},"coverageScope":{"type":"string"},"settledWithoutEvidence":{"type":"array","items":{"type":"string"}},"transfersNeedingReconciliation":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"transferId":{"type":"string"},"at":{"type":"string"},"amountCents":{"type":"integer"}},"required":["mandateId","transferId","at","amountCents"],"additionalProperties":false}},"refundedWithEvidence":{"type":"array","items":{"type":"string"}}},"required":["invoicingFees","status","periodBasis","adjustmentReconciliationRequired","professionalId","month","currency","lines","totals","needsReconciliation","dateBasis","settlementDates","notice","coverageScope","settledWithoutEvidence","transfersNeedingReconciliation","refundedWithEvidence"],"additionalProperties":false}},"x-operation":"reports.commission"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["required","accepted","businessConfigured","pricingConfigured","paymentsConfigured","commissionConfigured","ready","next","documents","receipts"],"properties":{"required":{"type":"boolean"},"accepted":{"type":"boolean"},"businessConfigured":{"type":"boolean"},"pricingConfigured":{"type":"boolean"},"paymentsConfigured":{"type":"boolean"},"commissionConfigured":{"type":"boolean"},"ready":{"type":"boolean"},"next":{"anyOf":[{"type":"null"},{"type":"object","required":["reason","message","href"],"properties":{"reason":{"type":"string"},"message":{"type":"string"},"href":{"type":"string"}}}]},"documents":{"type":"array","items":{"type":"object","required":["id","version","contentHash","body","title","accepted"],"properties":{"id":{"enum":["platform-terms","engagement-terms"]},"version":{"type":"string"},"contentHash":{"type":"string"},"body":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"audience":{"type":"string"},"effectiveDate":{"type":["string","null"]},"summary":{"type":"string"},"accepted":{"type":"boolean"}}}},"receipts":{"type":"array","items":{"type":"object","required":["documentId","version","contentHash","acceptedAt","via","actorEmail","context","affirmation","documentTitle","documentBody"],"properties":{"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"},"via":{"enum":["web","api"]},"actorEmail":{"type":"string"},"context":{"enum":["demo","live"]},"affirmation":{"type":"string"},"documentTitle":{"type":"string"},"documentBody":{"type":"string"}}}}}}},"x-operation":"onboarding.get"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["receipts"],"properties":{"receipts":{"type":"array","items":{"type":"object","required":["documentId","version","contentHash","acceptedAt","via","actorEmail","context","affirmation","documentTitle","documentBody"],"properties":{"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"},"via":{"enum":["web","api"]},"actorEmail":{"type":"string"},"context":{"enum":["demo","live"]},"affirmation":{"type":"string"},"documentTitle":{"type":"string"},"documentBody":{"type":"string"}}}}}}},"x-operation":"onboarding.accept"},{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["caseId","anchorId","memberIds","professionalId","clientEmail","referredAt","createdAt","closed"],"additionalProperties":false,"properties":{"caseId":{"type":"string"},"anchorId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"packageId":{"type":"string"},"professionalId":{"type":"string"},"clientEmail":{"type":"string"},"referredAt":{"type":"string"},"createdAt":{"type":"string"},"closed":{"type":"boolean"}}}}},"x-operation":"operator.referrals.list"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["caseId","anchorId","memberIds","referredAt","closed","channel","canWrite","messages"],"additionalProperties":false,"properties":{"caseId":{"type":"string"},"anchorId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"referredAt":{"type":"string"},"closed":{"type":"boolean"},"channel":{"enum":["client","professional"]},"canWrite":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}}}}}},"x-operation":"operator.referrals.messages"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}}},"x-operation":"operator.referrals.send"},{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"message":{"type":"string"},"language":{"type":"string","enum":["en","nl"]},"status":{"type":"string","enum":["pending","approved","declined"]},"createdAt":{"type":"string"},"reviewedAt":{"type":"string"},"reviewedBy":{"type":"string"},"professionalId":{"type":"string"}},"required":["id","name","email","message","language","status","createdAt"],"additionalProperties":false}},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pages":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["applications","page","pages","total"],"additionalProperties":false}},"x-operation":"operator.applications.list"},{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["pending","approved","declined"]},"professionalId":{"type":["string","null"]}},"required":["applicationId","status","professionalId"],"additionalProperties":false}},"x-operation":"operator.applications.review"},{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"from":{"type":"string"},"replyTo":{"type":"string"},"to":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"label":{"type":"string"},"url":{"type":"string"},"termsLabel":{"type":"string"},"termsUrl":{"type":"string"},"html":{"type":"string"},"previewHash":{"type":"string"}},"required":["from","replyTo","to","subject","message","label","url","termsLabel","termsUrl","html","previewHash"],"additionalProperties":false}},"x-operation":"operator.professionals.invitation-preview"},{"type":"object","required":["data"],"properties":{"data":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sent":{"type":"boolean"},"capturedLocally":{"type":"boolean"}},"required":["sent","capturedLocally"],"additionalProperties":false}},"x-operation":"operator.professionals.invite"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"businessName":{"type":"string"},"email":{"type":"string"},"eligibility":{"anyOf":[{"type":"object","properties":{"approval":{"enum":["pending","approved","suspended"]},"active":{"type":"boolean"},"languagePairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["source","target","evidence"],"additionalProperties":false}},"services":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["kind","evidence"],"additionalProperties":false}},"jurisdictions":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["country","kind","evidence"],"additionalProperties":false}}},"required":["approval","active","languagePairs","services","jurisdictions"],"additionalProperties":false},{"type":"null"}]},"canInvite":{"type":"boolean"}},"required":["id","businessName","email","eligibility","canInvite"],"additionalProperties":false}}},"required":["profiles"],"additionalProperties":false}},"x-operation":"operator.professionals.list"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false}},"x-operation":"operator.professionals.register"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false}},"x-operation":"operator.professionals.eligibility"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientName":{"type":"string"},"professionalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"followupPending":{"type":"boolean"}},"required":["id","subject","clientName","professionalId","followupPending"],"additionalProperties":false}},"followups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientName":{"type":"string"},"professionalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"followupPending":{"type":"boolean"}},"required":["id","subject","clientName","professionalId","followupPending"],"additionalProperties":false}}},"required":["requests","followups"],"additionalProperties":false}},"x-operation":"operator.allocation.list"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"professionalId":{"type":"string"},"eligible":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"estimateCents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"estimateReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["professionalId","eligible","reasons","estimateCents","estimateReason"],"additionalProperties":false}},"range":{"anyOf":[{"type":"object","properties":{"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"currency":{"const":"EUR"},"vatBasis":{"const":"including_vat"},"vatRate":{"type":"number"}},"required":["minCents","maxCents","currency","vatBasis","vatRate"],"additionalProperties":false},{"type":"null"}]},"rangeReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"machinePartIds":{"type":"array","items":{"type":"string"}},"professionalRevisions":{"type":"object","additionalProperties":{"type":"string"}}},"required":["candidates","range","rangeReason","machinePartIds","professionalRevisions"],"additionalProperties":false}},"x-operation":"operator.allocation.evaluate"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false}},"x-operation":"operator.allocation.assign"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false}},"x-operation":"operator.allocation.retry"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false}},"x-operation":"operator.einvoice.retry"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"acceptances":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","eventId","documentId","version","contentHash","acceptedAt","recordedAt","subject","actor","channel"],"properties":{"id":{"type":"string"},"eventId":{"type":"string"},"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string"},"recordedAt":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["mandate","professional","panel_member"]},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"requestGroupId":{"type":"string"},"checkoutBatchId":{"type":"string"},"professionalId":{"type":"string"},"actor":{"type":"object","properties":{"kind":{"type":"string","enum":["email","api_key","professional","panel_member"]},"id":{"type":"string"},"verified":{"type":"boolean"}},"required":["kind","id","verified"],"additionalProperties":false},"channel":{"type":"string","enum":["web","api","operation"]},"ip":{"type":"string"},"userAgent":{"type":"string"},"confirmation":{"type":"object","properties":{"mailRef":{"type":"string"},"sentAt":{"type":"string"}},"required":["mailRef","sentAt"],"additionalProperties":false}}}}},"required":["acceptances"],"additionalProperties":false}},"x-operation":"operator.terms.ledger"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}}}}}},"x-operation":"operator.credentials.list"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}}},"x-operation":"operator.credentials.create"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}}},"x-operation":"operator.credentials.rotate"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}}},"x-operation":"operator.credentials.revoke"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}}},"x-operation":"operator.callbacks.save"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}}},"x-operation":"operator.callbacks.rotate"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"ok":{"type":"boolean"},"httpStatus":{"type":"integer"}}}},"x-operation":"operator.callbacks.test"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"hasImage":{"type":"boolean"}},"required":["code","name","email","hasImage"]}},"x-operation":"profile.get"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true}},"required":["saved"]}},"x-operation":"profile.image.set"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","properties":{"saved":{"const":true}},"required":["saved"]}},"x-operation":"profile.image.remove"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}}}}}},"x-operation":"credentials.list"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}}},"x-operation":"credentials.create"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}}},"x-operation":"credentials.rotate"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}}},"x-operation":"credentials.revoke"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}}},"x-operation":"callbacks.save"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}}},"x-operation":"callbacks.rotate"},{"type":"object","required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"ok":{"type":"boolean"},"httpStatus":{"type":"integer"}}}},"x-operation":"callbacks.test"},{"type":"object","required":["continuation"],"properties":{"continuation":{"type":"object","required":["kind","url"],"properties":{"kind":{"type":"string","enum":["application","provider","verification"]},"url":{"type":"string"}}}}}]},"PreparedWorkflowReceipt":{"type":"object","additionalProperties":false,"required":["id","actionRef","phase","outcome","expiresAt"],"description":"Retained review and browser action state, separate from the immutable initial API receipt. Contains no original input or file metadata. A review URL requires the current owning browser session.","properties":{"id":{"type":"string"},"actionRef":{"type":"string","pattern":"^act_[a-f0-9]{64}$"},"operation":{"type":"string"},"phase":{"type":"string","enum":["awaiting_review","executing","completed","rejected","expired"]},"outcome":{"type":"string","enum":["recorded","refused","unknown"]},"expiresAt":{"type":"string","format":"date-time"},"reviewUrl":{"type":"string","format":"uri","description":"Present only while the retained review is available. It grants no access by itself."},"result":{"type":"object","additionalProperties":false,"properties":{"mandateId":{"type":"string"},"revision":{"type":"string"},"documentId":{"type":"string"},"status":{"type":"string"},"confirmed":{"type":"integer"}}}}},"WorkflowActionReceipt":{"type":"object","additionalProperties":false,"description":"Content-free receipt available only to the same currently valid credential and role. completed means the response was recorded, not that the business action succeeded. A pending receipt remains held after expiresAt. Completed receipts expire after the idempotency retention window.","required":["actionRef","firstRequestId","operation","role","status","outcome","createdAt","expiresAt"],"properties":{"actionRef":{"type":"string","pattern":"^act_[a-f0-9]{64}$"},"firstRequestId":{"type":"string"},"operation":{"type":"string"},"role":{"type":"string","enum":["client","professional","assignee"]},"mandateId":{"type":"string","description":"Present only when repository-owned metadata records it."},"status":{"type":"string","enum":["pending","completed"]},"outcome":{"type":"string","enum":["recorded","refused","unknown"],"description":"recorded: a 2xx response was stored, possibly only a continuation or preparation. refused: a recorded 4xx receipt; inspect actual state. unknown: pending, partial, one-time-secret or uncertain response. None proves the resulting business state."},"preparedAction":{"$ref":"#/components/schemas/PreparedWorkflowReceipt"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"responseStatus":{"type":"integer","minimum":100,"maximum":599},"code":{"type":"string","description":"Only a known safe error code is returned; messages, bodies, links and tokens are omitted."}}}}},"webhooks":{"mandate.submitted":{"post":{"summary":"A request was created. Keys with a callback on either side receive it — the professional's keys and the client key under the request's e-mail (the creator already holds the response; treat its own submission as a confirmation).","parameters":[{"$ref":"#/components/parameters/CallbackEvent"},{"$ref":"#/components/parameters/CallbackDelivery"},{"$ref":"#/components/parameters/CallbackTimestamp"},{"$ref":"#/components/parameters/CallbackSignature"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered — anything else is retried on the ladder above."}}}},"mandate.quoted":{"post":{"summary":"The quote was confirmed and sent — the client can pay. Also fires for the machine tier's auto-release.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.paid":{"post":{"summary":"Escrow funded (the Stripe webhook drove quoted→paid).","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.accepted":{"post":{"summary":"The professional accepted the paid job.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.declined":{"post":{"summary":"The professional refused the request (pre- or post-payment; a refund follows when escrow was funded).","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.in_progress":{"post":{"summary":"Work started.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.translated":{"post":{"summary":"The translation is done and being finalised.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.delivered":{"post":{"summary":"Files delivered — the envelope's documents carry the downloadPaths; the acceptance clock runs.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.settled":{"post":{"summary":"Accepted (explicitly or deemed) — escrow released.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.refunded":{"post":{"summary":"Escrow refunded (a decline after payment, or a mediation outcome).","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"mandate.cancelled":{"post":{"summary":"A sent, unpaid quote ended without payment: the client declined it (POST /mandates/{id}/decline, request.decline) or it lapsed at the end of the Brussels day 30 days after it was sent. The status log of the mandate carries which of the two as its note. Raised since 4 Nov 2026; not raised for a quote the professional withdrew (that is mandate.declined).","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CallbackEnvelope"}}}},"responses":{"2XX":{"description":"Delivered."}}}},"ping":{"post":{"summary":"The \"Send a test event\" button under a key — body {event, deliveryId, at, ping = true, keyId}; signed like every other delivery; never retried.\n","responses":{"2XX":{"description":"The tile shows the HTTP status you answer."}}}}},"paths":{"/professional-applications":{"post":{"operationId":"submitProfessionalApplication","summary":"Apply for a Professional Studio; THIDE approval is required","security":[],"description":"Public application only. Does not create a Studio, verify an inbox or send an email. New and duplicate email addresses receive the same response. Maximum JSON body 16 KiB. Admission limits are 10 per IP per hour, 3 per email per hour and 100 globally per hour. Browser requests must be same-origin; server clients may omit Origin.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["name","email","message","language"],"properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","maxLength":254,"format":"email"},"website":{"type":"string","maxLength":2048,"description":"Optional HTTP(S) URL without embedded credentials, or empty string."},"message":{"type":"string","minLength":1,"maxLength":2000},"language":{"type":"string","enum":["en","nl"]}}}}}},"responses":{"202":{"description":"Application received without disclosing whether the address already exists.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["status"],"properties":{"status":{"const":"accepted"}}}}}}}},"400":{"description":"Invalid JSON or application fields."},"403":{"description":"Cross-origin browser request rejected."},"413":{"description":"Body exceeds 16 KiB."},"415":{"description":"Content-Type must be application/json."},"429":{"description":"Application rate limit reached.","headers":{"Retry-After":{"description":"Seconds before retrying.","schema":{"type":"integer"}}}},"503":{"description":"Application could not be saved."}}}},"/mandates":{"post":{"summary":"Intake — create a mandate from the four-question form (or an automator).","security":[{},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"description":"UNAUTHENTICATED, DELIBERATELY. The other non-public routes require a caller identity (the terms and this contract are public), but intake stays open because a first-time client has no credential yet. It is protected by what it RETURNS: the accessToken, and — for a caller that presented no client or professional credential — creatorGrant, the signed grant that reads THIS request back for seven days, until it is paid (header x-thide-creator; see securitySchemes.creatorGrant). Without one of those the mandate is readable only with the client's own key or a verified browser session. Optional clientLanguage (en or nl) selects initial request notification language; it never changes an existing account preference. multipart/form-data (repeatable \"file\" fields) or JSON with file.contentBase64 (single, back-compat) and/or files:[{fileName, mimeType?, contentBase64}, …] (multi-document). Every uploaded file becomes its own downloadable 'source' document row; the quoted volume is the SUM of the per-file counts. Counts characters (manualCharCount is honoured ONLY with a professional credential — it records the count as a professional override, the TOTAL across all files, and extraction.method is then 'manual_override'; from a client or integrator it is ignored and the documents are counted): text extraction for digital files (.docx/.pdf/.txt/.md/.csv/.xlsx), time-boxed. No OCR runs in this request: a scanned PDF or an image comes back with charCount null, method 'needs_ocr' and extraction.countPending true, and the background reading queue reads it, quotes the job and mails the client when the reading lands (poll GET /mandates/{id}). Stores the source documents, prices standard pairs from the professional's matrix and e-mails both sides. Since 2026-08-21 that price is INDICATIVE for human work — the mandate STAYS 'submitted' with a saved quote until the professional confirms it (POST /mandates/{id}/decision action 'send'), which is when the client receives the payment link; only the machine tier auto-releases to 'quoted'. If ANY file cannot be counted yet (queued for reading, or unreadable) the WHOLE mandate stays 'submitted' with extraction.method 'needs_ocr' — a partial volume is never quoted; the translator confirms the total. Ad-hoc pairs stay 'submitted' with a saved quote (requiresManualRate=true, zeroed amounts — the translator provides the rate in the studio). Guardrails (apps/web/src/lib/upload-limits.ts): each upload is capped at 100 MiB (104857600 bytes), one request at 30 files and 200 MiB (209715200 bytes) of RAW documents. Caps are inclusive; 1 MiB = 1048576 bytes. Separately, multipart bodies allow 210763776 bytes (201 MiB), and base64 JSON bodies allow 280668964 bytes, including expansion, per-file padding and 1 MiB of framing/fields. Content-Length above the applicable BODY cap is refused before reading; chunked API bodies are capped while streaming (413 payload_too_large). Decoded documents must still satisfy the raw caps. Reduce sizes, split into separate requests, or contact THIDE for help with a larger upload. Rejected requests are not stored or quoted. An implausible auto-counted volume (> 2M characters) pauses like an uncountable scan instead of auto-quoting.\nLEGALISATION: send documentCategory ('civil_status' | 'diploma' | 'notarial' | 'commercial' | 'other') for sworn work. It is what decides the answer inside the EU — Regulation (EU) 2016/1191 exempts an enumerated list of civil-status facts, so a diploma or a company document still needs an apostille between member states. Omit it and the recommendation reports that it cannot tell yet rather than guessing. The result is a RECOMMENDATION either side can override at /mandates/{id}/legalisation.\nTHE ORIGINAL'S OWN LEG: optionally send issuingCountry (ISO alpha-2, sworn only) — where the ORIGINAL document was issued. An apostille certifies the official who signed the original, so only the issuing country can legalise it (a Mexican birth certificate → Mexico, never Belgium), whatever language it is in. Powers the envelope's legalisation.original advisory; never prices or pauses anything. extraction.detectedIssuingCountry suggests it when the document carries its state's formal name.\nSUBJECT: optional subject string (at most 160 characters), supplied by the client. Retained on every resulting mandate; the internal id remains unchanged.\nMULTI-LANGUAGE FAN-OUT: send targetLanguages: [\"fr\",\"en\"] (JSON array; in multipart a JSON-encoded string field) instead of targetLanguage, and the same documents are ordered into EACH language. Every pair becomes its own mandate — its own quote, escrow, apostille, delivery and sign-off — sharing a requestGroupId, and the response becomes {requestGroup: {id, count}, mandates: [MandateEnvelope...], extraction} with a DISTINCT accessToken per mandate. One target (or a deduped list of one) keeps the original single-envelope shape exactly. Payment note — THE WHOLE-REQUEST RULE: the professional confirms all human members together. A mixed Machine/human request waits for its complete quote before any member can be paid. Use POST /request-groups/{id}/pay for the full unpaid quote; a single-item payment of a subset is 409 illegal_transition (\"Pay the complete quote together.\"). An incomplete or unusable active quote is also 409 illegal_transition. Historical paid or declined members are excluded from the new charge. Standalone Machine work remains independently payable; urgent Machine work must be submitted separately. A non-standard deadlineBucket is accepted only while the service offers the deadline choice (see GET /catalog deadlines) — otherwise the intake answers 400.\nTERMS GATE: acceptedTerms is REQUIRED — an array of {id, version} covering every id in GET /terms.requiredForMandate, at the version currently served. Naming the version is the point: an agent acting for a client must be pinned to text it actually fetched, and a stale cached version is refused rather than silently binding the client. In multipart, send it as a JSON-encoded string field. The accepted versions and their content hashes are stored on the mandate and are readable afterwards at GET /mandates/{id}/terms.\nWHO PAYS: payerType 'individual' (default) or 'company'. A company MUST send companyBilling — the invoice is made out to it; omitting it is 400 validation. Company name and VAT number, plus the registered address either as one `address` line or as the four parts street / postalCode / city / country (ISO-2) — see the companyBilling schema for the Belgian VAT rule.\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["clientEmail","clientName","subject","sourceLanguage","kind","gdprConsent","pretranslationGateAck","acceptedTerms"],"properties":{"clientEmail":{"type":"string","format":"email"},"clientName":{"type":"string","minLength":1},"clientLanguage":{"type":"string","enum":["en","nl"]},"subject":{"type":"string","minLength":1,"maxLength":160,"description":"Required client reference; whitespace-only values are rejected."},"requestedDate":{"type":"string","format":"date","description":"Optional day the client would like the work by (YYYY-MM-DD): from tomorrow up to six months ahead, in Brussels days; any other day is refused with 400. Indicative; no price effect."},"message":{"type":"string","maxLength":4000,"description":"Optional message to the translator, recorded as the request's first message on its thread (request-wide; nothing extra is mailed). Context documents travel only as multipart `attachment` parts (same limits and virus scan as message attachments) and need a line of text (2 Nov 2026)."},"sourceLanguage":{"type":"string","description":"A supported language code (see GET /catalog)."},"targetLanguage":{"type":"string","description":"One target; or targetLanguages (1–10) for a fan-out. One of the two is required."},"targetLanguages":{"type":"array","items":{"type":"string"},"minItems":1,"maxItems":10},"kind":{"type":"string","enum":["regular","sworn"]},"destinationCountry":{"type":"string","description":"ISO 3166-1 alpha-2 country among those offered for the target languages (countries[] in GET /catalog lists the union); required when kind is sworn (Certified)."},"issuingCountry":{"type":"string","description":"ISO 3166-1 alpha-2 — where the original was issued (sworn only)."},"documentCategory":{"type":"string","enum":["civil_status","diploma","notarial","commercial","other"]},"deadlineBucket":{"type":"string","enum":["rush_1_3d","week_1","month_1"],"default":"week_1"},"payerType":{"type":"string","enum":["individual","company"],"description":"Explicit invoice recipient when the client has chosen one. Optional at intake; an omitted value is not a choice and must be resolved before payment. 'company' requires companyBilling."},"companyBilling":{"$ref":"#/components/schemas/CompanyBillingInput"},"gdprConsent":{"type":"boolean","enum":[true]},"pretranslationGateAck":{"type":"boolean","enum":[true]},"acceptedTerms":{"type":"array","items":{"type":"object","required":["id","version"],"properties":{"id":{"type":"string"},"version":{"type":"string"}}}},"file":{"type":"object","required":["fileName","contentBase64"],"properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"contentBase64":{"type":"string"}}},"files":{"type":"array","items":{"type":"object","required":["fileName","contentBase64"],"properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"contentBase64":{"type":"string"}}}},"manualCharCount":{"type":"integer","minimum":1,"description":"Honoured only with a professional credential."}}}},"multipart/form-data":{"schema":{"type":"object","description":"The same fields; repeat \"file\"; acceptedTerms, targetLanguages and companyBilling as JSON-encoded string fields. Repeat \"attachment\" for the context documents of `message` (2 Nov 2026)."}}}},"responses":{"201":{"description":"MandateEnvelope (with accessToken), creatorGrant for a caller without a client or professional credential (securitySchemes.creatorGrant) + extraction {charCount (the TOTAL across files, null when paused), method: text_extraction | ocr | needs_ocr, countPending: boolean, detectedLanguage: supported-set code or null, detectedOtherLabel: label for a language outside our catalogue (\"Polish\") or null, languageMismatch: boolean, files: [{fileName, charCount, method, detectedLanguage, rawCharCount (the full count before the repeat-section correction; equals charCount when nothing was corrected), photoEstimateChars} per uploaded file], detectedIssuingCountry (ISO alpha-2 read from the document's formal state name, or null — a suggestion for issuingCountry, never applied), detectedDocumentCategory (what the text claims to be, or null — a suggestion for documentCategory, never applied)}. A photo upload (png/jpg/…) is NEVER auto-quoted: its charCount is null and method 'needs_ocr'; photoEstimateChars is null in this response (the background reading records a rough estimate on the document for the professional, who enters the billable count). detectedLanguage is named only on certain evidence (the document's script or its function words; taken from the file with the largest text yield) — a trigram-only guess is not reported and never locks anything (2 Nov 2026); a mismatch with the declared sourceLanguage never blocks the mandate; automators should surface it to their end user. detectedLanguage and languageMismatch rest ONLY on text the engine accepted (a billable count or an accepted photo reading) — a paused scan or a photo with no readable text reports null / false, never a guess from the filename. READING: this request reads digital text only (~20 s budget); nothing is OCR'd inline. A scan or a photo comes back at once with charCount null, method 'needs_ocr' and countPending TRUE: it was handed to the background reading queue — the same admission-capped queue the web intake uses — which OCRs it (10-minute budget per document, two documents at a time on the host) and quotes the job when the reading lands. Consequently detectedLanguage, photoEstimateChars and languageMismatch are null / false for such a document at 201. For human translation, the result becomes an indicative quote awaiting professional confirmation; for machine translation, the ready quote is released and the client is mailed. Poll GET /mandates/{id} for the current quote and status. A document the queue cannot read either ends with the professional confirming the volume (POST /mandates/{id}/count), as does countPending FALSE with a null charCount. When the queue refuses the documents (capacity), the whole request answers 503 count_capacity with Retry-After and nothing is created.\n","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntakeResult"}}}},"400":{"description":"Validation error (incl. unparseable body, no file at all), or code terms_not_accepted when acceptedTerms is missing, incomplete, or names a version we no longer serve — the message states the current version. Also idempotency_key_invalid (malformed Idempotency-Key) and idempotency_requires_key (Idempotency-Key sent without an API key).\n"},"401":{"description":"unauthorized — an x-thide-key / x-thide-studio header was presented that matches no live key (revoked or unknown). Sending no header at all is fine: intake is open."},"403":{"description":"client_email_mismatch — a client key created the request under an e-mail that is not the key owner's; or forbidden — a professional key (Settings → API) may only create work it will own itself: refused for another professional's board and, while automatic routing is on, refused altogether (the request is allocated later). The operator bootstrap key is not affected. insufficient_scope — a keyed caller whose credential lacks workflow."},"409":{"description":"idempotency_in_flight — the same Idempotency-Key is still being processed; retry in a moment. (Also illegal_transition elsewhere.)"},"413":{"description":"payload_too_large — above 100 MiB per document, 30 files, or 200 MiB raw total; separately, above 210763776 multipart body bytes or 280668964 JSON body bytes. Body caps apply to Content-Length and streamed bytes; raw caps apply to decoded documents. Reduce, split, or contact THIDE; rejected requests are not stored or quoted."},"415":{"description":"Unsupported file type (names the offending file)."},"422":{"description":"idempotency_key_reused — this Idempotency-Key was used for a different request; or malware_detected — the virus scan refused a document (the message names it); nothing is stored or quoted."},"429":{"description":"rate_limited with Retry-After — the intake meters every caller per IP (30 / 10 min, before the body is read), all callers together (100 / 10 min, before the body is read, counted only for requests the per-IP meter admitted; when reached, intake is closed for everyone until the oldest request is ten minutes old — 5 Nov 2026) and per clientEmail (20 / 10 min, after it is parsed); keyed callers are also metered per key and per shared profile (120 / min).\n","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait before retrying."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"partly_processed — with an Idempotency-Key only: the request failed after it had created at least one job. What was created is kept, the answer is stored, and a retry with the same key replays it instead of creating the request again. Read GET /mandates for what exists. (Any other 500 created nothing and may be retried.)"},"503":{"description":"terms_unavailable — the contracts did not ship with the build (nothing can be accepted); count_capacity — the background reading queue refused the scans (Retry-After in seconds; nothing created); scanner_unavailable — no virus-scan verdict (nothing created; retry later); or payments_not_configured on a later pay."}},"x-credential-roles":["client","professional"],"operationId":"postMandates","tags":["Resources"]},"get":{"summary":"Translator work-queue list — the studio board, as data.","description":"The same board the studio renders, filterable by the same lanes. ?lane= selects pipeline columns (work she committed to), ?bucket= selects pre-decision requests. Both resolve through the single lane mapping the UI uses, so a lane over the API always contains exactly the cards in that column. Repeat the parameter or comma-separate. Filters union: ?lane=in_progress&lane=with_client returns both. Combining a lane with a bucket also returns the union of their matching requests; ?status= is the third leg of the same union (raw MandateStatus names, for scripts that think in statuses rather than columns). No filter returns everything. Every filter fails CLOSED by name: an unknown lane, bucket or status is a 400 whose message lists the valid values — never an empty 200. The whole board comes back in one page (no pagination in this MVP; count = items.length).\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"query","name":"status","schema":{"type":"string"},"description":"Comma-separated or repeated MandateStatus names (submitted, quoted, paid, declined, accepted, in_progress, translated, delivered, settled, refunded, cancelled). An unknown name is 400 validation naming the valid ones."},{"in":"query","name":"lane","style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["in_progress","with_client","completed"]}},"description":"Repeat it or comma-separate it; lanes, buckets and statuses together return the union of their statuses. An unknown lane is 400 unknown_lane. Pipeline column. in_progress = accepted|in_progress|translated, with_client = delivered (awaiting the client's sign-off, or the deemed clock), completed = settled.\n"},{"in":"query","name":"bucket","style":"form","explode":true,"schema":{"type":"array","items":{"type":"string","enum":["your_decision","awaiting_client","lost"]}},"description":"Repeat it or comma-separate it; an unknown bucket is 400 unknown_bucket. Request bucket. your_decision = submitted|paid (review or funding recovery), awaiting_client = quoted (awaiting payment), lost = declined|refunded|cancelled ('cancelled' is legacy-only since 10 Oct 2026 — nothing enters it any more; old rows keep it).\n"}],"responses":{"200":{"description":"{items: MandateEnvelope[], count: number} — studio view.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateList"}}}},"400":{"description":"unknown_lane / unknown_bucket, or validation for an unknown ?status= name — the message names the valid values."},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"getMandates","tags":["Resources"]}},"/request-groups/{id}/decision":{"get":{"summary":"Review all pending human quotes with exact version tokens.","description":"Professional credentials required; all active human members must belong to the caller. Returns requestGroupId and quotes (Professional MandateEnvelopes plus review.id, review.updatedAt, review.fingerprint, and review.exclusionReason on a part marked \"not offered\" in Studio — echo it on the POST). Machine and previously paid items are excluded. Null fingerprint means no quote exists yet. Inspect every quote before explicit confirmation. Professional credentials only (key ID and secret, or the legacy x-thide-studio): a client credential is 401.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Private no-store review offer with exact version and fingerprint per item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDecisionReview"}}}},"401":{"description":"Professional credentials required."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown or inaccessible group."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"getRequest_groupsIdDecision","tags":["Resources"]},"post":{"summary":"Atomically confirm and send the complete human request.","description":"Include every pending human item from GET with its exact review tokens and reviewed=true. Subsets, duplicates, stale versions, missing rates, incomplete legalisation and payment in progress reject the entire set. One notification follows successful release. Machine work is separate; historical paid items are never released again. Idempotency-Key is recommended; replay identical bytes to obtain the same result without another email. After a stale-offer 409, fetch and review again with a new key. This supersedes single-item sends for multi-item requests. Professional credentials only (key ID and secret, or the legacy x-thide-studio): a client credential is 401.\nREVIEW AND EXCLUSION MODEL (the same selection the Studio form posts). reviewed=true on an item IS the explicit review of that exact version — the API records the review note itself, where the Studio asks for a per-part review first. A part the professional marked \"not offered\" in Studio (Job → Not offered, with an internal reason) is still a pending item: GET returns its review with `exclusionReason`, and the POST must echo that reason verbatim on the item — the part is then declined (\"Not offered\" on the client's thread, the reason stays internal) while the others are sent. Omitting it is 409 quote_not_releasable \"A document is marked not offered. Review the complete request again.\"; there is no API call that records an exclusion. Optional `message` (≤ 4000 characters) is the professional's word to the client — it travels in the quote mail and lands on the request's thread.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["action","quotes"],"properties":{"action":{"const":"send"},"message":{"type":"string","maxLength":4000,"description":"The professional's message to the client — in the quote mail and on the thread."},"quotes":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","additionalProperties":false,"required":["id","updatedAt","fingerprint","reviewed"],"properties":{"id":{"type":"string","minLength":1},"updatedAt":{"type":"string","minLength":1},"fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"reviewed":{"const":true},"exclusionReason":{"type":"string","minLength":1,"maxLength":4000,"description":"Required, verbatim, for a part GET returned with review.exclusionReason (marked \"not offered\" in Studio); never for any other part."}}}}}}}}},"responses":{"200":{"description":"requestGroupId and the confirmed mandate ids; or the identical idempotent replay.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupDecisionResult"}}}},"400":{"description":"Invalid input or missing explicit review."},"401":{"description":"Professional credentials required."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown or inaccessible group."},"409":{"description":"quote_not_releasable, onboarding_incomplete, commission_review_required or idempotency_in_flight; no partial release.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"payload_too_large — the body is larger than the schema allows (about 2.4 MiB). Nothing was parsed or changed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Idempotency key reused with different request bytes."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"description":"verification_unavailable — current payment verification could not be checked; nothing released."}},"x-credential-roles":["professional"],"operationId":"postRequest_groupsIdDecision","tags":["Resources"]}},"/mandates/{id}":{"get":{"summary":"Fetch one mandate.","description":"THE read: the mandate, its quote, documents (with signed download paths), the append-only status log, the client timeline, the request's conversation and both legalisation legs in one envelope — a polling agent needs nothing else. Reading also runs the deemed-acceptance clock, so a delivered job past its window reports 'settled' here rather than waiting for a sweep. The audience follows the credential: a mandate token (with the verified session), the client key or the creatorGrant of the caller that filed it (x-thide-creator, while unpaid) gets the client view with accessToken and engagementOffer (while payable); the owning professional's credential gets the professional view (no client contact data, no token, studio-only quote fields) and 404 for work that is not hers.\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"MandateEnvelope. accessToken (and token-embedding downloadPaths) only for client-token / client-key callers — studio-key reads never receive the client's bearer token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateEnvelope"}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesId","tags":["Resources"]}},"/mandates/{id}/documents/{docId}":{"get":{"summary":"Tokenized document download (the URL delivery e-mails embed).","description":"Streams the stored bytes with the stored Content-Type and a Content-Disposition attachment header. Client-token links are expiring signed links (spec §2.4): downloadPath embeds exp+sig (HMAC, 7-day TTL) and the route enforces them; studio-key calls are header-authorized and need no signature. Becomes a Supabase Storage signed-URL redirect at provisioning; the URL shape stays stable. ?inline=1 asks for Content-Disposition inline (preview in a frame) — honoured only for types a browser renders inertly (PDF, PNG, JPEG, GIF, WebP, plain text); anything else stays an attachment. A BROWSER (Accept: text/html) presenting a token without the verified portal session is sent to e-mail verification with a 303 instead of the 401 an API caller receives. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"path","name":"docId","required":true,"schema":{"type":"string"}},{"in":"query","name":"inline","schema":{"type":"string","enum":["1"]},"description":"Inline disposition for PDF / image / plain-text documents (browser preview)."}],"responses":{"200":{"description":"The file bytes.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"303":{"description":"Browser caller (Accept text/html) with a token but no verified portal session — redirected to e-mail verification."},"401":{"description":"Bad token or credential, or an invalid link signature.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate or document, or stored file missing (code file_missing).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Signed link expired (code link_expired) — fetch a fresh envelope for a new downloadPath."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdDocumentsDocId","tags":["Resources"]}},"/mandates/{id}/attachments/{attachmentId}":{"get":{"summary":"Download reference material attached to a message of the request conversation.","description":"The file a party attached to a message (MessageAttachmentView.downloadPath resolves here). The same door as a document download — client-token links carry an expiring signature (exp+sig, 7-day TTL); studio-key, studio-cookie and client-key calls are authorised by their credential — plus one rule: the attachment must hang off a message of THIS request's conversation (the path id may be any part of a multi-language request), and a private professional/subcontractor file is served to the studio side only — a client asking for one receives 404. Always Content-Disposition attachment: reference material is downloaded, never rendered in the app's origin. A BROWSER (Accept: text/html) presenting a token without the verified portal session is sent to e-mail verification with a 303. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"path","name":"attachmentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The file bytes.","content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"303":{"description":"Browser caller (Accept text/html) with a token but no verified portal session — redirected to e-mail verification."},"401":{"description":"Bad token or credential, or an invalid link signature.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate or attachment, an attachment of another conversation or of the private assignment thread asked for by a client, or stored file missing (code file_missing).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"410":{"description":"Signed link expired (code link_expired) — read the thread again for a new downloadPath."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdAttachmentsAttachmentId","tags":["Resources"]}},"/mandates/{id}/documents/archive":{"get":{"summary":"Every document of one request, as a single .zip.","description":"The client portal listed files one link at a time, which is tedious on a delivered sworn job carrying a translation, an apostille and an invoice. Same authorisation as a single download: a client token for their own request, a credential, or (without ?token=) the professional's signed-in Studio browser. Entries are STORED (not deflated) — the documents are already compressed formats. Studio-internal roles (partner_upload, machine_text) never enter a client's archive. By default a file whose bytes are missing is skipped rather than failing the whole download; with scope=delivery the archive holds the published delivery (translations and apostilles, every part of a package) and a missing file is 409 file_missing — no partial delivery archive. Metered at 20 per 10 minutes per IP and 5 per 10 minutes per request (429).\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string","enum":["delivery"]},"description":"delivery — only the published delivery files."},{"in":"query","name":"ids","required":false,"schema":{"type":"string"},"description":"With scope=delivery: comma-separated document ids (up to 500) from this delivery, originals included; an id outside it is 400 invalid_selection."}],"responses":{"200":{"description":"application/zip — the request's documents.","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"invalid_selection — ids names a file outside this delivery, or none or more than 500.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate, nothing to download yet, every stored file missing, or (scope=delivery) a delivery that is not published.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"file_missing — with scope=delivery a delivery file is unavailable; no partial archive is sent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"archive_too_large — the documents exceed the archive cap (150 MiB); download them one by one."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdDocumentsArchive","tags":["Resources"]}},"/mandates/{id}/decision":{"post":{"summary":"Single-mandate decision (multi-item sends use request-groups decision).","description":"Since 2026-08-21 the client receives an INDICATIVE quote and pays only after the professional confirmed it (werksessie TD+KSc, transcript L161–168, L187–190, L895–898). Body {action, note?, assignTo?}. send: submitted→quoted, once — the release rule must pass (409 quote_not_releasable names what is missing: rate, total or legalisation route); the client receives the quote WITH the payment link and `note` travels as the professional's message (also on the questions thread). A SENT QUOTE IS FINAL (9 Sep 2026): on a quoted mandate send, count, rate, price and legalisation edits are all refused (409) — the professional's only exits are the client's payment or, after payment, decline-with-refund. decline: her refusal — submitted→declined (terminal, nothing to refund, client notified) or, after a funded escrow, →declined→refunded with the payment marked refunded; on 'quoted' it is 409 illegal_transition (\"A sent quote is withdrawn, not declined\"). withdraw (4 Nov 2026, Platform Terms 7.1): her withdrawal of a SENT, unpaid quote — quoted→declined for every quoted part of the request, reason 'withdrawn' on the status log, the client told once, nothing financial; 409 illegal_transition once a payment is in progress or taken. reissue: a WITHDRAWN quote back to her review — declined→submitted with the draft kept, so a fresh 'send' starts a new 30-day validity; 409 for any other declined request. accept: LEGACY, only for mandates still in 'paid' from before 21 Aug — funding the escrow now accepts the job automatically (paid→accepted, system). 'counter' no longer exists.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["action"],"properties":{"action":{"type":"string","enum":["send","decline","withdraw","reissue","accept"]},"note":{"type":"string","minLength":1,"maxLength":4000,"description":"send — her message to the client; decline / accept — lands on the audit trail; ignored by withdraw and reissue."},"assignTo":{"type":"string","minLength":1,"description":"accept (legacy paid mandates only) — a panel member for the translation."}}}}}},"responses":{"200":{"description":"MandateEnvelope (studio view).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateEnvelope"}}}},"400":{"description":"Validation error."},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"409":{"description":"illegal_transition — the action does not apply in this status, or send on a member of a multi-language request while a human sibling is still awaiting review (\"Review every human translation and send the complete request together.\" — use POST /request-groups/{id}/decision); quote_not_releasable — the release rule names what is missing; onboarding_incomplete — complete mandatory account setup before sending; commission_review_required — review frozen commission evidence."},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"description":"verification_unavailable — current payment verification could not be checked; nothing released."}},"x-credential-roles":["professional"],"operationId":"postMandatesIdDecision","tags":["Resources"]}},"/mandates/{id}/count":{"post":{"summary":"The professional confirms or corrects the character count (studio count override).","description":"Body {charCount} — the billable TOTAL for the job in characters (integer, 1..2,000,000). The API twin of the studio's override form; the same mutation runs behind both, so the two doors cannot disagree. A paused scan (extraction.method 'needs_ocr', no quote yet) receives its first indicative quote — releasing it to the client is still POST /mandates/{id}/decision action 'send'. Counts apply to a 'submitted' request; a SENT quote is final (\"This quote has been sent and cannot be changed.\" — 409 count_not_applicable on 'quoted'). After payment the binding quote only moves DOWN: a lower recount corrects the total and refunds the difference automatically, a higher one is refused. Every refusal (job moved past this step, quote already sent, price locked by a live checkout, legalisation route undecided on sworn work) is a 409 count_not_applicable carrying the professional's own message. SWORN WORK: a sworn job answers 409 count_not_applicable until its legalisation route is decided — the count alone cannot price it, because the route decides the legalisation line. Decide the route first with POST /mandates/{id}/legalisation (or GET it to see what applies), then send the count.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["charCount"],"properties":{"charCount":{"type":"integer","minimum":1,"maximum":2000000}}}}}},"responses":{"200":{"description":"MandateEnvelope (studio view) with the recomputed quote.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateEnvelope"}}}},"400":{"description":"Validation error: charCount missing, not a positive integer, or implausibly large.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"409":{"description":"count_not_applicable — the count cannot be changed in this state (sworn job with an undecided legalisation route: call POST /mandates/{id}/legalisation first; quote already sent; price locked by a live checkout; job moved past this step)."},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"postMandatesIdCount","tags":["Resources"]}},"/mandates/{id}/progress":{"post":{"summary":"Translator advances the work ({to accepted→in_progress or in_progress→translated}).","description":"The two work edges the professional drives by hand: accepted → in_progress (\"I started\") and in_progress → translated (\"the translation is done\"). Both are optional for the API caller — POST /mandates/{id}/deliver steps a job through them itself when the upload arrives from 'accepted' or 'in_progress'. Body {to}. Anything else the state machine refuses with 409 illegal_transition (translated → delivered is the delivery's own act, never this route's).\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["to"],"properties":{"to":{"type":"string","enum":["in_progress","translated"]}}}}}},"responses":{"200":{"description":"MandateEnvelope (studio view).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateEnvelope"}}}},"400":{"description":"validation — body is not {to: in_progress | translated}."},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate — or not this professional's human work (machine-tier and foreign jobs are invisible)."},"409":{"description":"illegal_transition — the edge does not exist from the current status."},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"postMandatesIdProgress","tags":["Resources"]}},"/mandates/{id}/deliver":{"post":{"summary":"Translator delivers finished work (multipart translation, apostille?, invoice?).","description":"Stores deliverables and e-mails the client tokenized links. Since 2026-08-21 the upload IS the hand-back (werksessie L959–967): a mandate in 'accepted' or 'in_progress' first steps to 'translated' (translator actor), then to 'delivered' (system actor — the mail dispatch marks it). Without invoicing by THIDE an invoice is required — attach one, or send skipInvoice=1 to record that this client is invoiced outside THIDE (400 invoice_required otherwise, unless the mandate already carries an 'invoice' document). INVOICING BY THIDE (opt-in per professional; third-party issuing — THIDE issues the invoice in the professional's name and on her behalf, art. 53 §2 WBTW): when it is enabled and NO invoice file is attached, the upload stores translation (+apostille) and runs the invoicing-by-THIDE branch. Default (explicit per-invoice acceptance): a DRAFT self-bill is created instead of delivering — the mandate STAYS 'translated' and the response is {mode:'self_bill_draft', selfBill, …MandateEnvelope}; the professional then reviews and accepts via POST /mandates/{id}/self-bill. If the professional ELECTED tacit acceptance (stilzwijgende aanvaarding — the invoicing-by-THIDE mandate states both mechanisms), the self-bill is ISSUED IMMEDIATELY (gapless number, invoice document, delivery release, client mail; acceptance recorded 'tacit', contestable within the profile's contestDays working days) and the response is {mode:'self_bill_issued', selfBill, …MandateEnvelope} with the delivered mandate. Attaching an invoice file keeps the manual-invoice behaviour even with invoicing by THIDE on.\nMULTI-PART REQUESTS ARE DELIVERED AS A PACKAGE, FROM THE STUDIO (10 Oct 2026, 04b316b): when two or more parts of one request are in the work lanes (accepted / in_progress / translated) under the same professional, their files, one invoice and one client mail travel together — Studio → Job summary → Prepare delivery. This route then answers 409 illegal_transition \"Prepare and deliver these jobs together from the Studio Job summary.\" for EVERY such part. Use professional role operations delivery.submit, delivery.review-package and delivery.release-package for package delivery through the API. A single-part request, or a part whose siblings are already delivered or invoiced separately, delivers here as documented.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"MandateEnvelope — or {mode: self_bill_draft | self_bill_issued, selfBill, …MandateEnvelope} on the invoicing-by-THIDE path (draft = no transition yet; issued = delivered).\n","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"mode":{"type":"string","enum":["self_bill_draft","self_bill_issued"]},"selfBill":{"$ref":"#/components/schemas/SelfBill"}},"required":[]}]}}}},"400":{"description":"validation — missing translation file or more than one file per role; invoice_required — invoicing by THIDE is off, no invoice is attached or stored, and skipInvoice=1 was not sent.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"not_found — unknown mandate, or one this professional does not own (machine work included).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Nothing was stored, except after ubl_invalid. illegal_transition — mandate not in accepted / in_progress / translated, or a part of a multi-part request (\"Prepare and deliver these jobs together from the Studio Job summary.\" — package delivery uses professional role operations); unassigned — no professional assigned yet (assign one before delivering); invoice_pending — a translation is stored and its invoice draft waits for approval, or an issued invoice has not finished delivery, and this call cannot continue it; on the invoicing-by-THIDE (tacit-issue) path a SelfBillError code: no_payable_quote, self_bill_missing, issuer_incomplete (business details missing — the message lists them) or ubl_invalid (the e-invoice failed the structural check after numbering: the files and the number stand — retry after the fix)."},"413":{"description":"Any file larger than 100 MiB (104857600 bytes; code payload_too_large)."},"415":{"description":"unsupported_file_type — a slot whose extension is not a deliverable format (.docx, .doc, .odt, .pdf, .txt, .md, .csv, .xlsx, .pptx, .xml or an image); nothing is stored."},"422":{"description":"malware_detected — the virus scan refused a slot (the message names the file); the job keeps its status, nothing is stored."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"description":"pdf_unavailable — the PDF renderer is down. Found before the first write, nothing was stored or numbered; if it fails during the tacit issue, the files and the number stand and a retry resumes them. scanner_unavailable — no virus-scan verdict; the job keeps its status, nothing is stored."}},"x-credential-roles":["professional"],"operationId":"postMandatesIdDeliver","tags":["Resources"]}},"/mandates/{id}/self-bill":{"get":{"summary":"The mandate's self-bill (draft or issued) + rendered invoice HTML.","description":"Returns {selfBill, invoiceHtml}. For a draft, invoiceHtml is the preview (CONCEPT banner, the number it WILL receive — allocation only happens at acceptance, keeping the series gapless); for an issued bill it is the stored original HTML, or an HTML wrapper referencing the embedded original PDF bytes. Issued documents are not recreated from current settings. Invoice generation is server-side only.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{selfBill, invoiceHtml}.","content":{"application/json":{"schema":{"type":"object","properties":{"selfBill":{"$ref":"#/components/schemas/SelfBill"},"invoiceHtml":{"type":"string"}},"required":["selfBill","invoiceHtml"]}}}},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate; no self-bill yet (code self_bill_missing); or the issued invoice's stored bytes are gone while its metadata exists (code file_missing — the same answer the documents route gives)."},"409":{"description":"No quote for a draft (code no_payable_quote), or the issued invoice file metadata is missing (code invoice_unavailable).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"getMandatesIdSelf_bill","tags":["Resources"]},"post":{"summary":"Professional acts on the self-bill — accept, contest, or dismiss the tacit-issue notice.","description":"Body is one of three actions (translator/studio auth for all). {action:'accept'} — the explicit acceptance (default mechanism): the professional opted in to invoicing by THIDE (studio Facturatie; third-party issuing, art. 53 §2 WBTW) and every invoice in her name needs her acceptance before it is issued. Explicit acceptance atomically allocates the next number from the professional's own gapless series (e.g. AAL-SB-2026-0001), stores the invoice HTML as the mandate's 'invoice' document (it carries the mention \"Factuur uitgereikt door THIDE (thideworks BV) in naam en voor rekening van …\"), releases delivery (translated→delivered, audit-logged) and e-mails the client — identical to a manual-invoice delivery from there. Since B-01 Phase 2 the issued invoice is stored twice: the PDF ('invoice', fail-closed — the renderer is checked before the number is taken) and the UBL BIS Billing 3.0 e-invoice ('invoice_xml') when the client can be e-invoiced; otherwise the bill's deliveryChannel is 'pdf' and the reason is in the status log. (Under the professional's elected TACIT mode the deliver endpoint issues instead; acceptance is then recorded 'tacit'.) {action:'contest', note (5–4000 chars)} — the professional's protest against an ISSUED self-bill within a historical authorisation's contest window. Authorisations without that window return invoice_rejection_unavailable. An eligible contest records contestedAt + contestNote on the bill, appends an audit note to the status log and relays the protest through the question-relay e-mail channel. Blocks NOTHING — the invoice stays issued (a gapless series never unwinds a number); correction is a manual credit-note process in the MVP. {action:'dismiss_notice'} — dismisses the studio tacit-issue notice (sets noticeDismissedAt; idempotent). All three respond {selfBill, …MandateEnvelope}.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["action"],"properties":{"action":{"const":"accept"}}},{"type":"object","required":["action","note"],"properties":{"action":{"const":"contest"},"note":{"type":"string","minLength":5,"maxLength":4000}}},{"type":"object","required":["action"],"properties":{"action":{"const":"dismiss_notice"}}}]}}}},"responses":{"200":{"description":"{selfBill, …MandateEnvelope} (issued on accept; contested/dismissed bookkeeping on the other actions).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"selfBill":{"$ref":"#/components/schemas/SelfBill"}},"required":["selfBill"]}]}}}},"400":{"description":"Body is not one of the three action shapes (contest note 5–4000 chars)."},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"409":{"description":"accept — self_billing_disabled, issuer_incomplete (business details missing for invoicing by THIDE — the message lists them), self_bill_missing (no draft / already issued), no_payable_quote, unassigned, illegal_transition, self_bill_already_issued (two accepts raced; one invoice exists) or ubl_invalid (the e-invoice failed the structural check after numbering — the number stands, retry after the fix); contest — self_bill_not_issued, self_bill_already_contested, contest_window_closed, invoice_rejection_unavailable (the authorisation has no rejection window); dismiss_notice — self_bill_not_issued. (self_bill_not_rejected / self_bill_not_refunded belong to the credit-note path, available through professional role operations.)"},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"description":"pdf_unavailable — the PDF renderer is down; nothing was numbered or issued (accept) or credited (contest). Retry later."}},"x-credential-roles":["professional"],"operationId":"postMandatesIdSelf_bill","tags":["Resources"]}},"/mandates/{id}/case-file":{"get":{"summary":"Download the mediation case file (PDF; HTML fallback).","description":"One chronology of messages, status events and document exchanges for a delivery that was REFERRED to THIDE (TD, 1 Sep) — the same rows the referred views render. Exists only once acceptance.referredAt is set; before that the case does not exist and the route answers 409. Without ?token=, the professional's signed-in Studio browser (its thide_portal session) also authorises the download of its own work; a ?token= always decides as a client link.\n","security":[{"clientToken":[],"portalSession":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"application/pdf attachment (text/html when the PDF renderer is unavailable).","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"text/html":{"schema":{"type":"string"}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"409":{"description":"Not referred — no case file exists (code not_referred)."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdCase_file","tags":["Resources"]}},"/mandates/{id}/release-referred":{"post":{"summary":"Mediation release — THIDE lets a referred delivery stand.","description":"The operator act beside refund-referred: accepts a DELIVERED mandate whose acceptance is REFERRED on THIDE's decision (acceptance via \"thide\"), so the payout and settlement follow the normal acceptance path. The same call on a delivery THIDE already released only finishes the client's notice. Body {note?} lands on the audit trail and in the client's notice. Same authority as refund-referred: the bootstrap studio key, or a professional credential with payments and operator scopes whose profile remains configured in STUDIO_ACCESS_EMAILS. Mandate ownership restrictions still apply.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"note":{"type":"string","maxLength":2000,"description":"Lands on the audit trail and in the client's notice."}}}}}},"responses":{"200":{"description":"{id, status: settled}.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/MandateStatus"}},"required":["id","status"]}}}},"401":{"description":"Valid professional credential required."},"403":{"description":"insufficient_scope — the credential lacks payments or operator; operator_forbidden — the credential's own profile is not an authorised operator; forbidden — no operator credential was presented; terms_acceptance_required — see KeyForbidden."},"404":{"description":"Unknown mandate."},"409":{"description":"Not referred (code not_releasable)."},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"postMandatesIdRelease_referred","tags":["Resources"]}},"/mandates/{id}/refund-referred":{"post":{"summary":"Mediation refund — THIDE rules for the client on a referred delivery.","description":"The operator act that keeps \"escrow works both ways\": refunds the escrow of a DELIVERED mandate whose acceptance is REFERRED, and transitions it to refunded. The same call resumes unfinished refund documents and notices. Body {note?} lands on the audit trail. Requires the existing bootstrap studio key, or a professional credential with both payments and operator scopes whose profile remains configured in STUDIO_ACCESS_EMAILS. Mandate ownership restrictions still apply. This is THIDE's decision; an ordinary professional payment credential is insufficient.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"note":{"type":"string","maxLength":2000,"description":"Lands on the audit trail with the refund."}}}}}},"responses":{"200":{"description":"{id, status: refunded}.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/MandateStatus"}},"required":["id","status"]}}}},"401":{"description":"Valid professional credential required."},"403":{"description":"insufficient_scope — the credential lacks payments or operator; operator_forbidden — the credential's own profile is not an authorised operator; forbidden — no operator credential was presented; terms_acceptance_required — see KeyForbidden."},"404":{"description":"Unknown mandate."},"409":{"description":"Not delivered+referred (code not_refundable)."},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"postMandatesIdRefund_referred","tags":["Resources"]}},"/mandates/{id}/questions":{"get":{"summary":"Read the question thread.","description":"The relay travels by e-mail in both directions, but the thread is persisted and readable — without this the relay is write-only over the API: an agent can ask a question and never see the answer, because the reply lands in a human mailbox. The same rows also ride on the MandateEnvelope. The thread is the request's CONVERSATION: on a multi-language request every part shares it, so messages[].mandateId may name a sibling part (the path id is only the entry point).\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{messages: [{id, mandateId, from, message, relayed, at}], count} — oldest first.","content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"type":"array","items":{"$ref":"#/components/schemas/QuestionMessage"}},"count":{"type":"integer"}},"required":["messages","count"]}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdQuestions","tags":["Resources"]},"post":{"summary":"Relay a question between client and translator (no in-app chat — e-mail relay).","description":"API parity for the web question boxes. Body {message (1–4000 characters after trimming), token?} as JSON, or multipart/form-data with the same fields plus repeatable `attachment` file parts — reference material (a glossary, an earlier translation): at most 5 files, 20 MiB each, 50 MiB per message, within 30 files / 200 MiB per conversation, in the deliverable formats (.docx .doc .odt .pdf .txt .md .csv .xlsx .pptx .xml and images). Files are named in the relay mail and downloaded on THIDE; they are never documents of the request. Direction derives from authentication: a client caller (token with its verified session or creator grant, or a client credential) relays TO the professional; a professional credential relays TO the client. Responds {relayed, from, to, message} — the stored row with its attachments as views. Metered at 10 messages per 10 minutes per request and 30 per 10 minutes per IP (429 rate_limited with Retry-After).\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string","minLength":1,"maxLength":4000},"token":{"type":"string"}}}},"multipart/form-data":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string","minLength":1,"maxLength":4000},"token":{"type":"string"},"attachment":{"type":"array","items":{"type":"string","format":"binary"},"description":"Reference material within the message attachment limits."}}}}}},"responses":{"200":{"description":"{relayed: true, from, to, message: the stored thread row}.","content":{"application/json":{"schema":{"type":"object","properties":{"relayed":{"const":true},"from":{"type":"string","enum":["client","translator"]},"to":{"type":"string","enum":["client","translator"]},"message":{"$ref":"#/components/schemas/QuestionMessage"}},"required":["relayed","from","to","message"]}}}},"400":{"description":"validation — message empty after trimming or over 4000 characters."},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"409":{"description":"no_translator — the mandate has no professional to relay to yet."},"413":{"description":"payload_too_large — an attachment over 20 MiB, the message’s files over 50 MiB, the multipart body over its cap, or a JSON body over 64 KiB. Nothing was stored or mailed."},"415":{"description":"unsupported_file_type — an attachment outside the deliverable formats. Nothing was stored or mailed."},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"description":"Relay failed (code relay_failed) — a transport failure only; a recipient who switched e-mail updates off answers 200 with relayed=true, since the portal is their channel. The message IS on the thread — it was persisted before the e-mail was attempted, so a retry would duplicate it. Treat as delivered-in-app, not-yet-e-mailed.\n"}},"x-credential-roles":["client","professional"],"operationId":"postMandatesIdQuestions","tags":["Resources"]}},"/mandates/{id}/accept":{"get":{"summary":"Read the delivery-acceptance record (state, clock, comment thread).","description":"The client accepts explicitly, or an untouched delivery is deemed accepted after its recorded acceptance window. Payout timing is separately determined by the frozen checkout agreement. Reading evaluates the deemed clock, so one poll tells the whole truth (including \"it just settled\"). Returns {status, acceptance: {openedAt, state: pending|commented|referred|accepted, via?: explicit|deemed, acceptedAt?, referredAt?, comments: [{id, by, message, at, attachments?}]} | null, deemedAt: ISO | null, deliveryRevision: string}. New windows end at the end of the third Belgian working day; historical windows retain their recorded policy. A client concern permanently stops automatic acceptance. Neither a reply nor a corrected file restarts it. Corrections are append-only file revisions; acceptance.corrections identifies their old/new document IDs and publication time. Keep deliveryRevision from the reviewed files and send it on accept.\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{status, acceptance, deemedAt, deliveryRevision}.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/MandateStatus"},"acceptance":{"anyOf":[{"$ref":"#/components/schemas/ClientAcceptance"},{"type":"null"}]},"deliveryRevision":{"type":"string"},"deemedAt":{"type":["string","null"]}},"required":["status","acceptance","deliveryRevision","deemedAt"]}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdAccept","tags":["Resources"]},"post":{"summary":"Accept the delivery, comment on it, or refer it to THIDE.","description":"Body {action: 'accept', token?, deliveryRevision?} — the client's explicit acceptance; transitions delivered→settled, evaluates the recorded payout policy, notifies the translator; responds with the MandateEnvelope. {action: 'comment', message (5–4000 chars), token?} — stores a comment on the acceptance thread and relays it by e-mail; a client concern stops automatic acceptance permanently, including after a professional reply. As multipart/form-data the same fields plus repeatable `attachment` file parts — reference material within the limits of POST /questions (5 files, 20 MiB each, 50 MiB per message, 30 files / 200 MiB per conversation, deliverable formats), named in the relay mail and downloaded on THIDE; files with accept or refer are refused (400). deliveryRevision is required once a correction exists and must match the current revision; a stale or missing value returns 409 so the client reviews the new files first. Before any correction it may be omitted or set to original. {action: 'refer', token?} — the client's escalation after a comment round: records the referral, mails THIDE the thread, kills the clock for good; the case then settles only by explicit acceptance or a refund (409 before any comment exists). Auth: the client token with its verified session, or a client credential holding payments; a professional credential may comment but can NEVER accept or refer — both are the client's acts alone (403).\n","security":[{"clientToken":[],"portalSession":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["action"],"properties":{"action":{"const":"accept"},"token":{"type":"string"},"deliveryRevision":{"type":"string","maxLength":128,"description":"The deliveryRevision from GET …/accept once a correction exists."}}},{"type":"object","required":["action","message"],"properties":{"action":{"const":"comment"},"message":{"type":"string","minLength":5,"maxLength":4000},"token":{"type":"string"}}},{"type":"object","required":["action"],"properties":{"action":{"const":"refer"},"token":{"type":"string"}}}]}},"multipart/form-data":{"schema":{"type":"object","required":["action","message"],"properties":{"action":{"const":"comment"},"message":{"type":"string","minLength":5,"maxLength":4000},"token":{"type":"string"},"attachment":{"type":"array","items":{"type":"string","format":"binary"},"description":"Reference material within the message attachment limits — with a comment only."}}}}}},"responses":{"200":{"description":"accept → the MandateEnvelope (settled; client view WITHOUT accessToken — only GET /mandates/{id} echoes the token); comment and refer → {status, acceptance}, the files of a comment on its row as MessageAttachmentView.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"status":{"$ref":"#/components/schemas/MandateStatus"},"acceptance":{"anyOf":[{"$ref":"#/components/schemas/ClientAcceptance"},{"type":"null"}]}},"required":["status","acceptance"]}]}}}},"400":{"description":"Unknown action / message too short or long."},"401":{"description":"Bad token / key."},"403":{"description":"forbidden — a professional credential tried to accept or refer; both are the client's acts alone. insufficient_scope — the credential lacks payments (every action of this route needs it, comments included). terms_acceptance_required — see KeyForbidden."},"404":{"description":"Unknown mandate."},"409":{"description":"Not delivered, or deliveryRevision is stale/missing after a correction. Refresh and review the current files."},"413":{"description":"payload_too_large — a JSON body over 64 KiB; with a comment, an attachment over 20 MiB, the comment’s files over 50 MiB or the multipart body over its cap. Nothing was stored or mailed."},"415":{"description":"unsupported_file_type — a comment’s attachment outside the deliverable formats. Nothing was stored or mailed."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"postMandatesIdAccept","tags":["Resources"]}},"/mandates/{id}/legalisation":{"get":{"summary":"What we recommend for this mandate, and what actually applies.","description":"Returns {recommended: {requirement, basis, rationale, confirmWithProfessional}, effective, override, deviates}. requirement is 'none' | 'apostille' | 'consular_legalisation', or null when we decline to answer (no destination, or an EU destination with no documentCategory — cases where a confident answer would be invented).\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"EffectiveLegalisation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EffectiveLegalisation"}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdLegalisation","tags":["Resources"]},"post":{"summary":"Propose or confirm the legalisation route.","description":"THIDE recommends, humans decide. Our rule is dated and sourced but still incomplete — the client may know something about their own paperwork that we do not, and the professional is the expert. Body {requirement, reason?}. The direction of authority comes from authentication: a client caller records setBy 'client', a professional credential 'translator'. A client override is a proposal: the professional must explicitly confirm the route before the draft quote can be released, even if they agree with the proposed route. Client input does not replace expert review.\nAn override NEVER erases the recommendation: both are returned, the deviation is audit-logged with what we had advised, and every surface shows that the mandate deviates. The quote is recomputed, because the legalisation line moves with it.\nAllowed only while the quote has not been sent (status 'submitted' — LEGALISATION_MUTABLE in lib/legalisation-decision.ts, the same rule the studio applies): an override changes what the client owes. Afterwards it is 409 price_locked — a sent quote is final; the professional cannot reprice it either.\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["requirement"],"properties":{"requirement":{"type":"string","enum":["none","apostille","consular_legalisation"]},"reason":{"type":"string","minLength":3,"maxLength":500,"description":"Shown next to the deviation on both sides."}}}}}},"responses":{"200":{"description":"EffectiveLegalisation + status (the mandate status after the decision, always 'submitted' here) + the recomputed quote (client view for a token / client key, studio view for the studio key).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/EffectiveLegalisation"},{"type":"object","properties":{"status":{"$ref":"#/components/schemas/MandateStatus"},"quote":{"anyOf":[{"$ref":"#/components/schemas/Quote"},{"type":"null"}]}},"required":["status","quote"]}]}}}},"400":{"description":"Bad requirement value or too-short reason."},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"409":{"description":"price_locked — the quote has already been sent (status is no longer submitted); or price_held — the client has a Checkout page open on the current price (wait until they pay or it expires)."},"413":{"$ref":"#/components/responses/JsonBodyTooLarge"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"postMandatesIdLegalisation","tags":["Resources"]}},"/catalog":{"get":{"summary":"Everything the intake offers, as data — the selection boxes an automator cannot see.","description":"The API twin of the web intake's pickers: language pairs (each marked autoQuoted or not — an ad-hoc pair is orderable, it simply pauses for a rate instead of returning a price), regular vs sworn, the deadline buckets with the exact price modifiers the quote applies, the full ISO destination-country list with its legalisation route, the upload limits and accepted extensions, and the terms that must be accepted. Read this before posting a mandate rather than guessing and learning from a 400.\nupload.maxFileBytes (104857600), maxFiles (30), and maxTotalFileBytes (209715200) cap RAW documents. maxMultipartBodyBytes (210763776) and maxJsonBodyBytes (280668964) separately cap encoded bodies including framing. The web picker and API accept every supported language except the source as a target (currently ten destinations). Target jobs do not multiply the uploaded-document count. Upstream proxy/CDN caps and timeouts require deployment verification and may reject before this app.\nPUBLIC since 5 Nov 2026 (TD): no credential needed, like GET /terms — a first request needs no key, and what it may order is readable before it is filed. It carries no client data and no rates in money (the professional's matrix stays behind a professional credential on /pricing). A key that IS presented must be live (401) and under its meter (429); anonymous calls are metered at 120 requests/minute per IP (the shared RateLimited answer, Retry-After). The 200 carries Cache-Control public, max-age=300: the answer is the same for everyone.\ncountries[].legalisation is the route for a SWORN translation sent there, as of today: 'apostille', 'consular_legalisation', or null for EU destinations, where the answer genuinely depends on the document category — send documentCategory to POST /mandates and it is resolved properly. countries[].hagueParty says whether apostilles are accepted there at all.\n","security":[{},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"responses":{"200":{"description":"{languages, pairs, kinds, deadlines, countries, documentCategories, upload, quoting, terms}. Cache-Control public, max-age=300.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalog"}}}},"401":{"description":"unauthorized — a key was presented that matches no live key. Sending none is fine."},"403":{"$ref":"#/components/responses/KeyForbidden"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getCatalog","tags":["Resources"]}},"/terms":{"get":{"summary":"The contracts a client agrees to, with versions and content hashes.","description":"Contracts must be readable before anyone is bound by them. PUBLIC since 31 Oct 2026 (B-03): a first request needs no key (POST /mandates is open) and must accept the current versions, so this index and the text need no credential. A key that IS presented must be live (401) and under its meter (429). The catalog is public too since 5 Nov 2026. requiredForMandate lists the ids POST /mandates demands in acceptedTerms. Each document carries a contentHash (SHA-256 of the body) so a client can tell that cached text is still current.\n","security":[{},{"apiKey":[]},{"studioKey":[]},{"clientToken":[],"portalSession":[]},{"keyId":[],"apiSecret":[]}],"responses":{"200":{"description":"{documents: [{id, version, title, audience, status, effectiveDate, summary, contentHash, path}], requiredForMandate: string[]}.","content":{"application/json":{"schema":{"type":"object","properties":{"documents":{"type":"array","items":{"$ref":"#/components/schemas/TermsSummary"}},"requiredForMandate":{"type":"array","items":{"type":"string"}}},"required":["documents","requiredForMandate"]}}}},"401":{"description":"unauthorized — a key was presented that matches no live key. Sending none is fine."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getTerms","tags":["Resources"]}},"/terms/{id}":{"get":{"summary":"The full text of one contract.","description":"Same access rule as the index route (public since 31 Oct 2026; a presented key must be live). ?format=markdown returns the raw body as text/markdown (what a terminal client wants to print), with x-thide-terms-version and x-thide-terms-hash headers; the default JSON carries the same body plus the metadata. status 'draft' means the text is not in force yet — still in legal review, or final and waiting for its effective date (Platform Terms 1.3, 4 November 2026) — published rather than withheld so nothing is accepted sight-unseen.\n","security":[{},{"apiKey":[]},{"studioKey":[]},{"clientToken":[],"portalSession":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"format","schema":{"type":"string","enum":["markdown"]}}],"responses":{"200":{"description":"JSON {id, version, title, audience, status, effectiveDate, summary, contentHash, path, body} — or raw markdown.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TermsDocument"}},"text/markdown":{"schema":{"type":"string"}}}},"401":{"description":"unauthorized — a key was presented that matches no live key. Sending none is fine."},"404":{"description":"Unknown document id."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getTermsId","tags":["Resources"]}},"/mandates/{id}/terms":{"get":{"summary":"The contracts THIS mandate was formed under.","description":"Not the same question as /terms (what is on offer now): this answers \"what did I actually agree to, and can I still read it?\". Each acceptance returns its stored version, contentHash, timestamp and via (web|api). body is the full text when the registry still holds that exact hash, and null otherwise — never a substitute text. supersededByVersion names the newer version when the registry has moved on; the acceptance itself stands, pinned by hash. An empty list means the mandate was not formed on THIDE's terms (created before the gate existed, or mirrored 'direct' work) — not that evidence was lost.\n","security":[{"clientToken":[],"portalSession":[]},{"creatorGrant":[]},{"apiKey":[]},{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{mandateId, accepted: [{documentId, version, contentHash, acceptedAt, via, title, status, body, supersededByVersion}], count}.","content":{"application/json":{"schema":{"type":"object","properties":{"mandateId":{"type":"string"},"accepted":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/TermsAcceptanceEvidence"},{"type":"object","properties":{"title":{"type":"string"},"status":{"type":["string","null"]},"body":{"type":["string","null"]},"supersededByVersion":{"type":["string","null"]}},"required":["title","status","body","supersededByVersion"]}]}},"count":{"type":"integer"}},"required":["mandateId","accepted","count"]}}}},"401":{"description":"Bad token / key."},"403":{"$ref":"#/components/responses/KeyForbidden"},"404":{"description":"Unknown mandate."},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["client","professional"],"operationId":"getMandatesIdTerms","tags":["Resources"]}},"/pricing":{"get":{"summary":"The professional's persisted pricing matrix (studio cross-grid).","description":"Reflects exactly what the auto-quote engine reads — the studio /studio/pricing cross-grid edits land here. rates is keyed \"source->target\" (DIRECTIONAL: nl->en may differ from en->nl; when only one direction is stored it serves both ways) with integer-cent values {defaultCents, minCents, maxCents, provisional?} per BILLING UNIT. The unit is the professional's choice (billingMethod): the default is a 60-character line; basis 'characters' bills per charactersPerUnit characters (unitName line | standard_page | characters, includeSpaces, rounding whole | proportional), basis 'words' per word and 'pages' per document page. `unit` spells it out (\"cents per 60-character line\", \"cents per word\", …). groups contains named exact directional overrides; these take precedence over base rates only for their listed pairs and never feed reverse or derived fallback. Removing membership restores the base lookup. adHocLanguages lists registered languages without individual fixed rates; an exact group can supply their rate. Rates are the professional's business data — professional credentials only.\n","security":[{"studioKey":[]},{"keyId":[],"apiSecret":[]}],"responses":{"200":{"description":"{unit: string, billingMethod: {basis: characters | words | pages, charactersPerUnit: integer, unitName: line | standard_page | characters, includeSpaces: boolean, rounding: whole | proportional}, rates: {\"nl->en\": {defaultCents, minCents, maxCents, provisional?}, …}, groups: [{id, name, pairs, rate}], adHocLanguages: string[], updatedAt}.","content":{"application/json":{"schema":{"type":"object","properties":{"unit":{"type":"string"},"billingMethod":{"type":"object","properties":{"basis":{"type":"string","enum":["characters","words","pages"]},"charactersPerUnit":{"type":"integer"},"unitName":{"type":"string","enum":["line","standard_page","characters"]},"includeSpaces":{"type":"boolean"},"rounding":{"type":"string","enum":["whole","proportional"]}},"required":["basis","charactersPerUnit","unitName","includeSpaces","rounding"]},"rates":{"type":"object","additionalProperties":{"type":"object","properties":{"defaultCents":{"type":"integer"},"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"regularCents":{"type":"integer"},"provisional":{"type":"boolean"},"derived":{"type":"boolean"},"adHoc":{"type":"boolean"}},"required":["defaultCents","minCents","maxCents"],"additionalProperties":false}},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"pairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"}},"required":["source","target"],"additionalProperties":false}},"rate":{"type":"object","properties":{"defaultCents":{"type":"integer"},"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"regularCents":{"type":"integer"},"provisional":{"type":"boolean"},"derived":{"type":"boolean"},"adHoc":{"type":"boolean"}},"required":["defaultCents","minCents","maxCents"],"additionalProperties":false}},"required":["id","name","pairs","rate"],"additionalProperties":false}},"adHocLanguages":{"type":"array","items":{"type":"string"}},"updatedAt":{"type":"string"}},"required":["unit","billingMethod","rates","groups","adHocLanguages","updatedAt"]}}}},"401":{"description":"Missing or invalid professional credential."},"403":{"$ref":"#/components/responses/KeyForbidden"},"429":{"$ref":"#/components/responses/RateLimited"}},"x-credential-roles":["professional"],"operationId":"getPricing","tags":["Resources"]}},"/professional/actions/{actionRef}":{"get":{"operationId":"professionalReadActionReceipt","tags":["Pro Studio"],"summary":"Read this credential’s content-free action receipt","security":[{"keyId":[],"apiSecret":[]},{"studioKey":[]}],"description":"Requires the same currently valid credential and role that made the claim; no additional read permission is required. There is no cross-credential or owner-wide lookup. Always reconcile the business object after uncertainty. A missing receipt does not establish that no action occurred.","parameters":[{"in":"path","name":"actionRef","required":true,"schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}}],"responses":{"200":{"description":"Safe action receipt with optional retained browser-review state. No stored response body, raw input, files or provider link is returned.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"Cache-Control":{"schema":{"const":"private, no-store"}}},"content":{"application/json":{"schema":{"type":"object","required":["action"],"additionalProperties":false,"properties":{"action":{"$ref":"#/components/schemas/WorkflowActionReceipt"}}}}}},"400":{"description":"Invalid operation input, invalid cursor or missing Idempotency-Key.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing, wrong-role, expired, revoked or mixed credentials.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Insufficient permission or required verification/terms.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Missing, foreign, historical without metadata, or expired completed receipt. This is not evidence that execution never happened.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Workflow refusal, changed version, held idempotency key, partial failure or one-time secret already issued. Inspect the code and current state; this status alone does not establish success or safe retry.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"Encoded body or file limits exceeded.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Unsupported content type.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency-Key was reused with different input; use the original encoded request for a retry.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Key or profile request limit reached. Honour Retry-After before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"499":{"description":"Request cancelled before this operation started. This does not resolve an earlier uncertain attempt.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"500":{"description":"Unknown outcome or operation failure. Read current state before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Required terms, rendering, payments or service configuration is unavailable. Check the error code before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"default":{"description":"An additional operation-specific or service error. Inspect the HTTP status and error code, preserve request references, and reconcile current state before retrying an uncertain mutation. Proxies may return a non-JSON body; handle transport and parse failures as uncertain outcomes.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/assignee-workspaces":{"get":{"operationId":"identityAssigneeWorkspaces","tags":["Identity"],"summary":"List the verified inbox's existing Subco workspaces","description":"Read-only navigation discovery using the verified inbox session cookie. No query parameters, API credentials or caller-supplied email select an owner. Only active uniquely resolved memberships are returned; no account, token or term acceptance is created. Cross-origin browser calls are rejected. Every response is private, no-store. Following a workspace link still requires its existing inbox, terms and assignment authorization.","security":[{"assigneeSession":[]}],"responses":{"200":{"description":"The inbox's active workspaces, or an empty list.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["data"],"properties":{"data":{"type":"object","additionalProperties":false,"required":["workspaces"],"properties":{"workspaces":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["professionalId","memberId","professionalName","href"],"properties":{"professionalId":{"type":"string"},"memberId":{"type":"string"},"professionalName":{"type":"string"},"href":{"type":"string","pattern":"^/subco/work/[A-Za-z0-9_-]{1,256}$"}}}}}}}}}}},"400":{"description":"Query parameters are not accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing, invalid or expired verified-inbox session.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-origin browser request refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Shared identity IP rate limit reached.","headers":{"Retry-After":{"description":"Seconds until another request may be attempted.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Workspace discovery is temporarily unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/challenge":{"post":{"operationId":"identityChallenge","tags":["Identity"],"summary":"Request an inbox proof","description":"JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. ","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityChallengeInput"}}}},"responses":{"202":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"step":{"const":"code"},"email":{"type":"string"}},"required":["step","email"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/verify":{"post":{"operationId":"identityVerify","tags":["Identity"],"summary":"Verify the original inbox challenge","description":"JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. The original challenge cookie is mandatory; a code or link from another client cannot create a session. ","security":[{"identityChallenge":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityVerifyInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verified":{"const":true},"destination":{"type":"string"}},"required":["verified","destination"]}},"required":["data"]}}}},"202":{"description":"The first step passed and this address has the authenticator app on. No session exists yet; preserve the pending cookie and post the authenticator or recovery code to /identity/second-step.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verified":{"const":false},"step":{"const":"authenticator"}},"required":["verified","step"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/password":{"post":{"operationId":"identityPassword","tags":["Identity"],"summary":"Sign in with e-mail address and password","description":"JSON twin of the sign-in form's password option. The password is the one the address set on its Profile page while signed in. Unknown address, address without a password, wrong password and operator address all answer the same 401; five failures lock the address's password sign-in for 15 minutes (429), and the e-mail code keeps working. Operators sign in by e-mail code only. Preserve cookies between calls. No cross-origin browser calls. ","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityPasswordInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verified":{"const":true},"destination":{"type":"string"}},"required":["verified","destination"]}},"required":["data"]}}}},"202":{"description":"The first step passed and this address has the authenticator app on. No session exists yet; preserve the pending cookie and post the authenticator or recovery code to /identity/second-step.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verified":{"const":false},"step":{"const":"authenticator"}},"required":["verified","step"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/second-step":{"post":{"operationId":"identitySecondStep","tags":["Identity"],"summary":"Finish a sign-in with the authenticator app","description":"Asked after /identity/verify or /identity/password answered 202: post the six digits from the authenticator app, or a recovery code (single use). The pending cookie set by the first step is mandatory, lives ten minutes and works once; a wrong code keeps it, five failures lock this step for 15 minutes (429). No cross-origin browser calls. ","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentitySecondStepInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verified":{"const":true},"destination":{"type":"string"}},"required":["verified","destination"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/credentials":{"post":{"operationId":"identityCredentials","tags":["Identity"],"summary":"Issue the first role key ID and secret","description":"JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.","security":[{"portalSession":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityCredentialsInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/terms":{"post":{"operationId":"identityTerms","tags":["Identity"],"summary":"Accept current subcontractor terms before the first key","description":"JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.","security":[{"portalSession":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityTermsInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accepted":{"const":true}},"required":["accepted"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}},"get":{"operationId":"identityTermsRead","tags":["Identity"],"summary":"Inspect terms for the verified inbox","security":[{"portalSession":[]}],"parameters":[{"in":"query","name":"token","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$"}}],"responses":{"200":{"description":"Current inbox-authorized terms data.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accepted":{"type":"boolean"},"documents":{"type":"array","items":{"type":"object","required":["id","version","title","audience","status","effectiveDate","summary","body","contentHash"],"properties":{"id":{"type":"string"},"version":{"type":"string"},"title":{"type":"string"},"audience":{"type":"string","enum":["client","professional"]},"status":{"type":"string","enum":["draft","in_force"]},"partnerApplicable":{"type":"boolean"},"effectiveDate":{"type":["string","null"]},"summary":{"type":"string"},"body":{"type":"string"},"contentHash":{"type":"string"}}}}},"required":["accepted","documents"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/nomination":{"post":{"operationId":"identityNomination","tags":["Identity"],"summary":"Accept or decline the invitation after inbox proof","description":"JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. Idempotency-Key required; unknown outcomes remain held. Credential secrets are shown once and never replayed.","security":[{"portalSession":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":1,"maxLength":200}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityNominationInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"destination":{"type":"string"}},"required":["destination"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}},"get":{"operationId":"identityNominationRead","tags":["Identity"],"summary":"Inspect nomination for the verified inbox","security":[{"portalSession":[]}],"parameters":[{"in":"query","name":"token","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,256}$"}}],"responses":{"200":{"description":"Current inbox-authorized nomination data.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"professionalName":{"type":"string"},"role":{"type":"string","enum":["translation","review","legalisation","invoicing"]},"pair":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"}},"required":["source","target"]},"kind":{"type":"string","enum":["regular","sworn"]},"lineCount":{"type":["number","null"]},"volume":{"type":["object","null"],"properties":{"label":{"type":"string","enum":["Characters","Characters excl. spaces","Words","Document pages","Lines"]},"count":{"type":"number"}},"required":["label","count"]},"offerCents":{"type":["number","null"]},"deadlineBucket":{"$ref":"#/components/schemas/Mandate/properties/deadlineBucket"},"assignedAt":{"type":"string"},"documents":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"}},"required":["fileName"]}}},"required":["professionalName","role","pair","kind","lineCount","volume","offerCents","deadlineBucket","assignedAt","documents"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/identity/signout":{"post":{"operationId":"identitySignout","tags":["Identity"],"summary":"Clear the API cookie session","description":"JSON-only identity workflow sharing the UI inbox proof and cookie session. Preserve cookies between calls. No cross-origin browser calls. ","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentitySignoutInput"}}}},"responses":{"200":{"description":"Identity result. Preserve Set-Cookie values; issued secrets are shown only once.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"signedOut":{"const":true}},"required":["signedOut"]}},"required":["data"]}}}},"400":{"description":"Invalid input or missing Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing inbox proof or verification failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Cross-site request, missing required terms or unavailable profile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Invitation or profile unavailable to this verified inbox.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Changed state, pending operation or one-time secret already issued.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"JSON input exceeds 16 KiB.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Use application/json.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency key belongs to different input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Rate limited; back off before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Challenge delivery or identity service unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/professional/operations":{"get":{"operationId":"professionalDiscoverOperations","tags":["Pro Studio"],"summary":"Discover operations available to this credential","security":[{"keyId":[],"apiSecret":[]},{"studioKey":[]}],"parameters":[{"in":"header","name":"x-thide-professional-id","required":false,"description":"Operator credentials only: select an accessible professional profile. Credential administration and terms acceptance remain with the credential owner.","schema":{"type":"string"}}],"responses":{"200":{"description":"Role and the scoped operation catalog, including input and result schemas.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowCatalog"}}}},"400":{"description":"Invalid operation input, invalid cursor or missing Idempotency-Key.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing, wrong-role, expired, revoked or mixed credentials.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Insufficient permission or required verification/terms.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Unknown operation or resource unavailable to this identity.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Workflow refusal, changed version, held idempotency key, partial failure or one-time secret already issued. Inspect the code and current state; this status alone does not establish success or safe retry.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"Encoded body or file limits exceeded.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Unsupported content type.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency-Key was reused with different input; use the original encoded request for a retry.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Key or profile request limit reached. Honour Retry-After before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"499":{"description":"Request cancelled before this operation started. This does not resolve an earlier uncertain attempt.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"500":{"description":"Unknown outcome or operation failure. Read current state before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Required terms, rendering, payments or service configuration is unavailable. Check the error code before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"default":{"description":"An additional operation-specific or service error. Inspect the HTTP status and error code, preserve request references, and reconcile current state before retrying an uncertain mutation. Proxies may return a non-JSON body; handle transport and parse failures as uncertain outcomes.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}},"post":{"operationId":"professionalExecuteOperation","tags":["Pro Studio"],"summary":"Execute one explicit role operation","security":[{"keyId":[],"apiSecret":[]},{"studioKey":[]}],"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"description":"Required for every mutation. Reuse only with the identical encoded request body. Unknown outcomes remain held; one-time secrets are never replayed. Read operations do not require it.","schema":{"type":"string","minLength":1,"maxLength":200}},{"in":"header","name":"x-thide-professional-id","required":false,"description":"Operator credentials only: select an accessible professional profile. Credential administration and terms acceptance remain with the credential owner.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/professionalCommand"}},"multipart/form-data":{"schema":{"oneOf":[{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"referral.messages"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"referral.send"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"profile.read"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"customers.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"activity":{"type":"string","enum":["open","none"]},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","enum":["name","activity","revenue","jobs","open"]},"direction":{"type":"string","enum":["asc","desc"]},"page":{"type":"string","pattern":"^[1-9]\\d{0,8}$"}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"customers.export"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"activity":{"type":"string","enum":["open","none"]},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","enum":["name","activity","revenue","jobs","open"]},"direction":{"type":"string","enum":["asc","desc"]},"page":{"type":"string","pattern":"^[1-9]\\d{0,8}$"},"language":{"type":"string","enum":["en","nl"]},"ids":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":200}}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.statements"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"q":{"type":"string","maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^[A-Za-z0-9_-]+$"}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.thide-invoices"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"q":{"type":"string","maxLength":200}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.thide-invoice-download"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fileId":{"type":"string","pattern":"^cmf_[A-Za-z0-9-]{8,64}$"}},"required":["fileId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.thide-invoices-archive"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":300,"type":"array","items":{"type":"string","pattern":"^cmf_[A-Za-z0-9-]{8,64}$"}}},"required":["ids"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.agreement"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"jobs.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."}},"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"screen":{"type":"string","enum":["requests","jobs"]},"archive":{"type":"string","enum":["0","1"]},"view":{"type":"string","maxLength":30},"month":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"q":{"type":"string","maxLength":200},"unread":{"type":"string","enum":["0","1"]},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"sort":{"type":"string","maxLength":40},"direction":{"type":"string","enum":["asc","desc"]}},"required":["screen"],"additionalProperties":false}]}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"jobs.read"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.review"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.set-price"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","enum":["fixed","unit"]},"fixedPrice":{"type":"string","maxLength":40},"unitRate":{"type":"string","maxLength":40}},"required":["mandateId","mode"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.set-legalisation-price"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"legalisationPrice":{"type":"string","maxLength":40}},"required":["mandateId","legalisationPrice"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.set-count"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"charCount":{"type":"integer","exclusiveMinimum":0,"maximum":100000000}},"required":["mandateId","charCount"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.set-delivery-date"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"deliveryDate":{"type":"string"}},"required":["mandateId","deliveryDate"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.set-volume"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"charCount":{"type":"integer","minimum":0,"maximum":100000000}},"required":["mandateId","charCount"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.legalisation"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"requirement":{"type":"string","enum":["none","apostille","consular_legalisation"]},"reason":{"type":"string","maxLength":4000}},"required":["mandateId","requirement"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.save-review"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":128},"fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["mandateId","version"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.set-exclusion"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"include":{"type":"string","enum":["yes","no"]},"reason":{"type":"string","maxLength":4000}},"required":["mandateId","include"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.confirm-request"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"internalReference":{"type":"string","maxLength":160},"message":{"type":"string","maxLength":4000},"parts":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":128},"fingerprint":{"type":"string","maxLength":64},"exclusionReason":{"type":"string","maxLength":4000}},"required":["id","version","fingerprint"],"additionalProperties":false}}},"required":["mandateId","parts"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"jobs.accept"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignTo":{"type":"string","maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"jobs.decline"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"note":{"type":"string","maxLength":4000}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.withdraw"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"quotes.reissue"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"jobs.set-reference"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"internalReference":{"type":"string","maxLength":160}},"required":["mandateId","internalReference"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"jobs.close-payment-attempt"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"messages.send-client"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false}},"attachment":{"type":"array","items":{"type":"string","format":"binary"}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"messages.reply-delivery"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":5,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false}},"attachment":{"type":"array","items":{"type":"string","format":"binary"}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"messages.mark-client"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"seenAt":{"type":"string","minLength":1,"maxLength":128},"unread":{"type":"boolean"}},"required":["mandateId","seenAt","unread"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"messages.read-subcontractor"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128}},"required":["mandateId","memberId","assignmentAt"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"messages.send-subcontractor"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","memberId","assignmentAt","message"],"additionalProperties":false}},"attachment":{"type":"array","items":{"type":"string","format":"binary"}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"messages.mark-subcontractor"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128},"at":{"type":"string","minLength":1,"maxLength":128},"unread":{"type":"boolean"}},"required":["mandateId","memberId","assignmentAt","at","unread"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"assignments.set"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignee":{"type":"string","minLength":1,"maxLength":200},"nomineeName":{"type":"string","maxLength":200},"nomineeEmail":{"type":"string","maxLength":254},"dueDate":{"type":"string"},"freeText":{"type":"string","maxLength":200},"assignmentRevision":{"type":"string","minLength":1,"maxLength":128},"confirmCancellation":{"type":"string","const":"yes"}},"required":["mandateId","assignee"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"assignments.set-package"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignee":{"type":"string","minLength":1,"maxLength":200},"nomineeName":{"type":"string","maxLength":200},"nomineeEmail":{"type":"string","maxLength":254},"dueDate":{"type":"string"},"scope":{"type":"string","enum":["selected","package"]},"message":{"type":"string","maxLength":4000},"items":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","updatedAt"],"additionalProperties":false}}},"required":["mandateId","assignee","scope","items"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"assignments.set-due-date"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"dueDate":{"type":"string"}},"required":["mandateId","assignedAt","dueDate"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"assignments.review"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"role":{"type":"string","enum":["translation","legalisation"]},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"documentId":{"type":"string","minLength":1,"maxLength":200},"decision":{"type":"string","enum":["approved","changes_requested"]},"note":{"type":"string","maxLength":2000}},"required":["mandateId","role","memberId","assignedAt","documentId","decision"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"delivery.check"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["mandateId"],"additionalProperties":false}},"files":{"type":"array","items":{"type":"string","format":"binary"}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"delivery.submit"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["mandateId"],"additionalProperties":false}},"files":{"type":"array","items":{"type":"string","format":"binary"}},"translation":{"type":"string","format":"binary"},"apostille":{"type":"string","format":"binary"},"invoice":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"delivery.submit-request"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"entries":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"prefix":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,60}$"},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["id","prefix"],"additionalProperties":false}}},"required":["mandateId","entries"],"additionalProperties":false}},"<input.entries[].prefix>.translation":{"type":"string","format":"binary"},"<input.entries[].prefix>.apostille":{"type":"string","format":"binary"},"<input.entries[].prefix>.invoice":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"delivery.review-package"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"delivery.release-package"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"reviewKey":{"type":"string","minLength":1,"maxLength":128}},"required":["mandateId","reviewKey"],"additionalProperties":false}},"invoice":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input","file"],"properties":{"operation":{"const":"delivery.correct"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"replacesDocumentId":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"string","minLength":1,"maxLength":128},"operationId":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,128}$"}},"required":["mandateId","replacesDocumentId","revision","operationId"],"additionalProperties":false}},"file":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input","creditNote"],"properties":{"operation":{"const":"delivery.upload-credit-note"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"creditNote":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.accept-invoice"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"skipApprovalNextTime":{"type":"string","enum":["0","1"]}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.contest-invoice"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"note":{"type":"string","minLength":5,"maxLength":4000}},"required":["mandateId","note"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"billing.dismiss-notice"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input","invoice"],"properties":{"operation":{"const":"billing.upload-invoice"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}},"invoice":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"panel.add"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"email":{"type":"string","maxLength":254},"iban":{"type":"string","maxLength":40},"pairs":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"}}},"required":["name","email"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"panel.update"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"iban":{"type":"string","maxLength":40},"selfBillAgreed":{"type":"string","enum":["0","1"]}},"required":["memberId","iban","selfBillAgreed"],"additionalProperties":false},{"type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"pairsForm":{"type":"string","const":"1"},"pairs":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"}}},"required":["memberId","pairsForm","pairs"],"additionalProperties":false}]}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"panel.language-pair"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"pair":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"},"action":{"type":"string","enum":["add","remove"]}},"required":["memberId","pair","action"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.set-cell"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string","minLength":2,"maxLength":2},"target":{"type":"string","minLength":2,"maxLength":2},"forward":{"type":"object","properties":{"rate":{"type":"string","maxLength":40},"regular":{"type":"string","maxLength":40},"adHoc":{"type":"boolean"}},"required":["rate","regular","adHoc"],"additionalProperties":false},"reverse":{"type":"object","properties":{"rate":{"type":"string","maxLength":40},"regular":{"type":"string","maxLength":40},"adHoc":{"type":"boolean"}},"required":["rate","regular","adHoc"],"additionalProperties":false}},"required":["source","target"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.group.save"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"},"expectedUpdatedAt":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"pairs":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":2,"maxLength":2},"target":{"type":"string","minLength":2,"maxLength":2}},"required":["source","target"],"additionalProperties":false}},"rate":{"type":"string","minLength":1,"maxLength":40},"regular":{"type":"string","maxLength":40}},"required":["expectedUpdatedAt","name","pairs","rate"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.group.remove"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"},"expectedUpdatedAt":{"type":"string","minLength":1,"maxLength":100}},"required":["id","expectedUpdatedAt"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.add-language"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":1,"maxLength":100},"rate":{"type":"string","maxLength":40}},"required":["language"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.remove-language"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":2,"maxLength":2}},"required":["language"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.remove-axis"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":2,"maxLength":2},"axis":{"type":"string","enum":["from","into"]}},"required":["language","axis"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.minimums"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"minimumRegular":{"type":"string","maxLength":40},"minimumSworn":{"type":"string","maxLength":40}},"required":["minimumRegular","minimumSworn"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.deadlines"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rush_1_3d":{"type":"number","exclusiveMinimum":-100,"maximum":200},"week_1":{"type":"number","exclusiveMinimum":-100,"maximum":200},"month_1":{"type":"number","exclusiveMinimum":-100,"maximum":200}},"required":["rush_1_3d","week_1","month_1"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"pricing.billing-method"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"basis":{"type":"string","enum":["characters","words","pages"]},"charactersPerUnit":{"type":"integer","minimum":1,"maximum":1000000},"unitName":{"type":"string","enum":["line","standard_page","characters"]},"includeSpaces":{"type":"string","enum":["yes","no"]},"rounding":{"type":"string","enum":["whole","proportional"]}},"required":["basis","charactersPerUnit","unitName","includeSpaces","rounding"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"settings.business"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"businessName":{"type":"string","minLength":1,"maxLength":200},"country":{"type":"string","const":"BE"},"enterpriseNumber":{"type":"string","maxLength":40},"vatRegime":{"type":"string","enum":["normal","franchise","exempt"]},"iban":{"type":"string","maxLength":40},"address":{"type":"string","maxLength":200},"street":{"type":"string","maxLength":200},"postalCode":{"type":"string","maxLength":40},"city":{"type":"string","maxLength":200}},"required":["businessName","enterpriseNumber"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"settings.invoicing"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enable":{"type":"string","enum":["0","1"]},"agreement":{"type":"string","const":"1"},"agreementVersion":{"type":"string","maxLength":100}},"required":["enable"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"settings.recheck-issuer"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"settings.notifications"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"emailNotifications":{"type":"string","enum":["0","1"]}},"required":["emailNotifications"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"settings.commission-vat"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"payouts.verify"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"payouts.dashboard"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"payouts.update"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"reports.export"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"pair":{"type":"string","maxLength":20},"assignee":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":80},"from":{"type":"string","minLength":1,"maxLength":128},"to":{"type":"string","minLength":1,"maxLength":128},"completedFrom":{"type":"string","minLength":1,"maxLength":128},"completedTo":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"reports.commission"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"}},"required":["month"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"reports.selection"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"archive":{"type":"string","maxLength":20},"view":{"type":"string","maxLength":30},"unread":{"type":"string","maxLength":20},"page":{"type":"string","maxLength":20},"screen":{"type":"string","maxLength":30},"section":{"type":"string","maxLength":30},"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"ids":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sort":{"type":"string","maxLength":40},"direction":{"type":"string","enum":["asc","desc"]},"month":{"type":"string","maxLength":7}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"reports.invoices"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","pattern":"^[\\w-]+:[\\w-]+$"}}},"required":["ids"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"reports.audit"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"reports.bank-file"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"batchId":{"type":"string","minLength":1,"maxLength":200}},"required":["batchId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"attachment.download"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"attachmentId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","attachmentId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"document.download"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"documentId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","documentId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"key":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","key"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"onboarding.get"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"onboarding.accept"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"anyOf":[{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["accepted","documents","language"],"additionalProperties":false},{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["language"],"additionalProperties":false}],"description":"The authenticated credential selects the input contract. Current authority plus H policy accepts a human handoff without personal proof fields; preserved legacy credentials require the original input. Supplied fields are validated in either contract."}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"onboarding.receipt"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.referrals.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.referrals.messages"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"channel":{"type":"string","enum":["client","professional"]}},"required":["mandateId","channel"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.referrals.send"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000},"channel":{"type":"string","enum":["client","professional"]}},"required":["mandateId","message","channel"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.applications.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":1000000}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.applications.review"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applicationId":{"type":"string","minLength":1,"maxLength":128},"decision":{"type":"string","enum":["approve","decline"]}},"required":["applicationId","decision"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.invitation-preview"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128}},"required":["professionalId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.invite"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128},"previewHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["professionalId","previewHash"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.register"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","maxLength":254}},"required":["name","email"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.professionals.eligibility"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128},"pairs":{"type":"string","minLength":1,"maxLength":4000},"service":{"minItems":1,"type":"array","items":{"type":"string","enum":["regular","sworn"]}},"countries":{"type":"string","maxLength":1000},"evidence":{"type":"string","minLength":1,"maxLength":4000},"verified":{"type":"boolean","const":true},"active":{"type":"boolean"}},"required":["professionalId","pairs","service","countries","evidence","verified","active"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.evaluate"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"jurisdictions":{"default":[],"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}}},"required":["requestId","from","to"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.assign"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128},"professionalId":{"type":"string","minLength":1,"maxLength":128},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"jurisdictions":{"type":"string","maxLength":1000}},"required":["requestId","professionalId","from","to","jurisdictions"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.allocation.retry"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.einvoice.retry"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deliveryId":{"type":"string","minLength":1,"maxLength":128}},"required":["deliveryId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.terms.ledger"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":128},"requestGroupId":{"type":"string","minLength":1,"maxLength":128},"email":{"type":"string","minLength":3,"maxLength":254},"professionalId":{"type":"string","minLength":1,"maxLength":128},"memberId":{"type":"string","minLength":1,"maxLength":128},"eventId":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.create"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["label"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.rotate"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.credentials.revoke"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.callbacks.save"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["keyId","url"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.callbacks.rotate"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"operator.callbacks.test"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"profile.get"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"profile.image.get"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input","image"],"properties":{"operation":{"const":"profile.image.set"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}},"image":{"type":"string","format":"binary"}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"profile.image.remove"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"counterparty.image.get"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1},"target":{"type":"string","enum":["counterparty","assignment"]}},"required":["mandateId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"credentials.list"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"credentials.create"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["label"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"credentials.rotate"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"credentials.revoke"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"callbacks.save"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["keyId","url"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"callbacks.rotate"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}},{"type":"object","required":["operation","input"],"properties":{"operation":{"const":"callbacks.test"},"input":{"type":"string","description":"JSON encoding of this operation input schema.","contentMediaType":"application/json","contentSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false}}}}]}}}},"responses":{"200":{"description":"Operation data or explicit continuation. Binary download operations return the file directly with its actual Content-Type; inspect Content-Disposition for an available filename. request.caseFile may return PDF or HTML fallback. A provider continuation never establishes payment capture.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}},"Content-Disposition":{"description":"When supplied by a download operation, the attachment filename.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/professionalResult"}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}},"application/pdf":{"schema":{"type":"string","format":"binary"}},"text/html":{"schema":{"type":"string"}},"text/csv":{"schema":{"type":"string"}},"*/*":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid operation input, invalid cursor or missing Idempotency-Key.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"401":{"description":"Missing, wrong-role, expired, revoked or mixed credentials.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"403":{"description":"Insufficient permission or required verification/terms.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"404":{"description":"Unknown operation or resource unavailable to this identity.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"409":{"description":"Workflow refusal, changed version, held idempotency key, partial failure or one-time secret already issued. Inspect the code and current state; this status alone does not establish success or safe retry.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"413":{"description":"Encoded body or file limits exceeded.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"415":{"description":"Unsupported content type.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"422":{"description":"Idempotency-Key was reused with different input; use the original encoded request for a retry.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"429":{"description":"Key or profile request limit reached. Honour Retry-After before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"499":{"description":"Request cancelled before this operation started. This does not resolve an earlier uncertain attempt.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"500":{"description":"Unknown outcome or operation failure. Read current state before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"503":{"description":"Required terms, rendering, payments or service configuration is unavailable. Check the error code before retrying.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}},"default":{"description":"An additional operation-specific or service error. Inspect the HTTP status and error code, preserve request references, and reconcile current state before retrying an uncertain mutation. Proxies may return a non-JSON body; handle transport and parse failures as uncertain outcomes.","headers":{"X-Request-Id":{"description":"Server-minted reference for this dispatch, including refused or replayed requests. Keep it for support; it is not proof of a business outcome.","schema":{"type":"string"}},"X-Action-Ref":{"description":"Opaque reference to this credential’s durable action receipt, only when that metadata exists. Historical records may omit it. A receipt is not proof of business completion.","schema":{"type":"string","pattern":"^act_[a-f0-9]{64}$"}},"Idempotent-Replayed":{"description":"Present when the idempotency executor returns or replays a recorded mutation response. A replay does not execute the action again.","schema":{"type":"string","enum":["true","false"]}},"Retry-After":{"description":"When present, wait this many seconds before another attempt. A delay never authorizes a fresh idempotency key for an uncertain action.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowError"}}}}}}},"/professional/openapi.json":{"get":{"operationId":"professionalOpenApi","tags":["Pro Studio"],"summary":"Public generated contract for this role","security":[],"responses":{"200":{"description":"OpenAPI 3.1 contract.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleOpenApiDocument"}}}}}}}},"x-thide-operations":[{"operation":"referral.messages","title":"Referral Messages","description":"Read only your private conversation with THIDE for this referred delivery; frozen participants retain closed history.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"type":"object","required":["caseId","anchorId","memberIds","referredAt","closed","channel","canWrite","messages"],"additionalProperties":false,"properties":{"caseId":{"type":"string"},"anchorId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"referredAt":{"type":"string"},"closed":{"type":"boolean"},"channel":{"enum":["client","professional"]},"canWrite":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}}}}},"uploads":[]},{"operation":"referral.send","title":"Referral Send","description":"Send a private message to THIDE on an open referral. Dedicated persisted retry identity; never accepts/refunds work or contacts providers.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false},"response":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}},"uploads":[]},{"operation":"profile.read","title":"Profile Read","description":"Read own business, billing, pricing, subcontractor and payout settings without credentials.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"id":{"type":"string"},"businessName":{"type":"string"},"email":{"type":"string"},"address":{"type":"string"},"addressDetails":{"type":"object","properties":{"street":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"}},"required":["street","postalCode","city","country"],"additionalProperties":false},"vatNumber":{"type":"string"},"iban":{"type":"string"},"issuer":{"type":"object","properties":{"country":{"type":"string"},"enterpriseNumber":{"type":"string"},"vatRegime":{"type":"string"},"vies":{"type":"object","properties":{"status":{"enum":["valid","invalid","unavailable"]},"name":{"type":"string"},"address":{"type":"string"},"requestDate":{"type":"string"},"requestIdentifier":{"type":"string"},"checkedAt":{"type":"string"}},"required":["status","checkedAt"],"additionalProperties":false},"kbo":{"type":"object","properties":{"status":{"enum":["active","inactive","unknown"]},"legalForm":{"type":"string"},"vatCapacity":{"type":"boolean"},"checkedAt":{"type":"string"},"source":{"type":"string"}},"required":["status","checkedAt","source"],"additionalProperties":false},"registry":{"type":"object","properties":{"provider":{"type":"string"},"issuerId":{"type":"string"},"enterpriseNumber":{"type":"string"},"verificationUrl":{"type":"string"},"state":{"type":"string"},"requestedAt":{"type":"string"},"verifiedAt":{"type":"string"}},"required":["provider","issuerId","state","requestedAt"],"additionalProperties":false}},"required":["country","enterpriseNumber","vatRegime"],"additionalProperties":false},"eligibility":{"type":"object","properties":{"approval":{"enum":["pending","approved","suspended"]},"active":{"type":"boolean"},"languagePairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["source","target","evidence"],"additionalProperties":false}},"services":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["kind","evidence"],"additionalProperties":false}},"jurisdictions":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["country","kind","evidence"],"additionalProperties":false}}},"required":["approval","active","languagePairs","services","jurisdictions"],"additionalProperties":false},"emailNotifications":{"type":"boolean"},"selfBilling":{"type":"object","properties":{"enabled":{"type":"boolean"},"agreementAcceptedAt":{"type":"string"},"agreementVersion":{"type":"string"},"pendingAuthorisationAt":{"type":"string"},"pendingAgreementVersion":{"type":"string"},"seriesPrefix":{"type":"string"},"nextNumber":{"type":"integer"},"creditNoteNextNumber":{"type":"integer"},"perInvoiceAcceptance":{"type":"boolean"},"contestDays":{"type":"integer"},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"event":{"type":"string"},"note":{"type":"string"}},"required":["at","event"],"additionalProperties":false}}},"required":["enabled","seriesPrefix","nextNumber","perInvoiceAcceptance","contestDays","events"],"additionalProperties":false},"pricing":{"type":"object","properties":{"rates":{"type":"object","additionalProperties":{"type":"object","properties":{"defaultCents":{"type":"integer"},"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"regularCents":{"type":"integer"},"provisional":{"type":"boolean"},"derived":{"type":"boolean"},"adHoc":{"type":"boolean"}},"required":["defaultCents","minCents","maxCents"],"additionalProperties":false}},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"pairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"}},"required":["source","target"],"additionalProperties":false}},"rate":{"type":"object","properties":{"defaultCents":{"type":"integer"},"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"regularCents":{"type":"integer"},"provisional":{"type":"boolean"},"derived":{"type":"boolean"},"adHoc":{"type":"boolean"}},"required":["defaultCents","minCents","maxCents"],"additionalProperties":false}},"required":["id","name","pairs","rate"],"additionalProperties":false}},"adHocLanguages":{"type":"array","items":{"type":"string"}},"minimumCents":{"type":"object","properties":{"regular":{"type":"integer"},"sworn":{"type":"integer"}},"required":["regular","sworn"],"additionalProperties":false},"deadlinePricing":{"type":"object","properties":{"rush_1_3d":{"type":"number"},"week_1":{"type":"number"},"month_1":{"type":"number"}},"required":["rush_1_3d","week_1","month_1"],"additionalProperties":false},"billingMethod":{"type":"object","properties":{"basis":{"enum":["characters","words","pages"]},"charactersPerUnit":{"type":"integer"},"unitName":{"enum":["line","standard_page","characters"]},"includeSpaces":{"type":"boolean"},"rounding":{"enum":["whole","proportional"]}},"required":["basis","charactersPerUnit","unitName","includeSpaces","rounding"],"additionalProperties":false},"commissionTax":{"type":"object","properties":{"treatment":{"const":"be_standard"},"basis":{"type":"string"}},"required":["treatment","basis"],"additionalProperties":false},"unit":{"type":"string"},"currency":{"type":"string"},"events":{"type":"array","items":{"type":"object","properties":{"at":{"type":"string"},"event":{"type":"string"},"note":{"type":"string"}},"required":["at","event"],"additionalProperties":false}}},"required":["rates","adHocLanguages","events"],"additionalProperties":false},"awayPeriods":{"type":"array","items":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"note":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"connectStatus":{"type":"object","properties":{"state":{"type":"string"},"payoutsEnabled":{"type":"boolean"},"chargesEnabled":{"type":"boolean"},"checkedAt":{"type":"string"}},"required":["state","payoutsEnabled","chargesEnabled","checkedAt"],"additionalProperties":false},"hasPayoutAccount":{"type":"boolean"},"settlementBatches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"paidAt":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"memberId":{"type":"string"},"role":{"type":"string"},"amountCents":{"type":"integer"}},"required":["mandateId","memberId","role","amountCents"],"additionalProperties":false}}},"required":["id","createdAt","items"],"additionalProperties":false}},"updatedAt":{"type":"string"},"panel":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"language":{"type":"string"},"iban":{"type":"string"},"status":{"enum":["active","nominated","declined"]},"languagePairs":{"type":"array","items":{"type":"string"}},"rates":{"type":"object","properties":{"perLine":{"type":"object","additionalProperties":{"type":"integer"}},"roleFlat":{"type":"object","additionalProperties":{"type":"integer"}}},"required":[],"additionalProperties":false},"nominatedAt":{"type":"string"},"joinedAt":{"type":"string"},"termsAcceptedAt":{"type":"string"},"selfBillAgreedAt":{"type":"string"}},"required":["id","name","email","status","languagePairs","rates","nominatedAt"],"additionalProperties":false}}},"required":["id","businessName","email","address","vatNumber","iban","emailNotifications","selfBilling","pricing","hasPayoutAccount","settlementBatches","updatedAt","panel"],"additionalProperties":false},"uploads":[]},{"operation":"customers.list","title":"Customers List","description":"Read customer groups without email addresses. Filters and sorting match Studio; supply page for 25-row pagination, omit it for all filtered customers.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"activity":{"type":"string","enum":["open","none"]},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","enum":["name","activity","revenue","jobs","open"]},"direction":{"type":"string","enum":["asc","desc"]},"page":{"type":"string","pattern":"^[1-9]\\d{0,8}$"}},"additionalProperties":false},"response":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pages":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"start":{"type":"integer"},"end":{"type":"integer"}},"required":["page","pages","offset","total","start","end"],"additionalProperties":false},"customers":{"type":"array","items":{"type":"object","properties":{"reference":{"type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"mandateIds":{"type":"array","items":{"type":"string"}},"pairs":{"type":"array","items":{"type":"string"}},"settledCents":{"type":"integer"},"liveCount":{"type":"integer"},"lastActivity":{"type":"string"},"latestJobId":{"type":"string"}},"required":["reference","name","company","mandateIds","pairs","settledCents","liveCount","lastActivity","latestJobId"],"additionalProperties":false}}},"required":["pagination","customers"],"additionalProperties":false},"uploads":[]},{"operation":"customers.export","title":"Customers Export","description":"Export every filtered customer as CSV, across all pages. Never includes email addresses.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"activity":{"type":"string","enum":["open","none"]},"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","enum":["name","activity","revenue","jobs","open"]},"direction":{"type":"string","enum":["asc","desc"]},"page":{"type":"string","pattern":"^[1-9]\\d{0,8}$"},"language":{"type":"string","enum":["en","nl"]},"ids":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":200}}},"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"text/csv","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"billing.statements","title":"Billing Statements","description":"Read the shared invoice register, grouped invoice totals and issuance/delivery status. Optional limit (1–100) or cursor pages grouped rows by ascending mandateId; totals cover the entire filtered register. Live traversal is not a snapshot. Omit both to preserve the complete legacy register.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"q":{"type":"string","maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^[A-Za-z0-9_-]+$"}},"additionalProperties":false},"response":{"type":"object","properties":{"totalCents":{"type":"integer"},"subtotalCents":{"type":"integer"},"rows":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"clientName":{"type":"string"},"status":{"$ref":"#/components/schemas/MandateStatus"},"totalCents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"subtotalCents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"issuedAt":{"type":"string"},"issuance":{"anyOf":[{"type":"object","properties":{"chargeableAt":{"type":"string"},"deadline":{"type":"string"},"state":{"enum":["ok","due_soon","overdue"]},"line":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["chargeableAt","deadline","state","line"],"additionalProperties":false},{"type":"null"}]},"invoice":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"invoiceNumber":{"type":"string"},"creditNoteNumber":{"type":"string"},"contestedAt":{"type":"string"},"deliveryChannel":{"type":"string"}},"required":["id","status"],"additionalProperties":false},{"type":"null"}]},"delivery":{"anyOf":[{"type":"object","properties":{"status":{"type":"string"},"kind":{"type":"string"},"deliveredAt":{"type":"string"},"failureCategory":{"type":"string"}},"required":["status","kind"],"additionalProperties":false},{"type":"null"}]},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"role":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"downloadPath":{"type":"string"},"archiveId":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"document.download"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"documentId":{"type":"string"}},"required":["mandateId","documentId"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["id","mandateId","role","fileName","mimeType","downloadPath","archiveId","download"],"additionalProperties":false}}},"required":["mandateId","clientName","status","totalCents","subtotalCents","issuedAt","issuance","invoice","delivery","documents"],"additionalProperties":false}},"page":{"type":"object","additionalProperties":false,"required":["limit","nextCursor","hasMore","order"],"properties":{"limit":{"type":"integer","minimum":1,"maximum":100},"nextCursor":{"type":["string","null"]},"hasMore":{"type":"boolean"},"order":{"const":"mandateId:asc"}}}},"required":["totalCents","subtotalCents","rows"],"additionalProperties":false},"uploads":[]},{"operation":"billing.thide-invoices","title":"THIDE invoices","description":"Read the invoices THIDE sent you for its platform fees (one per month, by Peppol), with their jobs and the stored PDF and UBL XML. Optional since/until (invoice date, YYYY-MM-DD) and q (invoice number or job reference), as the register filters.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"since":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"until":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"q":{"type":"string","maxLength":200}},"additionalProperties":false},"response":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{"batchId":{"type":"string"},"kind":{"const":"invoice"},"month":{"type":"string"},"invoiceNumber":{"type":"string"},"invoiceDate":{"type":"string"},"netCents":{"type":"integer"},"vatCents":{"type":"integer"},"grossCents":{"type":"integer"},"jobs":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"reference":{"type":"string"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["mandateId","reference","heading"],"additionalProperties":false}},"sentAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"role":{"enum":["pdf","xml"]},"fileName":{"type":"string"},"sizeBytes":{"type":"integer"},"downloadPath":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"billing.thide-invoice-download"},"input":{"type":"object","properties":{"fileId":{"type":"string"}},"required":["fileId"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["id","role","fileName","sizeBytes","downloadPath","download"],"additionalProperties":false}}},"required":["batchId","kind","month","invoiceNumber","invoiceDate","netCents","vatCents","grossCents","jobs","sentAt","files"],"additionalProperties":false}}},"required":["rows"],"additionalProperties":false},"uploads":[]},{"operation":"billing.thide-invoice-download","title":"Billing Thide Invoice Download","description":"Download the stored PDF or UBL XML of an invoice THIDE sent you, exactly as it was sent.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"fileId":{"type":"string","pattern":"^cmf_[A-Za-z0-9-]{8,64}$"}},"required":["fileId"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/octet-stream","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"billing.thide-invoices-archive","title":"Billing Thide Invoices Archive","description":"Download a selection of the stored PDF and UBL XML files of the invoices THIDE sent you as one ZIP, exactly as they were sent. IDs are the files' ids from billing.thide-invoices.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":300,"type":"array","items":{"type":"string","pattern":"^cmf_[A-Za-z0-9-]{8,64}$"}}},"required":["ids"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/zip","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"billing.agreement","title":"Billing Agreement","description":"Read the exact version and text required before enabling invoicing.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"version":{"type":"string"},"text":{"type":"string"}},"required":["version","text"],"additionalProperties":false},"uploads":[]},{"operation":"jobs.list","title":"List Requests and Jobs","description":"List owned Requests and Jobs. CSV filters use OR within each field and AND on the same item. Supply screen for Studio scope/display statuses; without screen, status keeps legacy raw mandate-status matching.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."}},"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"screen":{"type":"string","enum":["requests","jobs"]},"archive":{"type":"string","enum":["0","1"]},"view":{"type":"string","maxLength":30},"month":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"q":{"type":"string","maxLength":200},"unread":{"type":"string","enum":["0","1"]},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"sort":{"type":"string","maxLength":40},"direction":{"type":"string","enum":["asc","desc"]}},"required":["screen"],"additionalProperties":false}]},"response":{"type":"object","properties":{"stats":{"type":"object","properties":{"yourDecision":{"type":"integer"},"yourDecisionPayoutCents":{"type":"integer"},"yourDecisionPriced":{"type":"integer"},"awaitingClient":{"type":"integer"},"awaitingClientPayoutCents":{"type":"integer"},"awaitingClientPriced":{"type":"integer"},"running":{"type":"integer"},"runningPayoutCents":{"type":"integer"},"completedThisMonth":{"type":"integer"},"payoutThisMonthCents":{"type":"integer"},"lane":{"type":"object","properties":{"in_progress":{"type":"integer"},"with_client":{"type":"integer"},"completed":{"type":"integer"}},"required":["in_progress","with_client","completed"],"additionalProperties":false}},"required":["yourDecision","yourDecisionPayoutCents","yourDecisionPriced","awaitingClient","awaitingClientPayoutCents","awaitingClientPriced","running","runningPayoutCents","completedThisMonth","payoutThisMonthCents","lane"],"additionalProperties":false},"jobs":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"internalReference":{"anyOf":[{"type":"string"},{"type":"null"}]},"jobNumber":{"type":"integer"},"jobCount":{"type":"integer"},"deadline":{"type":"object","properties":{"dueAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"daysRemaining":{"anyOf":[{"type":"integer"},{"type":"null"}]},"risk":{"enum":["overdue","due_soon","on_track","none"]}},"required":["dueAt","daysRemaining","risk"],"additionalProperties":false},"unreadClientCount":{"type":"integer"},"unreadSubcoCount":{"type":"integer"},"unreadMessageCount":{"type":"integer"},"unansweredClientMessage":{"type":"boolean"},"stageSince":{"type":"string"}},"required":["internalReference","jobNumber","jobCount","deadline","unreadClientCount","unreadSubcoCount","unreadMessageCount","unansweredClientMessage","stageSince"]}]}}},"required":["stats","jobs"],"additionalProperties":false},"uploads":[]},{"operation":"jobs.read","title":"Open Request or Job","description":"Read an owned Request or Job, documents, conversation, quote and current assignment revision.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"assignmentRevision":{"type":"string"},"correctionRevision":{"type":"string"},"internalReference":{"type":"object","properties":{"locked":{"type":"boolean"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}]},"anchorId":{"type":"string"},"createdAt":{"type":"string"},"jobNumber":{"type":"integer"},"jobCount":{"type":"integer"}},"required":["locked","reference","anchorId","createdAt","jobNumber","jobCount"],"additionalProperties":false},"payout":{"anyOf":[{"type":"object","properties":{"state":{"enum":["transferring","on_stripe_balance","payout_waiting","payout_started","paid_out","payout_failed"]},"amountCents":{"type":"integer"},"at":{"type":"string"},"arrivalDate":{"type":"string"},"message":{"type":"string"},"dashboard":{"type":"object","properties":{"operation":{"const":"payouts.dashboard"}},"required":["operation"],"additionalProperties":false}},"required":["state","message","dashboard"],"additionalProperties":false},{"type":"null"}]}},"required":["assignmentRevision","correctionRevision","internalReference","payout"]}]},"uploads":[]},{"operation":"quotes.review","title":"Quotes Review","description":"Read all request parts and their exact quote fingerprints before review or confirmation.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"type":"object","properties":{"anchorId":{"type":"string"},"parts":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/MandateEnvelope"},{"type":"object","properties":{"review":{"type":"object","properties":{"version":{"type":"string"},"fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}]},"reviewed":{"type":"boolean"},"exclusionReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["version","fingerprint","reviewed"],"additionalProperties":false}},"required":["review"]}]}}},"required":["anchorId","parts"],"additionalProperties":false},"uploads":[]},{"operation":"quotes.set-price","title":"Quotes Set Price","description":"Set a fixed or unit quote price through the Studio price-lock workflow. Amounts are euro strings.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","enum":["fixed","unit"]},"fixedPrice":{"type":"string","maxLength":40},"unitRate":{"type":"string","maxLength":40}},"required":["mandateId","mode"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.set-legalisation-price","title":"Quotes Set Legalisation Price","description":"Set or reset the legalisation quote price. Empty string resets it.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"legalisationPrice":{"type":"string","maxLength":40}},"required":["mandateId","legalisationPrice"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.set-count","title":"Quotes Set Count","description":"Correct the character count using the existing quote locks; funded reductions can refund the difference.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"charCount":{"type":"integer","exclusiveMinimum":0,"maximum":100000000}},"required":["mandateId","charCount"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.set-delivery-date","title":"Quotes Set Delivery Date","description":"Set or clear the delivery date the quote proposes (civil day YYYY-MM-DD, a day after today and at most six months out; \"\" clears) while the request is still to be priced.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"deliveryDate":{"type":"string"}},"required":["mandateId","deliveryDate"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.set-volume","title":"Quotes Set Volume","description":"Save the billing source volume or draft count for the selected billing method.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"charCount":{"type":"integer","minimum":0,"maximum":100000000}},"required":["mandateId","charCount"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.legalisation","title":"Quotes Legalisation","description":"Confirm the legalisation requirement with an optional reason.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"requirement":{"type":"string","enum":["none","apostille","consular_legalisation"]},"reason":{"type":"string","maxLength":4000}},"required":["mandateId","requirement"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.save-review","title":"Quotes Save Review","description":"Record review of the exact quote version and fingerprint.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":128},"fingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["mandateId","version"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.set-exclusion","title":"Quotes Set Exclusion","description":"Include a part or record its internal exclusion reason before request confirmation.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"include":{"type":"string","enum":["yes","no"]},"reason":{"type":"string","maxLength":4000}},"required":["mandateId","include"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"type":"boolean"}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"quotes.confirm-request","title":"Quotes Confirm Request","description":"Release reviewed exact request quotes and the optional client message.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"internalReference":{"type":"string","maxLength":160},"message":{"type":"string","maxLength":4000},"parts":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":128},"fingerprint":{"type":"string","maxLength":64},"exclusionReason":{"type":"string","maxLength":4000}},"required":["id","version","fingerprint"],"additionalProperties":false}}},"required":["mandateId","parts"],"additionalProperties":false},"response":{"type":"object","properties":{"confirmed":{"type":"integer"},"errors":{"type":"array","items":{"type":"string"}}},"required":["confirmed","errors"],"additionalProperties":false},"uploads":[]},{"operation":"jobs.accept","title":"Jobs Accept","description":"Accept a legacy paid job; current requests are accepted when funded.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignTo":{"type":"string","maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"jobs.decline","title":"Jobs Decline","description":"Decline owned work through the existing refund-aware workflow.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"note":{"type":"string","maxLength":4000}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.withdraw","title":"Quotes Withdraw","description":"Withdraw a sent, unpaid quote (Platform Terms 7.1): every quoted part of the request closes as Withdrawn, the client is told once, nothing financial is recorded. Refused once a payment is in progress or taken. Re-issue it later with quotes.reissue.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"quotes.reissue","title":"Quotes Reissue","description":"Reopen a withdrawn quote for review: the request returns to the professional with its draft pre-filled; confirm it again with quotes.confirm-request, which starts a fresh 30-day validity. Only a withdrawn quote reopens this way.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"jobs.set-reference","title":"Jobs Set Reference","description":"Set the professional internal reference on the request.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"internalReference":{"type":"string","maxLength":160}},"required":["mandateId","internalReference"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"jobs.close-payment-attempt","title":"Jobs Close Payment Attempt","description":"Close a stale payment attempt using the same Stripe verification as Studio.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"messages.send-client","title":"Messages Send Client","description":"Send and persist a client message through the existing relay. Reference material (a glossary, an earlier translation) travels as repeated multipart `attachment` parts within the message bounds; it is named in the relay mail and downloaded on THIDE.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"attachment","multiple":true}]},{"operation":"messages.reply-delivery","title":"Messages Reply Delivery","description":"Reply to a delivery concern without accepting on the client’s behalf. Reference material travels as repeated multipart `attachment` parts within the message bounds, like messages.send-client; it is named in the relay mail and downloaded on THIDE.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":5,"maxLength":4000}},"required":["mandateId","message"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"attachment","multiple":true}]},{"operation":"messages.mark-client","title":"Messages Mark Client","description":"Mark a rendered incoming client message read or unread.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"seenAt":{"type":"string","minLength":1,"maxLength":128},"unread":{"type":"boolean"}},"required":["mandateId","seenAt","unread"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"messages.read-subcontractor","title":"Messages Read Subcontractor","description":"Read the subcontractor conversation across their current assignments in this mandate.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128}},"required":["mandateId","memberId","assignmentAt"],"additionalProperties":false},"response":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"mandateId":{"type":"string"},"professionalId":{"type":"string"},"memberId":{"type":"string"},"assignmentAt":{"type":"string"},"from":{"enum":["professional","subcontractor"]},"message":{"type":"string"},"at":{"type":"string"},"kind":{"type":"string"},"memberName":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","fileName","mimeType","sizeBytes","download"],"properties":{"id":{"type":"string"},"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"download":{"type":"object","additionalProperties":false,"required":["operation","input"],"properties":{"operation":{"const":"attachment.download"},"input":{"type":"object","additionalProperties":false,"required":["mandateId","attachmentId"],"properties":{"mandateId":{"type":"string"},"attachmentId":{"type":"string"}}}}}}}}},"required":["id","mandateId","professionalId","memberId","assignmentAt","from","message","at"],"additionalProperties":false}}},"required":["messages"],"additionalProperties":false},"uploads":[]},{"operation":"messages.send-subcontractor","title":"Messages Send Subcontractor","description":"Send a message to a subcontractor on the exact assignment. Reference material travels as repeated multipart `attachment` parts within the message bounds.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["mandateId","memberId","assignmentAt","message"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"attachment","multiple":true}]},{"operation":"messages.mark-subcontractor","title":"Messages Mark Subcontractor","description":"Mark an assignment conversation read or unread.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignmentAt":{"type":"string","minLength":1,"maxLength":128},"at":{"type":"string","minLength":1,"maxLength":128},"unread":{"type":"boolean"}},"required":["mandateId","memberId","assignmentAt","at","unread"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"assignments.set","title":"Assignments Set","description":"Assign translation, nominate a new subcontractor, or cancel with the reviewed assignment revision.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignee":{"type":"string","minLength":1,"maxLength":200},"nomineeName":{"type":"string","maxLength":200},"nomineeEmail":{"type":"string","maxLength":254},"dueDate":{"type":"string"},"freeText":{"type":"string","maxLength":200},"assignmentRevision":{"type":"string","minLength":1,"maxLength":128},"confirmCancellation":{"type":"string","const":"yes"}},"required":["mandateId","assignee"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"assignments.set-package","title":"Assignments Set Package","description":"Assign exact job versions to an existing or nominated subcontractor: scope selected assigns this job only (one item, mandateId), scope package assigns every active job of the request together.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignee":{"type":"string","minLength":1,"maxLength":200},"nomineeName":{"type":"string","maxLength":200},"nomineeEmail":{"type":"string","maxLength":254},"dueDate":{"type":"string"},"scope":{"type":"string","enum":["selected","package"]},"message":{"type":"string","maxLength":4000},"items":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["id","updatedAt"],"additionalProperties":false}}},"required":["mandateId","assignee","scope","items"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"assignments.set-due-date","title":"Assignments Set Due Date","description":"Set, move or clear the deadline of the current subcontractor assignment (civil day YYYY-MM-DD; \"\" clears) on an active job, guarded by the exact assignment revision.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"dueDate":{"type":"string"}},"required":["mandateId","assignedAt","dueDate"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"assignments.review","title":"Assignments Review","description":"Approve or request corrections to the exact latest subcontractor submission.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"role":{"type":"string","enum":["translation","legalisation"]},"memberId":{"type":"string","minLength":1,"maxLength":200},"assignedAt":{"type":"string","minLength":1,"maxLength":128},"documentId":{"type":"string","minLength":1,"maxLength":200},"decision":{"type":"string","enum":["approved","changes_requested"]},"note":{"type":"string","maxLength":2000}},"required":["mandateId","role","memberId","assignedAt","documentId","decision"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"delivery.check","title":"Delivery Check","description":"Check selected delivery files. Invoice totals are checked against server-owned package billing (or the individual quote); ambiguous or unreadable totals remain unverified. Advisory only. Multipart files repeat under files, with corresponding input.roles.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["mandateId"],"additionalProperties":false},"response":{"type":"object","properties":{"classification":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"role":{"enum":["translation","apostille","invoice","unknown"]}},"required":["fileName","role"],"additionalProperties":false}},"findings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"level":{"enum":["warn","note"]},"message":{"type":"string"}},"required":["code","level","message"],"additionalProperties":false}}},"required":["classification","findings"],"additionalProperties":false},"uploads":[{"field":"files","multiple":true}]},{"operation":"delivery.submit","title":"Delivery Submit","description":"Submit a single-job delivery or prepare one part of a package. Multipart: files+roles, or translation/apostille/invoice. A package invoice travels with delivery.release-package. Once a draft invoice waits or the job is delivered, the same files are a harmless repeat and new files are refused (409); a delivered translation changes through delivery.correct.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["mandateId"],"additionalProperties":false},"response":{"type":"object","properties":{"review":{"type":"boolean"}},"required":[],"additionalProperties":false},"uploads":[{"field":"files","multiple":true},{"field":"translation"},{"field":"apostille"},{"field":"invoice"}]},{"operation":"delivery.submit-request","title":"Delivery Submit Request","description":"Submit multiple request parts. Each part selects a multipart prefix; upload prefix.translation/apostille. A single job may add prefix.invoice; a package invoice travels with delivery.release-package.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"entries":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":200},"prefix":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,60}$"},"partnerDocId":{"type":"string","minLength":1,"maxLength":200},"partnerApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"storedTranslationDocId":{"type":"string","minLength":1,"maxLength":200},"storedApostilleDocId":{"type":"string","minLength":1,"maxLength":200},"roles":{"maxItems":3,"type":"array","items":{"type":"string","enum":["translation","apostille","invoice","unknown"]}}},"required":["id","prefix"],"additionalProperties":false}}},"required":["mandateId","entries"],"additionalProperties":false},"response":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"error":{"type":"string"},"review":{"type":"boolean"}},"required":["id"],"additionalProperties":false}},"uploads":[{"field":"<input.entries[].prefix>.translation"},{"field":"<input.entries[].prefix>.apostille"},{"field":"<input.entries[].prefix>.invoice"}]},{"operation":"delivery.review-package","title":"Delivery Review Package","description":"Read package preparation state, invoice evidence and exact reviewKey required to release it.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"object","properties":{"prepared":{"const":false},"reviewKey":{"type":"null"}},"required":["prepared","reviewKey"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"anchorId":{"type":"string"},"phase":{"type":"string"},"version":{"type":"integer"},"ready":{"type":"boolean"},"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"prepared":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"role":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"key":{"type":"string"}},"required":["mandateId","key"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["fileName","mimeType","sizeBytes","role","download"],"additionalProperties":false}}},"required":["id","prepared","files"],"additionalProperties":false}},"reviewKey":{"anyOf":[{"type":"string"},{"type":"null"}]},"invoiceHtml":{"anyOf":[{"type":"string"},{"type":"null"}]},"invoice":{"anyOf":[{"type":"object","properties":{"mode":{"enum":["self","own"]},"parts":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"quote":{"$ref":"#/components/schemas/Quote"}},"required":["mandateId","quote"],"additionalProperties":false}},"file":{"anyOf":[{"type":"object","properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"role":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"key":{"type":"string"}},"required":["mandateId","key"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["fileName","mimeType","sizeBytes","role","download"],"additionalProperties":false},{"type":"null"}]}},"required":["mode","parts","file"],"additionalProperties":false},{"type":"null"}]},"refund":{"anyOf":[{"type":"object","properties":{"completedAt":{"type":"string"},"files":{"type":"array","items":{"type":"object","properties":{"fileName":{"type":"string"},"mimeType":{"type":"string"},"sizeBytes":{"type":"integer"},"role":{"type":"string"},"download":{"type":"object","properties":{"operation":{"const":"delivery.download-prepared"},"input":{"type":"object","properties":{"mandateId":{"type":"string"},"key":{"type":"string"}},"required":["mandateId","key"],"additionalProperties":false}},"required":["operation","input"],"additionalProperties":false}},"required":["fileName","mimeType","sizeBytes","role","download"],"additionalProperties":false}}},"required":["files"],"additionalProperties":false},{"type":"null"}]}},"required":["id","anchorId","phase","version","ready","members","reviewKey","invoiceHtml","invoice","refund"],"additionalProperties":false}]},"uploads":[]},{"operation":"delivery.release-package","title":"Delivery Release Package","description":"Release the exact reviewed package; multipart invoice if billing mode requires it. On a delivered package the reviewed key only resumes a pending notification; another key or an invoice part is refused.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"reviewKey":{"type":"string","minLength":1,"maxLength":128}},"required":["mandateId","reviewKey"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"invoice"}]},{"operation":"delivery.correct","title":"Submit new version","description":"Publish an append-only translation correction (a new version) while the client’s correction request is open; it starts the client’s 3-working-day review again. Read jobs.read first: replacesDocumentId is the translation with currentVersion true, revision is correctionRevision. Multipart file required. Reuse operationId only to retry the same file; a retry creates no second version.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"replacesDocumentId":{"type":"string","minLength":1,"maxLength":200},"revision":{"type":"string","minLength":1,"maxLength":128},"operationId":{"type":"string","pattern":"^[a-zA-Z0-9_-]{8,128}$"}},"required":["mandateId","replacesDocumentId","revision","operationId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"file","required":true}]},{"operation":"delivery.upload-credit-note","title":"Delivery Upload Credit Note","description":"Attach the supplier credit note to a refunded package. Multipart creditNote required.","scope":"workflow","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"creditNote","required":true}]},{"operation":"billing.accept-invoice","title":"Billing Accept Invoice","description":"Accept a draft self-bill, with an optional explicit future automatic-issuance election.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"skipApprovalNextTime":{"type":"string","enum":["0","1"]}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"billing.contest-invoice","title":"Billing Contest Invoice","description":"Contest an issued self-bill using the existing credit-note workflow.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"note":{"type":"string","minLength":5,"maxLength":4000}},"required":["mandateId","note"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"billing.dismiss-notice","title":"Billing Dismiss Notice","description":"Dismiss an invoice issuance notice.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"billing.upload-invoice","title":"Billing Upload Invoice","description":"Upload the professional’s own replacement invoice. Multipart invoice required.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[{"field":"invoice","required":true}]},{"operation":"panel.add","title":"Panel Add","description":"Add a subcontractor to the professional’s own address book.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"email":{"type":"string","maxLength":254},"iban":{"type":"string","maxLength":40},"pairs":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"}}},"required":["name","email"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"panel.update","title":"Panel Update","description":"Update one owned subcontractor’s settlement details (iban and selfBillAgreed, both required; an empty iban clears it) or replace its language pairs (pairsForm \"1\" with the complete pairs list).","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","anyOf":[{"type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"iban":{"type":"string","maxLength":40},"selfBillAgreed":{"type":"string","enum":["0","1"]}},"required":["memberId","iban","selfBillAgreed"],"additionalProperties":false},{"type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"pairsForm":{"type":"string","const":"1"},"pairs":{"maxItems":200,"type":"array","items":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"}}},"required":["memberId","pairsForm","pairs"],"additionalProperties":false}]},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"panel.language-pair","title":"Panel Language Pair","description":"Add or remove one subcontractor language pair without overwriting other edits.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"memberId":{"type":"string","minLength":1,"maxLength":200},"pair":{"type":"string","pattern":"^[a-z]{2}->[a-z]{2}$"},"action":{"type":"string","enum":["add","remove"]}},"required":["memberId","pair","action"],"additionalProperties":false},"response":{"type":"object","properties":{"pairs":{"type":"array","items":{"type":"string"}}},"required":["pairs"],"additionalProperties":false},"uploads":[]},{"operation":"pricing.set-cell","title":"Pricing Set Cell","description":"Set either or both ungrouped directions of one pricing cell. Euro strings; adHoc requests a manual quote. Group-owned directions must be edited through their group.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"source":{"type":"string","minLength":2,"maxLength":2},"target":{"type":"string","minLength":2,"maxLength":2},"forward":{"type":"object","properties":{"rate":{"type":"string","maxLength":40},"regular":{"type":"string","maxLength":40},"adHoc":{"type":"boolean"}},"required":["rate","regular","adHoc"],"additionalProperties":false},"reverse":{"type":"object","properties":{"rate":{"type":"string","maxLength":40},"regular":{"type":"string","maxLength":40},"adHoc":{"type":"boolean"}},"required":["rate","regular","adHoc"],"additionalProperties":false}},"required":["source","target"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.group.save","title":"Pricing Group Save","description":"Create or update an exact directional pricing group. Omitted pairs restore their previous rates; expectedUpdatedAt protects concurrent edits.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"},"expectedUpdatedAt":{"type":"string","minLength":1,"maxLength":100},"name":{"type":"string","minLength":1,"maxLength":100},"pairs":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":2,"maxLength":2},"target":{"type":"string","minLength":2,"maxLength":2}},"required":["source","target"],"additionalProperties":false}},"rate":{"type":"string","minLength":1,"maxLength":40},"regular":{"type":"string","maxLength":40}},"required":["expectedUpdatedAt","name","pairs","rate"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.group.remove","title":"Pricing Group Remove","description":"Remove an owned pricing group and restore previous rates for its pairs. Existing quotes remain unchanged.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[a-zA-Z0-9_-]{1,100}$"},"expectedUpdatedAt":{"type":"string","minLength":1,"maxLength":100}},"required":["id","expectedUpdatedAt"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.add-language","title":"Pricing Add Language","description":"Add an ad-hoc language or a priced language with the Dutch pivot rate.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":1,"maxLength":100},"rate":{"type":"string","maxLength":40}},"required":["language"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.remove-language","title":"Pricing Remove Language","description":"Remove a language and its future rates; historical quotes remain intact.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":2,"maxLength":2}},"required":["language"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.remove-axis","title":"Pricing Remove Axis","description":"Set one directional language axis to manual pricing.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"language":{"type":"string","minLength":2,"maxLength":2},"axis":{"type":"string","enum":["from","into"]}},"required":["language","axis"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.minimums","title":"Pricing Minimums","description":"Set regular and certified minimum charges as euro strings.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"minimumRegular":{"type":"string","maxLength":40},"minimumSworn":{"type":"string","maxLength":40}},"required":["minimumRegular","minimumSworn"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.deadlines","title":"Pricing Deadlines","description":"Set deadline percentages with the same ordering and bounds as Studio.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rush_1_3d":{"type":"number","exclusiveMinimum":-100,"maximum":200},"week_1":{"type":"number","exclusiveMinimum":-100,"maximum":200},"month_1":{"type":"number","exclusiveMinimum":-100,"maximum":200}},"required":["rush_1_3d","week_1","month_1"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"pricing.billing-method","title":"Pricing Billing Method","description":"Set billing units and convert compatible future rates using the existing pricing workflow.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"basis":{"type":"string","enum":["characters","words","pages"]},"charactersPerUnit":{"type":"integer","minimum":1,"maximum":1000000},"unitName":{"type":"string","enum":["line","standard_page","characters"]},"includeSpaces":{"type":"string","enum":["yes","no"]},"rounding":{"type":"string","enum":["whole","proportional"]}},"required":["basis","charactersPerUnit","unitName","includeSpaces","rounding"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"type":"boolean"}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"settings.business","title":"Settings Business","description":"Save professional billing identity through the existing identifier and country validation. Send street, postalCode and city together; a stored structured address changes only that way.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"businessName":{"type":"string","minLength":1,"maxLength":200},"country":{"type":"string","const":"BE"},"enterpriseNumber":{"type":"string","maxLength":40},"vatRegime":{"type":"string","enum":["normal","franchise","exempt"]},"iban":{"type":"string","maxLength":40},"address":{"type":"string","maxLength":200},"street":{"type":"string","maxLength":200},"postalCode":{"type":"string","maxLength":40},"city":{"type":"string","maxLength":200}},"required":["businessName","enterpriseNumber"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"settings.invoicing","title":"Settings Invoicing","description":"Enable or withdraw invoice issuing authorisation. Enabling requires agreement=1 and the reviewed agreementVersion.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"enable":{"type":"string","enum":["0","1"]},"agreement":{"type":"string","const":"1"},"agreementVersion":{"type":"string","maxLength":100}},"required":["enable"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"settings.recheck-issuer","title":"Settings Recheck Issuer","description":"Recheck the existing issuer registration status.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"settings.notifications","title":"Settings Notifications","description":"Enable or disable professional email notifications.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"emailNotifications":{"type":"string","enum":["0","1"]}},"required":["emailNotifications"],"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"settings.commission-vat","title":"Settings Commission Vat","description":"Explicitly activate Belgian commission VAT for future quotes.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"payouts.verify","title":"Payouts Verify","description":"Create a hosted Stripe verification continuation; provider verification still requires the professional. The link is one-use and never replayed.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"],"additionalProperties":false},"uploads":[]},{"operation":"payouts.dashboard","title":"Payouts Dashboard","description":"Obtain the professional’s one-use hosted payout dashboard continuation. The link is never replayed.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"payouts.update","title":"Payouts Update","description":"Obtain the hosted payout details update continuation. The link is one-use and never replayed.","scope":"payments","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"anyOf":[{"type":"null"},{"type":"object","properties":{},"required":[],"additionalProperties":false}]},"uploads":[]},{"operation":"reports.export","title":"Reports Export","description":"Download the same filtered job report CSV as Studio.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"pair":{"type":"string","maxLength":20},"assignee":{"type":"string","maxLength":200},"status":{"type":"string","maxLength":80},"from":{"type":"string","minLength":1,"maxLength":128},"to":{"type":"string","minLength":1,"maxLength":128},"completedFrom":{"type":"string","minLength":1,"maxLength":128},"completedTo":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"text/csv","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"reports.commission","title":"Reports Commission","description":"Read the retained commission accounting preview for a month.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"month":{"type":"string","pattern":"^\\d{4}-(0[1-9]|1[0-2])$"}},"required":["month"],"additionalProperties":false},"response":{"type":"object","properties":{"invoicingFees":{"type":"object","properties":{"status":{"const":"accrued"},"periodBasis":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"chargeId":{"type":"string"},"billId":{"type":"string"},"kind":{"enum":["invoice","credit_note"]},"mandateId":{"type":"string"},"invoiceNumber":{"type":"string"},"issuedAt":{"type":"string"},"version":{"const":"invoice-fee-v1"},"netCents":{"type":"integer"},"vatCents":{"type":"integer"},"totalCents":{"type":"integer"},"rateBps":{"type":"integer"},"treatment":{"const":"be_standard"},"basis":{"type":"string"},"agreementVersion":{"type":"string"}},"required":["chargeId","billId","kind","mandateId","invoiceNumber","issuedAt","version","netCents","vatCents","totalCents","rateBps","treatment","basis","agreementVersion"],"additionalProperties":false}},"totals":{"type":"object","properties":{"netCents":{"type":"integer"},"vatCents":{"type":"integer"},"totalCents":{"type":"integer"}},"required":["netCents","vatCents","totalCents"],"additionalProperties":false}},"required":["status","periodBasis","lines","totals"],"additionalProperties":false},"status":{"const":"preview"},"periodBasis":{"const":"Europe/Brussels"},"adjustmentReconciliationRequired":{"const":true},"professionalId":{"type":"string"},"month":{"type":"string"},"currency":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"version":{"type":"integer"},"settlementId":{"type":"string"},"quoteId":{"type":"string"},"professionalId":{"type":"string"},"settledAt":{"type":"string"},"currency":{"type":"string"},"collectedCents":{"type":"integer"},"professionalTransferredCents":{"type":"integer"},"commissionTax":{"type":"object","properties":{"version":{"type":"integer"},"currency":{"type":"string"},"treatment":{"type":"string"},"basis":{"type":"string"},"rateBps":{"type":"integer"},"feeRateBps":{"type":"integer"},"feeBasis":{"type":"string"},"rounding":{"type":"string"},"creditTreatment":{"type":"string"},"feeBasisCents":{"type":"integer"},"originalCommissionNetCents":{"type":"integer"},"upgradeCreditCents":{"type":"integer"},"commissionNetCents":{"type":"integer"},"commissionVatCents":{"type":"integer"},"commissionGrossCents":{"type":"integer"}},"required":["version","currency","treatment","basis","rateBps","feeRateBps","feeBasis","rounding","creditTreatment","feeBasisCents","originalCommissionNetCents","upgradeCreditCents","commissionNetCents","commissionVatCents","commissionGrossCents"],"additionalProperties":false},"processingFeeCents":{"type":"integer"},"processingFeeVatCents":{"type":"integer"},"processingFeeGrossCents":{"type":"integer"}},"required":["version","settlementId","quoteId","professionalId","settledAt","currency","collectedCents","professionalTransferredCents","commissionTax"],"additionalProperties":false}},"totals":{"type":"object","properties":{"commissionNetCents":{"type":"integer"},"commissionVatCents":{"type":"integer"},"commissionGrossCents":{"type":"integer"},"processingFeeNetCents":{"type":"integer"},"processingFeeVatCents":{"type":"integer"},"processingFeeGrossCents":{"type":"integer"},"invoiceNetCents":{"type":"integer"},"invoiceVatCents":{"type":"integer"},"invoiceGrossCents":{"type":"integer"}},"required":["commissionNetCents","commissionVatCents","commissionGrossCents","processingFeeNetCents","processingFeeVatCents","processingFeeGrossCents","invoiceNetCents","invoiceVatCents","invoiceGrossCents"],"additionalProperties":false},"needsReconciliation":{"type":"object","properties":{"count":{"type":"integer"},"commissionNetCents":{"type":"integer"},"commissionVatCents":{"type":"integer"},"commissionGrossCents":{"type":"integer"},"processingFeeNetCents":{"type":"integer"},"processingFeeVatCents":{"type":"integer"},"processingFeeGrossCents":{"type":"integer"},"invoiceNetCents":{"type":"integer"},"invoiceVatCents":{"type":"integer"},"invoiceGrossCents":{"type":"integer"}},"required":["count","commissionNetCents","commissionVatCents","commissionGrossCents","processingFeeNetCents","processingFeeVatCents","processingFeeGrossCents","invoiceNetCents","invoiceVatCents","invoiceGrossCents"],"additionalProperties":false},"dateBasis":{"type":"string"},"settlementDates":{"type":"array","items":{"type":"object","properties":{"settlementId":{"type":"string"},"mandateId":{"type":"string"},"transferAt":{"type":"string"}},"required":["settlementId","mandateId","transferAt"],"additionalProperties":false}},"notice":{"type":"string"},"coverageScope":{"type":"string"},"settledWithoutEvidence":{"type":"array","items":{"type":"string"}},"transfersNeedingReconciliation":{"type":"array","items":{"type":"object","properties":{"mandateId":{"type":"string"},"transferId":{"type":"string"},"at":{"type":"string"},"amountCents":{"type":"integer"}},"required":["mandateId","transferId","at","amountCents"],"additionalProperties":false}},"refundedWithEvidence":{"type":"array","items":{"type":"string"}}},"required":["invoicingFees","status","periodBasis","adjustmentReconciliationRequired","professionalId","month","currency","lines","totals","needsReconciliation","dateBasis","settlementDates","notice","coverageScope","settledWithoutEvidence","transfersNeedingReconciliation","refundedWithEvidence"],"additionalProperties":false},"uploads":[]},{"operation":"reports.selection","title":"Export Requests and Jobs","description":"Download a filtered selection of request/job rows as CSV.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"q":{"type":"string","maxLength":200},"archive":{"type":"string","maxLength":20},"view":{"type":"string","maxLength":30},"unread":{"type":"string","maxLength":20},"page":{"type":"string","maxLength":20},"screen":{"type":"string","maxLength":30},"section":{"type":"string","maxLength":30},"status":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,100}(?:,[^,\\r\\n]{0,100}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"from":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"to":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,10}(?:,[^,\\r\\n]{0,10}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"type":{"type":"string","maxLength":2048,"pattern":"^(?:\\s*(?:machine|regular|sworn))?\\s*(?:,(?:\\s*(?:machine|regular|sworn))?\\s*){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"assignment":{"type":"string","maxLength":2048,"pattern":"^[^,\\r\\n]{0,200}(?:,[^,\\r\\n]{0,200}){0,31}$","description":"Comma-separated choices: OR within this field; AND across fields on the same item. Whitespace and duplicate choices are ignored; empty choices clear the filter. At most 32 entries, 2048 characters."},"ids":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"sort":{"type":"string","maxLength":40},"direction":{"type":"string","enum":["asc","desc"]},"month":{"type":"string","maxLength":7}},"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"text/csv","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"reports.invoices","title":"Reports Invoices","description":"Download an authorised selection of existing invoice files as ZIP. IDs are mandateId:documentId.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ids":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","pattern":"^[\\w-]+:[\\w-]+$"}}},"required":["ids"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/zip","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"reports.audit","title":"Reports Audit","description":"Download an owned job’s audit CSV.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"text/csv","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"reports.bank-file","title":"Reports Bank File","description":"Download a retained subcontractor settlement batch’s SEPA file; this does not submit a bank transfer.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"batchId":{"type":"string","minLength":1,"maxLength":200}},"required":["batchId"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/xml","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"attachment.download","title":"Attachment Download","description":"Download reference material attached to a message in an owned request conversation or assignment conversation, through the same owner-checked route as Studio.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"attachmentId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","attachmentId"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/octet-stream","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"document.download","title":"Document Download","description":"Download an owned document, including operator-selected profiles, through the shared document visibility checks.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"documentId":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","documentId"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/octet-stream","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"delivery.download-prepared","title":"Delivery Download Prepared","description":"Download an owned prepared delivery or invoice file using the key returned by package review.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"key":{"type":"string","minLength":1,"maxLength":200}},"required":["mandateId","key"],"additionalProperties":false},"response":{"type":"string","format":"binary","contentMediaType":"application/octet-stream","description":"Raw response body, not wrapped in data."},"uploads":[]},{"operation":"onboarding.get","title":"Onboarding Get","description":"Read Studio setup progress, the full current text of each document this profile is asked to accept — always the Platform Terms, and the Engagement Terms where THIDE asks professionals for them — with `accepted`: false while this profile still has to accept it (the Platform Terms once, the Engagement Terms at their current version before a new quote can be sent), and the immutable acceptance receipts, earlier versions included.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","required":["required","accepted","businessConfigured","pricingConfigured","paymentsConfigured","commissionConfigured","ready","next","documents","receipts"],"properties":{"required":{"type":"boolean"},"accepted":{"type":"boolean"},"businessConfigured":{"type":"boolean"},"pricingConfigured":{"type":"boolean"},"paymentsConfigured":{"type":"boolean"},"commissionConfigured":{"type":"boolean"},"ready":{"type":"boolean"},"next":{"anyOf":[{"type":"null"},{"type":"object","required":["reason","message","href"],"properties":{"reason":{"type":"string"},"message":{"type":"string"},"href":{"type":"string"}}}]},"documents":{"type":"array","items":{"type":"object","required":["id","version","contentHash","body","title","accepted"],"properties":{"id":{"enum":["platform-terms","engagement-terms"]},"version":{"type":"string"},"contentHash":{"type":"string"},"body":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"audience":{"type":"string"},"effectiveDate":{"type":["string","null"]},"summary":{"type":"string"},"accepted":{"type":"boolean"}}}},"receipts":{"type":"array","items":{"type":"object","required":["documentId","version","contentHash","acceptedAt","via","actorEmail","context","affirmation","documentTitle","documentBody"],"properties":{"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"},"via":{"enum":["web","api"]},"actorEmail":{"type":"string"},"context":{"enum":["demo","live"]},"affirmation":{"type":"string"},"documentTitle":{"type":"string"},"documentBody":{"type":"string"}}}}}},"uploads":[]},{"operation":"onboarding.accept","title":"Onboarding Accept","description":"Open THIDE onboarding for the verified profile owner to review and personally accept the actual current documents. This call records no acceptance. accepted and documents are optional for this handoff; supplied values remain validated. language remains required. Read onboarding.get afterward.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"anyOf":[{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["accepted","documents","language"],"additionalProperties":false},{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["language"],"additionalProperties":false}],"description":"The authenticated credential selects the input contract. Current authority plus H policy accepts a human handoff without personal proof fields; preserved legacy credentials require the original input. Supplied fields are validated in either contract."},"x-thide-input-contracts":{"legacy":{"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["accepted","documents","language"],"additionalProperties":false},"description":"Explicitly accept, as the verified profile owner, the exact text of the documents onboarding.get lists: name each with its version and contentHash. A document onboarding.get does not list cannot be named (400 validation, nothing stored). Each document is stored as its own receipt; ordinary operations stay closed until every listed document is accepted once. After a new Engagement Terms version, name that document again to record the current version: until then only quotes.confirm-request is refused (403 terms_acceptance_required). Operators cannot accept on another owner’s behalf."},"currentHumanHandoff":{"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accepted":{"type":"boolean","const":true},"documents":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"object","properties":{"documentId":{"type":"string","enum":["platform-terms","engagement-terms"]},"version":{"type":"string","minLength":1,"maxLength":100},"contentHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["documentId","version","contentHash"],"additionalProperties":false}},"language":{"type":"string","enum":["en","nl"]}},"required":["language"],"additionalProperties":false},"description":"Open THIDE onboarding for the verified profile owner to review and personally accept the actual current documents. This call records no acceptance. accepted and documents are optional for this handoff; supplied values remain validated. language remains required. Read onboarding.get afterward.","when":"Credential has current authority and operation policy.mode is H."}},"response":{"type":"object","required":["receipts"],"properties":{"receipts":{"type":"array","items":{"type":"object","required":["documentId","version","contentHash","acceptedAt","via","actorEmail","context","affirmation","documentTitle","documentBody"],"properties":{"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string","format":"date-time"},"via":{"enum":["web","api"]},"actorEmail":{"type":"string"},"context":{"enum":["demo","live"]},"affirmation":{"type":"string"},"documentTitle":{"type":"string"},"documentBody":{"type":"string"}}}}}},"uploads":[]},{"operation":"onboarding.receipt","title":"Onboarding Receipt","description":"Download the stored acceptance evidence and exact accepted document text.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"string","format":"binary"},"uploads":[]},{"operation":"operator.referrals.list","title":"Operator Referrals List","description":"THIDE operator only: queue of frozen referred cases, including closed history.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"array","items":{"type":"object","required":["caseId","anchorId","memberIds","professionalId","clientEmail","referredAt","createdAt","closed"],"additionalProperties":false,"properties":{"caseId":{"type":"string"},"anchorId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"packageId":{"type":"string"},"professionalId":{"type":"string"},"clientEmail":{"type":"string"},"referredAt":{"type":"string"},"createdAt":{"type":"string"},"closed":{"type":"boolean"}}}},"uploads":[]},{"operation":"operator.referrals.messages","title":"Operator Referrals Messages","description":"THIDE operator only: read exactly the selected private channel.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"channel":{"type":"string","enum":["client","professional"]}},"required":["mandateId","channel"],"additionalProperties":false},"response":{"type":"object","required":["caseId","anchorId","memberIds","referredAt","closed","channel","canWrite","messages"],"additionalProperties":false,"properties":{"caseId":{"type":"string"},"anchorId":{"type":"string"},"memberIds":{"type":"array","items":{"type":"string"}},"referredAt":{"type":"string"},"closed":{"type":"boolean"},"channel":{"enum":["client","professional"]},"canWrite":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}}}}},"uploads":[]},{"operation":"operator.referrals.send","title":"Operator Referrals Send","description":"THIDE operator only: reply to exactly one private channel. Does not resolve acceptance or refund.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":200},"message":{"type":"string","minLength":1,"maxLength":4000},"channel":{"type":"string","enum":["client","professional"]}},"required":["mandateId","message","channel"],"additionalProperties":false},"response":{"type":"object","required":["id","from","message","at"],"additionalProperties":false,"properties":{"id":{"type":"string"},"from":{"enum":["client","professional","thide"]},"message":{"type":"string"},"at":{"type":"string"}}},"uploads":[]},{"operation":"operator.applications.list","title":"Operator Applications List","description":"Operator-only professional applications, 25 per page. No account is created by submission.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"page":{"default":1,"type":"integer","minimum":1,"maximum":1000000}},"additionalProperties":false},"response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"website":{"type":"string"},"message":{"type":"string"},"language":{"type":"string","enum":["en","nl"]},"status":{"type":"string","enum":["pending","approved","declined"]},"createdAt":{"type":"string"},"reviewedAt":{"type":"string"},"reviewedBy":{"type":"string"},"professionalId":{"type":"string"}},"required":["id","name","email","message","language","status","createdAt"],"additionalProperties":false}},"page":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pages":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["applications","page","pages","total"],"additionalProperties":false},"uploads":[]},{"operation":"operator.applications.review","title":"Operator Applications Review","description":"Approve or decline a pending application. Approval creates a clean Studio but never sends an invitation.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applicationId":{"type":"string","minLength":1,"maxLength":128},"decision":{"type":"string","enum":["approve","decline"]}},"required":["applicationId","decision"],"additionalProperties":false},"response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"applicationId":{"type":"string"},"status":{"type":"string","enum":["pending","approved","declined"]},"professionalId":{"type":["string","null"]}},"required":["applicationId","status","professionalId"],"additionalProperties":false},"uploads":[]},{"operation":"operator.professionals.invitation-preview","title":"Operator Professionals Invitation Preview","description":"Review the exact invitation recipient, subject, body and sign-in link before explicitly sending. The link grants no access.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128}},"required":["professionalId"],"additionalProperties":false},"response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"from":{"type":"string"},"replyTo":{"type":"string"},"to":{"type":"string"},"subject":{"type":"string"},"message":{"type":"string"},"label":{"type":"string"},"url":{"type":"string"},"termsLabel":{"type":"string"},"termsUrl":{"type":"string"},"html":{"type":"string"},"previewHash":{"type":"string"}},"required":["from","replyTo","to","subject","message","label","url","termsLabel","termsUrl","html","previewHash"],"additionalProperties":false},"uploads":[]},{"operation":"operator.professionals.invite","title":"Operator Professionals Invite","description":"Explicitly send the reviewed invitation to the saved professional email. Requires the current previewHash; never accepts a recipient override.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128},"previewHash":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["professionalId","previewHash"],"additionalProperties":false},"response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"sent":{"type":"boolean"},"capturedLocally":{"type":"boolean"}},"required":["sent","capturedLocally"],"additionalProperties":false},"uploads":[]},{"operation":"operator.professionals.list","title":"Operator Professionals List","description":"Operator-only professional registry and eligibility review data.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"businessName":{"type":"string"},"email":{"type":"string"},"eligibility":{"anyOf":[{"type":"object","properties":{"approval":{"enum":["pending","approved","suspended"]},"active":{"type":"boolean"},"languagePairs":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["source","target","evidence"],"additionalProperties":false}},"services":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["kind","evidence"],"additionalProperties":false}},"jurisdictions":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"kind":{"type":"string"},"evidence":{"type":"object","properties":{"verifiedBy":{"type":"string"},"verifiedAt":{"type":"string"},"reference":{"type":"string"}},"required":["verifiedBy","verifiedAt","reference"],"additionalProperties":false}},"required":["country","kind","evidence"],"additionalProperties":false}}},"required":["approval","active","languagePairs","services","jurisdictions"],"additionalProperties":false},{"type":"null"}]},"canInvite":{"type":"boolean"}},"required":["id","businessName","email","eligibility","canInvite"],"additionalProperties":false}}},"required":["profiles"],"additionalProperties":false},"uploads":[]},{"operation":"operator.professionals.register","title":"Operator Professionals Register","description":"Register a professional using the same operator validation as Studio.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"email":{"type":"string","maxLength":254}},"required":["name","email"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"operator.professionals.eligibility","title":"Operator Professionals Eligibility","description":"Record reviewed qualification evidence and availability.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"professionalId":{"type":"string","minLength":1,"maxLength":128},"pairs":{"type":"string","minLength":1,"maxLength":4000},"service":{"minItems":1,"type":"array","items":{"type":"string","enum":["regular","sworn"]}},"countries":{"type":"string","maxLength":1000},"evidence":{"type":"string","minLength":1,"maxLength":4000},"verified":{"type":"boolean","const":true},"active":{"type":"boolean"}},"required":["professionalId","pairs","service","countries","evidence","verified","active"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"operator.allocation.list","title":"Operator Allocation List","description":"Read the exact deduplicated unallocated-request and pending-follow-up queues shown in Studio.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientName":{"type":"string"},"professionalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"followupPending":{"type":"boolean"}},"required":["id","subject","clientName","professionalId","followupPending"],"additionalProperties":false}},"followups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}]},"clientName":{"type":"string"},"professionalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"followupPending":{"type":"boolean"}},"required":["id","subject","clientName","professionalId","followupPending"],"additionalProperties":false}}},"required":["requests","followups"],"additionalProperties":false},"uploads":[]},{"operation":"operator.allocation.evaluate","title":"Operator Allocation Evaluate","description":"Evaluate eligible professionals using requested dates and qualification jurisdictions.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"jurisdictions":{"default":[],"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}}},"required":["requestId","from","to"],"additionalProperties":false},"response":{"type":"object","properties":{"candidates":{"type":"array","items":{"type":"object","properties":{"professionalId":{"type":"string"},"eligible":{"type":"boolean"},"reasons":{"type":"array","items":{"type":"string"}},"estimateCents":{"anyOf":[{"type":"integer"},{"type":"null"}]},"estimateReason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["professionalId","eligible","reasons","estimateCents","estimateReason"],"additionalProperties":false}},"range":{"anyOf":[{"type":"object","properties":{"minCents":{"type":"integer"},"maxCents":{"type":"integer"},"currency":{"const":"EUR"},"vatBasis":{"const":"including_vat"},"vatRate":{"type":"number"}},"required":["minCents","maxCents","currency","vatBasis","vatRate"],"additionalProperties":false},{"type":"null"}]},"rangeReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"machinePartIds":{"type":"array","items":{"type":"string"}},"professionalRevisions":{"type":"object","additionalProperties":{"type":"string"}}},"required":["candidates","range","rangeReason","machinePartIds","professionalRevisions"],"additionalProperties":false},"uploads":[]},{"operation":"operator.allocation.assign","title":"Operator Allocation Assign","description":"Allocate the reviewed request and initiate its existing follow-up workflow.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128},"professionalId":{"type":"string","minLength":1,"maxLength":128},"from":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"to":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"jurisdictions":{"type":"string","maxLength":1000}},"required":["requestId","professionalId","from","to","jurisdictions"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"operator.allocation.retry","title":"Operator Allocation Retry","description":"Retry the current allocation follow-up through its existing guarded service.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"operator.einvoice.retry","title":"Operator Einvoice Retry","description":"Retry a failed e-invoice delivery when its invoice is still eligible.","scope":"operator","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"deliveryId":{"type":"string","minLength":1,"maxLength":128}},"required":["deliveryId"],"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true},"notice":{"type":"string","description":"What the Studio page would show next, e.g. a pending allocation follow-up."}},"required":["saved"],"additionalProperties":false},"uploads":[]},{"operation":"operator.terms.ledger","title":"Operator Terms Ledger","description":"Operator-only read of the append-only terms acceptance ledger: who accepted which document version, when, through which door, from where, and which mail confirmed it. Exactly one selector: mandateId (its whole request), requestGroupId, email (every request under that address), professionalId (the profile and its panel members), memberId or eventId. Rows come oldest first.","scope":"operator","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1,"maxLength":128},"requestGroupId":{"type":"string","minLength":1,"maxLength":128},"email":{"type":"string","minLength":3,"maxLength":254},"professionalId":{"type":"string","minLength":1,"maxLength":128},"memberId":{"type":"string","minLength":1,"maxLength":128},"eventId":{"type":"string","minLength":1,"maxLength":128}},"additionalProperties":false},"response":{"type":"object","properties":{"acceptances":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","eventId","documentId","version","contentHash","acceptedAt","recordedAt","subject","actor","channel"],"properties":{"id":{"type":"string"},"eventId":{"type":"string"},"documentId":{"type":"string"},"version":{"type":"string"},"contentHash":{"type":"string"},"acceptedAt":{"type":"string"},"recordedAt":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["mandate","professional","panel_member"]},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"requestGroupId":{"type":"string"},"checkoutBatchId":{"type":"string"},"professionalId":{"type":"string"},"actor":{"type":"object","properties":{"kind":{"type":"string","enum":["email","api_key","professional","panel_member"]},"id":{"type":"string"},"verified":{"type":"boolean"}},"required":["kind","id","verified"],"additionalProperties":false},"channel":{"type":"string","enum":["web","api","operation"]},"ip":{"type":"string"},"userAgent":{"type":"string"},"confirmation":{"type":"object","properties":{"mailRef":{"type":"string"},"sentAt":{"type":"string"}},"required":["mailRef","sentAt"],"additionalProperties":false}}}}},"required":["acceptances"],"additionalProperties":false},"uploads":[]},{"operation":"operator.credentials.list","title":"Operator Credentials List","description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. List your profile API credentials and connected assistants with their permissions. Secrets are never returned.","scope":"operator","additionalScopes":["credentials"],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}}}}},"uploads":[]},{"operation":"operator.credentials.create","title":"Operator Credentials Create","description":"Only the credential owner profile may create or rotate secrets; selecting another professional is refused. Requires operator and credentials permissions. Create an API key ID and secret for your profile, with permissions and optional expiry. The secret is returned once; delegation cannot exceed your own permissions or lifetime.","scope":"operator","additionalScopes":["credentials"],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["label"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}},"uploads":[]},{"operation":"operator.credentials.rotate","title":"Operator Credentials Rotate","description":"Only the credential owner profile may create or rotate secrets; selecting another professional is refused. Requires operator and credentials permissions. Rotate a profile credential secret. Its ID, permissions and expiry remain unchanged; the previous secret stops working immediately.","scope":"operator","additionalScopes":["credentials"],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}},"uploads":[]},{"operation":"operator.credentials.revoke","title":"Operator Credentials Revoke","description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Revoke one of your profile API credentials or disconnect an assistant immediately.","scope":"operator","additionalScopes":["credentials"],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"uploads":[]},{"operation":"operator.callbacks.save","title":"Operator Callbacks Save","description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Set or clear a callback URL for an owned readable credential. A changed URL returns its new signing secret once.","scope":"operator","additionalScopes":["credentials","read"],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["keyId","url"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}},"uploads":[]},{"operation":"operator.callbacks.rotate","title":"Operator Callbacks Rotate","description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Rotate a callback signing secret, returned once.","scope":"operator","additionalScopes":["credentials","read"],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}},"uploads":[]},{"operation":"operator.callbacks.test","title":"Operator Callbacks Test","description":"Administer the selected professional profile (x-thide-professional-id). Requires operator and credentials permissions. Send one signed test event to the stored callback URL.","scope":"operator","additionalScopes":["credentials","read"],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"ok":{"type":"boolean"},"httpStatus":{"type":"integer"}}},"uploads":[]},{"operation":"profile.get","title":"Profile Get","description":"Read the authenticated Studio profile identity and image availability.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"},"hasImage":{"type":"boolean"}},"required":["code","name","email","hasImage"]},"uploads":[]},{"operation":"profile.image.get","title":"Profile Image Get","description":"Read the normalized profile image.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"string","format":"binary"},"uploads":[]},{"operation":"profile.image.set","title":"Upload picture","description":"Upload a JPEG, PNG or WebP image up to 2 MB in the image multipart field.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true}},"required":["saved"]},"uploads":[{"field":"image","required":true}]},{"operation":"profile.image.remove","title":"Profile Image Remove","description":"Remove the profile image.","scope":"settings","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","properties":{"saved":{"const":true}},"required":["saved"]},"uploads":[]},{"operation":"counterparty.image.get","title":"Counterparty Image Get","description":"Read the counterpart profile image for an owned human request. Professional callers may set target to assignment for the current translation assignee; no account id is accepted. Client access starts when the request becomes a job. Returns 404 if unavailable.","scope":"read","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"mandateId":{"type":"string","minLength":1},"target":{"type":"string","enum":["counterparty","assignment"]}},"required":["mandateId"],"additionalProperties":false},"response":{"type":"string","format":"binary"},"uploads":[]},{"operation":"credentials.list","title":"Credentials List","description":"List your profile API credentials and connected assistants with their permissions. Secrets are never returned.","scope":"credentials","additionalScopes":[],"readOnly":true,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keys"],"properties":{"keys":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}}}}},"uploads":[]},{"operation":"credentials.create","title":"Credentials Create","description":"Create an API key ID and secret for your profile, with permissions and optional expiry. The secret is returned once; delegation cannot exceed your own permissions or lifetime.","scope":"credentials","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"scopes":{"minItems":1,"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"anyOf":[{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"string","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},{"type":"null"}]}},"required":["label"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}},"uploads":[]},{"operation":"credentials.rotate","title":"Credentials Rotate","description":"Rotate a profile credential secret. Its ID, permissions and expiry remain unchanged; the previous secret stops working immediately.","scope":"credentials","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["key","keyId","secret"],"properties":{"key":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"keyId":{"type":"string"},"secret":{"type":"string","description":"Shown once. Store securely; never place in chat, URLs or logs."}}},"uploads":[]},{"operation":"credentials.revoke","title":"Credentials Revoke","description":"Revoke one of your profile API credentials or disconnect an assistant immediately.","scope":"credentials","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["id","kind","label","prefix","credentialVersion","scopes","expiresAt","createdAt","lastUsedAt","revokedAt","rotatedAt"],"properties":{"id":{"type":"string"},"kind":{"type":"string","enum":["api","assistant"],"description":"Assistant connections are managed automatically; they can be revoked but have no usable API secret to rotate or callback to configure."},"label":{"type":"string"},"prefix":{"type":"string"},"credentialVersion":{"type":"string","enum":["legacy","pair"]},"scopes":{"type":"array","items":{"type":"string","enum":["read","workflow","settings","credentials","payments","operator"]}},"expiresAt":{"type":["string","null"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["string","null"],"format":"date-time"},"revokedAt":{"type":["string","null"],"format":"date-time"},"rotatedAt":{"type":["string","null"],"format":"date-time"}}},"uploads":[]},{"operation":"callbacks.save","title":"Callbacks Save","description":"Set or clear a callback URL for an owned readable credential. A changed URL returns its new signing secret once.","scope":"credentials","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","maxLength":2048}},"required":["keyId","url"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}},"uploads":[]},{"operation":"callbacks.rotate","title":"Callbacks Rotate","description":"Rotate a callback signing secret, returned once.","scope":"credentials","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"url":{"type":["string","null"]},"secret":{"type":"string","description":"New callback HMAC signing secret, shown once."},"secretKept":{"type":"boolean"}}},"uploads":[]},{"operation":"callbacks.test","title":"Callbacks Test","description":"Send one signed test event to the stored callback URL.","scope":"credentials","additionalScopes":[],"readOnly":false,"input":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"keyId":{"type":"string","minLength":1,"maxLength":128}},"required":["keyId"],"additionalProperties":false},"response":{"type":"object","additionalProperties":false,"required":["keyId"],"properties":{"keyId":{"type":"string"},"ok":{"type":"boolean"},"httpStatus":{"type":"integer"}}},"uploads":[]}]}