{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cm-com/json-schema/cm-com-cm-platform-channels-models-event-logging-api-business-messaging-entity-event-schema.json",
  "title": "CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-apisettings-api-openapi.yml#/components/schemas/CM.Platform.Channels.Models.EventLogging.ApiBusinessMessagingEntityEvent",
  "required": [
    "id",
    "eventType",
    "createdOnUtc"
  ],
  "type": "object",
  "properties": {
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "entityId": {
      "type": "string"
    },
    "entityType": {
      "enum": [
        "MT_RECIPIENT_COUNTRY_FILTER",
        "SR_CONFIGURATION",
        "IP_RESTRICTION_CONFIGURATION",
        "RATE_LIMITING_CONFIGURATION"
      ],
      "type": "string"
    },
    "ssoAccountId": {
      "format": "uuid",
      "type": "string"
    },
    "eventType": {
      "type": "string"
    },
    "eventSubType": {
      "type": "string"
    },
    "eventMetaData": {
      "$ref": "#/$defs/CM.Platform.Channels.Models.EventLogging.ApiChannelsEventMetaData"
    },
    "createdOnUtc": {
      "format": "date-time",
      "type": "string"
    }
  },
  "$defs": {
    "CM.Platform.Channels.Models.EventLogging.ApiChannelsEventMetaData": {
      "required": [
        "from",
        "to"
      ],
      "type": "object",
      "properties": {
        "from": {
          "type": "object"
        },
        "to": {
          "type": "object"
        }
      }
    }
  }
}