diff --git a/doc/04-schema.md b/doc/04-schema.md index 8cdb3117a..de22c551a 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -35,7 +35,7 @@ separated by `/`. Examples: * igorw/event-source The name must be lowercase and consist of words separated by `-`, `.` or `_`. -The complete name should match `^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$`. +The complete name should match `^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]|-{1,2})?[a-z0-9]+)*$`. The `name` property is required for published packages (libraries).