Skip to content

Triggers ​

  • N/A

Consumer notes ​

Use eventId as the idempotency key.

FIU_REPORT.STR_AMENDED_CREATED.schema.json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "ReportCode": {
      "type": "string",
      "enum": [
        "IRD",
        "IRI",
        "ORD",
        "ORI",
        "XBD",
        "MSINT",
        "PEPR",
        "STR",
        "SAR",
        "TFR",
        "SCRBR",
        "CTR",
        "CFAR",
        "CFATR"
      ]
    },
    "ReportCode-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/ReportCode"
        }
      ]
    },
    "ReportStatus": {
      "type": "string",
      "enum": [
        "DRAFT",
        "IN_REVIEW",
        "APPROVED",
        "REQUEST_CHANGED",
        "EXPORTED",
        "DONE"
      ]
    },
    "ReportStatus-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/ReportStatus"
        }
      ]
    },
    "ReportingEntityOption": {
      "type": "string",
      "enum": [
        "ID",
        "DESCRIPTION"
      ]
    },
    "ReportingEntityOption-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/ReportingEntityOption"
        }
      ]
    },
    "WebhookUserData": {
      "type": "object",
      "properties": {
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "WebhookUserData-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/WebhookUserData"
        }
      ]
    }
  },
  "type": "object",
  "properties": {
    "amended": {
      "type": "boolean"
    },
    "code": {
      "$ref": "#/$defs/ReportCode-nullable"
    },
    "complianceCaseId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdBy": {
      "$ref": "#/$defs/WebhookUserData-nullable"
    },
    "fiuRefNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "identifier": {
      "type": [
        "string",
        "null"
      ]
    },
    "originalReportId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "prepareDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "reportEntityId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "reportingEntityOption": {
      "$ref": "#/$defs/ReportingEntityOption-nullable"
    },
    "reviewer": {
      "$ref": "#/$defs/WebhookUserData-nullable"
    },
    "status": {
      "$ref": "#/$defs/ReportStatus-nullable"
    },
    "submissionGroupId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "transmissionDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedBy": {
      "$ref": "#/$defs/WebhookUserData-nullable"
    }
  }
}