Here is the design of a clinical trial:

Official Title: Effects of Technology-based Physical Activity Interventions for Women After Bariatric Surgery: a Three-arm Randomized Control Study

Included conditions:
- Bariatric Surgery Candidate

Study Armgroups:
- {'label': 'CONTROL', 'type': 'NO_INTERVENTION', 'description': 'The Control group will receive the usual care. In the physical activity (PA) field, this includes two individual motivational interviews with a PA professional, and a group workshop during the first year after BS. PA recommendations will be explained to each participant, and their achievement will be encouraged and supported during these sessions. No face-to-face PA sessions will be offered as part of the usual care.'}
- {'label': 'ACTI-VISIO', 'type': 'EXPERIMENTAL', 'description': 'The two PA sessions per week will be delivered via videoconferencing (developed by Mooven™). The PA program consists in tailored adapted PA sessions led by a professional specialized in adapted PA. These sessions were specifically designed to be appropriate for the population and were developed in collaboration with the authors to ensure standardization of the recommended volume of PA. The PA sessions will be given live, individually at the beginning and then in groups of four women. During sessions, the professional and the participants will interact simultaneously, and the execution of the exercises will be monitored and adapted live by the professional. To ensure the safety of the PA, a rating of perceived exertion will be requested after each session on a 10-point scale. If the RPE exceed 7, the professional specialized in adapted PA will adjust the training load. In addition to the exercises, the sessions will also include advice and tips for reaching the recommended PA level.', 'interventionNames': ['Behavioral: Technology-based physical activity interventions']}
- {'label': 'ACTI-MOBIL', 'type': 'EXPERIMENTAL', 'description': 'The PA sessions will be delivered by an eHealth platform (developed by BePatient™) associated with an activity bracelet. The researchers enrich PA content on the platform and ensure standardization of the recommended volume of PA. The platform consists of tips for reaching the PA level, PA questionnaires, PA feedback measured by the activity bracelet, and a video demonstration of PA sessions performed by a peer. The PA sessions are automatically broadcasted twice a week for 12 weeks. To ensure the safety of the PA, the sessions were designed to be appropriate for this population and the RPE will be measured after each session on a 10-point scale. If the RPE exceeds 7 for 3 consecutive sessions, the training load will be adjusted. The platform will also include a variety of content, including dietary tips, obesity-related facts, information about surgery, and frequently asked questions.', 'interventionNames': ['Behavioral: Technology-based physical activity interventions']}

Interventions:
- {'type': 'BEHAVIORAL', 'name': 'Technology-based physical activity interventions', 'description': 'The technology groups will receive a PA program for 12 weeks. These PA programs will be given twice a week and include: 5-10 minutes of warm-up, 20-40 minutes of aerobic exercise and muscle strengthening via circuit training composed of 8-10 exercises with 8-12 repetitions per exercise for 2-3 series, and 5-10 minutes of stretching. In addition, advice and counseling will be given about walking activities to achieve the recommendations.', 'armGroupLabels': ['ACTI-MOBIL', 'ACTI-VISIO']}

Primary Outcomes:
- {'measure': "Change of functional capacity calculated by the percentage achievement of the theoretical distance calculated by the Capodaglio's (2013) formula", 'description': 'We will aggregate the following primary outcome measures into the Capodaglio (2013) formula: 894.2177 - (2.0700 x age(years)) - (51.4489 x 1) - 5.1663 x BMI (kg/m²) to obtain the theoretical distance, and we will calculate the percentage achievement of this theoretical distance: ((distance traveled(meters) - theoretical distance(meters)) / theoretical distance(meters))x100.\n\nHigher percentage of achievement reflecting higher functional capacity.', 'timeFrame': 'Baseline (T0), 3 months (T3), and 6 months (T6)'}
- {'measure': 'Change of distance traveled during a six-minute walk test (6MWT)', 'description': 'Distance traveled during a six-minute walk test (6MWT) will be expressed in meters', 'timeFrame': 'Baseline (T0), 3 months (T3), and 6 months (T6)'}
- {'measure': 'Change of body mass', 'description': 'Kilograms', 'timeFrame': 'Baseline (T0), 3 months (T3), and 6 months (T6)'}
- {'measure': 'Height', 'description': 'Meters', 'timeFrame': 'Baseline (T0)'}
- {'measure': 'Date of birth', 'description': 'The date of birth will be requested once (pre-bariatric surgery) and will be used to calculate the age in years at the different periods needed to calculate the theoretical 6MWT distance', 'timeFrame': 'Baseline (T0)'}

Please estimate the sample size based on the assumption: 
The study aims for a power of 80% and an alpha of 5%, with an anticipated 10% dropout rate.
Sample size
          Sample size for the study is based on the distance travelled during a 6MWT relativised with age, sex and body mass index.47 A recent meta-analysis showed an overall effect Z=2.52 (p=0.01) of change in walking distance after BS in an exercise group compared with a control group.62 An overall effect Z=2.52 corresponds to f=0.20.63 However, this effect size is probably minimised because it has not been relativised according to body mass index. Furthermore, eHealth PA programmes for obese or sedentary individuals have an effect size of d=0.37,64 corresponding to f=0.19.63 However, only 45% of eHealth interventions are based on theoretical models,65 which reduces their effectiveness. Given these limitations, a slightly larger effect size of f=0.25 is considered. A total of 108 participants will be necessary to keep a power of 80% and alpha of 5%.66 We anticipate that 10% of the participants will be lost to follow-up, drop out of testing, withdraw informed consent or be excluded from the study. Thus, with 120âwomen, 40 in each group, we consider our study to be sufficiently powered.