diff --git a/README.md b/README.md index 908500e..4161823 100644 --- a/README.md +++ b/README.md @@ -613,7 +613,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. +- `value`: The value(s) that the key must have. It can be a single value, or a list of possible values. - `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 d0fbca8..8d94f15 100644 --- a/schemas/field.json +++ b/schemas/field.json @@ -193,7 +193,17 @@ }, "value": { "description": "The value that the tag must have. (alternative to 'valueNot')", - "type": "string", + "type": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { "type": "string" } + } + ] + }, "required": true } },