set optionDefinition to (optionRef's contents as record) & {shortName:"", longName:"", propertyName:"", valueType:text, isList:false, defaultValue:false} -- this defaultValue is only used by boolean opts