{
  "type": "object",
  "properties": {
    "duplicate": {
      "type": "boolean",
      "description": "True only when the input explicitly reports being charged more than once for the same purchase; otherwise false.",
      "x-runtime": {
        "probabilities": true
      }
    },
    "route": {
      "enum": [
        "automatic",
        "review"
      ]
    }
  },
  "required": [
    "duplicate",
    "route"
  ],
  "additionalProperties": false,
  "if": {
    "x-runtime": {
      "probability": {
        "path": "/duplicate",
        "minimum": 0.95,
        "value": true
      }
    }
  },
  "then": {
    "properties": {
      "route": {
        "const": "automatic"
      }
    }
  },
  "else": {
    "properties": {
      "route": {
        "const": "review"
      }
    }
  }
}
