Skip to content

Commit 505136c

Browse files
fix(specs): add deprecated field condition in rule schemas (#5983)
1 parent 1ac8dee commit 505136c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

specs/search/paths/rules/common/schemas.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ rule:
3737
type: string
3838
scope:
3939
type: string
40+
condition:
41+
deprecated: true
42+
description: |
43+
Legacy field for a single condition. This field is maintained for backward compatibility
44+
with older rules but should not be used in new implementations.
45+
$ref: '#/condition'
4046
required:
4147
- objectID
4248
- consequence

0 commit comments

Comments
 (0)