Add schema validation tests ai.settings (2.0.x)
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3577386. -->
Reported by: [ajv009](https://www.drupal.org/user/3653917)
Related to !1289
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Currently we are doing a lot of automated testing, but one thing that is missing is to see if created configurations actually are following schemas. </p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Port the changes proposed in <a href="https://www.drupal.org/project/ai/issues/3491351">https://www.drupal.org/project/ai/issues/3491351</a> to here for 2.0.x</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
> Related issue: [Issue #3491351](https://www.drupal.org/node/3491351)
issue