Skip to content

JsonSchema ​

JSON Schema definition for structured output. Required when type is 'json_schema'.

Example Usage ​

typescript
import { JsonSchema } from "@meetkai/mka1/models/components";

let value: JsonSchema = {
  name: "<value>",
  schema: {
    "key": "<value>",
    "key1": "<value>",
  },
};

Fields ​

FieldTypeRequiredDescription
namestring✔️N/A
schemaRecord<string, any>✔️N/A
strictboolean➖N/A