ArraySchema class
Stay organized with collections
Save and categorize content based on your preferences.
Schema class for "array" types. The items
param should refer to the type of item that can be a member of the array.
Signature:
export declare class ArraySchema extends Schema
Extends: Schema
Constructors
Properties
ArraySchema.(constructor)
Constructs a new instance of the ArraySchema
class
Signature:
constructor(schemaParams: SchemaParams, items: TypedSchema);
Parameters
ArraySchema.items
Signature:
items: TypedSchema;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["Schema class for \"array\" types. The `items` param should refer to the type of item that can be a member of the array.\n\n**Signature:** \n\n export declare class ArraySchema extends Schema \n\n**Extends:** [Schema](./ai.schema.md#schema_class)\n\nConstructors\n\nProperties\n\nArraySchema.(constructor)\n\nConstructs a new instance of the `ArraySchema` class\n\n**Signature:** \n\n constructor(schemaParams: SchemaParams, items: TypedSchema);\n\nParameters\n\nArraySchema.items\n\n**Signature:** \n\n items: TypedSchema;"]]