Skip to content

EspoCRM – Open Source CRM Application

1.0 KB
Raw Blame
{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "https://www.espocrm.com/schema/metadata/app/clientRoutes.json",
    "title": "app/clientRoutes",
    "description": "Frontend routes.",
    "type": "object",
    "additionalProperties": {
        "type": "object",
        "description": "A route. Example: `Account/test/:id`.",
        "properties": {
            "params": {
                "type": "object",
                "description": "Parameters.",
                "properties": {
                    "controller": {
                        "type": "string",
                        "description": "A controller name."
                    },
                    "action": {
                        "type": "string",
                        "description": "An action name. Corresponds to the controller method `action{ActionName}`."
                    }
                }
            },
            "order": {
                "type": "integer",
                "description": "A route order."
            }
        }
    }
}