{"openapi":"3.1.0","info":{"title":"Stonewake API","description":"Read-only API for Stonewake portfolio monitoring, entity risk, and country intelligence. Documentation and setup guides: https://docs.stonewake.ai. Access is arranged per customer workspace.","termsOfService":"https://stonewake.ai/terms","contact":{"name":"Stonewake","url":"https://stonewake.ai/contact","email":"contact@stonewake.ai"},"license":{"name":"Proprietary","url":"https://stonewake.ai/terms"},"version":"1.0.0"},"servers":[{"url":"https://api.stonewake.ai","description":"Production"}],"paths":{"/org/api-keys":{"post":{"tags":["org"],"summary":"Create Api Key","description":"Issue a machine key for this tenant. The response carries the plaintext\nsecret EXACTLY ONCE: it is not stored and cannot be shown again.","operationId":"create_api_key_org_api_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreateIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreatedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["org"],"summary":"List Api Keys","description":"This tenant's keys, newest first: metadata only, revoked ones included\n(the audit-friendly full history; nothing is ever deleted), plus the\nworkspace's API-access status. Served to unentitled tenants too: visibility\nof existing keys is never gated.","operationId":"list_api_keys_org_api_keys_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyListOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/org/api-keys/{key_id}/revoke":{"post":{"tags":["org"],"summary":"Revoke Api Key","description":"Soft-revoke: set revoked_at (the verifier refuses the key on its next\nrequest). Idempotent: an already-revoked key keeps its original timestamp\nand writes no second audit row. Rows are never deleted.","operationId":"revoke_api_key_org_api_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/portfolio":{"get":{"tags":["v1"],"summary":"List Portfolio","description":"The monitored book, severity first (red, amber, insufficient, not assessed,\ngreen; most recently transitioned first within a tier): the dashboard's exact\nordering and team scoping, paged by limit/offset.","operationId":"list_portfolio_v1_portfolio_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1ExposureOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/portfolio/summary":{"get":{"tags":["v1"],"summary":"Get Portfolio Summary","description":"Status distribution over the ACTIVE book plus the last 30 days' transition\ncount: the dashboard's summary read, served unchanged (no prunes needed).","operationId":"get_portfolio_summary_v1_portfolio_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1PortfolioSummaryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/portfolio/transitions":{"get":{"tags":["v1"],"summary":"List Transitions","description":"The status-change feed, newest first ((occurred_at, id) descending, the\nupstream feed's total order), riding the same merged-node label resolution.\n`since` bounds the feed; the ack workflow stays dashboard-only.","operationId":"list_transitions_v1_portfolio_transitions_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1TransitionOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/entities/{node_id}/risk":{"get":{"tags":["v1"],"summary":"Get Entity Risk","description":"The caller-team's CURRENT assessment for one company node, via its active\nexposure: the node risk read behind the /v1 company wall.\nCanonical path /v1/nodes/{node_id}/risk; the /v1/entities twin is a\ndeprecated registration of THIS handler (parity by construction).","operationId":"get_entity_risk_v1_entities__node_id__risk_get","deprecated":true,"parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1NodeRiskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{node_id}/risk":{"get":{"tags":["v1"],"summary":"Get Entity Risk","description":"The caller-team's CURRENT assessment for one company node, via its active\nexposure: the node risk read behind the /v1 company wall.\nCanonical path /v1/nodes/{node_id}/risk; the /v1/entities twin is a\ndeprecated registration of THIS handler (parity by construction).","operationId":"get_entity_risk_v1_nodes__node_id__risk_get","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1NodeRiskOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/risk-assessments/{assessment_id}":{"get":{"tags":["v1"],"summary":"Get Risk Assessment","description":"One historical assessment by id, the audit trail's permalink (immutable by\nconvention: recomputes append, never edit). Team-scoped exactly upstream.","operationId":"get_risk_assessment_v1_risk_assessments__assessment_id__get","parameters":[{"name":"assessment_id","in":"path","required":true,"schema":{"type":"integer","title":"Assessment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1AssessmentOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/risk-profiles":{"get":{"tags":["v1"],"summary":"List Risk Profiles","description":"The caller-team's rubric versions, newest first (the upstream order).","operationId":"list_risk_profiles_v1_risk_profiles_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1RiskProfileOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/risk-profiles/{version}":{"get":{"tags":["v1"],"summary":"Get Risk Profile","description":"One of the caller-team's versions with its full config, active or not.\nAnother team's version answers the canonical 404, exactly upstream.","operationId":"get_risk_profile_v1_risk_profiles__version__get","parameters":[{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1RiskProfileDetailOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/risk-config":{"get":{"tags":["v1"],"summary":"Get Risk Config","description":"The rubric currently scoring the caller-team's exposures (its active\nprofile, or version=null for the built-in desk default).","operationId":"get_risk_config_v1_risk_config_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1RiskConfigOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/entities":{"get":{"tags":["v1"],"summary":"List Entities","description":"Every counterparty the registry knows, name order.","operationId":"list_entities_v1_entities_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1EntityOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/entities/{entity_id}":{"get":{"tags":["v1"],"summary":"Get Entity","description":"One counterparty's identity row. Another tenant's private row answers the\ncanonical 404 exactly like a missing id (the build_entity_detail contract).","operationId":"get_entity_v1_entities__entity_id__get","parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"integer","title":"Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1EntityOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search":{"get":{"tags":["v1"],"summary":"Search","description":"Find a company by name or identifier (\"lei:5493...\", a bare CRN/CIK/LEI\nshape, or a name for the exact > prefix > token > fuzzy ladder). Queries\nshorter than the server minimum answer an empty result set, never an error.","operationId":"search_v1_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":256,"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":25,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1SearchOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/screenings":{"get":{"tags":["v1"],"summary":"List Screenings","description":"Organization and country screenings, newest first, filterable by the\nsubject's ids, its kind (subject_type), or its name (subject, matched on\nthe normalized form).","operationId":"list_screenings_v1_screenings_get","parameters":[{"name":"entity_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"}},{"name":"node_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Id"}},{"name":"iso3","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":3,"maxLength":3},{"type":"null"}],"title":"Iso3"}},{"name":"subject_type","in":"query","required":false,"schema":{"anyOf":[{"enum":["entity","country"],"type":"string"},{"type":"null"}],"description":"Filter by subject kind, the same vocabulary the response's subject_type field speaks. Person screenings never serve on /v1.","title":"Subject Type"},"description":"Filter by subject kind, the same vocabulary the response's subject_type field speaks. Person screenings never serve on /v1."},{"name":"subject","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"description":"Filter by subject name, matched on the normalized form of the response's subject_name.","title":"Subject"},"description":"Filter by subject name, matched on the normalized form of the response's subject_name."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1ScreeningSummaryOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/screenings/{screening_id}":{"get":{"tags":["v1"],"summary":"Get Screening","description":"One screening with its assessments, grounded findings (quotes capped per\nthe house rule), and sources. Person-subject ids answer 404 exactly like\nunknown ids.","operationId":"get_screening_v1_screenings__screening_id__get","parameters":[{"name":"screening_id","in":"path","required":true,"schema":{"type":"integer","title":"Screening Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1ScreeningDetailOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deals/{deal_id}/screening-rollup":{"get":{"tags":["v1"],"summary":"Deal Screening Rollup","description":"The deal's party identities (plus its primary country), each with its\nlatest screening summary or null. The upstream builder pins every org match\npath to organization screenings and the country path to country screenings,\nso person rows cannot enter; the summary projection re-drops any non-served\nkind as belt.","operationId":"deal_screening_rollup_v1_deals__deal_id__screening_rollup_get","parameters":[{"name":"deal_id","in":"path","required":true,"schema":{"type":"string","title":"Deal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1DealScreeningRollupOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitoring/targets":{"get":{"tags":["v1"],"summary":"List Targets","description":"This tenant's monitoring targets with health, team-scoped like the\ndashboard list.","operationId":"list_targets_v1_monitoring_targets_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1MonitoringTargetOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitoring/catalog":{"get":{"tags":["v1"],"summary":"List Catalog","description":"The caller-desk's verified catalog of monitorable organizations, each\nflagged with whether this tenant already monitors it: the upstream read\n(desk entitlement gate included) behind the one page envelope.","operationId":"list_catalog_v1_monitoring_catalog_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_CatalogEntryOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/monitoring/sources":{"get":{"tags":["v1"],"summary":"List Sources","description":"This tenant's watched pages/feeds (the T1 tier), team-scoped like the\ndashboard list.","operationId":"list_sources_v1_monitoring_sources_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_WatchSourceOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deals":{"get":{"tags":["v1"],"summary":"List V1 Deals","description":"The deal book, ranked and faceted (countries by ISO code; the free-name\nfilter is a dashboard convenience), dismissed deals excluded unless status\nrequests them, the rows the ranker holds back (closed, cancelled, own bank,\ndomestic) off the page unless include_hidden asks for them. Same team scoping\nand the same window first order as the dashboard list.","operationId":"list_v1_deals_v1_deals_get","parameters":[{"name":"stage","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Stage"}},{"name":"country_code","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Country Code"}},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Region"}},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Sector"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Status"}},{"name":"eca","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Eca"}},{"name":"min_value_usd","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Min Value Usd"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Q"}},{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Window"}},{"name":"eca_named","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Eca Named"}},{"name":"include_hidden","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Hidden"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(score|last_activity|value|first_seen)$","default":"score","title":"Sort"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1DealSummaryOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deals/{deal_id}":{"get":{"tags":["v1"],"summary":"Get V1 Deal","description":"One deal with its parties, cited timeline (capped quotes), lifecycle\nevents, sources, and entered terms. A pure read: never marks first-viewed.","operationId":"get_v1_deal_v1_deals__deal_id__get","parameters":[{"name":"deal_id","in":"path","required":true,"schema":{"type":"string","title":"Deal Id"}},{"name":"timeline_limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Timeline Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1DealDetailOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/countries":{"get":{"tags":["v1"],"summary":"List V1 Countries","description":"The countries reference index: every seeded country with this tenant's\nlive-deal rollup, risk score, and list flags: the upstream read verbatim\n(no licence-walled value appears on index rows).","operationId":"list_v1_countries_v1_countries_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountriesIndexOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/countries/{iso3}":{"get":{"tags":["v1"],"summary":"Get V1 Country","description":"One country: cited indicator values (active editions), list memberships\nwith legal citations, reference events, and this tenant's deals there,\nlicence-walled per dataset.","operationId":"get_v1_country_v1_countries__iso3__get","parameters":[{"name":"iso3","in":"path","required":true,"schema":{"type":"string","title":"Iso3"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1CountryDetailOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/reference/datasets":{"get":{"tags":["v1"],"summary":"List V1 Datasets","description":"Every enabled dataset THIS SURFACE serves, with licence, attribution,\nand the active edition's provenance; withheld datasets leave the card.","operationId":"list_v1_datasets_v1_reference_datasets_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DatasetInfoOut"},"title":"Response List V1 Datasets V1 Reference Datasets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/geography/summary":{"get":{"tags":["v1"],"summary":"V1 Geography Summary","description":"The deal book by region and country: live deals only, counts and\nreported value, team-scoped like /v1/deals.","operationId":"v1_geography_summary_v1_geography_summary_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeographySummaryOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/geography/events":{"get":{"tags":["v1"],"summary":"V1 Geography Events","description":"Recent reference-list changes, newest first: listings, delistings, and\nthe watchers' page-change flags, each with its citation.","operationId":"v1_geography_events_v1_geography_events_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1GeographyEventOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{node_id}":{"get":{"tags":["v1"],"summary":"Get Node","description":"One company node with its identifiers and current records as citations.\nA pure read: unlike the dashboard's node page, viewing here never schedules\nan officers backfill or any other connector work.","operationId":"get_node_v1_nodes__node_id__get","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1NodeDetailOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{node_id}/financials":{"get":{"tags":["v1"],"summary":"Get Node Financials","description":"Every filed figure for one company node, newest period first, each\nciting its register record: the upstream read behind the company wall.","operationId":"get_node_financials_v1_nodes__node_id__financials_get","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FinancialFactOut"},"title":"Response Get Node Financials V1 Nodes  Node Id  Financials Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{node_id}/events":{"get":{"tags":["v1"],"summary":"Get Node Events","description":"The register happenings on one company node, grouped and tier-ordered,\nevery row citing its evidencing record where one exists. `group` expands\none rollup into its member rows.","operationId":"get_node_events_v1_nodes__node_id__events_get","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"group","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Group"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1NodeEventsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{node_id}/financing":{"get":{"tags":["v1"],"summary":"Get Node Financing","description":"The debt surface for one company node: charges, listed instruments\n(large books fold into the maturity wall; ?bucket= expands a slice),\ndebt-position facts, the derived block, and per-section coverage states.","operationId":"get_node_financing_v1_nodes__node_id__financing_get","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"include_matured","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Matured"}},{"name":"bucket","in":"query","required":false,"schema":{"anyOf":[{"enum":["within_12m","1_to_2y","2_to_5y","beyond_5y","no_maturity"],"type":"string"},{"type":"null"}],"title":"Bucket"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1FinancingOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/nodes/{node_id}/ownership-chain":{"get":{"tags":["v1"],"summary":"Get Ownership Chain","description":"The upward ownership chains of one company node, composed and cited.\nPersons never serve: a chain reaching a person terminates there with the\nstated terminal reason, exactly as for person-gated tenants.","operationId":"get_ownership_chain_v1_nodes__node_id__ownership_chain_get","parameters":[{"name":"node_id","in":"path","required":true,"schema":{"type":"integer","title":"Node Id"}},{"name":"threshold","in":"query","required":false,"schema":{"type":"number","maximum":100,"exclusiveMinimum":0,"default":25.0,"title":"Threshold"}},{"name":"max_depth","in":"query","required":false,"schema":{"type":"integer","maximum":8,"minimum":1,"default":8,"title":"Max Depth"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1OwnershipChainOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/watches":{"get":{"tags":["v1"],"summary":"List Watches","description":"This tenant's watched company nodes, newest first.","operationId":"list_watches_v1_watches_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1WatchOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/citations/resolve":{"post":{"tags":["v1"],"summary":"Resolve Citations","description":"Batch citation resolution: up to 100 ids per family resolve to their evidence lines in one call. POST carries the id lists as request data; the semantics are a pure, idempotent READ - nothing is created, changed, or enqueued. Unknown ids and ids this surface may not serve answer an explicit null.","operationId":"resolve_citations_v1_citations_resolve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CitationResolveIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1CitationResolveOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/runs":{"get":{"tags":["v1"],"summary":"List Runs","description":"This tenant's research runs, newest first (screening and cost-only rows\nnever serialize; the purpose pin lives in the query).","operationId":"list_runs_v1_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1RunSummaryOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/runs/{run_id}":{"get":{"tags":["v1"],"summary":"Get Run Detail","description":"One research run with its grounded findings (quotes capped per the house\nrule) and cited sources. Non-research run ids answer 404 like unknown ids.","operationId":"get_run_detail_v1_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1RunDetailOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/developments":{"get":{"tags":["v1"],"summary":"List Developments","description":"Recent grounded developments across this tenant's research runs: only\nfindings the verifier could support, research runs only (the upstream feed\ngate), person-typed rows re-dropped as belt.","operationId":"list_developments_v1_developments_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(recent|score)$","default":"recent","title":"Sort"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V1Page_V1DevelopmentOut_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health Get"}}}}}}}},"components":{"schemas":{"ApiKeyCreateIn":{"properties":{"name":{"type":"string","maxLength":120,"minLength":1,"title":"Name"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["name"],"title":"ApiKeyCreateIn"},"ApiKeyCreatedOut":{"properties":{"secret":{"type":"string","title":"Secret"},"key":{"$ref":"#/components/schemas/ApiKeyOut"}},"type":"object","required":["secret","key"],"title":"ApiKeyCreatedOut","description":"The create response: the one and only appearance of the plaintext."},"ApiKeyListOut":{"properties":{"api_access_active":{"type":"boolean","title":"Api Access Active"},"api_access_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Api Access Expires At"},"keys":{"items":{"$ref":"#/components/schemas/ApiKeyOut"},"type":"array","title":"Keys"}},"type":"object","required":["api_access_active","api_access_expires_at","keys"],"title":"ApiKeyListOut","description":"The list envelope: this tenant's keys plus its API-access status, the\nworkspace's read of the entitlement. `api_access_expires_at` (the trial\nend) is populated only while access is active; a dead grant's stale date\nwould mislead."},"ApiKeyOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"role":{"type":"string","title":"Role"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes"},"created_by":{"type":"string","title":"Created By"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"type":"object","required":["id","name","key_prefix","role","scopes","created_by","created_at","last_used_at","expires_at","revoked_at"],"title":"ApiKeyOut","description":"Key metadata: the ONLY shape this surface ever returns for an existing\nkey. No key_hash field exists here by design."},"BandPoints":{"properties":{"green":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Green","default":0},"amber":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Amber","default":60},"red":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Red","default":100}},"additionalProperties":false,"type":"object","title":"BandPoints","description":"Band -> points on the 0-100 risk scale (higher points = worse)."},"BankHealthConfig":{"properties":{"cet1_amber_at":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Cet1 Amber At","default":0.14},"cet1_red_at":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Cet1 Red At","default":0.12},"npl_amber_at":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Npl Amber At","default":0.05},"npl_red_at":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Npl Red At","default":0.08}},"additionalProperties":false,"type":"object","title":"BankHealthConfig","description":"Guarantor bank-health bands over the EBA transparency exercise ratios\n(both fractions; at-or-beyond semantics, the band_from_edges convention).\nDefaults, each justified against the TE2025 edition (119 banks, reference\n2025-06-30) and the regulatory floors; config owns these numbers:\n\n* CET1 (lower is worse): amber at or below 14%, red at or below 12%. The\n  binding CET1 stack for a typical EU bank (4.5% Pillar 1 + 2.5% capital\n  conservation buffer + the CET1 share of P2R and systemic/countercyclical\n  buffers) puts the MDA trigger around 9-11%, so 12% means the management\n  buffer over the distribution-restriction line has thinned to roughly a\n  point, and 12% is below EVERY bank in TE2025 (sample minimum 12.25%).\n  14% is the sample's bottom decile (p10 13.8%, 13 of 119 banks below):\n  a guarantor bank there is an outlier among EU peers, worth an amber.\n* NPL (higher is worse): amber at or above 5%, red at or above 8%. 5% is\n  the regulator's own high-NPL line (EBA/GL/2018/06 applies its NPE\n  strategy requirements to banks at or above a 5% gross NPL ratio) and\n  sits past the sample's p95 (4.6%; 5 of 107 banks above 5%). 8% is\n  roughly four times the TE2025 median (2.08%) and beyond every bank in\n  the exercise (max 6.88%): asset-quality distress by EU standards."},"CatalogEntryOut":{"properties":{"entity":{"type":"string","title":"Entity"},"entity_type":{"type":"string","title":"Entity Type"},"region":{"type":"string","title":"Region"},"country":{"type":"string","title":"Country"},"description":{"type":"string","title":"Description"},"context":{"type":"string","title":"Context"},"recommended":{"type":"boolean","title":"Recommended"},"cadence_seconds":{"type":"integer","title":"Cadence Seconds"},"added":{"type":"boolean","title":"Added"}},"type":"object","required":["entity","entity_type","region","country","description","context","recommended","cadence_seconds","added"],"title":"CatalogEntryOut","description":"A verified-catalog entry the picker renders, with `added` telling the UI which entities\nthis tenant already monitors (so they show as added rather than selectable)."},"ChargeLenderOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"edge":{"$ref":"#/components/schemas/GraphEdgeOut"}},"type":"object","required":["node_id","label","edge"],"title":"ChargeLenderOut"},"Citation":{"properties":{"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edition"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"citation_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Note"},"source_page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Page Url"},"source_page_exact":{"type":"boolean","title":"Source Page Exact","default":false}},"type":"object","title":"Citation","description":"Where a component's raw input came from (dataset edition or, later, findings).\nPydantic so the API serves it directly (no wire-model copy); the PreviewItem rule."},"CitationResolveIn":{"properties":{"record_ids":{"items":{"type":"integer"},"type":"array","maxItems":100,"title":"Record Ids"},"event_ids":{"items":{"type":"integer"},"type":"array","maxItems":100,"title":"Event Ids"},"assessment_ids":{"items":{"type":"integer"},"type":"array","maxItems":100,"title":"Assessment Ids"}},"additionalProperties":false,"type":"object","title":"CitationResolveIn"},"ComponentRow":{"properties":{"component":{"type":"string","title":"Component"},"label":{"type":"string","title":"Label"},"weight":{"type":"number","title":"Weight"},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw"},"normalized":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Normalized"},"contribution":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contribution"},"missing":{"type":"boolean","title":"Missing"},"citation":{"anyOf":[{"$ref":"#/components/schemas/Citation"},{"type":"null"}]}},"type":"object","required":["component","label","weight","raw","normalized","contribution","missing","citation"],"title":"ComponentRow","description":"Persisted inside country_risk_scores.breakdown and served verbatim by the API.\nCONVENTION: new fields must ship with defaults: old stored rows re-validate\nthrough this model until the engine-version digest bump rewrites them."},"CountriesIndexOut":{"properties":{"regions":{"items":{"$ref":"#/components/schemas/RegionInfoOut"},"type":"array","title":"Regions"},"countries":{"items":{"$ref":"#/components/schemas/CountryListItemOut"},"type":"array","title":"Countries"},"unassigned":{"$ref":"#/components/schemas/UnassignedOut"}},"type":"object","required":["regions","countries","unassigned"],"title":"CountriesIndexOut"},"CountryEventOut":{"properties":{"event_type":{"type":"string","title":"Event Type"},"effective_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective Date"},"title":{"type":"string","title":"Title"},"citation_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Note"},"citation_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Url"},"source_page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Page Url"},"source_page_exact":{"type":"boolean","title":"Source Page Exact","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["event_type","effective_date","title","citation_note","citation_url","created_at"],"title":"CountryEventOut"},"CountryListItemOut":{"properties":{"iso3":{"type":"string","title":"Iso3"},"name":{"type":"string","title":"Name"},"region":{"type":"string","title":"Region"},"deal_count":{"type":"integer","title":"Deal Count"},"total_value_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Value Usd"},"eu_aml_listed":{"type":"boolean","title":"Eu Aml Listed"},"fatf_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fatf Status"},"sanctions_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sanctions Status"},"risk_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Risk Score"}},"type":"object","required":["iso3","name","region","deal_count","total_value_usd","eu_aml_listed","fatf_status","sanctions_status","risk_score"],"title":"CountryListItemOut"},"CountryRollupOut":{"properties":{"iso3":{"type":"string","title":"Iso3"},"name":{"type":"string","title":"Name"},"deal_count":{"type":"integer","title":"Deal Count"},"total_value_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Value Usd"},"risk_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Risk Score"}},"type":"object","required":["iso3","name","deal_count","total_value_usd","risk_score"],"title":"CountryRollupOut"},"DatasetInfoOut":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"name":{"type":"string","title":"Name"},"publisher":{"type":"string","title":"Publisher"},"kind":{"type":"string","title":"Kind"},"license":{"type":"string","title":"License"},"license_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License Url"},"attribution_text":{"type":"string","title":"Attribution Text"},"homepage_url":{"type":"string","title":"Homepage Url"},"refresh":{"type":"string","title":"Refresh"},"needs_review":{"type":"boolean","title":"Needs Review"},"stale":{"type":"boolean","title":"Stale"},"last_verified_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Verified At"},"active_edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Active Edition"},"as_of":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"As Of"},"retrieved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Retrieved At"}},"type":"object","required":["dataset_id","name","publisher","kind","license","license_url","attribution_text","homepage_url","refresh","needs_review","stale"],"title":"DatasetInfoOut"},"DealEconomicsOut":{"properties":{"eca_product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eca Product"},"financed_amount_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Financed Amount Usd"},"financed_amount_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Financed Amount Raw"},"down_payment_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Down Payment Pct"},"tenor_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tenor Years"},"repayment_profile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Repayment Profile"},"starting_point_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Starting Point Note"},"interest_basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Basis"},"margin_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Margin Note"},"cover_political_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cover Political Pct"},"cover_commercial_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cover Commercial Pct"},"premium_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Premium Note"},"security_package":{"items":{"type":"string"},"type":"array","title":"Security Package","default":[]},"conditions":{"items":{"type":"string"},"type":"array","title":"Conditions","default":[]},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","title":"DealEconomicsOut","description":"The deal's analyst-entered financing terms, all optional (the pack renders\nlabelled fill-in slots for absent fields). `updated_by` stays off the wire:\nthe detail shows WHEN terms were entered, the audit ledger knows by whom."},"DebtFactOut":{"properties":{"id":{"type":"integer","title":"Id"},"period_end":{"type":"string","format":"date","title":"Period End"},"basis":{"type":"string","title":"Basis"},"metric":{"type":"string","title":"Metric"},"value_numeric":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Value Numeric"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"consolidated":{"type":"boolean","title":"Consolidated"},"confidence_label":{"type":"string","title":"Confidence Label"},"citation":{"$ref":"#/components/schemas/FactCitationOut"}},"type":"object","required":["id","period_end","basis","metric","value_numeric","currency","consolidated","confidence_label","citation"],"title":"DebtFactOut","description":"One debt-position figure exactly as filed, with its locked confidence label\n(DE accounts declare, register filings state; zero new vocabulary)."},"DebtPositionOut":{"properties":{"metric":{"type":"string","title":"Metric"},"basis":{"type":"string","title":"Basis"},"consolidated":{"type":"boolean","title":"Consolidated"},"latest_id":{"type":"integer","title":"Latest Id"},"delta_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delta Line"},"earlier_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earlier Line"},"earlier_ids":{"items":{"type":"integer"},"type":"array","title":"Earlier Ids"}},"type":"object","required":["metric","basis","consolidated","latest_id","delta_line","earlier_line","earlier_ids"],"title":"DebtPositionOut","description":"One (metric, basis, consolidated) key of the debt position: the LATEST filed\nfigure leads the card with its derived delta line; older periods fold behind\nthe locked earlier-periods line. All ids reference rows of the flat debt_facts\nledger: a fold expands by lookup, never by a second serialization."},"DerivedOut":{"properties":{"rules_version":{"type":"integer","title":"Rules Version"},"lines":{"items":{"type":"string"},"type":"array","title":"Lines"}},"type":"object","required":["rules_version","lines"],"title":"DerivedOut"},"DeskEconomicsOut":{"properties":{"desk":{"type":"string","title":"Desk"},"fields":{"additionalProperties":true,"type":"object","title":"Fields"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["desk","fields"],"title":"DeskEconomicsOut","description":"Analyst-entered terms stored in the deals.desk_fields satellite (D3): the\ndesk whose schema validated them (self-describing - a later team-desk change\nnever re-labels stored terms), the stored fields, and when they were entered.\nThe founding desk's table row keeps the `economics` field; `updated_by`\nstays off the wire (the DealEconomicsOut rule - the audit ledger knows)."},"EdgeCitationOut":{"properties":{"record_id":{"type":"integer","title":"Record Id"},"connector_id":{"type":"string","title":"Connector Id"},"register":{"type":"string","title":"Register"},"external_id":{"type":"string","title":"External Id"},"source_url":{"type":"string","title":"Source Url"},"retrieved_at":{"type":"string","format":"date-time","title":"Retrieved At"},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"}},"type":"object","required":["record_id","connector_id","external_id","source_url","retrieved_at","attribution"],"title":"EdgeCitationOut"},"EnergyAssetsOut":{"properties":{"units":{"type":"integer","title":"Units"},"total_mw":{"type":"number","title":"Total Mw"},"technologies":{"items":{"type":"string"},"type":"array","title":"Technologies"},"earliest_cod":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Earliest Cod"},"latest_cod":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Latest Cod"}},"type":"object","required":["units","total_mw","technologies","earliest_cod","latest_cod"],"title":"EnergyAssetsOut","description":"The attrs.mastr node annotation (the F6 writer's exact shape, mastr.py)\nprojected field for field: the FIVE specced keys and nothing else (FDA 6.3;\ncitation-only, design 1.3). Serialized for every desk; display is desk-gated."},"EntityRiskConfig":{"properties":{"desk":{"type":"string","enum":["corporate","pf_slotting","ef_country_obligor","cre_overlay"],"title":"Desk"},"family_weights":{"additionalProperties":{"type":"number"},"type":"object","title":"Family Weights"},"signals":{"additionalProperties":{"$ref":"#/components/schemas/SignalSetting"},"type":"object","title":"Signals"},"band_points":{"$ref":"#/components/schemas/BandPoints","default":{"green":0.0,"amber":60.0,"red":100.0}},"rollup":{"$ref":"#/components/schemas/RollupConfig","default":{"amber_from":30.0,"red_from":60.0,"min_completeness":0.4}},"slotting":{"anyOf":[{"$ref":"#/components/schemas/SlottingConfig"},{"type":"null"}]},"bank_health":{"$ref":"#/components/schemas/BankHealthConfig"},"refi":{"$ref":"#/components/schemas/RefiConfig"}},"additionalProperties":false,"type":"object","required":["desk","family_weights","signals"],"title":"EntityRiskConfig","description":"The versioned rubric: desk discriminator, family weights, per-signal\nsettings, band points, and roll-up. Signals are keyed by their canonical\nsignal id (the id the engine's producers emit); every signal must name a\ndeclared family, and every family must carry at least one signal, so a\nweight can never point at nothing."},"EventAttrsOut":{"properties":{"form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form"},"items":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Items"},"accession_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accession No"},"accession_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accession Url"},"charge_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Charge Code"},"case":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case"}},"type":"object","title":"EventAttrsOut","description":"The citation-safe stored-attr subset the headline templates and citation\nverbs read (register-stated identifiers and the G3 filing page link only;\nnever a payload passthrough)."},"FactCitationOut":{"properties":{"record_id":{"type":"integer","title":"Record Id"},"connector_id":{"type":"string","title":"Connector Id"},"register":{"type":"string","title":"Register"},"external_id":{"type":"string","title":"External Id"},"source_url":{"type":"string","title":"Source Url"},"retrieved_at":{"type":"string","format":"date-time","title":"Retrieved At"},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deep Link"}},"type":"object","required":["record_id","connector_id","external_id","source_url","retrieved_at"],"title":"FactCitationOut"},"FinancialFactOut":{"properties":{"id":{"type":"integer","title":"Id"},"period_end":{"type":"string","format":"date","title":"Period End"},"basis":{"type":"string","title":"Basis"},"metric":{"type":"string","title":"Metric"},"value_numeric":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Value Numeric"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"consolidated":{"type":"boolean","title":"Consolidated"},"citation":{"$ref":"#/components/schemas/FactCitationOut"}},"type":"object","required":["id","period_end","basis","metric","value_numeric","currency","consolidated","citation"],"title":"FinancialFactOut","description":"One reported figure exactly as filed: typed, period-keyed, cited."},"FinancingCoverageOut":{"properties":{"section":{"type":"string","title":"Section"},"state":{"type":"string","title":"State"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"lines":{"items":{"type":"string"},"type":"array","title":"Lines"}},"type":"object","required":["section","state","reason","lines"],"title":"FinancingCoverageOut","description":"One section's coverage state (matrix CELL_STATES vocabulary) with the locked\nsentences the card renders in its absence/gap boxes."},"GeographySummaryOut":{"properties":{"regions":{"items":{"$ref":"#/components/schemas/RegionRollupOut"},"type":"array","title":"Regions"},"unassigned":{"$ref":"#/components/schemas/UnassignedOut"}},"type":"object","required":["regions","unassigned"],"title":"GeographySummaryOut"},"GraphEdgeOut":{"properties":{"id":{"type":"integer","title":"Id"},"src_node_id":{"type":"integer","title":"Src Node Id"},"dst_node_id":{"type":"integer","title":"Dst Node Id"},"edge_type":{"type":"string","title":"Edge Type"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pct"},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From"},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To"},"current":{"type":"boolean","title":"Current"},"citation":{"$ref":"#/components/schemas/EdgeCitationOut"}},"type":"object","required":["id","src_node_id","dst_node_id","edge_type","role","pct","valid_from","valid_to","current","citation"],"title":"GraphEdgeOut"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"IndicatorOut":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"dataset_name":{"type":"string","title":"Dataset Name"},"metric":{"type":"string","title":"Metric"},"label":{"type":"string","title":"Label"},"value_numeric":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value Numeric"},"value_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Text"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"edition":{"type":"string","title":"Edition"},"as_of":{"type":"string","format":"date","title":"As Of"},"source_url":{"type":"string","title":"Source Url"},"source_page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Page Url"},"source_page_exact":{"type":"boolean","title":"Source Page Exact","default":false},"attribution_text":{"type":"string","title":"Attribution Text"}},"type":"object","required":["dataset_id","dataset_name","metric","label","value_numeric","value_text","year","edition","as_of","source_url","attribution_text"],"title":"IndicatorOut"},"InstrumentOut":{"properties":{"isin":{"type":"string","title":"Isin"},"name_verbatim":{"type":"string","title":"Name Verbatim"},"maturity_line":{"type":"string","title":"Maturity Line"},"maturity_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Maturity Date"},"nominal":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Nominal"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"citations":{"items":{"$ref":"#/components/schemas/FactCitationOut"},"type":"array","title":"Citations"}},"type":"object","required":["isin","name_verbatim","maturity_line","maturity_date","nominal","currency","as_of","citations"],"title":"InstrumentOut","description":"One listed instrument, dual-listed rows collapsed by ISIN: the newest as_of\nleads the values, BOTH register citations render (leader first)."},"MaturityWallOut":{"properties":{"threshold":{"type":"integer","title":"Threshold"},"buckets":{"items":{"$ref":"#/components/schemas/WallBucketOut"},"type":"array","title":"Buckets"}},"type":"object","required":["threshold","buckets"],"title":"MaturityWallOut","description":"The folded listed-debt answer for an active book beyond WALL_THRESHOLD:\nbucket rows in spec order, empty buckets absent. Present ONLY on the default\nview (no bucket param, matured excluded); every row expands to its slice."},"MembershipOut":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"dataset_name":{"type":"string","title":"Dataset Name"},"status":{"type":"string","title":"Status"},"effective_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Effective Date"},"citation_note":{"type":"string","title":"Citation Note"},"citation_url":{"type":"string","title":"Citation Url"},"source_page_exact":{"type":"boolean","title":"Source Page Exact","default":false}},"type":"object","required":["dataset_id","dataset_name","status","effective_date","citation_note","citation_url"],"title":"MembershipOut"},"NodeEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"headline":{"type":"string","title":"Headline"},"attrs":{"$ref":"#/components/schemas/EventAttrsOut"},"citation":{"anyOf":[{"$ref":"#/components/schemas/FactCitationOut"},{"type":"null"}]}},"type":"object","required":["id","event_type","occurred_at","headline","attrs","citation"],"title":"NodeEventOut","description":"One register happening, headline server-rendered from the locked vocabulary\n(graph/event_vocab.py). `citation` is None only where the evidence is a\nrecord's ABSENCE (record_gone after compaction): stated, never invented."},"OwnershipComposedOut":{"properties":{"figure":{"type":"string","title":"Figure"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"dimension":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dimension"},"threshold_state":{"type":"string","title":"Threshold State"},"threshold_label":{"type":"string","title":"Threshold Label"}},"type":"object","required":["figure","label","dimension","threshold_state","threshold_label"],"title":"OwnershipComposedOut","description":"The derived line per path (3.4): figure + label verbatim from the algebra,\nthreshold state per rule 6 with 4.4 stale demotion and 4.3 conflict override."},"OwnershipConflictOut":{"properties":{"kind":{"type":"string","title":"Kind"},"record_ids":{"items":{"type":"integer"},"type":"array","title":"Record Ids"}},"type":"object","required":["kind","record_ids"],"title":"OwnershipConflictOut","description":"One 4.3 conflict; record_ids ALWAYS carry both sides."},"OwnershipCoverageLaneOut":{"properties":{"connector_id":{"type":"string","title":"Connector Id"},"register":{"type":"string","title":"Register"},"lane":{"type":"string","title":"Lane"}},"type":"object","required":["connector_id","lane"],"title":"OwnershipCoverageLaneOut","description":"One catalog connector that would cover an insufficient root."},"OwnershipCoverageOut":{"properties":{"verdict":{"type":"string","title":"Verdict"},"wording":{"type":"string","title":"Wording"},"branches_total":{"type":"integer","title":"Branches Total"},"branches_resolved":{"type":"integer","title":"Branches Resolved"},"register":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Register"},"lane":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lane"},"missing_links":{"items":{"$ref":"#/components/schemas/OwnershipMissingLinkOut"},"type":"array","title":"Missing Links"},"lanes":{"items":{"$ref":"#/components/schemas/OwnershipCoverageLaneOut"},"type":"array","title":"Lanes"}},"type":"object","required":["verdict","wording","branches_total","branches_resolved","lane","missing_links","lanes"],"title":"OwnershipCoverageOut","description":"The coverage verdict: the product's honest per-node answer to \"can this\ngraph be relied on for beneficial ownership\". Deterministic, zero LLM;\ntokens are the chain_coverage vocabulary, wording renders verbatim."},"OwnershipHopOut":{"properties":{"owner_id":{"type":"integer","title":"Owner Id"},"value":{"$ref":"#/components/schemas/OwnershipValueOut"},"confidence_label":{"type":"string","title":"Confidence Label"},"as_of_suffix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"As Of Suffix"},"staleness":{"type":"string","title":"Staleness"},"witnesses":{"items":{"$ref":"#/components/schemas/OwnershipWitnessOut"},"type":"array","title":"Witnesses"},"conflicts":{"items":{"$ref":"#/components/schemas/OwnershipConflictOut"},"type":"array","title":"Conflicts"},"notes":{"items":{"type":"string"},"type":"array","title":"Notes"},"annotations":{"items":{"type":"string"},"type":"array","title":"Annotations"}},"type":"object","required":["owner_id","value","confidence_label","as_of_suffix","staleness","witnesses","conflicts","notes","annotations"],"title":"OwnershipHopOut","description":"One owner on a path: the composition-primary value plus EVERY witness\nverbatim, the rubric verdict, and the conflict set (both sides render)."},"OwnershipMissingLinkOut":{"properties":{"node_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Id"},"label":{"type":"string","title":"Label"},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"reason":{"type":"string","title":"Reason"},"wording":{"type":"string","title":"Wording"},"register":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Register"},"lane":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lane"},"record_ids":{"items":{"type":"integer"},"type":"array","title":"Record Ids"}},"type":"object","required":["node_id","label","jurisdiction","reason","wording","lane","record_ids"],"title":"OwnershipMissingLinkOut","description":"One named missing link (chain_coverage): the node (None for record-only\nowners), the jurisdiction, WHY (machine token + client wording), and the\nregister and connector class that would fill it where the catalog knows one."},"OwnershipParamsOut":{"properties":{"threshold":{"type":"number","title":"Threshold"},"max_depth":{"type":"integer","title":"Max Depth"},"max_paths":{"type":"integer","title":"Max Paths"},"max_visited":{"type":"integer","title":"Max Visited"},"include_persons":{"type":"boolean","title":"Include Persons"}},"type":"object","required":["threshold","max_depth","max_paths","max_visited","include_persons"],"title":"OwnershipParamsOut","description":"The 4.6 params echo: what this payload was computed with."},"OwnershipPathOut":{"properties":{"hops":{"items":{"$ref":"#/components/schemas/OwnershipHopOut"},"type":"array","title":"Hops"},"composed":{"anyOf":[{"$ref":"#/components/schemas/OwnershipComposedOut"},{"type":"null"}]},"terminal":{"$ref":"#/components/schemas/OwnershipTerminalOut"},"min_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Min As Of"}},"type":"object","required":["hops","composed","terminal","min_as_of"],"title":"OwnershipPathOut"},"OwnershipTerminalOut":{"properties":{"reason":{"type":"string","title":"Reason"},"wording":{"type":"string","title":"Wording"},"gated":{"type":"boolean","title":"Gated"},"coverage_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Reason"},"cycle_member_ids":{"items":{"type":"integer"},"type":"array","title":"Cycle Member Ids"},"cycle_edges":{"items":{"$ref":"#/components/schemas/GraphEdgeOut"},"type":"array","title":"Cycle Edges"},"statement_kinds":{"items":{"type":"string"},"type":"array","title":"Statement Kinds","default":[]}},"type":"object","required":["reason","wording","gated","coverage_reason","cycle_member_ids","cycle_edges"],"title":"OwnershipTerminalOut","description":"Why the path ended, as a first-class fact (3.3): the reason token, the\nregister's words, the D4 gated flag, and cited cycle edges where they exist."},"OwnershipTotalOut":{"properties":{"owner_node_id":{"type":"integer","title":"Owner Node Id"},"figure":{"type":"string","title":"Figure"},"label":{"type":"string","title":"Label"},"dimension":{"type":"string","title":"Dimension"},"threshold_state":{"type":"string","title":"Threshold State"},"threshold_label":{"type":"string","title":"Threshold Label"}},"type":"object","required":["owner_node_id","figure","label","dimension","threshold_state","threshold_label"],"title":"OwnershipTotalOut","description":"3.4 rule 5: an aggregate renders ONLY when its conditions held; anything\nelse stays per-path lines, so a missing total is meaningful, never a bug."},"OwnershipValueOut":{"properties":{"kind":{"type":"string","title":"Kind"},"dimension":{"type":"string","title":"Dimension"},"text":{"type":"string","title":"Text"},"pct":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pct"},"derived":{"type":"boolean","title":"Derived","default":false},"band_lo":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Band Lo"},"band_hi":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Band Hi"},"band_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Band Slug"},"shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Shares"},"share_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Share Total"},"share_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Class"},"natures":{"items":{"type":"string"},"type":"array","title":"Natures","default":[]},"designation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Designation"}},"type":"object","required":["kind","dimension","text"],"title":"OwnershipValueOut","description":"One witness value, verbatim: `text` is the display line, the typed fields\nare the replay data. A band carries bounds and its register slug ONLY."},"OwnershipWitnessOut":{"properties":{"record_id":{"type":"integer","title":"Record Id"},"connector_id":{"type":"string","title":"Connector Id"},"source_class":{"type":"string","title":"Source Class"},"staleness":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Staleness"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"as_of_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"As Of Label"},"value":{"$ref":"#/components/schemas/OwnershipValueOut"},"edge":{"$ref":"#/components/schemas/GraphEdgeOut"}},"type":"object","required":["record_id","connector_id","source_class","staleness","as_of","as_of_label","value","edge"],"title":"OwnershipWitnessOut","description":"One witness edge on a hop: its own value, its rubric inputs, and the edge in\nthe citation-drawer shape (GraphEdgeOut, citation REQUIRED)."},"RecordSummaryOut":{"properties":{"record_id":{"type":"integer","title":"Record Id"},"connector_id":{"type":"string","title":"Connector Id"},"register":{"type":"string","title":"Register"},"record_type":{"type":"string","title":"Record Type"},"external_id":{"type":"string","title":"External Id"},"source_url":{"type":"string","title":"Source Url"},"retrieved_at":{"type":"string","format":"date-time","title":"Retrieved At"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"},"verify_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verify Status"}},"type":"object","required":["record_id","connector_id","record_type","external_id","source_url","retrieved_at","as_of","verify_status"],"title":"RecordSummaryOut","description":"A record as citation, never as payload: the register link is the evidence."},"RefiConfig":{"properties":{"shock_bps":{"items":{"type":"integer"},"type":"array","title":"Shock Bps","default":[0,100,200]},"bucket":{"type":"string","enum":["ig","hy"],"title":"Bucket","default":"ig"},"eur_ig_us_proxy":{"type":"boolean","title":"Eur Ig Us Proxy","default":false},"regime_amber_pct":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Regime Amber Pct","default":0.75},"regime_red_pct":{"type":"number","exclusiveMaximum":1.0,"exclusiveMinimum":0.0,"title":"Regime Red Pct","default":0.9},"regime_widening_bps":{"type":"number","exclusiveMinimum":0.0,"title":"Regime Widening Bps","default":100.0}},"additionalProperties":false,"type":"object","title":"RefiConfig","description":"Scenario and regime knobs. Defaults are the design's launch set:\nshocks +0/+100/+200bp; investment-grade bucket; spread regime amber at or\nbeyond the trailing-window p75, red at or beyond p90 or on a 100bp\nwidening inside 30 days (launch calibration, tenant-tunable);\n`eur_ig_us_proxy` off: no FRED series exists for EUR IG corporate OAS\n(verified 07-23), so EUR IG exposures get the curve-delta shock only\nunless a team explicitly opts into the US IG series as a cross-market\nproxy, which is then printed as such on every rendering."},"RegionInfoOut":{"properties":{"region":{"type":"string","title":"Region"},"label":{"type":"string","title":"Label"}},"type":"object","required":["region","label"],"title":"RegionInfoOut"},"RegionRollupOut":{"properties":{"region":{"type":"string","title":"Region"},"label":{"type":"string","title":"Label"},"deal_count":{"type":"integer","title":"Deal Count"},"total_value_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Value Usd"},"countries":{"items":{"$ref":"#/components/schemas/CountryRollupOut"},"type":"array","title":"Countries"}},"type":"object","required":["region","label","deal_count","total_value_usd","countries"],"title":"RegionRollupOut"},"ResolvedEventOut":{"properties":{"event_id":{"type":"integer","title":"Event Id"},"event_type":{"type":"string","title":"Event Type"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"node_label":{"type":"string","title":"Node Label"},"record":{"anyOf":[{"$ref":"#/components/schemas/RecordSummaryOut"},{"type":"null"}]},"filing_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filing Url"}},"type":"object","required":["event_id","event_type","occurred_at","node_label","record","filing_url"],"title":"ResolvedEventOut","description":"One register happening as evidence: raw event_type (the web humanizes it via\nthe events-card vocabulary), the node it sits on, its record lineage under the\nSAME resolution as the records family, and the connector-stored filing link."},"ResolvedScreeningOut":{"properties":{"assessment_id":{"type":"integer","title":"Assessment Id"},"screening_id":{"type":"integer","title":"Screening Id"},"category":{"type":"string","title":"Category"},"verdict":{"type":"string","title":"Verdict"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"screening_status":{"type":"string","title":"Screening Status"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["assessment_id","screening_id","category","verdict","reviewed_at","screening_status","completed_at"],"title":"ResolvedScreeningOut","description":"One confirmed screening verdict with its screening's id/status/date: enough\nfor the drawer to state the line and deep-link the in-app screening page."},"RollupConfig":{"properties":{"amber_from":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Amber From","default":30},"red_from":{"type":"number","maximum":100.0,"minimum":0.0,"title":"Red From","default":60},"min_completeness":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Min Completeness","default":0.4}},"additionalProperties":false,"type":"object","title":"RollupConfig","description":"Weighted score -> entity status. At or above `red_from` the entity is red,\nat or above `amber_from` amber, else green. Below `min_completeness` of the\nSEEN share (evidenced plus register-quiet weight over applicable weight;\nconservative assumed rows never count here) AND with at least one open gap,\nthe status is `insufficient`, never a green built on missing data."},"SignalSetting":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":true},"family":{"type":"string","title":"Family"},"direction":{"type":"string","enum":["higher_is_worse","lower_is_worse"],"title":"Direction","default":"higher_is_worse"},"amber_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amber At"},"red_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Red At"},"lookback_periods":{"type":"integer","minimum":1.0,"title":"Lookback Periods","default":1},"on_missing":{"type":"string","enum":["abstain","conservative"],"title":"On Missing","default":"abstain"},"override":{"anyOf":[{"type":"string","enum":["red_cap","amber_floor"]},{"type":"null"}],"title":"Override"},"weight":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Weight"}},"additionalProperties":false,"type":"object","required":["family"],"title":"SignalSetting","description":"One monitored signal's knobs. `family` names the family_weights entry the\nsignal rolls into; `weight` is its share WITHIN that family (None = equal\nsplit across the family's enabled signals). `override` lets a signal act on\nthe overall status regardless of weights: `red_cap` caps the entity at red\nwhen the signal is red (it can never be argued away by good fundamentals);\n`amber_floor` floors the entity at amber when the signal is amber or worse."},"SlottingConfig":{"properties":{"factor_weights":{"additionalProperties":{"type":"number"},"type":"object","title":"Factor Weights"},"counterparty_degradation":{"type":"boolean","title":"Counterparty Degradation","default":true},"good_from":{"type":"number","maximum":4.0,"minimum":1.0,"title":"Good From","default":1.5},"satisfactory_from":{"type":"number","maximum":4.0,"minimum":1.0,"title":"Satisfactory From","default":2.5},"weak_from":{"type":"number","maximum":4.0,"minimum":1.0,"title":"Weak From","default":3.5}},"additionalProperties":false,"type":"object","title":"SlottingConfig","description":"PF supervisory-slotting knobs: factor weights over the five CRE33.13\nfactors. The EBA RTS\n(Delegated Regulation (EU) 2021/598 under CRR Art 153(9)) mandates a\nweighted average of the factors with INSTITUTION-CONFIGURABLE weights, so\nthe weights are config, not code. Defaults are the neutral equal split\n(20 each): the RTS prescribes no default weighting but Art 2(2) BOUNDS\nevery factor weight (floor 5%, cap 60%), enforced by the validator below;\nwithin those bounds equal is the launch judgment, tenant-tunable like\nevery weight table.\n\n`good_from`/`satisfactory_from`/`weak_from` are the category cutoffs on\nthe 1 (strong) to 4 (weak) weighted-average scale, at-or-beyond semantics\n(the band_from_edges convention): below good_from the category is strong;\nthe launch defaults 1.5/2.5/3.5 round a half-grade toward the WORSE\ncategory (an average sitting exactly between two grades never rounds\ntoward the better one). `counterparty_degradation` arms the worsen-only\ncounterparty overlay (slotting module); off, only origination grades score."},"UnassignedOut":{"properties":{"deal_count":{"type":"integer","title":"Deal Count"},"names":{"items":{"type":"string"},"type":"array","title":"Names"}},"type":"object","required":["deal_count","names"],"title":"UnassignedOut"},"V1AssessmentOut":{"properties":{"id":{"type":"integer","title":"Id"},"exposure_id":{"type":"integer","title":"Exposure Id"},"node_id":{"type":"integer","title":"Node Id"},"status":{"type":"string","title":"Status"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"signals":{"items":{"$ref":"#/components/schemas/V1SignalOut"},"type":"array","title":"Signals"},"completeness":{"type":"number","title":"Completeness","description":"Weight share of applicable signals that carry a band, including bands assumed for missing data under a conservative on_missing posture. Compare evidence_completeness, which counts evidence only."},"evidence_completeness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Evidence Completeness","description":"Weight share backed by actual evidence; assumed bands never count, so this never exceeds completeness. This is the figure the insufficient-status floor reads. Null on assessments computed before engine v3."},"coverage_below_floor":{"type":"boolean","title":"Coverage Below Floor"},"profile_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Profile Version"},"engine_version":{"type":"integer","title":"Engine Version"},"computed_at":{"type":"string","format":"date-time","title":"Computed At"},"is_current":{"type":"boolean","title":"Is Current"}},"type":"object","required":["id","exposure_id","node_id","status","score","signals","completeness","evidence_completeness","coverage_below_floor","profile_version","engine_version","computed_at","is_current"],"title":"V1AssessmentOut","description":"One materialized scoring run (append-only history), signals projected per\nv1/signals.py. coverage_below_floor is the read-time honesty flag: evidence\ncoverage sits below the owning team's active profile floor."},"V1ChargeOut":{"properties":{"external_id":{"type":"string","title":"External Id"},"status_line":{"type":"string","title":"Status Line"},"security_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Security Line"},"flags":{"items":{"type":"string"},"type":"array","title":"Flags"},"status_rank":{"type":"integer","title":"Status Rank"},"created_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Created On"},"satisfied_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Satisfied On"},"lenders":{"items":{"$ref":"#/components/schemas/ChargeLenderOut"},"type":"array","title":"Lenders"},"citation":{"$ref":"#/components/schemas/FactCitationOut"},"classification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classification"},"particulars_excerpt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Particulars Excerpt"},"contains_fixed_charge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Contains Fixed Charge"},"contains_floating_charge":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Contains Floating Charge"},"floating_charge_covers_all":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Floating Charge Covers All"}},"type":"object","required":["external_id","status_line","security_line","flags","status_rank","created_on","satisfied_on","lenders","citation","classification","particulars_excerpt","contains_fixed_charge","contains_floating_charge","floating_charge_covers_all"],"title":"V1ChargeOut","description":"One registered charge, rebuilt WITHOUT unmatched_lines (module\ndocstring). Bound lenders keep their drawer-ready cited edges."},"V1CitationResolveOut":{"properties":{"records":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/RecordSummaryOut"},{"type":"null"}]},"type":"object","title":"Records"},"events":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/ResolvedEventOut"},{"type":"null"}]},"type":"object","title":"Events"},"assessments":{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/ResolvedScreeningOut"},{"type":"null"}]},"type":"object","title":"Assessments"}},"type":"object","required":["records","events","assessments"],"title":"V1CitationResolveOut","description":"Every REQUESTED id answers: a resolution, or an explicit null (unknown,\nforeign-tenant, and person-walled ids are indistinguishable by design)."},"V1CountryDetailOut":{"properties":{"iso3":{"type":"string","title":"Iso3"},"iso2":{"type":"string","title":"Iso2"},"name":{"type":"string","title":"Name"},"region":{"type":"string","title":"Region"},"region_label":{"type":"string","title":"Region Label"},"risk":{"anyOf":[{"$ref":"#/components/schemas/V1CountryRiskOut"},{"type":"null"}]},"indicators":{"items":{"$ref":"#/components/schemas/IndicatorOut"},"type":"array","title":"Indicators"},"memberships":{"items":{"$ref":"#/components/schemas/MembershipOut"},"type":"array","title":"Memberships"},"events":{"items":{"$ref":"#/components/schemas/CountryEventOut"},"type":"array","title":"Events"},"deals":{"items":{"$ref":"#/components/schemas/V1DealSummaryOut"},"type":"array","title":"Deals"},"deals_total":{"type":"integer","title":"Deals Total"}},"type":"object","required":["iso3","iso2","name","region","region_label","risk","indicators","memberships","events","deals","deals_total"],"title":"V1CountryDetailOut"},"V1CountryRiskOut":{"properties":{"score":{"type":"integer","title":"Score"},"profile_version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Profile Version"},"computed_at":{"type":"string","format":"date-time","title":"Computed At"},"breakdown":{"items":{"$ref":"#/components/schemas/ComponentRow"},"type":"array","title":"Breakdown"}},"type":"object","required":["score","profile_version","computed_at","breakdown"],"title":"V1CountryRiskOut"},"V1DealDetailOut":{"properties":{"deal_id":{"type":"string","title":"Deal Id"},"name":{"type":"string","title":"Name"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"primary_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Country"},"primary_country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Country Iso3"},"countries":{"items":{"type":"string"},"type":"array","title":"Countries"},"countries_iso3":{"items":{"type":"string"},"type":"array","title":"Countries Iso3"},"sector":{"type":"string","title":"Sector"},"stage":{"type":"string","title":"Stage"},"stage_confidence":{"type":"string","title":"Stage Confidence"},"status":{"type":"string","title":"Status"},"relevance_score":{"type":"integer","title":"Relevance Score"},"contract_value_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contract Value Usd"},"contract_value_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Value Raw"},"buyer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer"},"ecas":{"items":{"type":"string"},"type":"array","title":"Ecas"},"exporters":{"items":{"type":"string"},"type":"array","title":"Exporters"},"lenders":{"items":{"type":"string"},"type":"array","title":"Lenders"},"first_seen_at":{"type":"string","format":"date-time","title":"First Seen At"},"last_event_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Event At"},"dismissed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dismissed Reason"},"score_window":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Window"},"score_window_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Window Label"},"score_band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Band"},"score_reason_count":{"type":"integer","title":"Score Reason Count"},"score_hidden":{"type":"boolean","title":"Score Hidden"},"score_own_bank":{"type":"boolean","title":"Score Own Bank"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"state_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Label"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"angle":{"type":"string","title":"Angle"},"ask":{"type":"string","title":"Ask"},"merged_into":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merged Into"},"score_breakdown":{"additionalProperties":{"type":"number"},"type":"object","title":"Score Breakdown"},"score_weights":{"additionalProperties":{"type":"number"},"type":"object","title":"Score Weights"},"score_reasons":{"additionalProperties":true,"type":"object","title":"Score Reasons"},"next_action":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Action"},"memo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memo"},"memo_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Memo Generated At"},"parties":{"items":{"$ref":"#/components/schemas/V1DealPartyOut"},"type":"array","title":"Parties"},"tracking_next_check_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Tracking Next Check At"},"dismissed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Dismissed At"},"timeline":{"items":{"$ref":"#/components/schemas/V1LinkedFindingOut"},"type":"array","title":"Timeline"},"timeline_total":{"type":"integer","title":"Timeline Total"},"events":{"items":{"$ref":"#/components/schemas/V1DealEventOut"},"type":"array","title":"Events"},"events_total":{"type":"integer","title":"Events Total"},"sources":{"items":{"$ref":"#/components/schemas/V1SourceOut"},"type":"array","title":"Sources"},"economics":{"anyOf":[{"$ref":"#/components/schemas/DealEconomicsOut"},{"type":"null"}]},"desk_economics":{"anyOf":[{"$ref":"#/components/schemas/DeskEconomicsOut"},{"type":"null"}]}},"type":"object","required":["deal_id","name","summary","primary_country","primary_country_iso3","countries","countries_iso3","sector","stage","stage_confidence","status","relevance_score","contract_value_usd","contract_value_raw","buyer","ecas","exporters","lenders","first_seen_at","last_event_at","dismissed_reason","score_window","score_window_label","score_band","score_reason_count","score_hidden","score_own_bank","state","state_label","event_date","angle","ask","score_breakdown","score_weights","score_reasons","next_action","memo","memo_generated_at","parties","tracking_next_check_at","dismissed_at","timeline","timeline_total","events","events_total","sources","economics","desk_economics"],"title":"V1DealDetailOut"},"V1DealEventOut":{"properties":{"ts":{"type":"string","format":"date-time","title":"Ts"},"event_type":{"type":"string","title":"Event Type"},"actor_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor Label"},"from_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Value"},"to_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"To Value"},"finding_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Finding Id"}},"type":"object","required":["ts","event_type","actor_label","from_value","to_value","finding_id"],"title":"V1DealEventOut","description":"One lifecycle event: the system actor label only (Linker/Synthesis/\nResearch; null = a human acted), never the acting identity or its note."},"V1DealPartyOut":{"properties":{"role":{"type":"string","title":"Role"},"name":{"type":"string","title":"Name"},"entity_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"},"entity_display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Display Name"},"entity_full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Full Name"},"node_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Id"}},"type":"object","required":["role","name","entity_id","entity_display_name","entity_full_name","node_id"],"title":"V1DealPartyOut"},"V1DealScreeningRollupOut":{"properties":{"deal_id":{"type":"string","title":"Deal Id"},"subjects":{"items":{"$ref":"#/components/schemas/V1RollupSubjectOut"},"type":"array","title":"Subjects"}},"type":"object","required":["deal_id","subjects"],"title":"V1DealScreeningRollupOut"},"V1DealSummaryOut":{"properties":{"deal_id":{"type":"string","title":"Deal Id"},"name":{"type":"string","title":"Name"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"primary_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Country"},"primary_country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Country Iso3"},"countries":{"items":{"type":"string"},"type":"array","title":"Countries"},"countries_iso3":{"items":{"type":"string"},"type":"array","title":"Countries Iso3"},"sector":{"type":"string","title":"Sector"},"stage":{"type":"string","title":"Stage"},"stage_confidence":{"type":"string","title":"Stage Confidence"},"status":{"type":"string","title":"Status"},"relevance_score":{"type":"integer","title":"Relevance Score"},"contract_value_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contract Value Usd"},"contract_value_raw":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract Value Raw"},"buyer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer"},"ecas":{"items":{"type":"string"},"type":"array","title":"Ecas"},"exporters":{"items":{"type":"string"},"type":"array","title":"Exporters"},"lenders":{"items":{"type":"string"},"type":"array","title":"Lenders"},"first_seen_at":{"type":"string","format":"date-time","title":"First Seen At"},"last_event_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Event At"},"dismissed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dismissed Reason"},"score_window":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Window"},"score_window_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Window Label"},"score_band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Score Band"},"score_reason_count":{"type":"integer","title":"Score Reason Count"},"score_hidden":{"type":"boolean","title":"Score Hidden"},"score_own_bank":{"type":"boolean","title":"Score Own Bank"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"state_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Label"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"},"angle":{"type":"string","title":"Angle"},"ask":{"type":"string","title":"Ask"},"merged_into":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merged Into"}},"type":"object","required":["deal_id","name","summary","primary_country","primary_country_iso3","countries","countries_iso3","sector","stage","stage_confidence","status","relevance_score","contract_value_usd","contract_value_raw","buyer","ecas","exporters","lenders","first_seen_at","last_event_at","dismissed_reason","score_window","score_window_label","score_band","score_reason_count","score_hidden","score_own_bank","state","state_label","event_date","angle","ask"],"title":"V1DealSummaryOut","description":"A deal-book row minus the dashboard lifecycle stamps."},"V1DevelopmentOut":{"properties":{"run_id":{"type":"string","title":"Run Id"},"entity":{"type":"string","title":"Entity"},"entity_type":{"type":"string","title":"Entity Type"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"category":{"type":"string","title":"Category"},"headline":{"type":"string","title":"Headline"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"verification":{"type":"string","title":"Verification"},"source_count":{"type":"integer","title":"Source Count"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"relevance_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Relevance Score"},"country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Iso3"},"country_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Name"}},"type":"object","required":["run_id","entity","entity_type","generated_at","category","headline","value","verification","source_count","published_at","relevance_score","country_iso3","country_name"],"title":"V1DevelopmentOut","description":"A dated, cited development: a grounded research finding surfaced across\nruns, headline-first, with corroboration and relevance cues."},"V1EntityOut":{"properties":{"id":{"type":"integer","title":"Id"},"slug":{"type":"string","title":"Slug"},"display_name":{"type":"string","title":"Display Name"},"full_name":{"type":"string","title":"Full Name"},"kind":{"type":"string","title":"Kind"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases"},"groups":{"items":{"type":"string"},"type":"array","title":"Groups"}},"type":"object","required":["id","slug","display_name","full_name","kind","country","aliases","groups"],"title":"V1EntityOut","description":"The registry row exactly as the shared EntityOut serves it (id, slug,\ndisplay_name, full_name, kind, country, aliases, groups), subclassed so the\ntwo surfaces cannot drift; the field set is pinned by test."},"V1EventRowOut":{"properties":{"kind":{"type":"string","title":"Kind"},"tier":{"type":"string","title":"Tier"},"event_type":{"type":"string","title":"Event Type"},"headline":{"type":"string","title":"Headline"},"action":{"type":"string","title":"Action"},"group_key":{"type":"string","title":"Group Key"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"},"member_count":{"type":"integer","title":"Member Count"},"events":{"items":{"$ref":"#/components/schemas/NodeEventOut"},"type":"array","title":"Events"},"citation":{"anyOf":[{"$ref":"#/components/schemas/FactCitationOut"},{"type":"null"}]}},"type":"object","required":["kind","tier","event_type","headline","action","group_key","occurred_at","member_count","events","citation"],"title":"V1EventRowOut","description":"One display row of the grouped feed (an event or an expandable rollup),\nminus the wave-2 read-marker id."},"V1ExposureOut":{"properties":{"id":{"type":"integer","title":"Id"},"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"register_identifier":{"anyOf":[{"$ref":"#/components/schemas/V1IdentifierOut"},{"type":"null"}]},"entity_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Entity Class","description":"The monitoring class derived for this borrower: corporate, sovereign_or_public_body, bank, spv or fund. Derived deterministically from register-stated facts (the legal form code, the LEI record's entity category, the register the identifier belongs to) with an analyst override where one is set. Null when no classification has run for the node yet. Read only."},"desk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Desk"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"status":{"type":"string","title":"Status"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"completeness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Completeness","description":"Weight share of applicable signals that carry a band, including bands assumed for missing data under a conservative on_missing posture. Null when not yet assessed. Compare evidence_completeness, which counts evidence only."},"evidence_completeness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Evidence Completeness","description":"Weight share backed by actual evidence; assumed bands never count, so this never exceeds completeness. This is the figure the insufficient-status floor reads. Null when not yet assessed or on assessments computed before engine v3."},"computed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Computed At"},"top_signals":{"items":{"$ref":"#/components/schemas/V1SignalOut"},"type":"array","title":"Top Signals"},"last_transition":{"anyOf":[{"$ref":"#/components/schemas/V1LastTransitionOut"},{"type":"null"}]}},"type":"object","required":["id","node_id","label","register_identifier","entity_class","desk","active","created_at","status","score","completeness","evidence_completeness","computed_at","top_signals","last_transition"],"title":"V1ExposureOut","description":"One monitored exposure with its current standing, a curated projection\nof the dashboard's exposure row. status vocabulary: green | amber | red |\ninsufficient | not_assessed."},"V1FinancingOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"charges":{"items":{"$ref":"#/components/schemas/V1ChargeOut"},"type":"array","title":"Charges"},"instruments":{"items":{"$ref":"#/components/schemas/InstrumentOut"},"type":"array","title":"Instruments"},"debt_facts":{"items":{"$ref":"#/components/schemas/DebtFactOut"},"type":"array","title":"Debt Facts"},"debt_positions":{"items":{"$ref":"#/components/schemas/DebtPositionOut"},"type":"array","title":"Debt Positions"},"derived":{"$ref":"#/components/schemas/DerivedOut"},"coverage":{"items":{"$ref":"#/components/schemas/FinancingCoverageOut"},"type":"array","title":"Coverage"},"nodes":{"items":{"$ref":"#/components/schemas/V1NodeOut"},"type":"array","title":"Nodes"},"energy_assets":{"anyOf":[{"$ref":"#/components/schemas/EnergyAssetsOut"},{"type":"null"}]},"maturity_wall":{"anyOf":[{"$ref":"#/components/schemas/MaturityWallOut"},{"type":"null"}]},"satisfied_charges_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Satisfied Charges Line"},"instruments_total":{"type":"integer","title":"Instruments Total"},"instruments_truncated":{"type":"boolean","title":"Instruments Truncated"},"matured_excluded":{"type":"integer","title":"Matured Excluded"}},"type":"object","required":["node_id","charges","instruments","debt_facts","debt_positions","derived","coverage","nodes","energy_assets","maturity_wall","satisfied_charges_line","instruments_total","instruments_truncated","matured_excluded"],"title":"V1FinancingOut","description":"The upstream FinancingOut minus change_summary, charges rebuilt as\nV1ChargeOut, bound nodes in the /v1 node shape."},"V1FindingOut":{"properties":{"attribute":{"type":"string","title":"Attribute"},"claim":{"type":"string","title":"Claim"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"confidence":{"type":"string","title":"Confidence"},"verification":{"type":"string","title":"Verification"},"verifier_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifier Rationale"},"novelty":{"type":"string","title":"Novelty"},"source_ids":{"items":{"type":"string"},"type":"array","title":"Source Ids"},"quotes":{"items":{"$ref":"#/components/schemas/V1QuoteOut"},"type":"array","title":"Quotes"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"}},"type":"object","required":["attribute","claim","value","confidence","verification","verifier_rationale","novelty","source_ids","quotes","published_at"],"title":"V1FindingOut","description":"One grounded finding: the shared FindingOut shape with supporting_quotes\nrebuilt as the typed, capped, attributed V1QuoteOut list."},"V1GeographyEventOut":{"properties":{"id":{"type":"integer","title":"Id"},"iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iso3"},"country_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Name"},"event_type":{"type":"string","title":"Event Type"},"effective_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Effective Date"},"title":{"type":"string","title":"Title"},"citation_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Note"},"citation_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Url"},"source_page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Page Url"},"source_page_exact":{"type":"boolean","title":"Source Page Exact"},"created_at":{"type":"string","title":"Created At"}},"type":"object","required":["id","iso3","country_name","event_type","effective_date","title","citation_note","citation_url","source_page_url","source_page_exact","created_at"],"title":"V1GeographyEventOut","description":"One reference-list happening (global fact, identical for every tenant),\nits stored citation raw and the routed human-viewable page beside it."},"V1IdentifierOut":{"properties":{"scheme":{"type":"string","title":"Scheme"},"value":{"type":"string","title":"Value"}},"type":"object","required":["scheme","value"],"title":"V1IdentifierOut","description":"One register identifier: the citation-grade identity anchor."},"V1LastTransitionOut":{"properties":{"from_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Status"},"to_status":{"type":"string","title":"To Status"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"type":"object","required":["from_status","to_status","occurred_at"],"title":"V1LastTransitionOut"},"V1LinkedFindingOut":{"properties":{"attribute":{"type":"string","title":"Attribute"},"claim":{"type":"string","title":"Claim"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"confidence":{"type":"string","title":"Confidence"},"verification":{"type":"string","title":"Verification"},"verifier_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifier Rationale"},"novelty":{"type":"string","title":"Novelty"},"source_ids":{"items":{"type":"string"},"type":"array","title":"Source Ids"},"quotes":{"items":{"$ref":"#/components/schemas/V1QuoteOut"},"type":"array","title":"Quotes"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"finding_id":{"type":"integer","title":"Finding Id"},"link_method":{"type":"string","title":"Link Method"},"linked_at":{"type":"string","format":"date-time","title":"Linked At"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"state_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Label"},"state_quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State Quote"},"event_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Event Date"}},"type":"object","required":["attribute","claim","value","confidence","verification","verifier_rationale","novelty","source_ids","quotes","published_at","finding_id","link_method","linked_at","state","state_label","state_quote","event_date"],"title":"V1LinkedFindingOut","description":"A timeline entry: the finding plus its link provenance and what the state\ngate confirmed on it (the state, its word, the confirming passage under the\nhouse quote cap, and the quote backed event date; null where nothing was)."},"V1MonitoringTargetOut":{"properties":{"id":{"type":"integer","title":"Id"},"entity":{"type":"string","title":"Entity"},"entity_type":{"type":"string","title":"Entity Type"},"entity_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"cadence_seconds":{"type":"integer","title":"Cadence Seconds"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"active":{"type":"boolean","title":"Active"},"last_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Status"},"last_error":{"anyOf":[{"type":"string","const":"run_failed"},{"type":"null"}],"title":"Last Error"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","entity","entity_type","entity_id","context","cadence_seconds","last_run_at","active","last_status","last_error","next_run_at"],"title":"V1MonitoringTargetOut","description":"One monitored organization with its latest run outcome and next due\ntime. last_status speaks the queue vocabulary (queued|running|done|dead);\nlast_error is the pruned failure token, never an internal string."},"V1NodeDetailOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Iso3"},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"company_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Status"},"registration_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Status"},"stale":{"type":"boolean","title":"Stale"},"branch":{"type":"boolean","title":"Branch"},"identifiers":{"items":{"$ref":"#/components/schemas/V1IdentifierOut"},"type":"array","title":"Identifiers"},"identifiers_total":{"type":"integer","title":"Identifiers Total"},"identifiers_truncated":{"type":"boolean","title":"Identifiers Truncated"},"records":{"items":{"$ref":"#/components/schemas/RecordSummaryOut"},"type":"array","title":"Records"},"branch_of_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Of Label"}},"type":"object","required":["node_id","label","country_iso3","jurisdiction","legal_form","company_status","registration_status","stale","branch","identifiers","identifiers_total","identifiers_truncated","records","branch_of_label"],"title":"V1NodeDetailOut","description":"The identity plus CURRENT records as citations (fields stay behind the\nregister link; payloads never serialize) and the branch's head office."},"V1NodeEventsOut":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/V1EventRowOut"},"type":"array","title":"Rows"},"events_total":{"type":"integer","title":"Events Total"},"events_truncated":{"type":"boolean","title":"Events Truncated"}},"type":"object","required":["rows","events_total","events_truncated"],"title":"V1NodeEventsOut","description":"The register-events feed with honest counters, minus the caller-team\nreview watermark (a dashboard read marker)."},"V1NodeOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Iso3"},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"company_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Status"},"registration_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Status"},"stale":{"type":"boolean","title":"Stale"},"branch":{"type":"boolean","title":"Branch"},"identifiers":{"items":{"$ref":"#/components/schemas/V1IdentifierOut"},"type":"array","title":"Identifiers"},"identifiers_total":{"type":"integer","title":"Identifiers Total"},"identifiers_truncated":{"type":"boolean","title":"Identifiers Truncated"}},"type":"object","required":["node_id","label","country_iso3","jurisdiction","legal_form","company_status","registration_status","stale","branch","identifiers","identifiers_total","identifiers_truncated"],"title":"V1NodeOut","description":"The ONE /v1 node identity shape (financing and ownership reuse it for\ntheir bound-node strips): the graph chokepoint's fields minus the internal\nlifecycle `status` and the reporting_exceptions annotation dict."},"V1NodeRiskOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"name":{"type":"string","title":"Name"},"in_portfolio":{"type":"boolean","title":"In Portfolio"},"exposure_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exposure Id"},"assessment":{"anyOf":[{"$ref":"#/components/schemas/V1AssessmentOut"},{"type":"null"}]}},"type":"object","required":["node_id","name","in_portfolio","exposure_id","assessment"],"title":"V1NodeRiskOut","description":"The caller-team's credit-monitoring view of one graph node: not held\n(in_portfolio=false), held but not yet assessed (assessment=null), or the\nfull current breakdown. `name` is the graph node's label, the same source\n/v1/portfolio rows serve as `label`."},"V1OwnershipChainOut":{"properties":{"root_id":{"type":"integer","title":"Root Id"},"resolver_version":{"type":"integer","title":"Resolver Version"},"computed_at":{"type":"string","format":"date-time","title":"Computed At"},"input_digest":{"type":"string","title":"Input Digest"},"params":{"$ref":"#/components/schemas/OwnershipParamsOut"},"bounded":{"type":"boolean","title":"Bounded"},"min_as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Min As Of"},"nodes":{"items":{"$ref":"#/components/schemas/V1NodeOut"},"type":"array","title":"Nodes"},"paths":{"items":{"$ref":"#/components/schemas/OwnershipPathOut"},"type":"array","title":"Paths"},"totals":{"items":{"$ref":"#/components/schemas/OwnershipTotalOut"},"type":"array","title":"Totals"},"coverage":{"$ref":"#/components/schemas/OwnershipCoverageOut"}},"type":"object","required":["root_id","resolver_version","computed_at","input_digest","params","bounded","min_as_of","nodes","paths","totals","coverage"],"title":"V1OwnershipChainOut","description":"The upstream chain payload with `nodes` in the /v1 node shape. The\nparams echo's include_persons is always false on this surface."},"V1Page_CatalogEntryOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CatalogEntryOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[CatalogEntryOut]"},"V1Page_V1DealSummaryOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1DealSummaryOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1DealSummaryOut]"},"V1Page_V1DevelopmentOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1DevelopmentOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1DevelopmentOut]"},"V1Page_V1EntityOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1EntityOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1EntityOut]"},"V1Page_V1ExposureOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1ExposureOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1ExposureOut]"},"V1Page_V1GeographyEventOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1GeographyEventOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1GeographyEventOut]"},"V1Page_V1MonitoringTargetOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1MonitoringTargetOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1MonitoringTargetOut]"},"V1Page_V1RiskProfileOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1RiskProfileOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1RiskProfileOut]"},"V1Page_V1RunSummaryOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1RunSummaryOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1RunSummaryOut]"},"V1Page_V1ScreeningSummaryOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1ScreeningSummaryOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1ScreeningSummaryOut]"},"V1Page_V1TransitionOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1TransitionOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1TransitionOut]"},"V1Page_V1WatchOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/V1WatchOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[V1WatchOut]"},"V1Page_WatchSourceOut_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WatchSourceOut"},"type":"array","title":"Items"},"limit":{"type":"integer","title":"Limit"},"offset":{"type":"integer","title":"Offset"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["items","limit","offset","total"],"title":"V1Page[WatchSourceOut]"},"V1PortfolioSummaryOut":{"properties":{"statuses":{"additionalProperties":{"type":"integer"},"type":"object","title":"Statuses"},"active_exposures":{"type":"integer","title":"Active Exposures"},"transitions_30d":{"type":"integer","title":"Transitions 30D"}},"type":"object","required":["statuses","active_exposures","transitions_30d"],"title":"V1PortfolioSummaryOut"},"V1QuoteOut":{"properties":{"source_id":{"type":"string","title":"Source Id"},"url":{"type":"string","title":"Url"},"attribution":{"type":"string","title":"Attribution"},"passage":{"type":"string","title":"Passage"}},"type":"object","required":["source_id","url","attribution","passage"],"title":"V1QuoteOut","description":"One capped supporting passage with its attribution (licence terms:\nURL + attribution are mandatory, so both fields are non-optional)."},"V1RiskConfigOut":{"properties":{"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"config":{"$ref":"#/components/schemas/EntityRiskConfig"}},"type":"object","required":["version","config"],"title":"V1RiskConfigOut"},"V1RiskProfileDetailOut":{"properties":{"version":{"type":"integer","title":"Version"},"name":{"type":"string","title":"Name"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"config":{"$ref":"#/components/schemas/EntityRiskConfig"}},"type":"object","required":["version","name","active","created_at","config"],"title":"V1RiskProfileDetailOut","description":"One stored version WITH its full frozen config snapshot."},"V1RiskProfileOut":{"properties":{"version":{"type":"integer","title":"Version"},"name":{"type":"string","title":"Name"},"active":{"type":"boolean","title":"Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["version","name","active","created_at"],"title":"V1RiskProfileOut"},"V1RollupSubjectOut":{"properties":{"kind":{"type":"string","title":"Kind"},"roles":{"items":{"type":"string"},"type":"array","title":"Roles"},"name":{"type":"string","title":"Name"},"entity_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"},"node_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Id"},"iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iso3"},"screening":{"anyOf":[{"$ref":"#/components/schemas/V1ScreeningSummaryOut"},{"type":"null"}]}},"type":"object","required":["kind","roles","name"],"title":"V1RollupSubjectOut","description":"One deal-rollup subject (a party identity or the primary country) with\nits latest served-kind screening, or null when never screened."},"V1RunDetailOut":{"properties":{"run_id":{"type":"string","title":"Run Id"},"entity":{"type":"string","title":"Entity"},"entity_type":{"type":"string","title":"Entity Type"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"findings_count":{"type":"integer","title":"Findings Count"},"findings":{"items":{"$ref":"#/components/schemas/V1FindingOut"},"type":"array","title":"Findings"},"sources":{"items":{"$ref":"#/components/schemas/V1SourceOut"},"type":"array","title":"Sources"},"country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Iso3"},"country_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Name"}},"type":"object","required":["run_id","entity","entity_type","generated_at","findings_count","findings","sources","country_iso3","country_name"],"title":"V1RunDetailOut"},"V1RunSummaryOut":{"properties":{"run_id":{"type":"string","title":"Run Id"},"entity":{"type":"string","title":"Entity"},"entity_type":{"type":"string","title":"Entity Type"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"findings_count":{"type":"integer","title":"Findings Count"}},"type":"object","required":["run_id","entity","entity_type","generated_at","findings_count"],"title":"V1RunSummaryOut"},"V1ScreenedFindingOut":{"properties":{"attribute":{"type":"string","title":"Attribute"},"claim":{"type":"string","title":"Claim"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"},"confidence":{"type":"string","title":"Confidence"},"verification":{"type":"string","title":"Verification"},"verifier_rationale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verifier Rationale"},"novelty":{"type":"string","title":"Novelty"},"source_ids":{"items":{"type":"string"},"type":"array","title":"Source Ids"},"quotes":{"items":{"$ref":"#/components/schemas/V1QuoteOut"},"type":"array","title":"Quotes"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"finding_id":{"type":"integer","title":"Finding Id"}},"type":"object","required":["attribute","claim","value","confidence","verification","verifier_rationale","novelty","source_ids","quotes","published_at","finding_id"],"title":"V1ScreenedFindingOut"},"V1ScreeningAssessmentOut":{"properties":{"category":{"type":"string","title":"Category"},"label":{"type":"string","title":"Label"},"verdict":{"type":"string","title":"Verdict"},"rationale":{"type":"string","title":"Rationale"},"finding_ids":{"items":{"type":"integer"},"type":"array","title":"Finding Ids"},"review_state":{"type":"string","title":"Review State"},"reviewed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Reviewed At"},"review_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Note"}},"type":"object","required":["category","label","verdict","rationale","finding_ids","review_state","reviewed_at","review_note"],"title":"V1ScreeningAssessmentOut","description":"One per-category verdict with the analyst's recorded review state.\nReviewer identity is audit-side only and has no key here at all."},"V1ScreeningDetailOut":{"properties":{"id":{"type":"integer","title":"Id"},"subject_type":{"type":"string","title":"Subject Type"},"subject_name":{"type":"string","title":"Subject Name"},"entity_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"},"node_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Id"},"iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iso3"},"window_years":{"type":"integer","title":"Window Years"},"status":{"type":"string","title":"Status"},"coverage_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Note"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"worst_verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Worst Verdict"},"summary_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary Text"},"summary_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary Status"},"summary_generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Summary Generated At"},"summary_stale":{"type":"boolean","title":"Summary Stale"},"assessments":{"items":{"$ref":"#/components/schemas/V1ScreeningAssessmentOut"},"type":"array","title":"Assessments"},"findings":{"items":{"$ref":"#/components/schemas/V1ScreenedFindingOut"},"type":"array","title":"Findings"},"sources":{"items":{"$ref":"#/components/schemas/V1SourceOut"},"type":"array","title":"Sources"}},"type":"object","required":["id","subject_type","subject_name","entity_id","node_id","iso3","window_years","status","coverage_note","requested_at","completed_at","purpose","worst_verdict","summary_text","summary_status","summary_generated_at","summary_stale","assessments","findings","sources"],"title":"V1ScreeningDetailOut","description":"The full read: the machine-drafted summary (status vocabulary per\napi/screening.py), assessments, grounded findings with capped quotes, and\nthe run's sources."},"V1ScreeningSummaryOut":{"properties":{"id":{"type":"integer","title":"Id"},"subject_type":{"type":"string","title":"Subject Type"},"subject_name":{"type":"string","title":"Subject Name"},"entity_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Entity Id"},"node_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Id"},"iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Iso3"},"window_years":{"type":"integer","title":"Window Years"},"status":{"type":"string","title":"Status"},"coverage_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Coverage Note"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"worst_verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Worst Verdict"}},"type":"object","required":["id","subject_type","subject_name","entity_id","node_id","iso3","window_years","status","coverage_note","requested_at","completed_at","purpose","worst_verdict"],"title":"V1ScreeningSummaryOut","description":"One screening row: subject identity by ids, run status, and the worst\nLIVE verdict (complete runs only; an unfinished run has no verdict)."},"V1SearchHitOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"match":{"type":"string","title":"Match"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"country_iso3":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Iso3"},"jurisdiction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Jurisdiction"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"company_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Status"},"registration_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Status"},"stale":{"type":"boolean","title":"Stale"},"branch":{"type":"boolean","title":"Branch"},"identifiers":{"items":{"$ref":"#/components/schemas/V1IdentifierOut"},"type":"array","title":"Identifiers"},"identifiers_total":{"type":"integer","title":"Identifiers Total"},"identifiers_truncated":{"type":"boolean","title":"Identifiers Truncated"}},"type":"object","required":["node_id","label","match","score","country_iso3","jurisdiction","legal_form","company_status","registration_status","stale","branch","identifiers","identifiers_total","identifiers_truncated"],"title":"V1SearchHitOut","description":"One company hit. `node_id` is the graph node id every other /v1 node route\nspeaks. score is the name-match relevance band (1.0 exact, 0.95 prefix, 0.9\ntoken, fuzzy capped at 0.85); None on identifier hits. stale=true marks a\nLAPSED registration, never current reference data."},"V1SearchOut":{"properties":{"query":{"type":"string","title":"Query"},"hits":{"items":{"$ref":"#/components/schemas/V1SearchHitOut"},"type":"array","title":"Hits"},"connected_sources":{"items":{"type":"string"},"type":"array","title":"Connected Sources"}},"type":"object","required":["query","hits","connected_sources"],"title":"V1SearchOut"},"V1SignalCitationsOut":{"properties":{"record_ids":{"items":{"type":"integer"},"type":"array","title":"Record Ids"},"event_ids":{"items":{"type":"integer"},"type":"array","title":"Event Ids"},"assessment_ids":{"items":{"type":"integer"},"type":"array","title":"Assessment Ids"}},"type":"object","required":["record_ids","event_ids","assessment_ids"],"title":"V1SignalCitationsOut","description":"The row's full citation lineage: register record ids, corporate-event ids,\nand confirmed screening-assessment ids (empty lists when the row scored from\nabsence or abstained: an uncited row says so, never invents provenance)."},"V1SignalOut":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Band"},"value_display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value Display"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"citations":{"$ref":"#/components/schemas/V1SignalCitationsOut"}},"type":"object","required":["key","label","band","value_display","note","citations"],"title":"V1SignalOut","description":"One scored (or honestly abstained) signal row, projected per the module\ndocstring. band=None means the signal abstained; the note says why."},"V1SourceOut":{"properties":{"source_id":{"type":"string","title":"Source Id"},"url":{"type":"string","title":"Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"snippet":{"type":"string","title":"Snippet"},"retrieved_at":{"type":"string","format":"date-time","title":"Retrieved At"},"published_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Published At"},"text_provenance":{"type":"string","title":"Text Provenance"},"source_tier":{"type":"integer","title":"Source Tier"},"tier_label":{"type":"string","title":"Tier Label"}},"type":"object","required":["source_id","url","title","snippet","retrieved_at","published_at","text_provenance","source_tier","tier_label"],"title":"V1SourceOut","description":"One cited source, projected from the shared SourceOut with the snippet\nriding the house quote cap. `source_tier` and `tier_label` are the publisher\ntier (research/host_tiers.py), pure functions of the URL."},"V1TransitionOut":{"properties":{"id":{"type":"integer","title":"Id"},"exposure_id":{"type":"integer","title":"Exposure Id"},"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"from_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Status"},"to_status":{"type":"string","title":"To Status"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"type":"object","required":["id","exposure_id","node_id","label","from_status","to_status","occurred_at"],"title":"V1TransitionOut"},"V1WatchOut":{"properties":{"node_id":{"type":"integer","title":"Node Id"},"label":{"type":"string","title":"Label"},"cadence":{"type":"string","title":"Cadence"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_refreshed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Refreshed At"}},"type":"object","required":["node_id","label","cadence","created_at","last_refreshed_at"],"title":"V1WatchOut"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WallBucketOut":{"properties":{"bucket":{"type":"string","title":"Bucket"},"label":{"type":"string","title":"Label"},"count":{"type":"integer","title":"Count"},"count_line":{"type":"string","title":"Count Line"},"currency_lines":{"items":{"type":"string"},"type":"array","title":"Currency Lines"},"more_currencies_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"More Currencies Line"}},"type":"object","required":["bucket","label","count","count_line","currency_lines","more_currencies_line"],"title":"WallBucketOut","description":"One maturity-bucket row of the wall, rendered server-side: locked label and\ncount line, top-currency nominal sums, the folded-currencies line. `bucket` is\nthe endpoint's expansion key: the row's ledger slice answers ?bucket={bucket}."},"WatchSourceOut":{"properties":{"id":{"type":"integer","title":"Id"},"url":{"type":"string","title":"Url"},"kind":{"type":"string","title":"Kind"},"entity":{"type":"string","title":"Entity"},"entity_type":{"type":"string","title":"Entity Type"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"},"cadence_seconds":{"type":"integer","title":"Cadence Seconds"},"last_checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Checked At"},"active":{"type":"boolean","title":"Active"}},"type":"object","required":["id","url","kind","entity","entity_type","context","cadence_seconds","last_checked_at","active"],"title":"WatchSourceOut","description":"A watched page/feed (T1 monitoring): what it covers and when it last ticked."}}}}