Skip to content

Commit e02c776

Browse files
chore: simplify product object constraints
Signed-off-by: Andrew Lilley Brinker <abrinker@mitre.org>
1 parent 99f11b5 commit e02c776

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

schema/CVE_Record_Format.json

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,15 @@
108108
"description": "Provides information about the set of products and services affected by this vulnerability.",
109109
"allOf": [
110110
{
111-
"allOf": [
112-
{
113-
"anyOf": [
114-
{"required": ["vendor", "product"]},
115-
{"required": ["collectionURL", "packageName"]}
116-
]
117-
},
118-
{
119-
"anyOf": [
120-
{"required": ["versions"]},
121-
{"required": ["defaultStatus"]}
122-
]
123-
}
111+
"anyOf": [
112+
{"required": ["vendor", "product"]},
113+
{"required": ["collectionURL", "packageName"]}
114+
]
115+
},
116+
{
117+
"anyOf": [
118+
{"required": ["versions"]},
119+
{"required": ["defaultStatus"]}
124120
]
125121
}
126122
],

0 commit comments

Comments
 (0)