JSON schema generatie van formulier #4923
Labels
epic
Large theme and/or meta issue
owner: dimpact
waiting for approval
An estimate was made but the stakeholder still needs to approve it.
Thema / Theme
Frontend
Omschrijving / Description
This RFC proposes a new functionality within Open Forms that automatically generates a comprehensive JSON schema from a form as soon as an administrator chooses to.
The generated schema should include all fields, field types, validation rules, and requirements derived from the form’s configuration. By making this schema-generator readily available, administrators and non-technical colleagues can ensure both the integrity and correctness of submitted data without requiring additional manual work or custom scripts.
This JSON schema functions as a stable, version-controlled “contract” that clearly documents the structure, constraints, and intended uses of the data. It is not merely a technical artifact, but also a critical piece of documentation that can be shared across various components in the chain—such as chat bot or scan applications, case and task management systems, and even future channels. By leveraging the schema, no single party can unilaterally introduce changes without understanding their impact on the entire ecosystem (informatieketen). As a result, errors and misunderstandings are reduced, while predictability and stability in data exchange are enhanced.
Added value / Toegevoegde waarde
Aanvullende opmerkingen / Additional context
The solution extracts metadata directly from the form’s configuration (field definitions, validations, required fields, etc.) and translates it into a standardized JSON schema (following standard JSON Schema specifications).
Once generated and (manually?) embedded in the Objecttypes API, the schema stands as a stable contract. Any modifications require careful deliberation and agreement among all parties, ensuring responsible change management.
The text was updated successfully, but these errors were encountered: