From aed01539ed00d4173ba4e28e126a5dcff9bcee31 Mon Sep 17 00:00:00 2001 From: J08nY Date: Fri, 26 Sep 2025 13:24:16 +0200 Subject: Fix FIPS schema nulls. --- .../serialization/schemas/fips_certificate.json | 29 +++++++++------------- 1 file changed, 12 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/sec_certs/serialization/schemas/fips_certificate.json b/src/sec_certs/serialization/schemas/fips_certificate.json index 23005f3d..0eeffa8b 100644 --- a/src/sec_certs/serialization/schemas/fips_certificate.json +++ b/src/sec_certs/serialization/schemas/fips_certificate.json @@ -190,21 +190,15 @@ "description": "The URL of the certificate PDF document." }, "module_type": { - "anyOf": [ - { - "enum": [ - "Firmware", - "Firmware-Hybrid", - "Hardware", - "Software", - "Software-Hybrid", - "Hybrid" - ] - }, - { - "type": "null" - } - ], + "enum": [ + "Firmware", + "Firmware-Hybrid", + "Hardware", + "Software", + "Software-Hybrid", + "Hybrid", + null + ] "title": "Certified Module Type", "description": "The type of the certified module." }, @@ -212,7 +206,8 @@ "enum": [ "FIPS 140-1", "FIPS 140-2", - "FIPS 140-3" + "FIPS 140-3", + null ], "title": "FIPS Standard", "description": "The FIPS standard under which the module was certified." @@ -513,4 +508,4 @@ } }, "additionalProperties": false -} \ No newline at end of file +} -- cgit v1.3.1