From 26dac58ceb51c78abefe7a43866d0d9a458de6f4 Mon Sep 17 00:00:00 2001
From: Athanasius <github@miggy.org>
Date: Sat, 12 Mar 2022 08:32:57 +0000
Subject: [PATCH] eddn-report-log-errors: Some EDD 15.0.0.0 reported issues

---
 scripts/eddn-report-log-errors | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/scripts/eddn-report-log-errors b/scripts/eddn-report-log-errors
index 83ebf63..673e42e 100755
--- a/scripts/eddn-report-log-errors
+++ b/scripts/eddn-report-log-errors
@@ -69,7 +69,23 @@ def process_file(input_file: str) -> None:
         ###################################################################
         if matches.group('software_name') == 'EDDiscovery':
           # https://github.com/EDDiscovery/EDDiscovery/releases/latest
-          if software_version >= semantic_version.Version.coerce('12.1.7.0'):
+          if software_version >= semantic_version.Version.coerce('15.0.0.0'):
+            if matches.group('schema_ref') == 'https://eddn.edcd.io/schemas/approachsettlement/1':
+              if matches.group('err_msg') == 'Failed Validation "[<ValidationError: "\'Latitude\' is a required property">]"':
+                # <https://github.com/EDDiscovery/EDDiscovery/issues/3236>
+                pass
+              
+              elif matches.group('err_msg') == 'Failed Validation "[<ValidationError: "Additional properties are not allowed (\'Name_Localised\' was unexpected)">]"':
+                # <https://github.com/EDDiscovery/EDDiscovery/issues/3237>
+                pass
+
+              else:
+                print(line)
+
+            else:
+              print(line)
+
+          elif software_version >= semantic_version.Version.coerce('12.1.7.0'):
             if matches.group('schema_ref') in (
               'https://eddn.edcd.io/schemas/shipyard/2',
               'https://eddn.edcd.io/schemas/outfitting/2',