<?xml version="1.0" encoding="UTF-8"?>
<config-description:config-descriptions
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
	xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">

	<config-description uri="profile:transform:SCRIPT">
		<parameter name="toItemScript" type="text">
			<label>Thing To Item Transformation</label>
			<description>The Script for transforming state updates and commands from the Thing handler to the item. The script
				may return null to discard the updates/commands and not pass them through.</description>
			<limitToOptions>false</limitToOptions>
		</parameter>
		<parameter name="commandFromItemScript" type="text">
			<label>Item Command To Thing Transformation</label>
			<description>The Script for transforming commands from the item to the Thing handler. The script may return null to
				discard the commands and not pass them through.</description>
			<limitToOptions>false</limitToOptions>
		</parameter>
		<parameter name="stateFromItemScript" type="text">
			<label>Item State To Thing Transformation</label>
			<description>The Script for transforming states from the item to the Thing handler. The script may return null to
				discard the states and not pass them through.</description>
			<limitToOptions>false</limitToOptions>
		</parameter>
		<parameter name="toHandlerScript" type="text">
			<label>Item To Thing Transformation (DEPRECATED)</label>
			<description>The Script for transforming commands from the item to the Thing handler. The script may return null to
				discard the commands and not pass them through. This is deprecated and has been replaced by
				'commandFromItemScript'.</description>
			<limitToOptions>false</limitToOptions>
			<advanced>true</advanced>
		</parameter>
	</config-description>

</config-description:config-descriptions>
