# API Response Schema

<mark style="color:red;">**San Entries**</mark>&#x20;

```json
// SanEntries

{
  "sanEntries": {
    "current": [
      {
        "sanctionId": "124122", // String: The sanction ID provided by the sanctioning body
        "measures": [
          "Travel Ban" // Array of strings: List of measures enforced by the sanctioning body
        ],
        "regime": {
          "body": "United Nations Security Council (UNSC)", // String: Name of the issuing body
          "bodyId": 1, // Number: ID of the sanction body (Beta feature)
          "name": "Iranian Sanctions List", // String: Name of the sanction regime
          "origin": "United Nations", // String: Country or region issuing the sanctions
          "types": [
            "Non-Proliferation",
            "Human Rights"
          ] // Array of strings: Types of sanctions classified by the sanctioning body
          // Enum options for "types": ["Counter Narcotics", "Hostile Activities", "Human Rights", "Non-Proliferation", "Territorial Violation", "Terrorism"]
        },
        "events": [
          {
            "type": "Added", // String: Indicates the type of event
            // Enum options for "type": ["Added", "Amended", "Removed"]
            "dateIso": "2021-05-05", // String: Date of the event in ISO format
            "evidenceIds": [
              "12422" // Array of strings: List of evidence IDs associated with the sanction event
            ]
          }
        ]
      }
    ],
    "former": [
      {
        "sanctionId": "124122", // String: The sanction ID provided by the sanctioning body
        "measures": [
          "Travel Ban" // Array of strings: List of measures enforced by the sanctioning body
        ],
        "regime": {
          "body": "United Nations Security Council (UNSC)", // String: Name of the issuing body
          "bodyId": 1, // Number: ID of the sanction body (Beta feature)
          "name": "Iranian Sanctions List", // String: Name of the sanction regime
          "origin": "United Nations", // String: Country or region issuing the sanctions
          "types": [
            "Non-Proliferation",
            "Human Rights"
          ] // Array of strings: Types of sanctions classified by the sanctioning body
          // Enum options for "types": ["Counter Narcotics", "Hostile Activities", "Human Rights", "Non-Proliferation", "Territorial Violation", "Terrorism"]
        },
        "events": [
          {
            "type": "Added", // String: Indicates the type of event
            // Enum options for "type": ["Added", "Amended", "Removed"]
            "dateIso": "2021-05-05", // String: Date of the event in ISO format
            "evidenceIds": [
              "12422" // Array of strings: List of evidence IDs associated with the sanction event
            ]
          }
        ]
      }
    ]
  }
}

```

<mark style="color:red;">**relEntries**</mark>

```json
// relEntries
{
  "relEntries": [
    {
      "category": "Law Enforcement",
      "subcategory": "Police - Avon and Somerset Police - Wanted & In Court - United Kingdom",
      "events": [
        {
          "type": "Arrest",
          "currencyCode": "USD",
          "amount": 1000,
          "period": {
            "days": null,
            "months": null,
            "years": null
          },
          "dateIso": "2021-04-09",
          "evidenceIds": [
            "354363"
          ]
        }
      ]
    }
  ]
}


```

<mark style="color:red;">**rreEntries**</mark>

```json
// rreEntries

{
  "rreEntries": [
    {
      "category": "Cybercrime",
      "subcategory": "Identity Theft",
      "events": [
        {
          "type": "Court Proceedings in Progress: Remand",
          "dateIso": "2021-04-09",
          "evidenceIds": [
            "542622"
          ]
        }
      ]
    }
  ]
}

```

<mark style="color:red;">**poiEntries**</mark>

```json
// poiEntries

{
  "poiEntries": [
    {
      "category": "Local Government Administration",
      "evidenceIds": [
        "542622"
      ],
      "positions": [
        {
          "position": "The name of the political position",
          "dateOfElectionIso": "2021-03-12",
          "segment": "Segment",
          "countryIsoCode": "ES",
          "dateFromIso": "2021-03-12",
          "dateToIso": "2021-03-12"
        }
      ]
    }
  ]
}

```

<mark style="color:red;">**insEntries**</mark>

```json
// insEntries

{
  "insEntries": [
    {
      "type": "Individual Voluntary Arrangement",
      "insolvencyIdNumber": null,
      "solicitor": "HM Revenue and Customs, Solicitor's Office & Legal Services, South West Wing, Bush House, Strand, London, WC2B 4RD",
      "court": "Voluntary Liquidation Cases",
      "petitioner": "Commissioners For Hm Revenue And Customs",
      "debt": "GBP 5,748",
      "accountantInBankruptcyCaseNumber": "2020/601289",
      "insolvencyStartDateIso": "2020-10-05",
      "insolvencyEndDateIso": "2024-10-05",
      "hearingDateIso": "2020-10-01",
      "presentedDateOfPetitionIso": "2020-10-01",
      "gazetteIssueDateIso": "2020-10-05",
      "awardDateIso": "2020-10-03",
      "firstOrderDateIso": "2020-10-11",
      "evidenceIds": [
        "252231"
      ]
    }
  ]
}

```

<mark style="color:red;">**ddEntries**</mark>

```json
// Some code

{
  "ddEntries": [
    {
      "caseReference": "INV5943477",
      "reason": "Disqualification order or undertaking; and reporting provisions.",
      "conduct": "Brufix Glazing System Installations Limited",
      "dateFromIso": "2021-03-09",
      "dateToIso": "2027-03-08",
      "evidenceIds": [
        "string"
      ]
    }
  ]
}

```

<mark style="color:red;">**pepEntries**</mark>

```json
// pepEntries

{
  "pepEntries": {
    "pepTier": "PEP Tier 2",
    "current": [
      {
        "countryIsoCode": "GB",
        "segment": "Executive Branch - Head and Members of Government and Deputies",
        "position": "Prime Minister (Kryeministër) | Council of Ministers (Këshilli i Ministrave)",
        "dateFromIso": "2019",
        "dateToIso": "2022-01-01",
        "evidenceIds": [
          "362233"
        ]
      }
    ],
    "former": [
      {
        "countryIsoCode": "GB",
        "segment": "Executive Branch - Head and Members of Government and Deputies",
        "position": "Prime Minister (Kryeministër) | Council of Ministers (Këshilli i Ministrave)",
        "dateFromIso": "2019",
        "dateToIso": "2022-01-01",
        "evidenceIds": [
          "362233"
        ]
      }
    ]
  }
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydb/okaydb-all/aml-search/search-person/api-response-schema.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
