Skip to content

Commit 770531a

Browse files
committed
items in draft7 can accept boolean
1 parent 1d51ee8 commit 770531a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/models/jsonSchema7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export interface JsonSchema7 {
8989
// Array Validation
9090
/////////////////////////////////////////////////
9191
additionalItems?: boolean | JsonSchema7;
92-
items?: JsonSchema7 | JsonSchema7[];
92+
items?: boolean | JsonSchema7 | JsonSchema7[];
9393
maxItems?: number;
9494
minItems?: number;
9595
uniqueItems?: boolean;

0 commit comments

Comments
 (0)