Last modified:2026-11-11 19:39:44
Maintainer:Not configured
OperationId:post_entity_screen
Screen a person or organization name against the sanctions corpus and return a screening signal (clear, review, or hit) with matched records. Fail-CLOSED on staleness: if the underlying list is stale, a hit or clear result is downgraded to review and meta.stale_screening is set to true. ENTITY-4: optional corpus selects sanctions (default - Western/IGO + PEP), rf_regulatory (Russian domestic Minjust lists), or all. Optional dob, country and nationality re-score and re-order the name candidates against what each list record holds: a match raises a candidate's score, a contradiction lowers it, and the effects of the fields add up, so they can offset (before the score is held within 0 to 1, a dob matching to the day with a contradicted country comes out slightly above the name score and a dob matching on the year alone with it slightly below, so a name score of 1 stays at 1 in the first case). No field removes a candidate: threshold_review is applied to the name score before the fields re-score, so a lowered candidate stays listed even below it and the verdict never turns clear because of a field. A record that holds no such data is never lowered for that field. A country or nationality match alone never lifts a candidate to hit: a score it would take to threshold_hit is held just below it, never below the name score; crossing takes a matching dob or a name score already at threshold_hit. One exception holds a candidate at review: when every distinctive word of the name sent (a legal form or other common word does not count) matches a word of its name, at least one only as another transliteration (Schukow for Zhukov) and not as a similar spelling, and its name as written scores under 0.855, its held result has a name_score of 0.855 and is never a hit at any threshold_hit: a matching dob, country or nationality does not raise its score, and a contradicted one still lowers it. A candidate only a French reading of a word of the name sent found (Shalabi for Chalabi) is held the same way, at its own name_score. A held result is listed only when its name_score reaches threshold_review or it is flagged incomplete_coverage. When the candidate shares with the name sent a distinctive word spelled the same way or two words of any kind, its name as written also gives a second result, listed on the same rule, which the fields raise and which is graded like any other; the candidate is served the result listed, or the better one when both are: a hit first, then the higher score. Every other candidate is scored as written and graded like any other, a name that matches as a similar spelling (Park for Pak) included, even when only that spelling found it. Each match carries name_score and secondary_fields with the outcome per field. The answer holds at most max_matches matches (default 10, up to 100), best score first: total_matches counts the records that matched, total_matches_exact is false when that count is a lower bound, and truncated says whether the answer may have left some out. Which matches enter that window is decided first by name score, before dob, country and nationality are applied, among the matches that share with the name sent a distinctive word spelled the same way or two words of any kind and whose name as written reaches threshold_review or is flagged incomplete_coverage: matches with an equal name score enter it one per list in turn (one record of each list, then a second, and so on), and at an equal name score the matches flagged incomplete_coverage enter after the others, each of the two groups spread on its own. The other matches, among them a candidate found only through another spelling or a French reading, take only the slots those leave free, chosen from among the max_matches best name scores: a hit first, then the higher final score. dob, country and nationality then re-score the matches in the window and can change their order: a match flagged incomplete_coverage can move ahead of complete ones, and matches with an equal final score are not guaranteed to alternate between lists. status is decided only over the matches in the window, so which records enter it can change status too: a record left out never makes the answer a hit, and a PEP match, one flagged incomplete_coverage or one held at review above never does either. With corpus=all, lists_expected and lists_missing cover the Western sanctions lists only: a Russian register that is not loaded is never named in lists_missing, never sets coverage_degraded and does not by itself turn a clear into review, and lists_loaded shows which Russian registers were searched. A clear can still become review when no Russian register can be searched at all.