> ## 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.

# オブジェクト モデル

> Vantage で Advanced Script Rules を記述するための JavaScript オブジェクトリファレンス — Context、Field、Document、および関連する型。

Advanced Script Rules を記述する際は、文書、その field、実行コンテキスト、画像領域、および Vantage のデータ カタログを表す一連の JavaScript オブジェクトにアクセスできます。

Vantage JavaScript インタープリタは ECMAScript 5.1 と、後のバージョンで導入された一部の機能をサポートしています。詳細については、[ECMAScript リポジトリ](https://github.com/sebastienros/jint#supported-features)を参照してください。

<div id="data-access">
  ## データ アクセス
</div>

スクリプトでは、カスタム関数を定義したり、`Context` オブジェクトを介して Vantage のデータ カタログにアクセスしたりできます。

<Note>
  スクリプトでは、次のことはできません。

  * Vantage のデータ カタログ以外のデータベースにリクエストを送信する。
  * 外部サービスにリクエストを送信する。
  * jQuery などのサードパーティ製ライブラリを使用する。
</Note>

<div id="object-reference">
  ## オブジェクトリファレンス
</div>

Advanced Script Rulesを記述する際は、これらのオブジェクトを使用します。

<div id="execution-context">
  ### 実行コンテキスト
</div>

| オブジェクト                                                                                                         | 説明                                                            |
| :------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------ |
| [Context](/ja/vantage/documentation/skill-designer/document/rule-verification/context)                         | ルール内で、文書、field、Catalog の record、および Skill Parameter にアクセスします。 |
| [Parameter](/ja/vantage/documentation/skill-designer/document/rule-verification/parameter)                     | Parameter の値。                                                 |
| [SkillParameter](/ja/vantage/documentation/skill-designer/document/rule-verification/skill-parameter)          | Skill Parameter の値。                                           |
| [SkillParameterType](/ja/vantage/documentation/skill-designer/document/rule-verification/skill-parameter-type) | 使用可能な Skill Parameter の型を表す 列挙。                               |

<div id="document-structure">
  ### 文書構造
</div>

| オブジェクト                                                                                      | 説明                                                         |
| :------------------------------------------------------------------------------------------ | :--------------------------------------------------------- |
| [Document](/ja/vantage/documentation/skill-designer/document/rule-verification/document)    | 処理対象の文書で、ページ、ソースファイル、および適用されている Skill が含まれます。              |
| [Page](/ja/vantage/documentation/skill-designer/document/rule-verification/page)            | 1 つの文書ページです。                                               |
| [Field](/ja/vantage/documentation/skill-designer/document/rule-verification/field)          | 文書内の field で、ルール実行中に内容を確認または変更するためのプロパティとメソッドを備えています。      |
| [FieldType](/ja/vantage/documentation/skill-designer/document/rule-verification/field-type) | 利用可能な field 型と、各型でサポートされるデータ型の列挙です。                        |
| [DataType](/ja/vantage/documentation/skill-designer/document/rule-verification/data-type)   | field に含めることができるデータ型の列挙です。通貨値用の `AmountOfMoney` クラスも含まれます。 |

<div id="image-regions">
  ### 画像領域
</div>

| オブジェクト                                                                                                   | Description                    |
| :------------------------------------------------------------------------------------------------------- | :----------------------------- |
| [ImageRegionList](/ja/vantage/documentation/skill-designer/document/rule-verification/image-region-list) | 画像上のfield領域のリスト。               |
| [ImageRegion](/ja/vantage/documentation/skill-designer/document/rule-verification/image-region)          | 単一のfield領域。複数の矩形で構成される場合があります。 |
| [RectangleList](/ja/vantage/documentation/skill-designer/document/rule-verification/rectangle-list)      | 画像上の矩形領域のリスト。                  |
| [Rectangle](/ja/vantage/documentation/skill-designer/document/rule-verification/rectangle)               | 画像上の矩形領域。座標はピクセル単位です。          |
| [Symbol](/ja/vantage/documentation/skill-designer/document/rule-verification/symbol)                     | fieldの初期テキスト値内の文字。             |

<div id="data-and-transactions">
  ### データとトランザクション
</div>

| オブジェクト                                                                                         | 説明                                                    |
| :--------------------------------------------------------------------------------------------- | :---------------------------------------------------- |
| [Record](/ja/vantage/documentation/skill-designer/document/rule-verification/record)           | `Context.GetCatalogRecord` によって返される、データ カタログ内の 1 行です。 |
| [Transaction](/ja/vantage/documentation/skill-designer/document/rule-verification/transaction) | 現在の実行におけるトランザクション パラメーターです。                           |
| [SourceFile](/ja/vantage/documentation/skill-designer/document/rule-verification/source-file)  | 入力として使用されるソース ファイルです。                                 |

<div id="related-topics">
  ## 関連トピック
</div>

* [ビジネス ルールの自動化](/ja/vantage/documentation/skill-designer/document/rule-verification/business-rules-automation)
* [ルールの検証](/ja/vantage/documentation/skill-designer/document/rule-verification/rule-verification)
* [サンプルスクリプト](/ja/vantage/documentation/skill-designer/document/rule-verification/sample-scripts)
