Skip to content

Commit a388c71

Browse files
authored
fix: allow more special characters in command and service names (#179)
1 parent 55cd1f6 commit a388c71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"type": "object",
9595
"description": "Contains subcommands with the same structure as main commands",
9696
"patternProperties": {
97-
"^[a-zA-Z0-9_]+$": {
97+
"^[\\w\\-\\.\\:\\/\\s]+$": {
9898
"$ref": "#/definitions/interaction_command"
9999
}
100100
},
@@ -142,7 +142,7 @@
142142
"type": "object",
143143
"description": "Defines the commands and their configurations",
144144
"patternProperties": {
145-
"^[a-zA-Z0-9_]+$": {
145+
"^[\\w\\-\\.\\:\\/\\s]+$": {
146146
"$ref": "#/definitions/interaction_command"
147147
}
148148
},
@@ -191,7 +191,7 @@
191191
"description": "Contains infrastructure services configuration",
192192
"additionalProperties": false,
193193
"patternProperties": {
194-
"^[a-zA-Z0-9_]+$": {
194+
"^[\\w\\-\\.\\:\\/\\s]+$": {
195195
"type": "object",
196196
"additionalProperties": false,
197197
"properties": {

0 commit comments

Comments
 (0)