mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
48 lines
1.7 KiB
JSON
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."
|
|
}
|
|
}
|
|
}
|