spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

File `licenseInfoInFile` typos in 2.3 json Examples

Open bjamesv opened this issue 3 years ago • 4 comments
trafficstars

https://github.com/spdx/spdx-spec/blob/aadf3b0b8dbbabdb4d880b0fc714255fea436ff7/examples/SPDXJSONExample-v2.2.spdx.json#L164

field should be rendered as licenseInfoInFile per spec https://spdx.github.io/spdx-spec/file-information/#863-examples

There may be similar occurrences of this elsewhere in the examples, I haven't checked around yet.

bjamesv avatar Aug 12 '22 23:08 bjamesv

@goneall

bjamesv avatar Aug 12 '22 23:08 bjamesv

@bjamesv This is by design - for the JSON and YAML, any property with a cardinality 1..* or 0..* is pluralized.

goneall avatar Aug 13 '22 01:08 goneall

For the JSON spec, please refer to the JSON Schema file.

goneall avatar Aug 13 '22 01:08 goneall

👍 thank you

bjamesv avatar Aug 13 '22 01:08 bjamesv