Table of Contents

TTMSMCPElicitSchema.ToJSON Method

Builds the schema object describing every field that has been added.

API unit family: TMS.MCP.Elicitation Declaring type: TTMSMCPElicitSchema

Syntax

function ToJSON: TJSONObject;

Returns

A new object of schema type object whose properties member holds one entry per field. A required set is added only when at least one field is marked as required. The caller owns the returned object.