json-schema-spec icon indicating copy to clipboard operation
json-schema-spec copied to clipboard

add a root object to the output

Open gregsdennis opened this issue 4 months ago • 1 comments

What kind of change does this PR introduce?

feature

Issue & Discussion References

Should probably merge #1457 first, but it's not a hard dependency. If anything, I can move the file in this PR and just close that one.

Summary

This PR addresses some conversations that @jdesrosiers and I have had intermittently over the past few years. His point was that the output needed a place to add more metadata about an evaluation. So this is a first go at that.

It adds a root object that is defined separately from the output unit. Previously, the root object was just another output unit, but having a distinct root object does make sense.

I've added dialect and schema identifiers to the root object and tweaked the wording throughout.

Does this PR introduce a breaking change?

gregsdennis avatar Oct 12 '24 09:10 gregsdennis