Table of Contents

TTMSMCPElicitField.ToJSON Method

Builds the schema property object that describes this field.

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

Syntax

function ToJSON: TJSONObject;

Returns

A new object carrying the schema type and, when they have been set, the title, description and default value. For an enumeration field that has values, the permitted values are added as an enum constraint. The caller owns the returned object.