{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oceanalt-com/json-schema/oceanalt-com-screen-result-schema.json",
  "title": "ScreenResult",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oceanalt-com-openapi.json#/components/schemas/ScreenResult",
  "type": "object",
  "properties": {
    "screening_checks": {
      "type": "object",
      "description": "Actual execution status of each screening source. failed, unknown and not_checked are not negative matches.",
      "properties": {
        "lists": {
          "type": "string",
          "enum": [
            "listed",
            "not_listed",
            "failed",
            "unknown",
            "not_checked"
          ]
        },
        "risk_list": {
          "type": "string",
          "enum": [
            "listed",
            "not_listed",
            "failed",
            "unknown",
            "not_checked"
          ]
        },
        "same_key": {
          "type": "string",
          "enum": [
            "listed",
            "not_listed",
            "failed",
            "unknown",
            "not_checked"
          ]
        },
        "freeze": {
          "type": "string",
          "enum": [
            "frozen",
            "clear",
            "unknown",
            "not_applicable",
            "not_checked"
          ]
        }
      }
    },
    "address": {
      "type": "string"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "clear",
        "caution",
        "risky",
        "uncertain"
      ],
      "description": "uncertain means screening could not run — never treat it as clear."
    },
    "retry_hint": {
      "type": "string",
      "description": "One sentence on what retrying can and cannot change. Branch on retry, not on this text."
    },
    "screened_network": {
      "type": "string",
      "description": "The chain the on-chain part actually ran on: tron, solana, bitcoin and xrpl follow the address format (bitcoin, solana and xrpl are list screening only); list-only chains (monero, bitcoin-cash, litecoin, bnb-beacon, and the chain named by a list entry such as dogecoin) come with screening_scope; an EVM address uses network, or ethereum when none was given (or when network was an unrecognised eip155 chain id, which requires_information then says)."
    },
    "screening_scope": {
      "type": "object",
      "description": "Present for list-only chains (monero, bitcoin-cash, litecoin, bnb-beacon; and dogecoin, dash, zcash, bitcoin-gold, verge, bitcoin-sv when a list entry names that chain): coverage is list_only and no on-chain analysis is performed. Also present when the request names an EVM testnet: coverage is testnet_not_screened, that chain was not screened, and a payee with no list hit gets review, not allow.",
      "properties": {
        "chain": {
          "type": "string"
        },
        "coverage": {
          "type": "string",
          "enum": [
            "list_only",
            "testnet_not_screened"
          ]
        },
        "onchain_analysis": {
          "type": "boolean",
          "enum": [
            false
          ]
        },
        "note": {
          "type": "string"
        }
      }
    },
    "requires_information": {
      "type": "object",
      "description": "Present when a missing input could make the answer about something else (most often network for an EVM address): fields, why, how."
    },
    "evaluated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When this verdict was computed (for a cached answer, when it was originally computed)."
    },
    "evidence_as_of": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Per list kind, the date that list was last read. Not how recent the list content is."
    },
    "evidence_oldest": {
      "type": [
        "string",
        "null"
      ],
      "description": "The oldest of evidence_as_of."
    },
    "evidence_qualification": {
      "type": "object",
      "description": "Per list kind: read_at, and below the kya level nothing else (detail_level coarse); at the kya level also upstream status fields.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "read_at": {
            "type": "string",
            "format": "date-time",
            "description": "When OceanAlt last read this list kind."
          }
        }
      }
    },
    "cached": {
      "type": "boolean",
      "description": "true when the verdict came from the short-lived cache rather than a fresh screen."
    },
    "detail_note": {
      "type": "string",
      "description": "Present when detail_level is coarse: what was rounded or summarized and how to get the full view."
    },
    "blocked_attempts": {
      "type": "integer",
      "description": "GET /api/risk only: how many payments to this address OceanAlt's gateway has blocked."
    },
    "source": {
      "type": "string",
      "description": "GET /api/risk only: a one-line description of the data behind the verdict."
    },
    "risk": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 100,
      "description": "Below the kya level (anonymous calls and registered keys) this is rounded to the nearest 10 (detail_level coarse). Branch on decision and signal_keys, not on the exact score."
    },
    "risk_band": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "low",
        "medium",
        "high",
        null
      ],
      "description": "low < 30 <= medium < 70 <= high."
    },
    "detail_level": {
      "type": "string",
      "enum": [
        "full",
        "coarse"
      ],
      "description": "coarse below the kya level (anonymous calls and registered keys): same decision and signal_keys; risk rounded, provider and evidence_qualification summarized, intelligence omitted. full at the kya level, on the team plan and on the paid x402 endpoints."
    },
    "blocked": {
      "type": "boolean"
    },
    "lang": {
      "type": "string",
      "enum": [
        "en",
        "zh"
      ],
      "description": "Language the human-readable fields were rendered in."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Human-readable risk signals, in the requested language."
    },
    "signal_keys": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Language-independent signal keys (e.g. list.mixer, taint.onehop). Branch on these, not on the prose."
    },
    "evidence": {
      "type": "array",
      "description": "Verifiable evidence: which list, label or on-chain path matched, with a link you can open yourself.",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "provider": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "reason_code": {
      "type": "string",
      "description": "Stable machine-readable reason code (x402 conformance)."
    },
    "signal_class": {
      "type": "string",
      "enum": [
        "ok",
        "payment",
        "regulatory",
        "authorization",
        "uncertain",
        "client_error"
      ],
      "description": "regulatory covers both sanctions-list hits and AML risk policy such as mixer exposure. To tell them apart, read signal_keys (for example list.sanction vs list.mixer)."
    },
    "retry": {
      "type": "string",
      "enum": [
        "non_retryable",
        "not_applicable",
        "policy_dependent_backoff",
        "retry_after_authorization",
        "retry_after_fix",
        "retryable_after_funding"
      ],
      "description": "Whether and under what condition an agent should retry. One of the stable values listed at /api/contract (retry_values)."
    },
    "advice": {
      "type": "string"
    },
    "standard": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "address",
    "verdict",
    "retry"
  ]
}