Skip to content

Commit 3c9000e

Browse files
committed
fix: some typing
1 parent e3a98e0 commit 3c9000e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

specs/composition/common/schemas/Hit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ compositionRankingInfo:
3838
type: string
3939
inset:
4040
type: string
41+
required:
42+
- index
43+
- inset

specs/composition/common/schemas/compositionRule.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ compositionRule:
1717
description: Effect of the rule.
1818
additionalProperties: false
1919
properties:
20-
params:
20+
behavior:
2121
$ref: './compositionBehavior.yml#/compositionBehavior'
22+
required:
23+
- behavior
2224
description:
2325
type: string
2426
description: Description of the rule's purpose to help you distinguish between different rules.

0 commit comments

Comments
 (0)