diff --git a/zvmsdk/sdkwsgi/validation/parameter_types.py b/zvmsdk/sdkwsgi/validation/parameter_types.py index 9140e1c52..226446d1b 100644 --- a/zvmsdk/sdkwsgi/validation/parameter_types.py +++ b/zvmsdk/sdkwsgi/validation/parameter_types.py @@ -456,10 +456,10 @@ def valid_char(char): 'oneOf': [ {'type': 'string', 'pattern': - '^((r|R)(h|H)(e|E)(l|L))(6|7|8|9){1}([.][0-9])?$'}, + '^((r|R)(h|H)(e|E)(l|L))(6|7|8|9){1}([.][0-9]{1,2})?$'}, {'type': 'string', 'pattern': - '^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9])?$'}, + '^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9]{1,2})?$'}, {'type': 'string', 'pattern': '^((s|S)(l|L)(e|E)(s|S))(11|12|15){1}(([.]|((s|S)(p|P)))[0-9])?$'},