docs-devsite/ai.schemarequest.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Final format for Schema params passed to backend requests.
<b>Signature:</b>
export interface SchemaRequest extends SchemaShared<SchemaRequest>
<b>Extends:</b> SchemaShared<!-- --><SchemaRequest<!-- -->>
| Property | Type | Description |
|---|---|---|
| required | string[] | Optional. Array of required property. |
| type | SchemaType | The type of the property. this can only be undefined when using <code>anyOf</code> schemas, which do not have an explicit type in the OpenAPI specification<!-- -->. |
Optional. Array of required property.
<b>Signature:</b>
required?: string[];
The type of the property. this can only be undefined when using anyOf schemas, which do not have an explicit type in the OpenAPI specification<!-- -->.
<b>Signature:</b>
type?: SchemaType;