CVEProject / cve-schema

This repository is used for the development of the CVE JSON record format. Releases of the CVE JSON record format will also be published here. This repository is managed by the CVE Quality Working Group.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stray additionalProperties line in 5.0.1

ElectricNroff opened this issue · comments

"references": {
"type": "array",
"description": "This is reference data in the form of URLs or file objects (uuencoded and embedded within the JSON file, exact format to be decided, e.g. we may require a compressed format so the objects require unpacking before they are \"dangerous\").",
"items": {"$ref": "#/definitions/reference"},
"minItems": 1,
"maxItems": 512,
"uniqueItems": true,
"additionalProperties": false
},

The "additionalProperties": false line shouldn't occur here. It causes error messages from ajv and possibly other validators, e.g.,

strict mode: missing type "object" for keyword "additionalProperties" at "https://cveproject.github.io/cve-schema/schema/v5.0/docs/CVE_JSON_5.0_bundled.json#" (strictTypes)