Skip to content

Commit 2436209

Browse files
author
Jonathan Evans
authored
#90 Move replacedBy out of the metadata
1 parent 04f9d99 commit 2436209

1 file changed

Lines changed: 12 additions & 9 deletions

File tree

schema/v5.0/CVE_JSON_5.0.schema

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,15 @@
261261
}
262262
}
263263
},
264+
"replacedBy": {
265+
"type": "array",
266+
"description": "Contains an array of CVE IDs that this CVE ID was rejected in favor of because the this CVE ID was assigned to the vulnerabilities",
267+
"minItems": 1,
268+
"uniqueItems": true,
269+
"items": {
270+
"$ref": "#/definitions/cveId"
271+
}
272+
},
264273
"dataType": {
265274
"description": "Indicates the type of information represented in the JSON instance.",
266275
"type": "string",
@@ -376,15 +385,6 @@
376385
"$ref": "#/definitions/shortName",
377386
"description": "the short name for the organization to which the CVE ID was originally assigned"
378387
},
379-
"replacedBy": {
380-
"type": "array",
381-
"description": "Contains an array of CVE IDs that this CVE ID was rejected in favor of because the this CVE ID was assigned to the vulnerabilities",
382-
"minItems": 1,
383-
"uniqueItems": true,
384-
"items": {
385-
"$ref": "#/definitions/cveId"
386-
}
387-
},
388388
"serial": {
389389
"type": "integer",
390390
"minimum": 1,
@@ -1160,6 +1160,9 @@
11601160
},
11611161
"descriptions": {
11621162
"$ref": "#/definitions/descriptions"
1163+
},
1164+
"replacedBy": {
1165+
"$ref": "#/definitions/replacedBy"
11631166
}
11641167
},
11651168
"required": [

0 commit comments

Comments
 (0)