Files
upstream-espocrm/schema/metadata/app/currency.json
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

43 lines
1.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/currency.json",
"title": "app/currency",
"description": "Currency definitions.",
"type": "object",
"properties": {
"symbolMap": {
"type": "object",
"description": "A currency-code => symbol mapping.",
"additionalProperties": {
"type": "string",
"description": "A 3-letter ISO 4217 currency code."
}
},
"precisionMap": {
"type": "object",
"description": "A currency-code => precision mapping.",
"additionalProperties": {
"type": "number",
"description": "Number of decimal places.",
"minimum": 0,
"maximum": 4
}
},
"list": {
"type": "array",
"description": "A list of currencies available in the system. Values defined as 3-letter currency codes in ISO 4217 standard. Use __APPEND__ to add new currencies w/o deleting existing.",
"items": {
"anyOf": [
{"enum": ["__APPEND__"]},
{
"type": "string",
"minLength": 3,
"maxLength": 3,
"pattern": "^[A-Z]{3}$"
}
]
}
}
}
}