メインコンテンツまでスキップ

CDD Weight Definition

Schema for customer due diligence risk weight definitions

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

プロパティ

名前必須説明
schema_versionconstYes
idstringYes
namestringYes
name_jastringNo
descriptionstringNo
versionintegerYes
is_samplebooleanNo
axesobjectYes
tier_thresholdsobjectYes

schema_version

制約
Const"cdd_weight_v1"

id

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

version

制約
Minimum1

axes

名前必須説明
(any key)object

axes.*

名前必須説明
weightnumberYes
factorsarrayYes
axes.*.weight
制約
Minimum0
Maximum1

tier_thresholds

制約
Required keyslow, medium, high

完全なスキーマ

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/ksuk/merlon/schemas/cdd_weight_v1.json",
"title": "CDD Weight Definition",
"description": "Schema for customer due diligence risk weight definitions",
"type": "object",
"required": [
"schema_version",
"id",
"name",
"version",
"axes",
"tier_thresholds"
],
"properties": {
"schema_version": {
"type": "string",
"const": "cdd_weight_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"
},
"axes": {
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"weight",
"factors"
],
"properties": {
"weight": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"factors": {
"type": "array"
}
}
}
},
"tier_thresholds": {
"type": "object",
"required": [
"low",
"medium",
"high"
]
}
}
}