We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a058229 commit fc939ebCopy full SHA for fc939eb
client/src/utils/jsonUtils.ts
@@ -16,11 +16,20 @@ export type JsonSchemaType = {
16
| "array"
17
| "object"
18
| "null";
19
+ title?: string;
20
description?: string;
- required?: boolean;
21
+ required?: boolean | string[];
22
default?: JsonValue;
23
properties?: Record<string, JsonSchemaType>;
24
items?: JsonSchemaType;
25
+ minimum?: number;
26
+ maximum?: number;
27
+ minLength?: number;
28
+ maxLength?: number;
29
+ pattern?: string;
30
+ format?: string;
31
+ enum?: string[];
32
+ enumNames?: string[];
33
};
34
35
export type JsonObject = { [key: string]: JsonValue };
0 commit comments