rd_uid did not validate (#23660)
* minLength was duplicated, was clearly maxLength.
* the length in pattern was wrong. minimum 128 bit = 16 byte = 32 hex chars. maximum double of the minimum.
diff --git a/scripts/tools/nrfconnect/nrfconnect_factory_data.schema b/scripts/tools/nrfconnect/nrfconnect_factory_data.schema
index 5458b81..84cbef5 100644
--- a/scripts/tools/nrfconnect/nrfconnect_factory_data.schema
+++ b/scripts/tools/nrfconnect/nrfconnect_factory_data.schema
@@ -94,8 +94,8 @@
"description": "A randomly-generated 128-bit or longer octet string. Length has been expanded with 'hex:' prefix",
"type": "string",
"pattern": "^hex:([0-9A-Fa-f]{2}){16,}$",
- "minLength": 20,
- "minLength": 36
+ "minLength": 36,
+ "maxLength": 68
},
"dac_cert": {
"description": "DAC certificate in hex-string format",