From a6413bb3cdb4ef897dec8ee9c974a2bb6d16d242 Mon Sep 17 00:00:00 2001 From: Kyle Hensel Date: Sun, 26 Feb 2023 18:13:15 +1300 Subject: [PATCH] allow multiple `prerequisiteTag`s --- README.md | 2 +- schemas/field.json | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ce2fe40..91402d3 100644 --- a/README.md +++ b/README.md @@ -630,7 +630,7 @@ An object defining the tags the feature needs before this field will be displaye And may optionally be combined with one of these properties: -- `value`: The value that the key must have. +- `values`: The value(s) that the key must have. - `valueNot`: The value that the key must not have. Alternatively, the object may contain a single property: diff --git a/schemas/field.json b/schemas/field.json index d8d61a7..d0043b2 100644 --- a/schemas/field.json +++ b/schemas/field.json @@ -191,9 +191,10 @@ "type": "string", "required": true }, - "value": { - "description": "The value that the tag must have. (alternative to 'valueNot')", - "type": "string", + "values": { + "description": "The values that the tag must have. (alternative to 'valueNot')", + "type": "array", + "items": { "type": "string" }, "required": true } },