Skip to content

Commit 59005a0

Browse files
authored
Merge pull request #95 from EvansJonathan/EvansJonathan-move-replacedBy
#90 Move replacedBy out of the metadata
2 parents 1c2899f + 2436209 commit 59005a0

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,
@@ -1154,6 +1154,9 @@
11541154
},
11551155
"descriptions": {
11561156
"$ref": "#/definitions/descriptions"
1157+
},
1158+
"replacedBy": {
1159+
"$ref": "#/definitions/replacedBy"
11571160
}
11581161
},
11591162
"required": [

0 commit comments

Comments
 (0)