{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bynn-com/json-schema/bynn-com-bynn-v1-entities-aml-search-result-entity-schema.json",
  "title": "Bynn_V1_Entities_AmlSearchResultEntity",
  "description": "Bynn_V1_Entities_AmlSearchResultEntity model",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bynn-com-aml-api-openapi.yml#/components/schemas/Bynn_V1_Entities_AmlSearchResultEntity",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable identifier of the matched profile (use it to fetch full detail)."
    },
    "name": {
      "type": "string",
      "description": "Primary name / caption of the match."
    },
    "schema": {
      "type": "string",
      "enum": [
        "Person",
        "Company",
        "Organization",
        "LegalEntity"
      ],
      "description": "Kind of profile matched."
    },
    "match": {
      "type": "boolean",
      "description": "Whether the provider considers this a strong match (above the match threshold)."
    },
    "score": {
      "type": "number",
      "description": "Match score (0.0–1.0)."
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {}
      },
      "description": "Risk topics on the profile (e.g. sanction, role.pep, crime, debarment)."
    },
    "birth_date": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {}
      },
      "description": "Known dates of birth (YYYY-MM-DD)."
    },
    "birth_place": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {}
      },
      "description": "Known places of birth."
    },
    "death_date": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {}
      },
      "description": "Known dates of death, when applicable."
    },
    "country": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {}
      },
      "description": "Citizenship / nationality / country of the profile."
    }
  },
  "required": [
    "id",
    "name",
    "schema",
    "match",
    "score",
    "topics",
    "birth_date",
    "birth_place",
    "death_date",
    "country"
  ]
}