Files
espocrm/schema/metadata/integrations.json
Yuri Kuznetsov 115465f017 schema
2025-02-20 21:17:54 +02:00

48 lines
1.7 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/integrations.json",
"title": "integrations",
"description": "Integrations.",
"type": "object",
"properties": {
"fields": {
"type": "object",
"additionalProperties": {
"$ref": "./entityDefs.json#/definitions/fieldDefs"
},
"description": "Field definitions for the integration (to be available at Administration > Integrations)."
},
"allowUserAccounts": {
"type": "boolean",
"description": "Whether the integration supposes that users have their own accounts (at User > External Accounts)."
},
"userAccountAclScope": {
"type": "string",
"description": "A scope name, a user should have access to to be able to use the integration."
},
"view": {
"type": "string",
"description": "A front-end view for the integration page (at Administration > Integrations)."
},
"userView": {
"type": "string",
"description": "A front-end view for the external account page (at User > External Accounts)."
},
"params": {
"type": "object",
"additionalProperties": true,
"description": "Any params needed for the integration."
},
"externalAccountSecretAttributeList": {
"type": "array",
"items": {
"anyOf": [
{"const": "__APPEND__"},
{"type": "string"}
]
},
"description": "External account attributes to be hidden from the front-end."
}
}
}