import { type JSONSchema } from "https://deno.land/x/openai@v4.24.4/lib/jsonschema.ts";
Properties
optional
type: JSONSchemaTypeName | JSONSchemaTypeName[] | undefinedoptional
enum: JSONSchemaType[] | undefinedoptional
const: JSONSchemaType | undefinedoptional
items: JSONSchemaDefinition | JSONSchemaDefinition[] | undefinedoptional
additionalItems: JSONSchemaDefinition | undefinedoptional
contains: JSONSchemaDefinition | undefinedoptional
properties: { [key: string]: JSONSchemaDefinition; } | undefinedoptional
patternProperties: { [key: string]: JSONSchemaDefinition; } | undefinedoptional
additionalProperties: JSONSchemaDefinition | undefinedoptional
propertyNames: JSONSchemaDefinition | undefinedoptional
if: JSONSchemaDefinition | undefinedoptional
then: JSONSchemaDefinition | undefinedoptional
else: JSONSchemaDefinition | undefinedoptional
allOf: JSONSchemaDefinition[] | undefinedoptional
anyOf: JSONSchemaDefinition[] | undefinedoptional
oneOf: JSONSchemaDefinition[] | undefinedoptional
not: JSONSchemaDefinition | undefinedoptional
default: JSONSchemaType | undefinedoptional
examples: JSONSchemaType | undefined