Skip to content

EspoCRM – Open Source CRM Application

1.4 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://www.espocrm.com/schema/metadata/app/emailTemplate.json",
    "title": "app/databasePlatforms",
    "description": "Email template definitions.",
    "type": "object",
    "properties": {
        "placeholders": {
            "description": "Placeholders.",
            "additionalProperties": {
                "description": "A placeholder.",
                "type": "object",
                "properties": {
                    "className": {
                        "type": "string",
                        "description": "A class. Should implement Espo\\Tools\\EmailTemplate\\Placeholder."
                    },
                    "order": {
                        "type": "integer",
                        "description": "An order position."
                    }
                }
            }
        },
        "entityLinkMapping": {
            "description": "EntityType => link mapping. As of v9.2.0.",
            "type": "object",
            "additionalProperties": {
                "type": "object",
                "additionalProperties": {
                    "type": "string",
                    "description": "An entity type name mapped to a link."
                },
                "description": "A parent entity type name mapped to EntityType => link map.."
            }
        }
    }
}