Skip to content

Commit

Permalink
fileformats.schema - add pattern to rename.new_name
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Nov 6, 2023
1 parent 5a2e8af commit 12c1f74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fileformats.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@
"type": "object",
"properties": {
"new_name": {
"type": "string"
"type": "string",
"pattern": "^(\\{(name|stem|suffix)\\}|[^{}])+$"
}
}
},
Expand Down

0 comments on commit 12c1f74

Please sign in to comment.