Skip to content

Commit

Permalink
allow multiple prerequisiteTags
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Feb 26, 2023
1 parent 07f8a35 commit 75d757e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
- `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:
Expand Down
12 changes: 11 additions & 1 deletion schemas/field.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand Down

0 comments on commit 75d757e

Please sign in to comment.