inputs/tree: enforce constraints for plain refs
When using "plain refs", that is, when using an array of strings, we did not enforce the constraints of exactly one reference. This was done for dictionary references.
This commit is contained in:
parent
ae7ab67cfa
commit
df91d8916d
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ SCHEMA = """
|
|||
"oneOf": [{
|
||||
"type": "array",
|
||||
"additionalItems": false,
|
||||
"minItems": 1,
|
||||
"maxItems": 1,
|
||||
"items": [{
|
||||
"type": "string"
|
||||
}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue