public List<Location> findSchemaDefinition(String schemaName) {
        // run sync
        Object findDocumentResult = commandService.executeClientCommand(
            new ExecuteCommandParams("vespaSchemaLS.commands.schema.findSchemaDefinition", List.of(schemaName))).join();

        if (findDocumentResult == null) return List.of();
        try {
            String json = gson.toJson(findDocumentResult);
            Type listOfLocationType = new TypeToken<List<Location>>() {}.getType();
            return gson.fromJson(json, listOfLocationType);
        } catch (Exception ex) {
            logger.severe("Error when parsing json: " + ex.getMessage());
            return List.of();
        }
    }
Sends the FIND_SCHEMA_DEFINITION request to the Schema language server.
integration/schema-language-server/lemminx-vespa/src/main/java/ai/vespa/lemminx/command/SchemaLSCommands.java