Amazon Fraud Detector · JSON Structure

Amazon Fraud Detector Rule Structure

A Fraud Detector rule that maps model scores and event variables to outcomes.

Type: object Properties: 0
Financial ServicesFraud DetectionMachine LearningSecurity

Rule is a JSON Structure definition published by Amazon Fraud Detector. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-fraud-detector/refs/heads/main/json-structure/amazon-fraud-detector-rule-structure.json",
  "name": "Rule",
  "description": "A Fraud Detector rule that maps model scores and event variables to outcomes.",
  "type": "object",
  "fields": [
    {
      "name": "ruleId",
      "type": "string",
      "description": "Unique rule identifier.",
      "required": true
    },
    {
      "name": "detectorId",
      "type": "string",
      "description": "Detector this rule belongs to.",
      "required": true
    },
    {
      "name": "ruleVersion",
      "type": "string",
      "description": "Version of the rule."
    },
    {
      "name": "description",
      "type": "string",
      "description": ""
    },
    {
      "name": "language",
      "type": "string",
      "description": "Rule expression language.",
      "required": true,
      "enum": [
        "DETECTORPL"
      ]
    },
    {
      "name": "expression",
      "type": "string",
      "description": "Rule expression evaluated against event variables and model scores.",
      "required": true
    },
    {
      "name": "outcomes",
      "type": "array",
      "description": "Outcomes triggered when the rule matches.",
      "required": true
    },
    {
      "name": "arn",
      "type": "string",
      "description": ""
    }
  ]
}