public static List<Diagnostic> resolve(ParseContext context, SchemaNode CST) {
        List<Diagnostic> diagnostics = new ArrayList<>();
        traverse(context, CST, diagnostics);
        return diagnostics;
    }
StructFieldDefinitionResolver
Finds struct-field declarations and turns them into definitions of fields
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/schemadocument/resolvers/StructFieldDefinitionResolver.java