diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 47f1517635..a895ddbc75 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -642113,7 +642113,6 @@ "properties": { "purls": { "type": "array", - "minItems": 1, "description": "Package URLs to check against the license compliance policy. Duplicate package URLs are checked once.", "items": { "type": "string" @@ -642131,6 +642130,11 @@ "pkg:npm/lodash@4.17.21" ] } + }, + "empty": { + "value": { + "purls": [] + } } } } @@ -642200,6 +642204,11 @@ } } } + }, + "empty": { + "value": { + "purls": {} + } } } } diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 559106d848..6b9815d990 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -122081,7 +122081,6 @@ paths: properties: purls: type: array - minItems: 1 description: Package URLs to check against the license compliance policy. Duplicate package URLs are checked once. items: @@ -122093,6 +122092,9 @@ paths: value: purls: - pkg:npm/lodash@4.17.21 + empty: + value: + purls: [] responses: '200': description: Package license compliance results. @@ -122148,6 +122150,9 @@ paths: status: allowed license: MIT reason: allowed_license + empty: + value: + purls: {} '403': *29 '404': description: License compliance policy not found. diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 0cb6a91ce7..b07ed73aa8 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -631490,7 +631490,6 @@ "properties": { "purls": { "type": "array", - "minItems": 1, "description": "Package URLs to check against the license compliance policy. Duplicate package URLs are checked once.", "items": { "type": "string" @@ -631508,6 +631507,11 @@ "pkg:npm/lodash@4.17.21" ] } + }, + "empty": { + "value": { + "purls": [] + } } } } @@ -631577,6 +631581,11 @@ } } } + }, + "empty": { + "value": { + "purls": {} + } } } } diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 94943b0899..39c1e56db4 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -121586,7 +121586,6 @@ paths: properties: purls: type: array - minItems: 1 description: Package URLs to check against the license compliance policy. Duplicate package URLs are checked once. items: @@ -121598,6 +121597,9 @@ paths: value: purls: - pkg:npm/lodash@4.17.21 + empty: + value: + purls: [] responses: '200': description: Package license compliance results. @@ -121653,6 +121655,9 @@ paths: status: allowed license: MIT reason: allowed_license + empty: + value: + purls: {} '403': *29 '404': description: License compliance policy not found. diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 17127ef0e7..048104a792 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -655357,7 +655357,6 @@ "properties": { "purls": { "type": "array", - "minItems": 1, "description": "Package URLs to check against the license compliance policy. Duplicate package URLs are checked once.", "items": { "type": "string" @@ -655375,6 +655374,11 @@ "pkg:npm/lodash@4.17.21" ] } + }, + "empty": { + "value": { + "purls": [] + } } } } @@ -655444,6 +655448,11 @@ } } } + }, + "empty": { + "value": { + "purls": {} + } } } } diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 0316f93f4c..2916ad6005 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -122815,7 +122815,6 @@ paths: properties: purls: type: array - minItems: 1 description: Package URLs to check against the license compliance policy. Duplicate package URLs are checked once. items: @@ -122827,6 +122826,9 @@ paths: value: purls: - pkg:npm/lodash@4.17.21 + empty: + value: + purls: [] responses: '200': description: Package license compliance results. @@ -122882,6 +122884,9 @@ paths: status: allowed license: MIT reason: allowed_license + empty: + value: + purls: {} '403': *29 '404': description: License compliance policy not found. diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index 081a1521e7..6310ef94fd 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -96048,7 +96048,6 @@ "properties": { "purls": { "type": "array", - "minItems": 1, "description": "Package URLs to check against the license compliance policy. Duplicate package URLs are checked once.", "items": { "type": "string" @@ -96066,6 +96065,11 @@ "pkg:npm/lodash@4.17.21" ] } + }, + "empty": { + "value": { + "purls": [] + } } } } @@ -96135,6 +96139,11 @@ } } } + }, + "empty": { + "value": { + "purls": {} + } } } } diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 5dcbaeb0c9..248260f7e3 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -71945,7 +71945,6 @@ paths: properties: purls: type: array - minItems: 1 description: Package URLs to check against the license compliance policy. Duplicate package URLs are checked once. items: @@ -71957,6 +71956,9 @@ paths: value: purls: - pkg:npm/lodash@4.17.21 + empty: + value: + purls: [] responses: '200': description: Package license compliance results. @@ -72012,6 +72014,9 @@ paths: status: allowed license: MIT reason: allowed_license + empty: + value: + purls: {} '403': "$ref": "#/components/responses/forbidden" '404': diff --git a/descriptions/ghec/ghec.2026-03-10.json b/descriptions/ghec/ghec.2026-03-10.json index 98bff31b58..ca18308d6f 100644 --- a/descriptions/ghec/ghec.2026-03-10.json +++ b/descriptions/ghec/ghec.2026-03-10.json @@ -95947,7 +95947,6 @@ "properties": { "purls": { "type": "array", - "minItems": 1, "description": "Package URLs to check against the license compliance policy. Duplicate package URLs are checked once.", "items": { "type": "string" @@ -95965,6 +95964,11 @@ "pkg:npm/lodash@4.17.21" ] } + }, + "empty": { + "value": { + "purls": [] + } } } } @@ -96034,6 +96038,11 @@ } } } + }, + "empty": { + "value": { + "purls": {} + } } } } diff --git a/descriptions/ghec/ghec.2026-03-10.yaml b/descriptions/ghec/ghec.2026-03-10.yaml index eb54b509da..fb41825056 100644 --- a/descriptions/ghec/ghec.2026-03-10.yaml +++ b/descriptions/ghec/ghec.2026-03-10.yaml @@ -71861,7 +71861,6 @@ paths: properties: purls: type: array - minItems: 1 description: Package URLs to check against the license compliance policy. Duplicate package URLs are checked once. items: @@ -71873,6 +71872,9 @@ paths: value: purls: - pkg:npm/lodash@4.17.21 + empty: + value: + purls: [] responses: '200': description: Package license compliance results. @@ -71928,6 +71930,9 @@ paths: status: allowed license: MIT reason: allowed_license + empty: + value: + purls: {} '403': "$ref": "#/components/responses/forbidden" '404': diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index fb1780ed01..000be4fab1 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -96381,7 +96381,6 @@ "properties": { "purls": { "type": "array", - "minItems": 1, "description": "Package URLs to check against the license compliance policy. Duplicate package URLs are checked once.", "items": { "type": "string" @@ -96399,6 +96398,11 @@ "pkg:npm/lodash@4.17.21" ] } + }, + "empty": { + "value": { + "purls": [] + } } } } @@ -96468,6 +96472,11 @@ } } } + }, + "empty": { + "value": { + "purls": {} + } } } } diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index cda5073971..8e0c4b4836 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -72147,7 +72147,6 @@ paths: properties: purls: type: array - minItems: 1 description: Package URLs to check against the license compliance policy. Duplicate package URLs are checked once. items: @@ -72159,6 +72158,9 @@ paths: value: purls: - pkg:npm/lodash@4.17.21 + empty: + value: + purls: [] responses: '200': description: Package license compliance results. @@ -72214,6 +72216,9 @@ paths: status: allowed license: MIT reason: allowed_license + empty: + value: + purls: {} '403': "$ref": "#/components/responses/forbidden" '404':