The schema of the expected data, see datarecord-metadata-v2-schema for the schema definition.

interface DataSchema {
    fields: WatsonXAI.JsonObject[];
    id: string;
    name?: string;
    type?: string;
}

Properties

Properties

The fields that describe the data schema.

id: string

An id to identify a schema.

name?: string

A name for the schema.

type?: string

The type of the schema, can be ignored or set to struct or DataFrame.