Files
upstream-espocrm/schema/metadata/app/config.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

65 lines
3.1 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/config.json",
"title": "app/config",
"description": "Application config definitions.",
"type": "object",
"properties": {
"params": {
"type": "object",
"description": "Config parameters. https://docs.espocrm.com/development/metadata/app-config/#params",
"additionalProperties": {
"type": "object",
"description": "A config parameter name.",
"properties": {
"level": {
"description": "Defines availability of the config parameter in the front-end. default – available for logged-in users;\nglobal – available even before logging in (value is exposed to the world);\nsystem – never available;\ninternal – never available for read, admin can write (useful for passwords, secrets);\nadmin – available only for admin;\nsuperAdmin – available only for super-admin.",
"anyOf": [
{
"const": "default",
"description": "Available for logged-in users."
},
{
"const": "global",
"description": "Available even before logging in."
},
{
"const": "system",
"description": "Never available."
},
{
"const": "internal",
"description": "Never available for read, admin can write."
},
{
"const": "admin",
"description": "Available only for admin."
},
{
"const": "superAdmin",
"description": "Available only for super-admin."
}
]
},
"readOnly": {
"type": "boolean",
"description": "Disables the ability to change a parameter value for admin users. Useful for parameters that are supposed to be set either manually by writing into the config file or automatically by the application."
}
}
}
},
"entityTypeListParamList": {
"description": "A list of config parameters values of which are arrays of entity types. Needed to let the application know what params need to be filtered to remove entity types not available for a user.",
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{"enum": ["__APPEND__"]}
]
}
}
}
}