> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Rule オブジェクト（IRule インターフェイス）

このオブジェクトはルールを表します。ルールとは、フィールド内のデータに対して設定される特定の条件です。ドキュメント内の値がこれらの条件を満たさない場合、[ルールエラー](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/ruleerror.md)が発生します。ルールを適用する主な目的は、ドキュメントデータの整合性を検証することです。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **Name** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | ルール名を返します。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/Rule.gif?s=296b219e6c408502d1a944c5eddae216)

## 関連項目

[**RuleError**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/ruleerror.md)

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
