TM Scenario Definition
Schema for transaction monitoring scenario definitions
| フィールド | 値 |
|---|---|
| Schema ID | https://github.com/ksuk/merlon/schemas/tm_scenario_v1.json |
| JSON Schema dialect | https://json-schema.org/draft/2020-12/schema |
| 型 | object |
| Required top-level fields | schema_version, id, name, version, conditions |
プロパティ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
schema_version | const | Yes | |
id | string | Yes | |
name | string | Yes | |
name_ja | string | No | |
description | string | No | |
version | integer | Yes | |
is_sample | boolean | No | |
conditions | object | Yes | |
risk_tier_adjustments | object | No | |
alert_severity | enum | No | |
tags | array of string | No |
schema_version
| 制約 | 値 |
|---|---|
| Const | "tm_scenario_v1" |
id
| 制約 | 値 |
|---|---|
| Pattern | ^[a-z][a-z0-9_]*$ |
version
| 制約 | 値 |
|---|---|
| Minimum | 1 |
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"
}
}
}
}