TTMSMCPArrayItemProperty Class
Describes one field of the objects held by an array-of-objects input property. The set of these fields becomes the
itemsobject schema of that property.
API unit family: TMS.MCP.Tools
Inherits from: TCollectionItem
Syntax
TTMSMCPArrayItemProperty = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| Description | Description of the field, published as the description of the field in the item schema. Omitted when empty. |
| Name | Name of the field inside each array item. It becomes the key of the field in the items object schema. |
| PropertyType | Type of the field, published as the JSON Schema type of the field. Defaults to ptString. |
| Required | When True, the field is listed in the required array of the item schema, so every array element must carry it. Defaults to False. |