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 Jun 1, 2024
1 parent 07f8a35 commit a6413bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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.
- `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:
Expand Down
7 changes: 4 additions & 3 deletions schemas/field.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand Down

0 comments on commit a6413bb

Please sign in to comment.