snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
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 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
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
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 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
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
This commit is contained in:
42
schema/metadata/app/currency.json
Normal file
42
schema/metadata/app/currency.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$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}$"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user