Repository navigation
adjust/fix default values - #216
jkowalleck wants to merge 2 commits into
Conversation
Signed-off-by: Jan Kowalleck <[email protected]>
| "required": [ | ||
| "bomFormat", | ||
| "specVersion", | ||
| "version" |
There was a problem hiding this comment.
version has a default value and is therefore optional.
it already is optional in XML with default value.
There was a problem hiding this comment.
specVersion should be required.
There was a problem hiding this comment.
this is true. and specVersion is still in the required set. see https://github.com/CycloneDX/specification/pull/216/files/4ffa95bdae43322a9c2efac83c941443674c861f#r1241449544
only version was removed.
| </xs:annotation> | ||
| </xs:element> | ||
| <xs:element name="scope" type="bom:scope" minOccurs="0" maxOccurs="1"> | ||
| <xs:element name="scope" type="bom:scope" minOccurs="0" maxOccurs="1" default="required"> |
There was a problem hiding this comment.
set the same default value that was already annotated in xs:documentation
|
added label "defect", |
| "required": [ | ||
| "bomFormat", | ||
| "specVersion", | ||
| "version" |
There was a problem hiding this comment.
specVersion should be required.
| "bomFormat", | ||
| "specVersion", | ||
| "version" | ||
| "specVersion" |
There was a problem hiding this comment.
|
@stevespringett, could you explain what needs to be changed? you mentioned in your review
it still is, see #216 (comment) is this enough? |
streamlined default values over multiple schema definitions types.
closes #78