The spec documentation hints at a constraint that is not currently implemented in schema.cue
The schema declares header.project-si-source and project as optional, however, the documentation for project explains This field is not required if header.project-si-source is supplied.
https://cuelang.org/docs/tour/types/sumstruct/ provides an example of how we might accomplish the schema changes
The spec documentation hints at a constraint that is not currently implemented in
schema.cueThe schema declares
header.project-si-sourceandprojectas optional, however, the documentation forprojectexplains This field is not required ifheader.project-si-sourceis supplied.https://cuelang.org/docs/tour/types/sumstruct/ provides an example of how we might accomplish the schema changes