{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rightmoney-com/json-schema/rightmoney-com-confirm-response-schema.json",
  "title": "ConfirmResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rightmoney-com-openapi.json#/components/schemas/ConfirmResponse",
  "type": "object",
  "required": [
    "success"
  ],
  "properties": {
    "success": {
      "type": "boolean"
    },
    "confirmed": {
      "type": "integer",
      "description": "Number of classifications confirmed"
    },
    "rules_created": {
      "type": "integer",
      "description": "Number of persistent merchant rules created"
    },
    "auto_confirm_threshold": {
      "type": "number",
      "description": "Present when auto_confirm was true."
    },
    "needs_review_count": {
      "type": "integer",
      "description": "Unconfirmed classifications left for review. Present when auto_confirm was true."
    },
    "needs_review": {
      "type": "array",
      "description": "Up to 15 lowest-confidence unconfirmed classifications. Present when auto_confirm was true.",
      "items": {
        "type": "object"
      }
    }
  }
}