Skip to content

Commit

Permalink
file_formats.schema - add replace action
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Nov 8, 2023
1 parent 180dddf commit a6d6f89
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions fileformats.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@
"extract"
]
},
{
"properties": {
"action": {
"const": "replace"
}
},
"required": [
"replace"
]
},
{
"properties": {
"action": {
Expand Down Expand Up @@ -84,6 +94,7 @@
"enum": [
"convert",
"extract",
"replace",
"manual",
"rename",
"ignore",
Expand Down Expand Up @@ -140,6 +151,17 @@
}
}
},
"replace": {
"type": "object",
"required": [
"template"
],
"properties": {
"template": {
"type": "string"
}
}
},
"manual": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -183,6 +205,7 @@
"enum": [
"convert",
"extract",
"replace",
"manual",
"rename",
"ignore"
Expand Down

0 comments on commit a6d6f89

Please sign in to comment.