ObjectSchema class Stay organized with collections Save and categorize content based on your preferences.
Schema class for "object" types. Theproperties param must be a map ofSchema objects.
Signature:
exportdeclareclassObjectSchemaextendsSchemaExtends:Schema
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(schemaParams, properties, optionalProperties) | Constructs a new instance of theObjectSchema class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| optionalProperties | string[] | ||
| properties | { [k: string]:TypedSchema; } |
ObjectSchema.(constructor)
Constructs a new instance of theObjectSchema class
Signature:
constructor(schemaParams:SchemaParams,properties:{[k:string]:TypedSchema;},optionalProperties?:string[]);Parameters
| Parameter | Type | Description |
|---|---|---|
| schemaParams | SchemaParams | |
| properties | { [k: string]:TypedSchema; } | |
| optionalProperties | string[] |
ObjectSchema.optionalProperties
Signature:
optionalProperties:string[];ObjectSchema.properties
Signature:
properties:{[k:string]:TypedSchema;};Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.