@Override
    public Object execute(EventExecuteCommandContext context) {
        if (schemaName == null)
            return null;
        List<Symbol> schemaDefinitions = context.schemaIndex.findSymbols(null, SymbolType.SCHEMA, schemaName);
        // LSP expects the result of "definition" to be a list of Location (rather than one Location)
        // so we adhere to this here, because that is the most natural use of this command
        return schemaDefinitions.stream()
                                .map(symbol -> symbol.getLocation())
                                .toList();
    }
FindDocument
Param: schema identifier
Returns List of Location, possibly empty.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/common/command/commandtypes/FindDocument.java