Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39100

Implement JSON_SCHEMA_VALIDATION_REPORT()

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • JSON

    Description

      Implement JSON_SCHEMA_VALIDATION_REPORT(schema, document) in MariaDB, following MySQL 8.0 behavior as closely as practical.

      The function should return

      {"valid": true}

      on success, and on failure return a JSON object with fields such as valid, reason, schema-location, document-location, and schema-failed-keyword.

      The function is based on MySQL 8.0's existing implementation. For MySQL compatibility, the relevant schema-validation standard is JSON Schema Draft 4.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              varundeepsaini Varun Deep Saini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.