{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stonewake-ai/json-schema/stonewake-ai-v1-screening-detail-out-schema.json",
  "title": "V1ScreeningDetailOut",
  "description": "One screening with its machine drafted summary, its assessments, its grounded findings with capped quotes and the sources they cite.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stonewake-ai-openapi.json#/components/schemas/V1ScreeningDetailOut",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id",
      "description": "The screening's id, as GET /v1/screenings/{screening_id} takes it."
    },
    "team_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Id",
      "description": "The team whose book holds this row. A key reads exactly the one team it was issued for; GET /v1/me states it. Null on a tenant wide screening that every team reads."
    },
    "team_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Team Name",
      "description": "That team's display name."
    },
    "subject_type": {
      "type": "string",
      "title": "Subject Type",
      "description": "entity, country or person."
    },
    "subject_name": {
      "type": "string",
      "title": "Subject Name",
      "description": "The screened subject's name."
    },
    "entity_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entity Id",
      "description": "The registry id of the subject, null when it has none."
    },
    "node_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Node Id",
      "description": "The company node of the subject, null when it has none."
    },
    "iso3": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Iso3",
      "description": "The screened country as an ISO 3166 alpha 3 code, null for any other subject."
    },
    "window_years": {
      "type": "integer",
      "title": "Window Years",
      "description": "How many years back the screening reads."
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "queued, running, complete or failed."
    },
    "coverage_note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Coverage Note",
      "description": "One sentence on what the screening could not cover, null when nothing was missed."
    },
    "requested_at": {
      "type": "string",
      "format": "date-time",
      "title": "Requested At",
      "description": "When the screening was requested."
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At",
      "description": "When the screening completed, null until then."
    },
    "purpose": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Purpose",
      "description": "The purpose recorded at request, cdd, edd or other with its note, null on a row from before every request recorded one."
    },
    "worst_verdict": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Worst Verdict",
      "description": "The most severe live category verdict (red, amber, green, no_findings), or incomplete where every category found nothing while the coverage of the screening was incomplete. Null for a person and before completion."
    },
    "coverage_incomplete": {
      "type": "boolean",
      "title": "Coverage Incomplete",
      "description": "True when the coverage note says planned searches failed, the screening stopped before every source was checked, or no source identified the subject. A category that found nothing then rests on incomplete coverage.",
      "default": false
    },
    "scope_note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope Note",
      "description": "One sentence on what the screening covers and what it does not. An organization's directors, shareholders and owners are not screened, and a person screening holds no PEP check. Null for a country."
    },
    "verdicts_awaiting_decision": {
      "type": "integer",
      "title": "Verdicts Awaiting Decision",
      "description": "How many category verdicts still await an analyst's decision. While any does, worst_verdict is a draft, never a decided result.",
      "default": 0
    },
    "disposition": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "awaiting_review",
            "cleared",
            "adverse"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Disposition",
      "description": "Where the screening stands with the analyst. adverse once an analyst confirmed a red or amber category verdict or decided a name match the same party, whether other verdicts are still drafts or not. awaiting_review while nothing adverse is decided and a verdict is still a draft. cleared once no verdict is a draft and nothing adverse stands, a fully dismissed screening included. Null for a person and before completion. A screening counts for the credit status once an analyst confirmed a red or amber verdict, or once no verdict is a draft. A name match decided the same party makes it adverse but does not change the credit status."
    },
    "purpose_held": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Purpose Held",
      "description": "One sentence where the purpose recorded for this screening is outside the permitted use (Terms 4(c)), so the screening is held and never run, drafted or refreshed again. Null otherwise."
    },
    "listed_on": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Listed On",
      "description": "The short names of the official sanctions lists that list the subject by an identifier its own register entry carries (EU, UK, OFAC SDN, OFAC non SDN, SECO, UN), in the order of official_lists. Empty when no list lists it. A name match is never a listing."
    },
    "summary_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary Text",
      "description": "The machine drafted summary, null when none is served."
    },
    "summary_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary Status",
      "description": "Where the summary stands, such as pending, ok or failed, null when none was asked for."
    },
    "summary_generated_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary Generated At",
      "description": "When the summary was drafted, null before it was."
    },
    "summary_stale": {
      "type": "boolean",
      "title": "Summary Stale",
      "description": "True when the findings changed after the summary was drafted."
    },
    "official_lists": {
      "anyOf": [
        {
          "$ref": "#/$defs/OfficialListsOut"
        },
        {
          "type": "null"
        }
      ],
      "description": "The Official lists section, first in the result. A comparison of the subject with each official sanctions list named in lists, against the list's own entries, stored when the screening ran (basis screening, as_of that moment). A screening from before list results were stored reads its own record (basis not_stored, as_of the screening's moment): every list not_checked, Not checked at the time where the list was switched on after it ran, and the comparison made when the result is read is the separate recheck block (basis recheck, as_of the read), never the record. Per list, status is listed (only on an identifier the list itself states and the subject's own register entry carries), name_match_awaiting_review (a name without an identifier, or an identifier of a register entry that was linked to the subject by name, a candidate for review and never a hit), name_match_reviewed (every name match closed by a reviewer as same_party or different_party, which never turns a name into a listing), no_entry_found (with the list edition and the check time) or not_checked (with the reason, for example a list that is switched off or was last checked more than 48 hours ago). Names match exactly on a normalised key, so other spellings, word orders and transliterations are not found. lists_compared counts the lists switched on and checked within 48 hours. A list that is not checked never reads as clear."
    },
    "assessments": {
      "items": {
        "$ref": "#/$defs/V1ScreeningAssessmentOut"
      },
      "type": "array",
      "title": "Assessments",
      "description": "One verdict per category with its review state."
    },
    "findings": {
      "items": {
        "$ref": "#/$defs/V1ScreenedFindingOut"
      },
      "type": "array",
      "title": "Findings",
      "description": "The grounded findings, each cited by finding_id."
    },
    "sources": {
      "items": {
        "$ref": "#/$defs/V1SourceOut"
      },
      "type": "array",
      "title": "Sources",
      "description": "The sources the findings cite."
    }
  },
  "type": "object",
  "required": [
    "id",
    "team_id",
    "team_name",
    "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",
    "official_lists",
    "assessments",
    "findings",
    "sources"
  ],
  "$defs": {
    "ListCountsOut": {
      "properties": {
        "listed": {
          "type": "integer",
          "title": "Listed",
          "description": "Lists that hold an entry carrying an identifier the subject's own register entry carries too."
        },
        "name_match_awaiting_review": {
          "type": "integer",
          "title": "Name Match Awaiting Review",
          "description": "Lists with an entry that shares only a name with the subject, which is never a hit."
        },
        "name_match_reviewed": {
          "type": "integer",
          "title": "Name Match Reviewed",
          "description": "Lists whose name matches a reviewer closed."
        },
        "name_match_delisted": {
          "type": "integer",
          "title": "Name Match Delisted",
          "default": 0,
          "description": "Lists whose name match has since left the list."
        },
        "no_entry_found": {
          "type": "integer",
          "title": "No Entry Found",
          "description": "Lists checked with no entry found."
        },
        "not_checked": {
          "type": "integer",
          "title": "Not Checked",
          "description": "Lists that were not checked, switched off or not read within 48 hours."
        }
      },
      "type": "object",
      "required": [
        "listed",
        "name_match_awaiting_review",
        "name_match_reviewed",
        "no_entry_found",
        "not_checked"
      ],
      "title": "ListCountsOut",
      "description": "How many lists read each status. Every list is counted exactly once, so a\nlist that was not checked is never silently missing from the result."
    },
    "ListEntryOut": {
      "properties": {
        "record_id": {
          "type": "integer",
          "title": "Record Id",
          "description": "The record of the list entry."
        },
        "ref": {
          "type": "string",
          "title": "Ref",
          "description": "The list's own entry number."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "The entry's name as listed."
        },
        "aliases": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Aliases",
          "description": "The entry's other names as listed."
        },
        "listed_on": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listed On",
          "description": "The date of listing, null when the list states none."
        },
        "programs": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Programs",
          "description": "The sanctions programmes the entry is listed under."
        },
        "official_url": {
          "type": "string",
          "title": "Official Url",
          "description": "The official file the entry was read from."
        },
        "matched_on": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Matched On",
          "description": "The identifier a listing ran on, null for a name match."
        },
        "fields": {
          "items": {
            "$ref": "#/$defs/ListFieldOut"
          },
          "type": "array",
          "title": "Fields",
          "description": "The entry and the subject side by side, one line per field."
        },
        "likely_different": {
          "type": "boolean",
          "title": "Likely Different",
          "description": "True when the side by side suggests the entry is a different party."
        },
        "review_state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Review State",
          "description": "open, same_party or different_party for a name match, null for a listing."
        },
        "review_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Review Label",
          "description": "The review state in words, null for a listing."
        },
        "reviewed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reviewed At",
          "description": "When a reviewer closed the name match, null while it is open."
        },
        "review_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Review Note",
          "description": "The reviewer's note, null when none was written."
        },
        "note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Note",
          "description": "One sentence where an identifier match is shown as a name match because the register entry was linked to the subject by name, null otherwise."
        },
        "published_fields": {
          "items": {
            "$ref": "#/$defs/PublishedFieldOut"
          },
          "type": "array",
          "title": "Published Fields",
          "description": "Every field the list publishes on an organization, vessel or aircraft entry, empty for a listed person."
        },
        "published_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Published Note",
          "description": "One sentence where the families that can state a natural person were withheld under the workspace's person data terms, null otherwise."
        }
      },
      "type": "object",
      "required": [
        "record_id",
        "ref",
        "name",
        "aliases",
        "listed_on",
        "programs",
        "official_url",
        "matched_on",
        "fields",
        "likely_different",
        "review_state",
        "review_label",
        "reviewed_at",
        "review_note",
        "note",
        "published_fields",
        "published_note"
      ],
      "title": "ListEntryOut",
      "description": "One list entry: the list's own entry number and names, its listing date,\nthe programmes, the official file it was read from, and the side by side.\n`matched_on` names the identifier a listing ran on; a name match carries its\nreview state instead and is never a hit. `published_fields` is every field\nthe list publishes on an entity, vessel or aircraft entry, in the list's\norder, the families that can state a natural person only where the\nworkspace's person data gate is open; it is empty for a listed person, of whom\nno such field is served."
    },
    "ListFieldOut": {
      "properties": {
        "field": {
          "type": "string",
          "title": "Field",
          "description": "Which field the line compares."
        },
        "label": {
          "type": "string",
          "title": "Label",
          "description": "The field in words."
        },
        "listed": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Listed",
          "description": "What the list states, null when it states nothing."
        },
        "subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Subject",
          "description": "What is held on the subject, null when nothing is held."
        },
        "comparison": {
          "type": "string",
          "title": "Comparison",
          "description": "same, differs or not_stated."
        },
        "comparison_label": {
          "type": "string",
          "title": "Comparison Label",
          "description": "The comparison in words."
        }
      },
      "type": "object",
      "required": [
        "field",
        "label",
        "listed",
        "subject",
        "comparison",
        "comparison_label"
      ],
      "title": "ListFieldOut",
      "description": "One line of the side by side: what the list states, what is held on the\nsubject, and whether they are the same, differ or are not stated."
    },
    "OfficialListOut": {
      "properties": {
        "list_id": {
          "type": "string",
          "title": "List Id",
          "description": "The list's id."
        },
        "list_name": {
          "type": "string",
          "title": "List Name",
          "description": "The list's name."
        },
        "status": {
          "type": "string",
          "title": "Status",
          "description": "listed, name_match_awaiting_review, name_match_reviewed, name_match_delisted, no_entry_found or not_checked."
        },
        "status_label": {
          "type": "string",
          "title": "Status Label",
          "description": "The status in words, naming the check so a clean row never reads wider than its comparison."
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reason",
          "description": "Why the list was not checked, null when it was."
        },
        "edition": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Edition",
          "description": "The list edition compared, null when it was not checked."
        },
        "published_on": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ],
          "title": "Published On",
          "description": "When the publisher issued that edition, null when unknown."
        },
        "checked_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Checked At",
          "description": "When the list was last checked, null when it was not checked."
        },
        "compared": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Compared",
          "description": "The sentence that says what was compared, null when it was not checked."
        },
        "entries": {
          "items": {
            "$ref": "#/$defs/ListEntryOut"
          },
          "type": "array",
          "title": "Entries",
          "description": "The entries that list the subject or share a name with it."
        },
        "candidates": {
          "items": {
            "$ref": "#/$defs/ListEntryOut"
          },
          "type": "array",
          "title": "Candidates",
          "description": "The name matches awaiting review."
        }
      },
      "type": "object",
      "required": [
        "list_id",
        "list_name",
        "status",
        "status_label",
        "reason",
        "edition",
        "published_on",
        "checked_at",
        "compared",
        "entries",
        "candidates"
      ],
      "title": "OfficialListOut"
    },
    "OfficialListsBlockOut": {
      "properties": {
        "title": {
          "type": "string",
          "title": "Title",
          "description": "The section's title, Official lists."
        },
        "summary": {
          "type": "string",
          "title": "Summary",
          "description": "The section's result in one sentence."
        },
        "statement": {
          "type": "string",
          "title": "Statement",
          "description": "What the comparison is and is not, in one sentence."
        },
        "cover_line": {
          "type": "string",
          "title": "Cover Line",
          "description": "When and against which editions the lists were compared, in words."
        },
        "basis": {
          "type": "string",
          "enum": [
            "screening",
            "not_stored",
            "recheck"
          ],
          "title": "Basis",
          "description": "screening when the comparison was stored when the screening ran, not_stored for the record of a screening from before that, every list not checked at the time, recheck for a comparison made at the read."
        },
        "as_of": {
          "type": "string",
          "format": "date-time",
          "title": "As Of",
          "description": "The moment of this block, the comparison stored with the screening, the screening's own moment for a record from before list results were stored, or the read for a recheck."
        },
        "as_of_line": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "As Of Line",
          "description": "That moment in words, null for a stored check that compared no list."
        },
        "lists_compared": {
          "type": "integer",
          "title": "Lists Compared",
          "description": "How many lists were switched on and checked within 48 hours of as_of."
        },
        "counts": {
          "$ref": "#/$defs/ListCountsOut",
          "description": "How many lists read each status."
        },
        "lists": {
          "items": {
            "$ref": "#/$defs/OfficialListOut"
          },
          "type": "array",
          "title": "Lists",
          "description": "One entry per official sanctions list."
        }
      },
      "type": "object",
      "required": [
        "title",
        "summary",
        "statement",
        "cover_line",
        "basis",
        "as_of",
        "as_of_line",
        "lists_compared",
        "counts",
        "lists"
      ],
      "title": "OfficialListsBlockOut",
      "description": "One block of the section: the record (OfficialListsOut) or the recheck beside it."
    },
    "OfficialListsOut": {
      "properties": {
        "title": {
          "type": "string",
          "title": "Title",
          "description": "The section's title, Official lists."
        },
        "summary": {
          "type": "string",
          "title": "Summary",
          "description": "The section's result in one sentence."
        },
        "statement": {
          "type": "string",
          "title": "Statement",
          "description": "What the comparison is and is not, in one sentence."
        },
        "cover_line": {
          "type": "string",
          "title": "Cover Line",
          "description": "When and against which editions the lists were compared, in words."
        },
        "basis": {
          "type": "string",
          "enum": [
            "screening",
            "not_stored",
            "recheck"
          ],
          "title": "Basis",
          "description": "screening when the comparison was stored when the screening ran, not_stored for the record of a screening from before that, every list not checked at the time, recheck for a comparison made at the read."
        },
        "as_of": {
          "type": "string",
          "format": "date-time",
          "title": "As Of",
          "description": "The moment of this block, the comparison stored with the screening, the screening's own moment for a record from before list results were stored, or the read for a recheck."
        },
        "as_of_line": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "As Of Line",
          "description": "That moment in words, null for a stored check that compared no list."
        },
        "lists_compared": {
          "type": "integer",
          "title": "Lists Compared",
          "description": "How many lists were switched on and checked within 48 hours of as_of."
        },
        "counts": {
          "$ref": "#/$defs/ListCountsOut",
          "description": "How many lists read each status."
        },
        "lists": {
          "items": {
            "$ref": "#/$defs/OfficialListOut"
          },
          "type": "array",
          "title": "Lists",
          "description": "One entry per official sanctions list."
        },
        "recheck": {
          "anyOf": [
            {
              "$ref": "#/$defs/OfficialListsBlockOut"
            },
            {
              "type": "null"
            }
          ],
          "description": "Beside a not_stored record, the comparison made when the result is read, its own block with its own as_of, never part of the record. Null otherwise."
        }
      },
      "type": "object",
      "required": [
        "title",
        "summary",
        "statement",
        "cover_line",
        "basis",
        "as_of",
        "as_of_line",
        "lists_compared",
        "counts",
        "lists"
      ],
      "title": "OfficialListsOut",
      "description": "The section: its record, and beside a record from before list results were stored\nthe recheck block (basis recheck, its own as_of), one level deep, never the record."
    },
    "PublishedFieldOut": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path",
          "description": "Where on the entry the list states the field, in the list's own element and attribute names."
        },
        "value": {
          "type": "string",
          "title": "Value",
          "description": "The field's value, verbatim."
        }
      },
      "type": "object",
      "required": [
        "path",
        "value"
      ],
      "title": "PublishedFieldOut",
      "description": "One field the list publishes on an entity, vessel or aircraft entry,\nverbatim: path names where on the entry the list states it, in the list's own\nelement and attribute names, and value what it states."
    },
    "V1QuoteOut": {
      "properties": {
        "source_id": {
          "type": "string",
          "title": "Source Id",
          "description": "The id of the source the passage comes from."
        },
        "url": {
          "type": "string",
          "title": "Url",
          "description": "The source's address."
        },
        "attribution": {
          "type": "string",
          "title": "Attribution",
          "description": "The source line to show with the passage."
        },
        "passage": {
          "type": "string",
          "title": "Passage",
          "description": "The verbatim passage, at most 240 characters."
        }
      },
      "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)."
    },
    "V1ScreenedFindingOut": {
      "properties": {
        "attribute": {
          "type": "string",
          "title": "Attribute",
          "description": "What the finding is about."
        },
        "claim": {
          "type": "string",
          "title": "Claim",
          "description": "The finding in one readable statement."
        },
        "value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value",
          "description": "The finding's value as one plain figure or word, null when it states none."
        },
        "confidence": {
          "type": "string",
          "title": "Confidence",
          "description": "How sure the extraction is, high, medium or low."
        },
        "verification": {
          "type": "string",
          "title": "Verification",
          "description": "Whether the cited text bears the claim out, supported, partially_supported, unsupported or unverified."
        },
        "verifier_rationale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Verifier Rationale",
          "description": "Why the verification reads as it does, null when no reason was recorded."
        },
        "novelty": {
          "type": "string",
          "title": "Novelty",
          "description": "Whether the finding is new, an update of an earlier one or a duplicate."
        },
        "source_ids": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Source Ids",
          "description": "The ids of the sources the finding cites."
        },
        "quotes": {
          "items": {
            "$ref": "#/$defs/V1QuoteOut"
          },
          "type": "array",
          "title": "Quotes",
          "description": "The verbatim passages behind the finding, each capped and attributed."
        },
        "published_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Published At",
          "description": "The newest publication date among the finding's cited sources, null when none is dated."
        },
        "finding_id": {
          "type": "integer",
          "title": "Finding Id",
          "description": "The finding's id, which an assessment's finding_ids and its rationale cite."
        },
        "excerpt_only": {
          "type": "boolean",
          "title": "Excerpt Only",
          "description": "Every cited source was read as a search excerpt only, never as its page.",
          "default": false
        },
        "cited": {
          "type": "boolean",
          "title": "Cited",
          "description": "A verdict of this screening cites the finding. An unconfirmed identity match (confidence low) that a verdict cites is weighed there.",
          "default": false
        },
        "window": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Window",
          "description": "inside, outside (older than window_years) or undated, by the matter's own date, never the page's; null for a person's Profile line."
        },
        "matter_year": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Matter Year",
          "description": "The matter's newest year."
        },
        "marks": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Marks",
          "description": "The sentences shown beside the finding: an old or undated matter, a public function a person screening found (assess PEP status under the bank's own procedure; no PEP list is held)."
        }
      },
      "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",
          "description": "The screening category."
        },
        "label": {
          "type": "string",
          "title": "Label",
          "description": "The category in words."
        },
        "verdict": {
          "type": "string",
          "title": "Verdict",
          "description": "The category's verdict, red, amber, green or no_findings."
        },
        "rationale": {
          "type": "string",
          "title": "Rationale",
          "description": "Machine drafted. Each [f<id>] token names one of finding_ids and cites the findings entry with that finding_id; findings carries grounded findings only, so a cited finding that verification capped as unverified (no verbatim quote to show) has no entry there. Sentences that could not be shown with their citations are withheld and counted in rationale_withheld."
        },
        "rationale_withheld": {
          "type": "integer",
          "title": "Rationale Withheld",
          "description": "Sentences of the drafted rationale withheld, 0 when none were."
        },
        "finding_ids": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Finding Ids",
          "description": "The findings the verdict cites, each an entry of findings."
        },
        "source_count": {
          "type": "integer",
          "title": "Source Count",
          "description": "How many distinct sources the cited findings rest on. Several findings quoting one article count it once.",
          "default": 0
        },
        "review_state": {
          "type": "string",
          "title": "Review State",
          "description": "Where the analyst's review of the verdict stands."
        },
        "reviewed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reviewed At",
          "description": "When an analyst reviewed the verdict, null before a review."
        },
        "review_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Review Note",
          "description": "The reviewer's note, null when none was written."
        }
      },
      "type": "object",
      "required": [
        "category",
        "label",
        "verdict",
        "rationale",
        "rationale_withheld",
        "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."
    },
    "V1SourceOut": {
      "properties": {
        "source_id": {
          "type": "string",
          "title": "Source Id",
          "description": "The source's id, as findings cite it."
        },
        "url": {
          "type": "string",
          "title": "Url",
          "description": "The source's address."
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title",
          "description": "The page's title, null when it has none."
        },
        "snippet": {
          "type": "string",
          "title": "Snippet",
          "description": "The passage of the source shown with it, capped like every quote."
        },
        "retrieved_at": {
          "type": "string",
          "format": "date-time",
          "title": "Retrieved At",
          "description": "When the source was read."
        },
        "published_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Published At",
          "description": "When the publisher dated the source, null when it states no date."
        },
        "text_provenance": {
          "type": "string",
          "title": "Text Provenance",
          "description": "Where the text came from, page for a fetched page, snippet for a search index and record for a register record. A snippet counts as one report whose page is not verified."
        },
        "source_tier": {
          "type": "integer",
          "title": "Source Tier",
          "description": "The publisher tier, 1 a primary source, 2 trade press, 3 an aggregator or an unclassified publisher."
        },
        "tier_label": {
          "type": "string",
          "title": "Tier Label",
          "description": "The tier in words."
        },
        "reliability": {
          "anyOf": [
            {
              "type": "string",
              "const": "disinformation_network"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reliability",
          "description": "disinformation_network when a public authority names the outlet as part of a disinformation network, else null. Such a source is shown with its warning and never counts toward confirmation."
        },
        "reliability_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reliability Label",
          "description": "The warning in words, naming the authority and its publication, null when reliability is null."
        }
      },
      "type": "object",
      "required": [
        "source_id",
        "url",
        "title",
        "snippet",
        "retrieved_at",
        "published_at",
        "text_provenance",
        "source_tier",
        "tier_label"
      ],
      "title": "V1SourceOut",
      "description": "One cited source with its snippet, capped like every quote. source_tier and tier_label name the publisher tier, a primary source, trade press or an aggregator."
    }
  }
}