diff --git a/schemas/2020-03-01-preview/Microsoft.DigitalTwins.json b/schemas/2020-03-01-preview/Microsoft.DigitalTwins.json index 9e1a912450..554c55b1dc 100644 --- a/schemas/2020-03-01-preview/Microsoft.DigitalTwins.json +++ b/schemas/2020-03-01-preview/Microsoft.DigitalTwins.json @@ -18,15 +18,23 @@ "description": "The resource location." }, "name": { - "type": "string", - "minLength": 1, - "maxLength": 64, + "oneOf": [ + { + "type": "string", + "pattern": "^(?!-)[A-Za-z0-9-]{3,63}(?