diff --git a/schema.json b/schema.json index 0c7f00d26bd974eadd3e5cf11ed0740348164ae7..b0f12df01a7156a3697ddb8f16e2fef31f5b27d0 100644 --- a/schema.json +++ b/schema.json @@ -6,14 +6,14 @@ "_id": { "maxLength": 32, "minLength": 2, - "pattern": "^[0-9a-z.@_-]*$", + "pattern": "^[0-9a-z]{1}[0-9a-z.@_-]{0,30}[0-9a-z]{1}$", "title": "ID", "type": "string" }, "name": { "maxLength": 32, "minLength": 2, - "pattern": "^[0-9A-Za-z .@_-]*$", + "pattern": "^[0-9A-Za-z]{1}[0-9A-Za-z .@_-]{0,30}[0-9A-Za-z]{1}$", "title": "Name", "type": "string" },