Files
espocrm/schema/metadata/app/metadata.json
Yuri Kuznetsov d69cfd8b31 typo
2025-10-25 12:51:26 +03:00

71 lines
2.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/metadata.json",
"title": "app/metadata",
"description": "Definitions for metadata itself.",
"type": "object",
"properties": {
"frontendHiddenPathList": {
"type": "array",
"description": "Sections of metadata (defined as paths) to be hidden from the front-end.",
"items": {
"anyOf": [
{"const": "__APPEND__"},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"frontendNonAdminHiddenPathList": {
"type": "array",
"description": "Sections of metadata (defined as paths) to be hidden from the front-end for non-admin users.",
"items": {
"anyOf": [
{"const": "__APPEND__"},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"additionalBuilderClassNameList": {
"type": "array",
"description": "Additional builders. Allows adding conditional metadata. Should implement Espo\\Core\\Utils\\Metadata\\AdditionalBuilder. As of v8.4.",
"items": {
"type": "string"
}
},
"aclDependencies": {
"type": "object",
"description": "Rules making a metadata sections available for the user when they don't have access to the scope.",
"additionalProperties": {
"description": "A metadata path, items are separated by dots.",
"properties": {
"scope": {
"type": "string",
"description": "If the user has access to the scope, they will have access to the metadata section defined by the key."
},
"field": {
"type": "string",
"description": "If the user has access to the field (of the scope), they will have access to the metadata section defined by the key."
},
"anyScopeList": {
"type": "array",
"description": "If the user has access to any of the listed scopes, they will have access to the metadata section defined by the key. As of v9.2.5.",
"items": {
"type": "string"
}
}
}
}
}
}
}