Skip to content

Commit 99f11b5

Browse files
feat: packageURL can't fulfill "identifier-like" requirement
Signed-off-by: Andrew Lilley Brinker <abrinker@mitre.org>
1 parent 37c51e2 commit 99f11b5

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

schema/CVE_Record_Format.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@
112112
{
113113
"anyOf": [
114114
{"required": ["vendor", "product"]},
115-
{"required": ["collectionURL", "packageName"]},
116-
{"required": ["packageURL"]}
115+
{"required": ["collectionURL", "packageName"]}
117116
]
118117
},
119118
{
@@ -123,24 +122,6 @@
123122
]
124123
}
125124
]
126-
},
127-
{
128-
"not": {
129-
"anyOf": [
130-
{
131-
"allOf": [
132-
{"required": ["packageURL"]},
133-
{"required": ["collectionURL"]}
134-
]
135-
},
136-
{
137-
"allOf": [
138-
{"required": ["packageURL"]},
139-
{"required": ["packageName"]}
140-
]
141-
}
142-
]
143-
}
144125
}
145126
],
146127
"properties": {

0 commit comments

Comments
 (0)