{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-pending-account-assessment-schema.json",
  "title": "PendingAccountAssessment",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memo-bank-account-assessments-api-openapi.yml#/components/schemas/PendingAccountAssessment",
  "required": [
    "iban",
    "id",
    "status"
  ],
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/AccountAssessmentDiscriminator"
    }
  ],
  "$defs": {
    "AccountAssessmentDiscriminator": {
      "required": [
        "iban",
        "id",
        "status"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the account assessment.",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "description": "Status of the account assessment.",
          "enum": [
            "pending",
            "completed",
            "failed"
          ]
        },
        "iban": {
          "type": "string",
          "description": "IBAN from the request."
        }
      }
    }
  }
}