Validate json input against JSON schema

Created on 17 October 2022, about 2 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

Strict mode will throw an error if the JSON isn't valid JSON but it doesn't validate the JSON structure against any schema. The JSON Schema Spec was created to allow for schema validation.

Proposed resolution

Add a field setting that optionally allows a site builder to set a JSON spec.

Remaining tasks

Add a JSON field to the field config to store the JSON schema spec document.

User interface changes

Add a JSON field to the field settings config form.

API changes

If this is an optional field then the change should be backwards compatible.

Data model changes

A change would need to happen to the field config schema.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States frob US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024