Consistently use JSON-Schema Draft-07 dialect in frontend and backend by updating `justinrainbow/json-schema` to ^6.8.0
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3591028. --> Reported by: [penyaskito](https://www.drupal.org/user/959536) Related to !1129 >>> <h3 id="overview">Overview</h3> <p>Current version of `justinrainbow/json-schema` has not JSON schema Draft-07 support, so we are tied with Draft-04.<br> On the other hand, we use <a href="https://ajv.js.org/">Ajv</a> in the front-end UI, which doesn't support Draft-04 by default. See <a href="https://ajv.js.org/guide/schema-language.html#draft-04">https://ajv.js.org/guide/schema-language.html#draft-04</a></p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>Bump <code>justinrainbow/json-schema</code> to ~6.8.0 for <a href="https://json-schema.org/draft-07">JSON Schema Draft-07</a> support.</p> <p>Core is doing that in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-8"><a href="https://www.drupal.org/project/drupal/issues/3352063" title="Status: Needs review">#3352063: Allow schema references in Single Directory Component prop schemas</a></span></p> <h3 id="ui-changes">User interface changes</h3> <p>None</p> > Related issue: [Issue #3352063](https://www.drupal.org/node/3352063)
issue