infinihash-com · Schema

PolicyDecision

CompanyFintechCryptocurrencyComplianceKYCTransaction MonitoringInfrastructure

Properties

Name Type Description
verification_required object
reason_code string P00 default, P01-P08 rule reasons (custom rules may set others), P99 fail-closed.
matched_rule stringnull Id of the rule that matched, null when the ruleset default applied.
ruleset_version integernull
evaluated_at string
fail_closed boolean true when evaluation failed and the most restrictive outcome (full_idv) was returned.
obligation object Deferred obligation recorded for a dl_image outcome; null otherwise.
ruleset_source string
errors array Present on fail-closed decisions caused by an invalid ruleset or evaluation error.
View JSON Schema on GitHub

JSON Schema

infinihash-com-policy-decision-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-policy-decision-schema.json",
  "title": "PolicyDecision",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infinihash-com-policy-api-openapi.yml#/components/schemas/PolicyDecision",
  "type": "object",
  "required": [
    "verification_required",
    "reason_code",
    "matched_rule",
    "ruleset_version",
    "evaluated_at",
    "fail_closed",
    "obligation",
    "ruleset_source"
  ],
  "properties": {
    "verification_required": {
      "$ref": "#/$defs/PolicyOutcome"
    },
    "reason_code": {
      "type": "string",
      "description": "P00 default, P01-P08 rule reasons (custom rules may set others), P99 fail-closed."
    },
    "matched_rule": {
      "type": [
        "string",
        "null"
      ],
      "description": "Id of the rule that matched, null when the ruleset default applied."
    },
    "ruleset_version": {
      "type": [
        "integer",
        "null"
      ]
    },
    "evaluated_at": {
      "type": "string",
      "format": "date-time"
    },
    "fail_closed": {
      "type": "boolean",
      "description": "true when evaluation failed and the most restrictive outcome (full_idv) was returned."
    },
    "obligation": {
      "allOf": [
        {
          "$ref": "#/$defs/PolicyObligation"
        }
      ],
      "description": "Deferred obligation recorded for a dl_image outcome; null otherwise."
    },
    "ruleset_source": {
      "type": "string",
      "enum": [
        "default",
        "tenant",
        "error"
      ]
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Present on fail-closed decisions caused by an invalid ruleset or evaluation error."
    }
  },
  "$defs": {
    "PolicyObligation": {
      "type": "object",
      "required": [
        "id",
        "type",
        "status",
        "due_by",
        "on_lapse",
        "card_ref",
        "existing"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "dl_image"
          ]
        },
        "status": {
          "type": "string",
          "description": "open on creation (or the status of the existing open obligation)."
        },
        "due_by": {
          "type": "string",
          "format": "date-time"
        },
        "on_lapse": {
          "type": "string",
          "enum": [
            "flag",
            "block",
            "escalate"
          ]
        },
        "card_ref": {
          "type": [
            "string",
            "null"
          ]
        },
        "existing": {
          "type": "boolean",
          "description": "true when an already-open obligation for this card was returned instead of creating a new one."
        }
      }
    },
    "PolicyOutcome": {
      "type": "string",
      "enum": [
        "none",
        "sms_confirmation",
        "dl_number",
        "dl_image",
        "liveness",
        "full_idv"
      ],
      "description": "Verification step required. Ordered from least to most restrictive."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/infinihash-com-policy-decision"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.