Open ghost opened 5 years ago
Can "format": "uuid" be added for string types?
"format": "uuid"
The regular expression to allow version 3 and 4 UUIDs is "[0-9a-f]{8}-[0-9a-f]{4}-[34][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}".
"[0-9a-f]{8}-[0-9a-f]{4}-[34][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}"
Can
"format": "uuid"
be added for string types?The regular expression to allow version 3 and 4 UUIDs is
"[0-9a-f]{8}-[0-9a-f]{4}-[34][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}"
.