-
-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Description
The identity field of Evidence is repeated in the current v1.5 Protobuf schema, whereas it is a singular object in the JSON and XML variants of the schema.
specification/schema/bom-1.5.proto
Lines 652 to 658 in cc15c85
| message Evidence { | |
| repeated LicenseChoice licenses = 1; | |
| repeated EvidenceCopyright copyright = 2; | |
| repeated EvidenceIdentity identity = 3; | |
| repeated EvidenceOccurrences occurrences = 4; | |
| optional Callstack callstack = 5; | |
| } |
specification/schema/bom-1.5.schema.json
Lines 1458 to 1469 in cc15c85
| "componentEvidence": { | |
| "type": "object", | |
| "title": "Evidence", | |
| "description": "Provides the ability to document evidence collected through various forms of extraction or analysis.", | |
| "additionalProperties": false, | |
| "properties": { | |
| "identity": { | |
| "type": "object", | |
| "description": "Evidence that substantiates the identity of a component.", | |
| "required": [ "field" ], | |
| "additionalProperties": false, | |
| "properties": { |
specification/schema/bom-1.5.xsd
Lines 2132 to 2134 in cc15c85
| <xs:complexType name="componentEvidenceType"> | |
| <xs:sequence> | |
| <xs:element name="identity" minOccurs="0" maxOccurs="1"> |
As the field is not required, it should be optional.