Skip to content

Commit

Permalink
feat(element-templates) allow both attributes to be missing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSkrock committed Oct 6, 2023
1 parent eb1949d commit d143670
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion packages/element-templates-json-schema/src/defs/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,23 @@
}
},
{
"required": ["scriptFormat"]
"required": [
"scriptFormat"
]
},
{
"allOf": [
{
"not": {
"required": ["implementationType"]
}
},
{
"not": {
"required": ["scriptFormat"]
}
}
]
}
]
}
Expand Down

0 comments on commit d143670

Please sign in to comment.