ubo_ownership_percentageCompliance

Mock Jutsu HOW-TO | EN

The ubo_ownership_percentage function within the mock-jutsu library is a specialized utility designed for developers building compliance and financial technology applications. When developing systems for Anti-Money Laundering (AML) or Know Your Customer (KYC) protocols, having access to realistic mock data is essential for verifying complex logic. This function generates a precise decimal value representing the equity stake held by an Ultimate Beneficial Owner, ranging from 0.01 to 100.00. By simulating these percentages, engineers can ensure their systems correctly identify and categorize individuals who exert significant control over a legal entity.

Technically, the function utilizes a uniform distribution algorithm to produce values with two-decimal precision, mirroring the standard reporting formats used by global financial regulators. Whether you are using the mock-jutsu Python API with jutsu.generate('ubo_ownership_percentage') or the command-line interface, the output remains consistent and syntactically valid for database ingestion. This level of detail is crucial because many international regulations, such as those defined by the Financial Action Task Force (FATF), often trigger specific reporting requirements at distinct thresholds, most notably the 25 percent ownership mark.

Using ubo_ownership_percentage to generate test data allows QA teams to validate complex business logic surrounding ownership structures. For example, developers can test edge cases where multiple UBOs combine to reach a total, or verify that the system correctly flags any individual holding more than a specific regulatory limit. It is particularly useful for stress-testing data visualization tools like cap tables or organizational charts where high-precision floating-point numbers must be rendered accurately without breaking the layout or calculation engine.

One of the primary benefits of integrating mock-jutsu into your workflow is the versatility across different environments. Performance testers can leverage the JMeter plugin using the ${__mockjutsu(ubo_ownership_percentage,)} syntax to simulate high-concurrency registration flows. This ensures that the backend can handle a massive influx of compliance data without relying on sensitive, real-world information. Ultimately, this function streamlines the development of robust, compliant software by providing a reliable source of high-quality test data that satisfies both technical requirements and regulatory scrutiny.

CLI Usage
mockjutsu generate ubo_ownership_percentagemockjutsu bulk ubo_ownership_percentage --count 10mockjutsu export ubo_ownership_percentage --count 10 --format jsonmockjutsu export ubo_ownership_percentage --count 10 --format csvmockjutsu export ubo_ownership_percentage --count 10 --format sql
Python API
from mockjutsu import jutsujutsu.generate('ubo_ownership_percentage')jutsu.bulk('ubo_ownership_percentage', count=10)jutsu.template(['ubo_ownership_percentage'], count=5)
JMeter
${__mockjutsu_compliance(ubo_ownership_percentage)}# JMeter Function: __mockjutsu_compliance# Parameter 1: ubo_ownership_percentage# Parameter 2: (not required for this function)
REST API
GET /generate/ubo_ownership_percentage# → {"type":"ubo_ownership_percentage","result":"...","status":"ok"}GET /bulk/ubo_ownership_percentage?count=10POST /template {"types":["ubo_ownership_percentage"],"count":1}

Other Languages