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:
Christian Kellner 2022-04-12 22:26:55 +02:00 committed by Achilleas Koutsou
parent ae7ab67cfa
commit df91d8916d

View file

@ -30,6 +30,8 @@ SCHEMA = """
"oneOf": [{
"type": "array",
"additionalItems": false,
"minItems": 1,
"maxItems": 1,
"items": [{
"type": "string"
}]