Schema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface Schema (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/nodejs/docs/reference/vertexai/latest/vertexai/schema)\n- [1.9.0](/nodejs/docs/reference/vertexai/1.9.0/vertexai/schema)\n- [1.8.1](/nodejs/docs/reference/vertexai/1.8.1/vertexai/schema)\n- [1.7.0](/nodejs/docs/reference/vertexai/1.7.0/vertexai/schema)\n- [1.6.0](/nodejs/docs/reference/vertexai/1.6.0/vertexai/schema)\n- [1.5.0](/nodejs/docs/reference/vertexai/1.5.0/vertexai/schema)\n- [1.4.1](/nodejs/docs/reference/vertexai/1.4.1/vertexai/schema)\n- [1.3.1](/nodejs/docs/reference/vertexai/1.3.1/vertexai/schema)\n- [1.2.0](/nodejs/docs/reference/vertexai/1.2.0/vertexai/schema)\n- [1.1.0](/nodejs/docs/reference/vertexai/1.1.0/vertexai/schema)\n- [1.0.0](/nodejs/docs/reference/vertexai/1.0.0/vertexai/schema)\n- [0.5.0](/nodejs/docs/reference/vertexai/0.5.0/vertexai/schema)\n- [0.4.0](/nodejs/docs/reference/vertexai/0.4.0/vertexai/schema)\n- [0.3.1](/nodejs/docs/reference/vertexai/0.3.1/vertexai/schema)\n- [0.2.1](/nodejs/docs/reference/vertexai/0.2.1/vertexai/schema) \nSchema is used to define the format of input/output data. Represents a select subset of an OpenAPI 3.0 schema object. More fields may be added in the future as needed.\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### description\n\n description?: string;\n\nOptional. The description of the property.\n\n### enum\n\n enum?: string[];\n\nOptional. The enum of the property.\n\n### example\n\n example?: unknown;\n\nOptional. The example of the property.\n\n### format\n\n format?: string;\n\nOptional. The format of the property.\n\n### items\n\n items?: Schema;\n\nOptional. The items of the property. [Schema](/nodejs/docs/reference/vertexai/latest/vertexai/schema)\n\n### nullable\n\n nullable?: boolean;\n\nOptional. Whether the property is nullable.\n\n### properties\n\n properties?: {\n [k: string]: Schema;\n };\n\nOptional. Map of [Schema](/nodejs/docs/reference/vertexai/latest/vertexai/schema).\n\n### required\n\n required?: string[];\n\nOptional. Array of required property.\n\n### type\n\n type?: SchemaType;\n\nOptional. The type of the property. [SchemaType](/nodejs/docs/reference/vertexai/latest/vertexai/schematype)."]]