Page MenuHomeHEPForge

Investigate the use of JSON schema in view of introducing and eventually migrating to JSON dec files
Open, Needs TriagePublic

Description

The use of a JSON-Schema could allow straightforward validation of decay files if written in JSON format. This could greatly simplify the parsing of dec files both within EvtGen and by experiment software.

Both python and C++ implementations of JSON schema validators exist (those linked are just examples, although they appear to be the most relevant to our use cases), which means straightforward validation could be built into both CI checks (python) and the actual dec file parsing code in the EvtGen library (C++).

As a test case, we could create a schema for and implement such validation of the JSON test driver files, before deciding whether to go ahead with the more complex case of the dec files.

Event Timeline

tlatham created this object with visibility "Public (No Login Required)".
tlatham created this object with edit policy "Restricted Project (Project)".