JSON values: float vs int #319
Labels
enhancement
New feature or request
Needs Discussion
Discuss in a future QWG meeting or on mailing list
section:metrics
Schema location is metrics
I am not convinced this is something we should fix in the JSON schema, or even if we want to be bothered with it.
But strongly typed languages interpret "1" and "1.0" differently and can cause errors when combining values across CVE records with different types. This is heavily debated in the JSON Schema definition: json-schema/json-schema#27
There are several fields in CVE records, specifically in the CVSS (metrics) section, that have different data types when parsing in python, but I am not sure if this is something we need to tackle at the data storage/validation step.
The text was updated successfully, but these errors were encountered: