Class: Dataleon::Models::CompanyRegistration::AmlSuspicion

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/dataleon/models/company_registration.rb

Defined Under Namespace

Modules: Status, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(caption: nil, country: nil, gender: nil, relation: nil, schema: nil, score: nil, source: nil, status: nil, type: nil) ⇒ Object

Some parameter documentations has been truncated, see Dataleon::Models::CompanyRegistration::AmlSuspicion for more details.

Represents a record of suspicion raised during Anti-Money Laundering (AML) screening. Includes metadata such as risk score, origin, and linked watchlist types.

Parameters:

  • caption (String) (defaults to: nil)

    Human-readable description or title for the suspicious finding.

  • country (String) (defaults to: nil)

    Country associated with the suspicion (ISO 3166-1 alpha-2 code).

  • gender (String) (defaults to: nil)

    Gender associated with the suspicion, if applicable.

  • relation (String) (defaults to: nil)

    Nature of the relationship between the entity and the suspicious activity (e.g.,

  • schema (String) (defaults to: nil)

    Version of the evaluation schema or rule engine used.

  • score (Float) (defaults to: nil)

    Risk score between 0.0 and 1 indicating the severity of the suspicion.

  • source (String) (defaults to: nil)

    Source system or service providing this suspicion.

  • status (Symbol, Dataleon::Models::CompanyRegistration::AmlSuspicion::Status) (defaults to: nil)

    Status of the suspicion review process. Possible values: “true_positive”, “false

  • type (Symbol, Dataleon::Models::CompanyRegistration::AmlSuspicion::Type) (defaults to: nil)

    Category of the suspicion. Possible values: “crime”, “sanction”, “pep”, “adverse



120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
# File 'lib/dataleon/models/company_registration.rb', line 120

class AmlSuspicion < Dataleon::Internal::Type::BaseModel
  # @!attribute caption
  #   Human-readable description or title for the suspicious finding.
  #
  #   @return [String, nil]
  optional :caption, String

  # @!attribute country
  #   Country associated with the suspicion (ISO 3166-1 alpha-2 code).
  #
  #   @return [String, nil]
  optional :country, String

  # @!attribute gender
  #   Gender associated with the suspicion, if applicable.
  #
  #   @return [String, nil]
  optional :gender, String

  # @!attribute relation
  #   Nature of the relationship between the entity and the suspicious activity (e.g.,
  #   "linked", "associated").
  #
  #   @return [String, nil]
  optional :relation, String

  # @!attribute schema
  #   Version of the evaluation schema or rule engine used.
  #
  #   @return [String, nil]
  optional :schema, String

  # @!attribute score
  #   Risk score between 0.0 and 1 indicating the severity of the suspicion.
  #
  #   @return [Float, nil]
  optional :score, Float

  # @!attribute source
  #   Source system or service providing this suspicion.
  #
  #   @return [String, nil]
  optional :source, String

  # @!attribute status
  #   Status of the suspicion review process. Possible values: "true_positive",
  #   "false_positive", "pending".
  #
  #   @return [Symbol, Dataleon::Models::CompanyRegistration::AmlSuspicion::Status, nil]
  optional :status, enum: -> { Dataleon::CompanyRegistration::AmlSuspicion::Status }

  # @!attribute type
  #   Category of the suspicion. Possible values: "crime", "sanction", "pep",
  #   "adverse_news", "other".
  #
  #   @return [Symbol, Dataleon::Models::CompanyRegistration::AmlSuspicion::Type, nil]
  optional :type, enum: -> { Dataleon::CompanyRegistration::AmlSuspicion::Type }

  # @!method initialize(caption: nil, country: nil, gender: nil, relation: nil, schema: nil, score: nil, source: nil, status: nil, type: nil)
  #   Some parameter documentations has been truncated, see
  #   {Dataleon::Models::CompanyRegistration::AmlSuspicion} for more details.
  #
  #   Represents a record of suspicion raised during Anti-Money Laundering (AML)
  #   screening. Includes metadata such as risk score, origin, and linked watchlist
  #   types.
  #
  #   @param caption [String] Human-readable description or title for the suspicious finding.
  #
  #   @param country [String] Country associated with the suspicion (ISO 3166-1 alpha-2 code).
  #
  #   @param gender [String] Gender associated with the suspicion, if applicable.
  #
  #   @param relation [String] Nature of the relationship between the entity and the suspicious activity (e.g.,
  #
  #   @param schema [String] Version of the evaluation schema or rule engine used.
  #
  #   @param score [Float] Risk score between 0.0 and 1 indicating the severity of the suspicion.
  #
  #   @param source [String] Source system or service providing this suspicion.
  #
  #   @param status [Symbol, Dataleon::Models::CompanyRegistration::AmlSuspicion::Status] Status of the suspicion review process. Possible values: "true_positive", "false
  #
  #   @param type [Symbol, Dataleon::Models::CompanyRegistration::AmlSuspicion::Type] Category of the suspicion. Possible values: "crime", "sanction", "pep", "adverse

  # Status of the suspicion review process. Possible values: "true_positive",
  # "false_positive", "pending".
  #
  # @see Dataleon::Models::CompanyRegistration::AmlSuspicion#status
  module Status
    extend Dataleon::Internal::Type::Enum

    TRUE_POSITIVE = :true_positive
    FALSE_POSITIVE = :false_positive
    PENDING = :pending

    # @!method self.values
    #   @return [Array<Symbol>]
  end

  # Category of the suspicion. Possible values: "crime", "sanction", "pep",
  # "adverse_news", "other".
  #
  # @see Dataleon::Models::CompanyRegistration::AmlSuspicion#type
  module Type
    extend Dataleon::Internal::Type::Enum

    CRIME = :crime
    SANCTION = :sanction
    PEP = :pep
    ADVERSE_NEWS = :adverse_news
    OTHER = :other

    # @!method self.values
    #   @return [Array<Symbol>]
  end
end

Instance Attribute Details

#captionString?

Human-readable description or title for the suspicious finding.

Returns:

  • (String, nil)


125
# File 'lib/dataleon/models/company_registration.rb', line 125

optional :caption, String

#countryString?

Country associated with the suspicion (ISO 3166-1 alpha-2 code).

Returns:

  • (String, nil)


131
# File 'lib/dataleon/models/company_registration.rb', line 131

optional :country, String

#genderString?

Gender associated with the suspicion, if applicable.

Returns:

  • (String, nil)


137
# File 'lib/dataleon/models/company_registration.rb', line 137

optional :gender, String

#relationString?

Nature of the relationship between the entity and the suspicious activity (e.g., “linked”, “associated”).

Returns:

  • (String, nil)


144
# File 'lib/dataleon/models/company_registration.rb', line 144

optional :relation, String

#schemaString?

Version of the evaluation schema or rule engine used.

Returns:

  • (String, nil)


150
# File 'lib/dataleon/models/company_registration.rb', line 150

optional :schema, String

#scoreFloat?

Risk score between 0.0 and 1 indicating the severity of the suspicion.

Returns:

  • (Float, nil)


156
# File 'lib/dataleon/models/company_registration.rb', line 156

optional :score, Float

#sourceString?

Source system or service providing this suspicion.

Returns:

  • (String, nil)


162
# File 'lib/dataleon/models/company_registration.rb', line 162

optional :source, String

#statusSymbol, ...

Status of the suspicion review process. Possible values: “true_positive”, “false_positive”, “pending”.



169
# File 'lib/dataleon/models/company_registration.rb', line 169

optional :status, enum: -> { Dataleon::CompanyRegistration::AmlSuspicion::Status }

#typeSymbol, ...

Category of the suspicion. Possible values: “crime”, “sanction”, “pep”, “adverse_news”, “other”.



176
# File 'lib/dataleon/models/company_registration.rb', line 176

optional :type, enum: -> { Dataleon::CompanyRegistration::AmlSuspicion::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/dataleon/models/company_registration.rb', line 215