{"openapi":"3.1.0","info":{"title":"DIRGO API · revisión protegida","version":"0.1.0-review","description":"Contratos de la API compartida de DIRGO. El panel nacional consulta registros publicados. La gestión y los formularios de prueba requieren acceso a la revisión privada."},"servers":[{"url":"/api/v1","description":"Same-origin shared API"}],"x-dirgo-production-blocked":true,"x-dirgo-hosted-boundary":"public-portal-with-owner-restricted-review","paths":{"/social-profiles":{"get":{"operationId":"get_social_profiles","tags":["Settings"],"summary":"Read configured official profile links","security":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["links"],"properties":{"links":{"type":"array","maxItems":5,"items":{"type":"object","required":["platform","url"],"properties":{"platform":{"type":"string","enum":["facebook","instagram","linkedin","tiktok","youtube"]},"url":{"type":"string","format":"uri","maxLength":512}},"additionalProperties":false}}},"additionalProperties":false}}}}}}},"/admin/social-profiles":{"get":{"operationId":"get_admin_social_profiles","tags":["Settings"],"summary":"Read official profile settings and editing revision","security":[{"DemoSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["revision","links"],"properties":{"revision":{"type":"integer","minimum":0},"links":{"type":"array","maxItems":5,"items":{"type":"object","required":["platform","url"],"properties":{"platform":{"type":"string","enum":["facebook","instagram","linkedin","tiktok","youtube"]},"url":{"type":"string","format":"uri","maxLength":512}},"additionalProperties":false}}},"additionalProperties":false}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Administrator role and MFA required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"operationId":"put_admin_social_profiles","tags":["Settings"],"summary":"Save validated social profiles for all portals at the expected revision","security":[{"DemoSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["revision","links"],"properties":{"revision":{"type":"integer","minimum":0},"links":{"type":"array","maxItems":5,"items":{"type":"object","required":["platform","url"],"properties":{"platform":{"type":"string","enum":["facebook","instagram","linkedin","tiktok","youtube"]},"url":{"type":"string","format":"uri","maxLength":512}},"additionalProperties":false}}},"additionalProperties":false}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Administrator role and MFA required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The current revision changed. Reload before saving.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid revision, network or profile URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["revision","links"],"properties":{"revision":{"type":"integer","minimum":0},"links":{"type":"array","maxItems":5,"items":{"type":"object","required":["platform","url"],"properties":{"platform":{"type":"string","enum":["facebook","instagram","linkedin","tiktok","youtube"]},"url":{"type":"string","format":"uri","maxLength":512}},"additionalProperties":false}}},"additionalProperties":false}}}}}},"/demo/session":{"post":{"operationId":"post_demo_session","summary":"Start a synthetic review session","tags":["Identity"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoSessionInput"}}}}}},"/me":{"get":{"operationId":"get_me","summary":"Read current identity and memberships","tags":["Identity"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false}},"/sessions":{"get":{"operationId":"get_sessions","summary":"List own review sessions","tags":["Identity"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"}},"/sessions/revoke":{"post":{"operationId":"post_sessions_revoke","summary":"Revoke all own review sessions","tags":["Identity"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self"}},"/organizations":{"get":{"operationId":"get_organizations","summary":"List authorized organizations","tags":["Identity"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"membership"},"post":{"operationId":"post_organizations","summary":"Create organization and owner membership","tags":["Identity"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationInput"}}}}}},"/memberships":{"post":{"operationId":"post_memberships","summary":"Add an existing person to own organization","tags":["Identity"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"The same membership and role already existed."},"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["organization_owner"],"x-dirgo-object-scope":"orgId","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MembershipInput"}}}}},"get":{"operationId":"get_memberships","summary":"List names and roles within an organization managed by the account","tags":["Identity"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"organization owner","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string"}}]}},"/status":{"get":{"operationId":"get_status","summary":"Read minimal adapter status","tags":["Identity"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false}},"/legal":{"get":{"operationId":"get_legal","summary":"Read legal versions available in this environment","tags":["Legal"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false}},"/legal/{slug}":{"get":{"operationId":"get_legal_slug","summary":"Read a legal document version","tags":["Legal"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/complaints":{"post":{"operationId":"post_complaints","summary":"Register immutable complaint and receipt","tags":["Legal"],"security":[],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplaintReceipt"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplaintInput"}}}}}},"/complaints/track":{"post":{"operationId":"post_complaints_track","summary":"Track complaint with opaque secret","tags":["Legal"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplaintReceipt"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackingInput"}}}}}},"/complaints/accept-solution":{"post":{"operationId":"post_complaints_accept_solution","summary":"Accept a proposed solution separately","tags":["Legal"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolutionAcceptanceInput"}}}}}},"/rights":{"post":{"operationId":"post_rights","summary":"Register separate privacy-rights request","tags":["Legal"],"security":[],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsInput"}}}}}},"/rights/track":{"post":{"operationId":"post_rights_track","summary":"Track privacy request with opaque secret","tags":["Legal"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackingInput"}}}}}},"/preferences":{"post":{"operationId":"post_preferences","summary":"Persist per-host optional preferences","tags":["Legal"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesInput"}}}}}},"/consents":{"get":{"operationId":"get_consents","summary":"Read or record own channel-specific marketing choice","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"},"post":{"operationId":"post_consents","summary":"Read or record own channel-specific marketing choice","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentInput"}}}}}},"/acceptances":{"get":{"operationId":"get_acceptances","summary":"Read or record version-bound contractual acceptance","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"},"post":{"operationId":"post_acceptances","summary":"Read or record version-bound contractual acceptance","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptanceInput"}}}}}},"/admin/complaints":{"get":{"operationId":"get_admin_complaints","summary":"Read authorized complaints inbox","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["admin","complaints_manager"]}},"/admin/complaints/{id}":{"get":{"operationId":"get_admin_complaints_id","summary":"Read authorized complaints case","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["admin","complaints_manager"],"x-dirgo-object-scope":"assigned operational responsibility","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/admin/complaints/{id}/actions":{"post":{"operationId":"post_admin_complaints_id_actions","summary":"Record separate complaints action","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin","complaints_manager"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplaintAdminAction"}}}}}},"/admin/rights":{"get":{"operationId":"get_admin_rights","summary":"Read authorized rights inbox","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["admin","privacy_officer"]}},"/admin/rights/{id}":{"get":{"operationId":"get_admin_rights_id","summary":"Read authorized rights case","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["admin","privacy_officer"],"x-dirgo-object-scope":"assigned operational responsibility","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/admin/rights/{id}/actions":{"post":{"operationId":"post_admin_rights_id_actions","summary":"Record separate rights action","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin","privacy_officer"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RightsAdminAction"}}}}}},"/admin/legal":{"post":{"operationId":"post_admin_legal","summary":"Create legal draft version","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalDraftInput"}}}}}},"/admin/legal/{id}/actions":{"post":{"operationId":"post_admin_legal_id_actions","summary":"Review approve publish or archive legal version","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalActionInput"}}}}}},"/admin/outbox":{"get":{"operationId":"get_admin_outbox","summary":"Read delivery queue state without claiming real delivery","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["admin"]}},"/admin/legal-alerts":{"get":{"operationId":"get_admin_legal_alerts","summary":"Read configured complaint deadline alerts","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["admin","complaints_manager"]}},"/directory":{"get":{"operationId":"get_directory","summary":"Search published local or B2B profiles","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"view","in":"query","required":false,"schema":{"type":"string","maxLength":160}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":160}}]}},"/profiles":{"post":{"operationId":"post_profiles","summary":"Submit authorized organizational profile","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"orgId membership","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileInput"}}}}}},"/profiles/manage":{"get":{"operationId":"get_profiles_manage","summary":"Read own profile drafts","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"orgId membership","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string","maxLength":160}}]}},"/profiles/{id}":{"get":{"operationId":"get_profiles_id","summary":"Read limited public profile","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/profiles/{id}/review":{"post":{"operationId":"post_profiles_id_review","summary":"Moderate profile after representation review","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["verifier"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileReviewInput"}}}}}},"/profiles/{id}/verification":{"post":{"operationId":"post_profiles_id_verification","summary":"Record delimited verification evidence","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["verifier"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationInput"}}}}}},"/verifications/{code}":{"get":{"operationId":"get_verifications_code","summary":"Read public verification scope and validity","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/leads":{"post":{"operationId":"post_leads","summary":"Persist contact or institutional inquiry","tags":["Commercial"],"security":[],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadInput"}}}}},"get":{"operationId":"get_leads","summary":"Read authorized intake inbox","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["advisor","admin"]}},"/leads/{id}":{"patch":{"operationId":"patch_leads_id","summary":"Assign and track inquiry","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["advisor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadUpdateInput"}}}}}},"/diagnostics":{"post":{"operationId":"post_diagnostics","summary":"Receive diagnostic without mandatory RUC","tags":["Commercial"],"security":[],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagnosticInput"}}}}}},"/cases":{"get":{"operationId":"get_cases","summary":"List own or assigned cases","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"client,organization member,assigned advisor or admin","parameters":[{"name":"orgId","in":"query","required":false,"schema":{"type":"string","maxLength":160}}]}},"/cases/{id}":{"get":{"operationId":"get_cases_id","summary":"Read authorized case","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"client,organization member,assigned advisor or admin","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]},"patch":{"operationId":"patch_cases_id","summary":"Update authorized case plan and state","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned advisor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseUpdateInput"}}}}}},"/cases/{id}/tasks":{"post":{"operationId":"post_cases_id_tasks","summary":"Create assigned case tasks","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned advisor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseItemInput"}}}}}},"/cases/{id}/deliverables":{"post":{"operationId":"post_cases_id_deliverables","summary":"Create assigned case deliverables","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned advisor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseItemInput"}}}}}},"/cases/{id}/accept":{"post":{"operationId":"post_cases_id_accept","summary":"Client accepts a specific deliverable","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"actual client or organization owner","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliverableAcceptInput"}}}}}},"/cases/{id}/link-client":{"post":{"operationId":"post_cases_id_link_client","summary":"Link an anonymous case after proportional verification","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseClientLinkInput"}}}}}},"/rfqs":{"post":{"operationId":"post_rfqs","summary":"Create private RFQ","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"buyer organization membership","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RfqInput"}}}}},"get":{"operationId":"get_rfqs","summary":"List RFQs for authorized organization","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"organization membership","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string","maxLength":160}}]}},"/rfqs/{id}":{"get":{"operationId":"get_rfqs_id","summary":"Read RFQ and permitted proposals only","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"buyer or invited supplier organization","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}},{"name":"orgId","in":"query","required":true,"schema":{"type":"string","maxLength":160}}]}},"/rfqs/{id}/invites":{"post":{"operationId":"post_rfqs_id_invites","summary":"Invite a supplier organization","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"The organization already has this invitation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"buyer owner/buyer","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RfqInviteInput"}}}}}},"/rfqs/{id}/proposals":{"post":{"operationId":"post_rfqs_id_proposals","summary":"Submit an invited supplier proposal","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"invited supplier membership","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProposalInput"}}}}}},"/opportunities":{"get":{"operationId":"get_opportunities","summary":"Read authorized redacted live purchase needs","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]}},"/slots":{"post":{"operationId":"post_slots","summary":"Create non-overlapping advisor availability","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["advisor","admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotInput"}}}}},"get":{"operationId":"get_slots","summary":"Read available slots without advisor private data","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false}},"/appointments":{"post":{"operationId":"post_appointments","summary":"Atomically reserve an available slot","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentInput"}}}}},"get":{"operationId":"get_appointments","summary":"Read own appointments","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"}},"/appointments/{id}/cancel":{"post":{"operationId":"post_appointments_id_cancel","summary":"Cancel own or assigned advisor appointment","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self,assigned advisor or admin","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/content":{"get":{"operationId":"get_content","summary":"Read published editorial content","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"kind","in":"query","required":false,"schema":{"type":"string","maxLength":160}},{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_content","summary":"Create an editorial draft","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentInput"}}}}}},"/content/manage":{"get":{"operationId":"get_content_manage","summary":"Read editorial work queue","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["editor","admin"]}},"/content/{id}":{"patch":{"operationId":"patch_content_id","summary":"Create new content draft revision","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentUpdateInput"}}}}}},"/content/{id}/transition":{"post":{"operationId":"post_content_id_transition","summary":"Advance allowed editorial state","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTransitionInput"}}}}}},"/content/{id}/history":{"get":{"operationId":"get_content_id_history","summary":"Read editorial version history","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["editor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/programs":{"get":{"operationId":"get_programs","summary":"Read confirmed program catalog","tags":["Programs"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_programs","summary":"Create an institutional program draft","tags":["Programs"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["institutional_manager","admin"],"x-dirgo-object-scope":"institution organization","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramInput"}}}}}},"/programs/{id}":{"get":{"operationId":"get_programs_id","summary":"Read authorized program","tags":["Programs"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"institution membership","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/programs/{id}/confirm":{"post":{"operationId":"post_programs_id_confirm","summary":"Confirm program scope and agreement","tags":["Programs"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["institutional_manager","admin"],"x-dirgo-object-scope":"institution membership","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/programs/{id}/members":{"post":{"operationId":"post_programs_id_members","summary":"Enroll a participant with field-specific authorization","tags":["Programs"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["institutional_manager","admin"],"x-dirgo-object-scope":"institution membership","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgramMemberInput"}}}}}},"/programs/{id}/summary":{"get":{"operationId":"get_programs_id_summary","summary":"Read aggregate participant denominator","tags":["Programs"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"institution membership","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/courses":{"get":{"operationId":"get_courses","summary":"Read published course catalog","tags":["Learning"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_courses","summary":"Create a course draft with responsible teacher","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["teacher","admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CourseInput"}}}}}},"/courses/{id}/publish":{"post":{"operationId":"post_courses_id_publish","summary":"Publish own responsible course","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned teacher","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/enrollments":{"post":{"operationId":"post_enrollments","summary":"Create authorized enrollment","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned teacher","institutional_manager","admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrollmentInput"}}}}},"get":{"operationId":"get_enrollments","summary":"Read own enrolled content","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"}},"/enrollments/{id}/progress":{"post":{"operationId":"post_enrollments_id_progress","summary":"Record own lesson progress","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProgressInput"}}}}}},"/enrollments/{id}/assessment":{"post":{"operationId":"post_enrollments_id_assessment","summary":"Record evidence-backed assessment","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned teacher","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssessmentInput"}}}}}},"/enrollments/{id}/certificate":{"post":{"operationId":"post_enrollments_id_certificate","summary":"Issue private completion certificate after criteria met","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned teacher","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}}}}},"/certificates/{code}":{"get":{"operationId":"get_certificates_code","summary":"Verify minimal certificate facts without private records","tags":["Learning"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/meetings":{"post":{"operationId":"post_meetings","summary":"Request an organizational meeting","tags":["Conecta"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"fromOrg membership","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingInput"}}}}},"get":{"operationId":"get_meetings","summary":"Read participating organization meetings","tags":["Conecta"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"organization participant","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string","maxLength":160}}]}},"/meetings/{id}/transition":{"post":{"operationId":"post_meetings_id_transition","summary":"Accept and track relationship with evidence","tags":["Conecta"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"participating organization; verification role for sale_verified","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MeetingTransitionInput"}}}}}},"/events":{"get":{"operationId":"get_events","summary":"Read confirmed future editions","tags":["Summit"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_events","summary":"Create event draft","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventInput"}}}}}},"/events/{id}/confirm":{"post":{"operationId":"post_events_id_confirm","summary":"Confirm event details and conditions","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventConfirmInput"}}}}}},"/orders":{"post":{"operationId":"post_orders","summary":"Create capacity-limited synthetic event order","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderInput"}}}}},"get":{"operationId":"get_orders","summary":"Read own orders","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"}},"/orders/{id}/cancel":{"post":{"operationId":"post_orders_id_cancel","summary":"Record traced test order cancel","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderActionInput"}}}}}},"/orders/{id}/refund-request":{"post":{"operationId":"post_orders_id_refund_request","summary":"Record traced test order refund-request","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderActionInput"}}}}}},"/orders/{id}/refund":{"post":{"operationId":"post_orders_id_refund","summary":"Record traced test order refund","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"x-dirgo-object-scope":"admin","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderActionInput"}}}}}},"/payments/test-webhook":{"post":{"operationId":"post_payments_test_webhook","summary":"Verify signed idempotent payment TEST event","tags":["Summit"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentTestEvent"}}}},"parameters":[{"name":"x-dirgo-timestamp","in":"header","required":true,"schema":{"type":"string","maxLength":10,"pattern":"^[0-9]{10}$"}},{"name":"x-dirgo-signature","in":"header","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[0-9a-f]{64}$"}}],"x-dirgo-required-secret":"DIRGO_TEST_WEBHOOK_SECRET"}},"/tickets":{"get":{"operationId":"get_tickets","summary":"Read own tickets without exposing tokens","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self"}},"/tickets/{id}/code":{"post":{"operationId":"post_tickets_id_code","summary":"Obtain own opaque test ticket code","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/tickets/redeem":{"post":{"operationId":"post_tickets_redeem","summary":"Redeem opaque ticket once","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TicketRedeemInput"}}}}}},"/awards":{"get":{"operationId":"get_awards","summary":"Read opened edition rules","tags":["Awards"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_awards","summary":"Create weighted versioned edition draft","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardInput"}}}}}},"/awards/{id}/open":{"post":{"operationId":"post_awards_id_open","summary":"Open and lock edition rules","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/awards/{id}/applications":{"post":{"operationId":"post_awards_id_applications","summary":"Submit private evidence under current rules","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"organization owner","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardApplicationInput"}}}}},"get":{"operationId":"get_awards_id_applications","summary":"Read only own or assigned conflict-free applications","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"owner,assigned judge or admin","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}},{"name":"orgId","in":"query","required":false,"schema":{"type":"string","maxLength":160}}]}},"/awards/{id}/assign":{"post":{"operationId":"post_awards_id_assign","summary":"Assign eligible judge to application","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardAssignInput"}}}}}},"/awards/{id}/evaluate":{"post":{"operationId":"post_awards_id_evaluate","summary":"Declare conflict or score assigned application","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned judge"],"x-dirgo-object-scope":"assignment belongs to actor","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardEvaluateInput"}}}}}},"/awards/{id}/results":{"post":{"operationId":"post_awards_id_results","summary":"Record motivated completed evaluation results","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardResultsInput"}}}}},"get":{"operationId":"get_awards_id_results","summary":"Read completed motivated aggregate results with opaque application IDs","tags":["Awards"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/studies":{"get":{"operationId":"get_studies","summary":"Read published methodology and licenses","tags":["Data"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_studies","summary":"Create aggregated study draft","tags":["Data"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyInput"}}}}}},"/studies/{id}/publish":{"post":{"operationId":"post_studies_id_publish","summary":"Publish reviewed non-synthetic production study","tags":["Data"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/studies/{id}/grant":{"post":{"operationId":"post_studies_id_grant","summary":"Grant licensed study access","tags":["Data"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudyGrantInput"}}}}}},"/studies/{id}/export":{"get":{"operationId":"get_studies_id_export","summary":"Export licensed aggregate data with small groups suppressed","tags":["Data"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"explicit per-study grant","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/community/join":{"post":{"operationId":"post_community_join","summary":"Join voluntarily under versioned rules","tags":["Community"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"self","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityJoinInput"}}}}}},"/community/posts":{"get":{"operationId":"get_community_posts","summary":"Read moderated published posts","tags":["Community"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_community_posts","summary":"Submit own post for moderation","tags":["Community"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"active voluntary member","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityPostInput"}}}}}},"/community/posts/{id}/review":{"post":{"operationId":"post_community_posts_id_review","summary":"Moderate post or block abusive member","tags":["Community"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityReviewInput"}}}}}},"/community/posts/{id}/report":{"post":{"operationId":"post_community_posts_id_report","summary":"Report possible abuse for review","tags":["Community"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommunityReportInput"}}}}}},"/offers":{"get":{"operationId":"get_offers","summary":"Read published active offers with conditions","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string"},"description":"Select one exact published record, retaining the normal public projection."},{"name":"visibleOnly","in":"query","required":false,"schema":{"type":"string"},"description":"Set to 1 to exclude synthetic records in the private review."}]},"post":{"operationId":"post_offers","summary":"Submit organizational offer draft","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"profile organization owner/collaborator","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferInput"}}}}}},"/offers/{id}/publish":{"post":{"operationId":"post_offers_id_publish","summary":"Publish offer after validity review","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["editor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/directory/{id}/contact":{"post":{"operationId":"post_directory_id_contact","summary":"Record contact intention as click, never sale","tags":["Commercial"],"security":[],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactClickInput"}}}}}},"/business/metrics":{"get":{"operationId":"get_business_metrics","summary":"Read operational denominators without equating opportunities to revenue","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-required-roles":["advisor","admin"]}},"/documents":{"post":{"operationId":"post_documents","summary":"Store synthetic authorized file in quarantine","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"201":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-object-scope":"org membership; case documents require client,assigned advisor or org owner","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentUploadInput"}}}},"x-dirgo-capability-mode":"local-synthetic-quarantine"},"get":{"operationId":"get_documents","summary":"List scoped document metadata, excluding case files from generic organization list","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"org membership or explicit case scope","parameters":[{"name":"orgId","in":"query","required":true,"schema":{"type":"string","maxLength":160}},{"name":"caseId","in":"query","required":false,"schema":{"type":"string","maxLength":160}}]}},"/documents/{id}":{"get":{"operationId":"get_documents_id","summary":"Read authorized metadata without storage internals","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"organization or explicit case scope","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/documents/{id}/review":{"post":{"operationId":"post_documents_id_review","summary":"Manually review synthetic quarantined file","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["admin"],"x-dirgo-object-scope":"admin privilege AND document object scope","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentReviewInput"}}}}}},"/documents/{id}/download":{"get":{"operationId":"get_documents_id_download","summary":"Download exact authorized bytes after integrity verification","tags":["Legal"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Authorized attachment. SHA256and size checked; no public storage URL.","headers":{"Content-Disposition":{"schema":{"type":"string","maxLength":500}},"Cache-Control":{"schema":{"type":"string","enum":["private, no-store"]}},"X-DIRGO-Scan-Status":{"schema":{"type":"string","enum":["manual-demo-review-not-antivirus","verified"]}}},"content":{"application/pdf":{"schema":{"type":"string","format":"binary"}},"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"organization or explicit case scope","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}],"x-dirgo-capability-mode":"clean-demo only in demo; production synthetic/scanner blocked"}},"/tickets/{id}":{"get":{"operationId":"get_own_ticket","summary":"Read a ticket belonging to the signed-in person","tags":["Summit"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/award-applications/{id}":{"get":{"operationId":"get_own_award_application","summary":"Read a submission by its applicant or the owner of its organization","tags":["Awards"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"self","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}]}},"/workspace/summary":{"get":{"operationId":"get_workspace_summary","tags":["Workspace"],"summary":"Actividad del espacio personal o de una organización del usuario","parameters":[{"name":"orgId","in":"query","required":false,"schema":{"type":"string","maxLength":160}}],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Indicadores, últimos registros y próximos plazos del espacio seleccionado","content":{"application/json":{"schema":{"type":"object","required":["totals","recent","upcoming"],"properties":{"totals":{"type":"object","properties":{"case":{"type":"integer","minimum":0},"profile":{"type":"integer","minimum":0},"quote":{"type":"integer","minimum":0},"course":{"type":"integer","minimum":0},"appointment":{"type":"integer","minimum":0}}},"recent":{"type":"array","maxItems":6,"items":{"$ref":"#/components/schemas/WorkspaceActivity"}},"upcoming":{"type":"array","maxItems":3,"items":{"$ref":"#/components/schemas/WorkspaceActivity"}}}}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/cases/{id}/tasks/{taskId}/complete":{"post":{"operationId":"complete_case_task","summary":"Complete a pending task in an assigned case","tags":["Commercial"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":true,"x-dirgo-required-roles":["assigned advisor","admin"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}},"/workspace/profile-review":{"get":{"operationId":"get_workspace_profile_review","tags":["Workspace"],"summary":"Perfiles sujetos a revisión y comprobación por un verificador autorizado","security":[{"DemoSession":[]}],"responses":{"200":{"description":"Hasta 200 perfiles ordenados por prioridad de revisión. La información de representación es privada.","content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","maxItems":200,"items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"category":{"type":"string"},"zone":{"type":"string"},"description":{"type":"string"},"state":{"type":"string"},"updatedAt":{"type":"string"},"representationEvidence":{"type":"string"}}}}}}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/foundation/overview":{"get":{"operationId":"get_foundation_overview","summary":"Consultar la oferta publicada de DIRGO","description":"Recuentos nacionales, próximos encuentros y últimas publicaciones. Solo incluye registros públicos reales.","tags":["Foundation"],"security":[],"responses":{"200":{"description":"Resumen nacional","content":{"application/json":{"schema":{"type":"object","required":["totals","events","programs","articles"],"properties":{"totals":{"type":"object","required":["local","suppliers","programs","courses"],"properties":{"local":{"type":"integer","minimum":0},"suppliers":{"type":"integer","minimum":0},"programs":{"type":"integer","minimum":0},"courses":{"type":"integer","minimum":0}},"additionalProperties":false},"events":{"type":"array","maxItems":4,"items":{"type":"object","required":["id","title","start_at","venue","kind"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"start_at":{"type":"string"},"venue":{"type":"string"},"kind":{"type":"string"}},"additionalProperties":false}},"programs":{"type":"array","maxItems":4,"items":{"type":"object","required":["id","title","scope"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"scope":{"type":"string"}},"additionalProperties":false}},"articles":{"type":"array","maxItems":4,"items":{"type":"object","required":["id","title","nature","updated_at"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"nature":{"type":"string"},"updated_at":{"type":"string"}},"additionalProperties":false}}},"additionalProperties":false}}}}}}},"/courses/managed":{"get":{"operationId":"get_courses_managed","summary":"List courses managed by the signed-in instructor","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"Assigned courses, or administrator with MFA.","x-dirgo-required-roles":["teacher","admin"]}},"/enrollments/managed":{"get":{"operationId":"get_enrollments_managed","summary":"List enrollments assigned to the signed-in instructor","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"Assigned courses, or administrator with MFA.","x-dirgo-required-roles":["teacher","admin"]}},"/enrollments/{id}":{"get":{"operationId":"get_enrollments_by_id","summary":"Read enrollment for the learner or responsible instructor","tags":["Learning"],"security":[{"DemoSession":[]}],"responses":{"200":{"description":"Persisted local/review result; external completion is not implied.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResult"}}}},"400":{"description":"Invalid data","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Session/signature required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Scope, role, MFA or Origin denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"State, version or concurrency conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Field validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Unconfigured production dependency or persistence unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-dirgo-origin-required":false,"x-dirgo-object-scope":"Student reads own enrollment; responsible instructor or administrator requires MFA.","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","maxLength":160,"minLength":1}}]}}},"components":{"securitySchemes":{"DemoSession":{"type":"apiKey","in":"cookie","name":"dirgo_demo","description":"Opaque HttpOnly synthetic session, demo only. Real hosted access is platform-owned and separate; no production MFA claim."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","maxLength":100},"message":{"type":"string","maxLength":1000}}}},"required":["error"]},"OperationResult":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"state":{"type":"string","maxLength":100},"status":{"type":"string","maxLength":100},"mode":{"type":"string","enum":["demo","test","production"]},"demo":{"type":"boolean"},"synthetic":{"oneOf":[{"type":"boolean"},{"type":"integer","minimum":0,"maximum":1}]},"items":{"type":"array","items":{"type":"object"}},"message":{"type":"string","maxLength":2000}},"required":[],"description":"Success shape depends on operation; see operation description and source. No external delivery or publication is implied."},"ComplaintReceipt":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"number":{"type":"string","maxLength":80},"submittedAt":{"type":"string","format":"date-time"},"dueDate":{"type":"string","maxLength":10,"format":"date"},"calendarStatus":{"type":"string","enum":["draft","approved"]},"status":{"type":"string","maxLength":100},"responseStatus":{"type":"string","maxLength":100},"deliveryStatus":{"type":"string","maxLength":100},"solutionStatus":{"type":"string","maxLength":100},"receipt":{"type":"object"},"demo":{"type":"boolean"},"trackingToken":{"type":"string","maxLength":180,"minLength":32}},"required":["id","number","submittedAt","receipt","demo"],"description":"trackingToken is returned only at registration. Preserve it securely; never place it in URL. Receipt date/deadline in demo use an unapproved weekday-only calendar."},"DemoSessionInput":{"type":"object","properties":{"persona":{"type":"string","enum":["owner","advisor","buyer","supplier","editor","judge","admin"]}},"required":["persona"]},"OrganizationInput":{"type":"object","properties":{"name":{"type":"string","maxLength":180,"minLength":1}},"required":["name"]},"MembershipInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"personId":{"type":"string","maxLength":160,"minLength":1},"role":{"type":"string","enum":["collaborator","buyer","supplier","advisor"]}},"required":["orgId","personId","role"]},"ComplaintInput":{"type":"object","properties":{"consumerName":{"type":"string","maxLength":200,"minLength":1},"documentType":{"type":"string","enum":["DNI","CE","PASAPORTE","OTRO"]},"documentNumber":{"type":"string","maxLength":40,"minLength":1},"address":{"type":"string","maxLength":500,"minLength":1},"email":{"type":"string","maxLength":254,"format":"email"},"phone":{"type":"string","maxLength":40},"representative":{"type":"string","maxLength":300},"product":{"type":"string","maxLength":1000,"minLength":1},"amount":{"type":["number","null"],"minimum":0,"maximum":1000000000},"currency":{"type":"string","enum":["PEN","USD"]},"kind":{"type":"string","enum":["reclamo","queja","otro"]},"detail":{"type":"string","maxLength":10000,"minLength":1},"request":{"type":"string","maxLength":10000,"minLength":1},"orderReference":{"type":"string","maxLength":160},"confirmed":{"type":"boolean","enum":[true]}},"required":["consumerName","documentType","documentNumber","address","product","kind","detail","request","confirmed"],"description":"No account, marketing, order reference or attachment is required. Book derives from the server portal, never a client bookCode. Synthetic data only in review."},"TrackingInput":{"type":"object","properties":{"trackingToken":{"type":"string","maxLength":180,"minLength":32}},"required":["trackingToken"]},"SolutionAcceptanceInput":{"type":"object","properties":{"trackingToken":{"type":"string","maxLength":180,"minLength":32},"confirmed":{"type":"boolean","enum":[true]}},"required":["trackingToken","confirmed"]},"RightsInput":{"type":"object","properties":{"name":{"type":"string","maxLength":200,"minLength":1},"email":{"type":"string","maxLength":254,"format":"email"},"right":{"type":"string","enum":["acceso","rectificacion","cancelacion","oposicion","otro"]},"detail":{"type":"string","maxLength":10000,"minLength":1},"representation":{"type":"string","maxLength":1000}},"required":["name","email","right","detail"],"description":"Production returns503 until reviewed rights deadlines and operations are implemented. No identity-document upload by default."},"PreferencesInput":{"type":"object","properties":{"version":{"type":"string","enum":["1"]},"analytics":{"type":"boolean"},"advertising":{"type":"boolean"},"external":{"type":"boolean"}},"required":["version","analytics","advertising","external"]},"ConsentInput":{"type":"object","properties":{"channel":{"type":"string","enum":["email","phone","whatsapp"]},"version":{"type":"string","enum":["marketing-v1"]},"granted":{"type":"boolean"}},"required":["channel","version","granted"]},"AcceptanceInput":{"type":"object","properties":{"versionId":{"type":"string","maxLength":160,"minLength":1},"hash":{"type":"string","maxLength":64,"minLength":64},"accepted":{"type":"boolean","enum":[true]},"offerId":{"type":"string","maxLength":160,"minLength":1}},"required":["versionId","hash","accepted"]},"ComplaintAdminAction":{"type":"object","properties":{"action":{"type":"string","enum":["assign","review","respond","delivery","propose_solution","dispute","close"]},"responsibleId":{"type":"string","maxLength":160,"minLength":1},"message":{"type":"string","maxLength":10000},"evidence":{"type":"string","maxLength":2000}},"required":["action"],"description":"assign requires responsibleId; respond/propose_solution/close require message; delivery requires prior response and evidence. No action changes original receipt or due date."},"RightsAdminAction":{"type":"object","properties":{"action":{"type":"string","enum":["assign","request_identity","verify_identity","respond"]},"responsibleId":{"type":"string","maxLength":160,"minLength":1},"message":{"type":"string","maxLength":10000,"minLength":1},"evidence":{"type":"string","maxLength":2000}},"required":["action","message"],"description":"Identity actions require proportional justification/evidence. respond requires verified identity."},"LegalDraftInput":{"type":"object","properties":{"slug":{"type":"string","maxLength":100,"pattern":"^[a-z0-9-]+$"},"version":{"type":"string","maxLength":80,"minLength":1},"title":{"type":"string","maxLength":200,"minLength":1},"content":{"type":"string","maxLength":100000,"minLength":1}},"required":["slug","version","title","content"]},"LegalActionInput":{"type":"object","properties":{"action":{"type":"string","enum":["submit_review","approve","publish","archive"]},"evidence":{"type":"string","maxLength":3000},"reviewed":{"type":"boolean"},"effectiveAt":{"type":"string","format":"date-time"}},"required":["action"],"description":"Approval requires prior review, all template variables resolved, reviewed=true and evidence; publication requires approved version and effectiveAt. This records review; it does not replace professional approval."},"ProfileInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"view":{"type":"string","enum":["local","b2b"]},"name":{"type":"string","maxLength":160,"minLength":1},"category":{"type":"string","maxLength":100,"minLength":1},"zone":{"type":"string","maxLength":160,"minLength":1},"description":{"type":"string","maxLength":3000,"minLength":1},"publicContact":{"type":"string","maxLength":300},"representationEvidence":{"type":"string","maxLength":3000,"minLength":1}},"required":["orgId","view","name","category","zone","description","representationEvidence"]},"ProfileReviewInput":{"type":"object","properties":{"state":{"type":"string","enum":["published","changes_requested","rejected"]},"reason":{"type":"string","maxLength":3000,"minLength":1},"representationConfirmed":{"type":"boolean"}},"required":["state","reason"],"description":"published requires representationConfirmed=true and a non-synthetic production record."},"VerificationInput":{"type":"object","properties":{"state":{"type":"string","enum":["pendiente","evidencia_insuficiente","vigente","requiere_actualizacion","vencido","retirado"]},"scope":{"type":"string","maxLength":2000,"minLength":1},"source":{"type":"string","maxLength":500,"minLength":1},"sourceDate":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"privateEvidence":{"type":"string","maxLength":4000,"minLength":1}},"required":["state","scope","source","sourceDate","expiresAt","privateEvidence"]},"LeadInput":{"type":"object","properties":{"kind":{"type":"string","enum":["contact","institutional","profile"]},"name":{"type":"string","maxLength":160,"minLength":1},"email":{"type":"string","maxLength":254,"format":"email"},"need":{"type":"string","maxLength":4000,"minLength":1},"organization":{"type":"string","maxLength":200},"position":{"type":"string","maxLength":160},"territory":{"type":"string","maxLength":160},"population":{"type":"string","maxLength":500}},"required":["name","email","need"]},"LeadUpdateInput":{"type":"object","properties":{"status":{"type":"string","enum":["received","assigned","in_progress","attended","closed"]},"assigneeId":{"type":"string","maxLength":160,"minLength":1}},"required":[],"description":"Assigned/in-progress requires a valid responsible person."},"DiagnosticInput":{"type":"object","properties":{"name":{"type":"string","maxLength":160,"minLength":1},"email":{"type":"string","maxLength":254,"format":"email"},"situation":{"type":"string","maxLength":2000,"minLength":1},"needs":{"type":"string","maxLength":3000,"minLength":1},"objectives":{"type":"string","maxLength":2000,"minLength":1},"zone":{"type":"string","maxLength":160,"minLength":1},"ruc":{"type":"string","maxLength":11,"pattern":"^$|^[0-9]{11}$"}},"required":["name","email","situation","needs","objectives","zone"],"description":"RUC is optional. No bank/public-platform credentials or initial identity-document attachment."},"CaseUpdateInput":{"type":"object","properties":{"plan":{"type":"string","maxLength":8000},"assigneeId":{"type":"string","maxLength":160,"minLength":1},"status":{"type":"string","enum":["diagnostic_received","accepted","in_progress","delivered","completed","cancelled"]}},"required":[],"description":"Only assigned advisor/admin. Completion requires accepted deliverable(s)."},"CaseItemInput":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"body":{"type":"string","maxLength":10000}},"required":["title"]},"DeliverableAcceptInput":{"type":"object","properties":{"itemId":{"type":"string","maxLength":160,"minLength":1}},"required":["itemId"]},"CaseClientLinkInput":{"type":"object","properties":{"personId":{"type":"string","maxLength":160,"minLength":1},"orgId":{"type":"string","maxLength":160,"minLength":1},"identityConfirmed":{"type":"boolean","enum":[true]},"representationEvidence":{"type":"string","maxLength":5000,"minLength":1}},"required":["personId","identityConfirmed","representationEvidence"],"description":"Admin-only after proportional review; does not match an account by email alone. An organization requires the client membership."},"RfqInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"title":{"type":"string","maxLength":180,"minLength":1},"scope":{"type":"string","maxLength":6000,"minLength":1},"zone":{"type":"string","maxLength":160,"minLength":1},"deadline":{"type":"string","format":"date-time"},"publicAuthorized":{"type":"boolean"},"publicSummary":{"type":"string","maxLength":1500}},"required":["orgId","title","scope","zone","deadline"],"description":"Private by default. Publication requires express publicAuthorized plus a redacted publicSummary."},"RfqInviteInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1}},"required":["orgId"]},"ProposalInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"body":{"type":"string","maxLength":8000,"minLength":1},"amountCents":{"type":"integer","minimum":0,"maximum":100000000},"currency":{"type":"string","enum":["PEN","USD"]}},"required":["orgId","body","amountCents"]},"SlotInput":{"type":"object","properties":{"advisorId":{"type":"string","maxLength":160,"minLength":1},"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"]},"AppointmentInput":{"type":"object","properties":{"slotId":{"type":"string","maxLength":160,"minLength":1}},"required":["slotId"]},"ContentInput":{"type":"object","properties":{"kind":{"type":"string","enum":["article","resource","call"]},"title":{"type":"string","maxLength":200,"minLength":1},"body":{"type":"string","maxLength":30000,"minLength":1},"author":{"type":"string","maxLength":160,"minLength":1},"nature":{"type":"string","enum":["editorial","sponsored","advertisement"]},"source":{"type":"string","maxLength":1000}},"required":["title","body","author"]},"ContentUpdateInput":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"body":{"type":"string","maxLength":30000,"minLength":1}},"required":[]},"ContentTransitionInput":{"type":"object","properties":{"state":{"type":"string","enum":["draft","review","approved","published","archived"]}},"required":["state"]},"ProgramInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"title":{"type":"string","maxLength":200,"minLength":1},"scope":{"type":"string","maxLength":8000,"minLength":1},"agreement":{"type":"string","maxLength":5000,"minLength":1}},"required":["orgId","title","scope","agreement"]},"ProgramMemberInput":{"type":"object","properties":{"personId":{"type":"string","maxLength":160,"minLength":1},"cohort":{"type":"string","maxLength":160,"minLength":1},"sharedFields":{"type":"array","items":{"type":"string","enum":["enrollment","progress","deliverables"]}},"authorizationConfirmed":{"type":"boolean"}},"required":["personId","cohort"],"description":"Any sharedFields require authorizationConfirmed=true. Sponsorship does not give unrestricted access."},"CourseInput":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"teacher":{"type":"string","maxLength":160,"minLength":1},"curriculum":{"type":"string","maxLength":12000,"minLength":1},"durationMinutes":{"type":"integer","minimum":1,"maximum":100000},"lessons":{"type":"integer","minimum":1,"maximum":10000},"requirements":{"type":"string","maxLength":3000,"minLength":1},"conditionsVersion":{"type":"string","maxLength":80,"minLength":1}},"required":["title","teacher","curriculum","durationMinutes","lessons","requirements","conditionsVersion"]},"EnrollmentInput":{"type":"object","properties":{"courseId":{"type":"string","maxLength":160,"minLength":1},"personId":{"type":"string","maxLength":160,"minLength":1},"accessBasis":{"type":"string","enum":["program","sponsored","test"]},"authorization":{"type":"string","maxLength":1000}},"required":["courseId","accessBasis"],"description":"Assigned teacher or authorized institutional manager; test only demo, other bases require documented authorization."},"ProgressInput":{"type":"object","properties":{"completedLessons":{"type":"integer","minimum":0,"maximum":10000}},"required":["completedLessons"]},"AssessmentInput":{"type":"object","properties":{"state":{"type":"string","enum":["passed","failed","pending"]},"evidence":{"type":"string","maxLength":5000}},"required":["state"],"description":"passed requires assessment evidence; assigned teacher/admin only."},"MeetingInput":{"type":"object","properties":{"fromOrg":{"type":"string","maxLength":160,"minLength":1},"toOrg":{"type":"string","maxLength":160,"minLength":1},"startAt":{"type":"string","format":"date-time"},"shareContact":{"type":"boolean"}},"required":["fromOrg","toOrg","startAt"]},"MeetingTransitionInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"state":{"type":"string","enum":["accepted","declined","held","request_received","proposal_presented","agreement_reported","sale_verified","cancelled"]},"followup":{"type":"string","maxLength":5000}},"required":["orgId","state"],"description":"Recipient accepts/declines. sale_verified requires verifier role and evidence; prior click/meeting is not a sale."},"EventInput":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"startAt":{"type":"string","format":"date-time"},"venue":{"type":"string","maxLength":500,"minLength":1},"capacity":{"type":"integer","minimum":1,"maximum":100000},"amountCents":{"type":"integer","minimum":0,"maximum":100000000},"currency":{"type":"string","enum":["PEN","USD"]},"conditionsVersion":{"type":"string","maxLength":80,"minLength":1}},"required":["title","startAt","venue","capacity","amountCents","conditionsVersion"]},"EventConfirmInput":{"type":"object","properties":{"detailsConfirmed":{"type":"boolean","enum":[true]}},"required":["detailsConfirmed"]},"OrderInput":{"type":"object","properties":{"eventId":{"type":"string","maxLength":160,"minLength":1},"conditionsVersion":{"type":"string","maxLength":80,"minLength":1},"accepted":{"type":"boolean","enum":[true]}},"required":["eventId","conditionsVersion","accepted"],"description":"Only synthetic event orders in demo. Amount/currency are loaded on server, never from browser."},"OrderActionInput":{"type":"object","properties":{"reason":{"type":"string","maxLength":3000,"minLength":1}},"required":["reason"]},"TicketRedeemInput":{"type":"object","properties":{"token":{"type":"string","maxLength":200,"minLength":32}},"required":["token"]},"PaymentTestEvent":{"type":"object","properties":{"eventId":{"type":"string","maxLength":120,"minLength":1},"orderId":{"type":"string","maxLength":160,"minLength":1},"mode":{"type":"string","enum":["test"]},"status":{"type":"string","enum":["paid"]},"amountCents":{"type":"integer","minimum":0,"maximum":100000000},"currency":{"type":"string","enum":["PEN","USD"]}},"required":["eventId","orderId","mode","status","amountCents","currency"],"description":"Signed exact raw JSON with HMAC-SHA256(timestamp+\".\"+body). Idempotent event ID; matches server order amount/currency/mode."},"AwardInput":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"rulesVersion":{"type":"string","maxLength":80,"minLength":1},"rules":{"type":"string","maxLength":15000,"minLength":1},"weights":{"type":"object","minProperties":1,"maxProperties":20,"additionalProperties":{"type":"integer","minimum":1,"maximum":100},"description":"All criterion weights must total100."},"deadline":{"type":"string","format":"date-time"}},"required":["title","rulesVersion","rules","weights","deadline"]},"AwardApplicationInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"rulesVersion":{"type":"string","maxLength":80,"minLength":1},"accepted":{"type":"boolean","enum":[true]},"evidence":{"type":"string","maxLength":15000,"minLength":1}},"required":["orgId","rulesVersion","accepted","evidence"]},"AwardAssignInput":{"type":"object","properties":{"applicationId":{"type":"string","maxLength":160,"minLength":1},"personId":{"type":"string","maxLength":160,"minLength":1}},"required":["applicationId","personId"]},"AwardEvaluateInput":{"type":"object","properties":{"assignmentId":{"type":"string","maxLength":160,"minLength":1},"conflict":{"type":"boolean"},"reason":{"type":"string","maxLength":8000,"minLength":1},"scores":{"type":"object","additionalProperties":{"type":"integer","minimum":0,"maximum":100}}},"required":["assignmentId","conflict","reason"],"description":"Explicit conflict declaration. A conflicted judge cannot evaluate; scores cover the edition weights when conflict=false."},"AwardResultsInput":{"type":"object","properties":{"reason":{"type":"string","maxLength":8000,"minLength":1}},"required":["reason"]},"StudyInput":{"type":"object","properties":{"title":{"type":"string","maxLength":200,"minLength":1},"methodology":{"type":"string","maxLength":12000,"minLength":1},"source":{"type":"string","maxLength":3000,"minLength":1},"coverage":{"type":"string","maxLength":2000,"minLength":1},"license":{"type":"string","maxLength":5000,"minLength":1},"aggregates":{"type":"array","maxItems":200,"items":{"type":"object","required":["group","count","value"],"properties":{"group":{"type":"string","maxLength":160,"minLength":1},"count":{"type":"integer","minimum":0,"maximum":100000000},"value":{"type":"number"}}}}},"required":["title","methodology","source","coverage","license","aggregates"]},"StudyGrantInput":{"type":"object","properties":{"personId":{"type":"string","maxLength":160,"minLength":1},"basis":{"type":"string","maxLength":2000,"minLength":1}},"required":["personId","basis"]},"CommunityJoinInput":{"type":"object","properties":{"accepted":{"type":"boolean","enum":[true]},"rulesVersion":{"type":"string","maxLength":80,"minLength":1}},"required":["accepted","rulesVersion"]},"CommunityPostInput":{"type":"object","properties":{"body":{"type":"string","maxLength":6000,"minLength":1}},"required":["body"]},"CommunityReviewInput":{"type":"object","properties":{"state":{"type":"string","enum":["published","rejected","blocked"]}},"required":["state"]},"CommunityReportInput":{"type":"object","properties":{"reason":{"type":"string","maxLength":3000,"minLength":1}},"required":["reason"]},"OfferInput":{"type":"object","properties":{"profileId":{"type":"string","maxLength":160,"minLength":1},"title":{"type":"string","maxLength":200,"minLength":1},"conditions":{"type":"string","maxLength":5000,"minLength":1},"expiresAt":{"type":"string","format":"date-time"},"stock":{"type":["integer","null"],"minimum":0,"maximum":10000000}},"required":["profileId","title","conditions","expiresAt"]},"ContactClickInput":{"type":"object","properties":{"channel":{"type":"string","enum":["website","email","phone"]}},"required":["channel"]},"EmptyInput":{"type":"object","properties":{},"required":[]},"DocumentUploadInput":{"type":"object","properties":{"orgId":{"type":"string","maxLength":160,"minLength":1},"caseId":{"type":"string","maxLength":160,"minLength":1},"name":{"type":"string","maxLength":180,"minLength":1},"contentType":{"type":"string","enum":["application/pdf","image/png","image/jpeg"]},"base64":{"type":"string","maxLength":43692,"minLength":4,"contentEncoding":"base64"},"justification":{"type":"string","maxLength":1500,"minLength":1}},"required":["orgId","name","contentType","base64","justification"],"description":"Synthetic review files only, max32768decoded bytes. MIME signature checked; always starts quarantine. Production503 until private store and scanner verified."},"DocumentReviewInput":{"type":"object","properties":{"evidence":{"type":"string","maxLength":1500,"minLength":1},"confirmed":{"type":"boolean","enum":[true]}},"required":["evidence","confirmed"],"description":"Manual synthetic review only; clean-demo is not an antivirus result and never enables production download."},"DocumentMetadata":{"type":"object","properties":{"id":{"type":"string","maxLength":160,"minLength":1},"orgId":{"type":"string","maxLength":160,"minLength":1},"caseId":{"type":["string","null"]},"name":{"type":"string","maxLength":180},"contentType":{"type":"string","enum":["application/pdf","image/png","image/jpeg"]},"size":{"type":"integer","minimum":1,"maximum":32768},"checksum":{"type":"string","maxLength":64},"status":{"type":"string","enum":["quarantine","clean-demo","clean"]},"justification":{"type":"string","maxLength":1500},"createdAt":{"type":"string","format":"date-time"},"reviewedAt":{"type":["string","null"],"format":"date-time"},"synthetic":{"type":"boolean"},"scanStatus":{"type":"string","enum":["not_scanned","manual_demo_review_not_antivirus","verified_scanner"]}},"required":["id","orgId","name","contentType","size","checksum","status","synthetic"],"description":"No storage key/base64/uploader identity or public download URL."},"WorkspaceActivity":{"type":"object","required":["kind","id","title","state","at"],"properties":{"kind":{"type":"string","enum":["case","profile","quote","course","appointment"]},"id":{"type":"string"},"title":{"type":"string"},"state":{"type":"string"},"at":{"type":"string","format":"date-time"}}}}},"tags":[{"name":"Identity"},{"name":"Legal"},{"name":"Commercial"},{"name":"Learning"},{"name":"Programs"},{"name":"Conecta"},{"name":"Summit"},{"name":"Awards"},{"name":"Data"},{"name":"Community"}]}