PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.4
Yatra – Travel Booking & Tour Operator Software v3.0.4
3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 2.0.10 2.0.11 All 82 releases
yatra / sample-data / attributes.json

attributes.json in Yatra – Travel Booking & Tour Operator Software 3.0.4, at sample-data/attributes.json

199 lines 5.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 [
2 {
3 "type": "attribute",
4 "name": "Group Size",
5 "slug": "group-size",
6 "description": "Maximum group size for the trip",
7 "metadata": {
8 "field_type": "number",
9 "placeholder": "e.g. 12",
10 "default_value": "",
11 "required": false,
12 "show_on_frontend": true,
13 "show_in_filters": true,
14 "filter_type": "range",
15 "searchable": false,
16 "display_order": 10,
17 "validation_rules": ""
18 },
19 "status": "publish"
20 },
21 {
22 "type": "attribute",
23 "name": "Age Restriction",
24 "slug": "age-restriction",
25 "description": "Minimum age requirement (years)",
26 "metadata": {
27 "field_type": "number",
28 "placeholder": "e.g. 8",
29 "default_value": "",
30 "required": false,
31 "show_on_frontend": true,
32 "show_in_filters": true,
33 "filter_type": "range",
34 "searchable": false,
35 "display_order": 20,
36 "validation_rules": ""
37 },
38 "status": "publish"
39 },
40 {
41 "type": "attribute",
42 "name": "Fitness Level",
43 "slug": "fitness-level",
44 "description": "Required fitness level for participants",
45 "metadata": {
46 "field_type": "select",
47 "field_options": [
48 { "label": "Low", "value": "low" },
49 { "label": "Moderate", "value": "moderate" },
50 { "label": "High", "value": "high" },
51 { "label": "Very High", "value": "very-high" }
52 ],
53 "placeholder": "",
54 "default_value": "",
55 "required": false,
56 "show_on_frontend": true,
57 "show_in_filters": true,
58 "filter_type": "dropdown",
59 "searchable": true,
60 "display_order": 30,
61 "validation_rules": ""
62 },
63 "status": "publish"
64 },
65 {
66 "type": "attribute",
67 "name": "Accommodation Type",
68 "slug": "accommodation-type",
69 "description": "Type of accommodation provided",
70 "metadata": {
71 "field_type": "select",
72 "field_options": [
73 { "label": "Hotel", "value": "hotel" },
74 { "label": "Resort", "value": "resort" },
75 { "label": "Guesthouse", "value": "guesthouse" },
76 { "label": "Camping", "value": "camping" },
77 { "label": "Lodge", "value": "lodge" },
78 { "label": "Hostel", "value": "hostel" }
79 ],
80 "placeholder": "",
81 "default_value": "",
82 "required": false,
83 "show_on_frontend": true,
84 "show_in_filters": true,
85 "filter_type": "dropdown",
86 "searchable": true,
87 "display_order": 40,
88 "validation_rules": ""
89 },
90 "status": "publish"
91 },
92 {
93 "type": "attribute",
94 "name": "Meal Plan",
95 "slug": "meal-plan",
96 "description": "Meals included in the trip",
97 "metadata": {
98 "field_type": "select",
99 "field_options": [
100 { "label": "Breakfast Only", "value": "breakfast-only" },
101 { "label": "Half Board", "value": "half-board" },
102 { "label": "Full Board", "value": "full-board" },
103 { "label": "All Inclusive", "value": "all-inclusive" }
104 ],
105 "placeholder": "",
106 "default_value": "",
107 "required": false,
108 "show_on_frontend": true,
109 "show_in_filters": true,
110 "filter_type": "dropdown",
111 "searchable": false,
112 "display_order": 50,
113 "validation_rules": ""
114 },
115 "status": "publish"
116 },
117 {
118 "type": "attribute",
119 "name": "Transportation",
120 "slug": "transportation",
121 "description": "Primary mode of transportation",
122 "metadata": {
123 "field_type": "select",
124 "field_options": [
125 { "label": "Bus", "value": "bus" },
126 { "label": "Private Vehicle", "value": "private-vehicle" },
127 { "label": "Train", "value": "train" },
128 { "label": "Flight", "value": "flight" },
129 { "label": "Boat", "value": "boat" },
130 { "label": "Walking", "value": "walking" }
131 ],
132 "placeholder": "",
133 "default_value": "",
134 "required": false,
135 "show_on_frontend": true,
136 "show_in_filters": true,
137 "filter_type": "dropdown",
138 "searchable": false,
139 "display_order": 60,
140 "validation_rules": ""
141 },
142 "status": "publish"
143 },
144 {
145 "type": "attribute",
146 "name": "Guide Language",
147 "slug": "guide-language",
148 "description": "Languages available with guides",
149 "metadata": {
150 "field_type": "checkbox",
151 "field_options": [
152 { "label": "English", "value": "english" },
153 { "label": "Spanish", "value": "spanish" },
154 { "label": "French", "value": "french" },
155 { "label": "German", "value": "german" },
156 { "label": "Italian", "value": "italian" },
157 { "label": "Japanese", "value": "japanese" },
158 { "label": "Chinese", "value": "chinese" }
159 ],
160 "placeholder": "",
161 "default_value": "",
162 "required": false,
163 "show_on_frontend": true,
164 "show_in_filters": true,
165 "filter_type": "dropdown",
166 "searchable": true,
167 "display_order": 70,
168 "validation_rules": ""
169 },
170 "status": "publish"
171 },
172 {
173 "type": "attribute",
174 "name": "Season",
175 "slug": "season",
176 "description": "Best season for this trip",
177 "metadata": {
178 "field_type": "select",
179 "field_options": [
180 { "label": "Spring", "value": "spring" },
181 { "label": "Summer", "value": "summer" },
182 { "label": "Fall", "value": "fall" },
183 { "label": "Winter", "value": "winter" },
184 { "label": "Year-round", "value": "year-round" }
185 ],
186 "placeholder": "",
187 "default_value": "",
188 "required": false,
189 "show_on_frontend": true,
190 "show_in_filters": true,
191 "filter_type": "dropdown",
192 "searchable": true,
193 "display_order": 80,
194 "validation_rules": ""
195 },
196 "status": "publish"
197 }
198 ]
199