Skip to content

EspoCRM – Open Source CRM Application

1.3 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://www.espocrm.com/schema/metadata/app/complexExpression.json",
    "title": "app/complexExpression",
    "description": "Definitions for the complex expression editor.",
    "type": "object",
    "properties": {
        "functionList": {
            "type": "array",
            "description": "Functions available in the editor when editing a complex expression.",
            "items": {
                "anyOf": [
                    {
                        "type": "object",
                        "properties": {
                            "name": {
                                "type": "string",
                                "description": "A name."
                            },
                            "insertText": {
                                "type": "string",
                                "description": "A text to insert in the editor."
                            },
                            "returnType": {
                                "type": "string",
                                "description": "A return type."
                            }
                        }
                    },
                    {
                        "enum": ["__APPEND__"]
                    }
                ]
            }
        }
    }
}