{
    "$schema": "https://json-schema.org/draft/2020-12/consoleCommands",
    "$id": "https://www.espocrm.com/schema/metadata/app/portalContainerServices.json",
    "title": "app/portalContainerServices",
    "description": "Overriding of container services for portals. Provides the ability to define custom implementations for portals.",
    "type": "object",
    "additionalProperties": {
        "type": "object",
        "description": "A service name.",
        "properties": {
            "className": {
                "type": "string",
                "description": "A service class."
            },
            "loaderClassName": {
                "type": "string",
                "description": "A service loader class. Should implement Espo\\Core\\Container\\Loader interface."
            },
            "settable": {
                "type": "boolean",
                "description": "Whether the service can be set to the container externally (with the `set` method)."
            }
        }
    }
}
