Skip to content

Commit 226dd79

Browse files
committed
Update project name pattern in JSON schema
This update landed in compose-spec/compose-spec#314, reflecting the new project name spec: > Project name MUST contain only lowercase letters, decimal digits, > dashes, and underscores, and MUST begin with a lowercase letter or > decimal digit. Signed-off-by: Mike Bland <[email protected]>
1 parent a5e535f commit 226dd79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

schema/compose-spec.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
"name": {
1515
"type": "string",
16+
"pattern": "^[a-z0-9][a-z0-9_-]*$",
1617
"description": "define the Compose project name, until user defines one explicitly."
1718
},
1819

0 commit comments

Comments
 (0)