You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| [description](./ai.schema.md#schemadescription) | | string | Optional. The description of the property. |
33
33
| [example](./ai.schema.md#schemaexample) | | unknown | Optional. The example of the property. |
34
34
| [format](./ai.schema.md#schemaformat) | | string | Optional. The format of the property. Supported formats:<br/> <ul> <li>for NUMBER type: "float", "double"</li> <li>for INTEGER type: "int32", "int64"</li> <li>for STRING type: "email", "byte", etc</li> </ul> |
35
+
| [items](./ai.schema.md#schemaitems) | | [SchemaInterface](./ai.schemainterface.md#schemainterface_interface) | Optional. The items of the property. |
36
+
| [maxItems](./ai.schema.md#schemamaxitems) | | number | The maximum number of items (elements) in a schema of type [SchemaType.ARRAY](./ai.md#schematypearray_enummember)<!-- -->. |
37
+
| [minItems](./ai.schema.md#schemaminitems) | | number | The minimum number of items (elements) in a schema of type [SchemaType.ARRAY](./ai.md#schematypearray_enummember)<!-- -->. |
35
38
| [nullable](./ai.schema.md#schemanullable) | | boolean | Optional. Whether the property is nullable. Defaults to false. |
36
39
| [type](./ai.schema.md#schematype) | | [SchemaType](./ai.md#schematype) | Optional. The type of the property. [SchemaType](./ai.md#schematype)<!-- -->. |
37
40
@@ -93,6 +96,36 @@ Optional. The format of the property. Supported formats:<br/> <ul> <li>for NUMBE
93
96
format?:string;
94
97
```
95
98
99
+
## Schema.items
100
+
101
+
Optional. The items of the property.
102
+
103
+
<b>Signature:</b>
104
+
105
+
```typescript
106
+
items?:SchemaInterface;
107
+
```
108
+
109
+
## Schema.maxItems
110
+
111
+
The maximum number of items (elements) in a schema of type [SchemaType.ARRAY](./ai.md#schematypearray_enummember)<!-- -->.
112
+
113
+
<b>Signature:</b>
114
+
115
+
```typescript
116
+
maxItems?:number;
117
+
```
118
+
119
+
## Schema.minItems
120
+
121
+
The minimum number of items (elements) in a schema of type [SchemaType.ARRAY](./ai.md#schematypearray_enummember)<!-- -->.
122
+
123
+
<b>Signature:</b>
124
+
125
+
```typescript
126
+
minItems?:number;
127
+
```
128
+
96
129
## Schema.nullable
97
130
98
131
Optional. Whether the property is nullable. Defaults to false.
0 commit comments