Bug 38099

Summary: Add schemas and validation to YAML based system preferences
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lisette
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Kyle M Hall (khall) 2024-10-04 17:52:32 UTC
Like XML, there exist YAML Schema standards for validating not just the syntax of a string of YAML, but structure of the YAML as well. Unlike XML, it is not part of the YAML spec and there are multiple solutions such as https://metacpan.org/pod/Data::Rx and https://metacpan.org/pod/Kwalify

It would be nice to user one of these schema implementations to validate the correctness of any given yaml bases system preference.