-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCurrencyConfig.json
More file actions
35 lines (35 loc) · 944 Bytes
/
CurrencyConfig.json
File metadata and controls
35 lines (35 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"$ref": "#/definitions/CurrencyConfig",
"definitions": {
"CurrencyConfig": {
"type": "object",
"properties": {
"precision": {
"type": "integer",
"minimum": 0,
"maximum": 10,
"default": 2,
"description": "Decimal precision (default: 2)"
},
"currencyMode": {
"type": "string",
"enum": [
"dynamic",
"fixed"
],
"default": "dynamic",
"description": "Currency mode: dynamic (user selectable) or fixed (single currency)"
},
"defaultCurrency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"default": "CNY",
"description": "Default or fixed currency code (ISO 4217, e.g., USD, CNY, EUR)"
}
},
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}