メインコンテンツまでスキップ
非公開のページ
このページは非公開です。 検索対象外となり、このページのリンクに直接アクセスできるユーザーのみに公開されます。

TM シナリオ定義(v1・レガシー)

レガシースキーマ

このスキーマは後継版に置き換えられており、後方互換のためだけに記載しています。同梱のサンプルコンテンツで使用しているものはなく、新規シナリオは現行のTM シナリオ定義スキーマで作成してください。

エンジンはこの形式を引き続き受理し、スキーマファイルは ADR-0006(tm_scenario_v2 スキーマと v1 デュアルサポート)に基づき 2027-07-04 まで維持されます。

取引モニタリング(TM)シナリオ定義スキーマ

フィールド
Schema IDhttps://github.com/ksuk/merlon/schemas/tm_scenario_v1.json
JSON Schema dialecthttps://json-schema.org/draft/2020-12/schema
object
Required top-level fieldsschema_version, id, name, version, conditions

プロパティ

名前必須説明
schema_versionconstYes
idstringYes
namestringYes
name_jastringNo
descriptionstringNo
versionintegerYes
is_samplebooleanNo
conditionsobjectYes
risk_tier_adjustmentsobjectNo
alert_severityenumNo
tagsarray of stringNo

schema_version

制約
Const"tm_scenario_v1"

id

制約
Pattern^[a-z][a-z0-9_]*$

version

制約
Minimum1

alert_severity

制約
Enum"low", "medium", "high", "critical"

完全なスキーマ

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/ksuk/merlon/schemas/tm_scenario_v1.json",
"title": "TM Scenario Definition",
"description": "Schema for transaction monitoring scenario definitions",
"type": "object",
"required": [
"schema_version",
"id",
"name",
"version",
"conditions"
],
"properties": {
"schema_version": {
"type": "string",
"const": "tm_scenario_v1"
},
"id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$"
},
"name": {
"type": "string"
},
"name_ja": {
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "integer",
"minimum": 1
},
"is_sample": {
"type": "boolean"
},
"conditions": {
"type": "object"
},
"risk_tier_adjustments": {
"type": "object"
},
"alert_severity": {
"type": "string",
"enum": [
"low",
"medium",
"high",
"critical"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
}
}
}