mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
33 lines
1.1 KiB
JSON
33 lines
1.1 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."
|
|
}
|
|
},
|
|
"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}$"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|