decide-fyi · Schema

PolicyAnomalyReport

Decision APIRule EngineSaaSAutomationRuntime

Properties

Name Type Description
ok boolean
decision_anomaly_report_version string
generated_at string
policy_id string
policy_version stringnull
source string
minimum_sample_size integer
anomaly_threshold number
max_anomalies_returned integer
decisions_analyzed integer
outcomes_analyzed integer
distinct_decisions integer
status string
recommendation string
summary object
baseline object
anomalies array
window object
data_quality object
anomaly_hash string
View JSON Schema on GitHub

JSON Schema

decide-fyi-policy-anomaly-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/decide-fyi/json-schema/decide-fyi-policy-anomaly-report-schema.json",
  "title": "PolicyAnomalyReport",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/decide-fyi-openapi.json#/components/schemas/PolicyAnomalyReport",
  "type": "object",
  "required": [
    "ok",
    "decision_anomaly_report_version",
    "policy_id",
    "decisions_analyzed",
    "summary",
    "baseline",
    "anomalies",
    "anomaly_hash",
    "recommendation"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "decision_anomaly_report_version": {
      "type": "string",
      "const": "decision_anomaly_report_v1"
    },
    "generated_at": {
      "type": "string"
    },
    "policy_id": {
      "type": "string"
    },
    "policy_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "string",
      "const": "decision_outcomes"
    },
    "minimum_sample_size": {
      "type": "integer"
    },
    "anomaly_threshold": {
      "type": "number"
    },
    "max_anomalies_returned": {
      "type": "integer"
    },
    "decisions_analyzed": {
      "type": "integer"
    },
    "outcomes_analyzed": {
      "type": "integer"
    },
    "distinct_decisions": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "enum": [
        "scored",
        "insufficient_data"
      ]
    },
    "recommendation": {
      "type": "string",
      "enum": [
        "collect_more_outcomes",
        "review_high_anomalies",
        "monitor_anomalies",
        "stable"
      ]
    },
    "summary": {
      "type": "object",
      "properties": {
        "anomaly_count": {
          "type": "integer"
        },
        "returned_count": {
          "type": "integer"
        },
        "high_count": {
          "type": "integer"
        },
        "medium_count": {
          "type": "integer"
        },
        "low_count": {
          "type": "integer"
        },
        "max_score": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "baseline": {
      "type": "object",
      "additionalProperties": true
    },
    "anomalies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PolicyAnomaly"
      }
    },
    "window": {
      "type": "object",
      "additionalProperties": true
    },
    "data_quality": {
      "type": "object",
      "additionalProperties": true
    },
    "anomaly_hash": {
      "type": "string"
    }
  },
  "additionalProperties": true,
  "$defs": {
    "PolicyAnomaly": {
      "type": "object",
      "required": [
        "decision_id",
        "outcome_id",
        "anomaly_score",
        "severity",
        "reasons"
      ],
      "properties": {
        "decision_id": {
          "type": "string"
        },
        "outcome_id": {
          "type": "string"
        },
        "anomaly_score": {
          "type": "number"
        },
        "severity": {
          "type": "string",
          "enum": [
            "normal",
            "low",
            "medium",
            "high"
          ]
        },
        "reasons": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PolicyAnomalyReason"
          }
        },
        "decision_verdict": {
          "type": "string"
        },
        "outcome_status": {
          "type": "string"
        },
        "action_executed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "policy_id": {
          "type": "string"
        },
        "policy_version": {
          "type": [
            "string",
            "null"
          ]
        },
        "target_system": {
          "type": [
            "string",
            "null"
          ]
        },
        "target_object_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "mutation": {
          "type": [
            "string",
            "null"
          ]
        },
        "reported_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "outcome_hash": {
          "type": [
            "string",
            "null"
          ]
        },
        "decision_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "verify_url": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "PolicyAnomalyReason": {
      "type": "object",
      "required": [
        "code",
        "message",
        "weight"
      ],
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "weight": {
          "type": "number"
        },
        "observed": {
          "type": "object",
          "additionalProperties": true
        },
        "baseline": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    }
  }
}

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/decide-fyi-policy-anomaly-report"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.