defenseunicorns / go-oscal

Repository for the generation of OSCAL data types
Apache License 2.0
15 stars 1 forks source link

feat(validation): handle multi model validation #217

Open mike-winberry opened 4 months ago

mike-winberry commented 4 months ago

Is your feature request related to a problem? Please describe.

In order to better support the direction of lula, it may be beneficial to work on a way to handle validation for yaml files with multiple types of documents ie (component-definition and catalog, etc...), the default is failure since the oscal schema is "one-of", so the default state should remain the same, but allow for user to ignore the rule.

Describe the solution you'd like

Describe alternatives you've considered

brandtkeller commented 3 months ago

Current decision is to move away from multi-model and stick to single-model. This and the associated PR can be closed.