@paris-ias/trees 1.8.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/LICENSE +679 -0
  2. package/dist/form/action.js +83 -0
  3. package/dist/form/affiliation.js +178 -0
  4. package/dist/form/apps.js +132 -0
  5. package/dist/form/disciplines.js +30 -0
  6. package/dist/form/events.js +836 -0
  7. package/dist/form/fellowships.js +1307 -0
  8. package/dist/form/files.js +30 -0
  9. package/dist/form/mailing.js +43 -0
  10. package/dist/form/news.js +252 -0
  11. package/dist/form/people.js +658 -0
  12. package/dist/form/projects.js +338 -0
  13. package/dist/form/publications.js +364 -0
  14. package/dist/form/tags.js +38 -0
  15. package/dist/form/users.js +576 -0
  16. package/dist/graphql/client/action/query.get.action.gql +22 -0
  17. package/dist/graphql/client/action/query.list.action.gql +32 -0
  18. package/dist/graphql/client/affiliation/query.get.affiliations.gql +37 -0
  19. package/dist/graphql/client/affiliation/query.list.affiliations.gql +43 -0
  20. package/dist/graphql/client/apps/query.get.apps.gql +33 -0
  21. package/dist/graphql/client/apps/query.list.apps.gql +43 -0
  22. package/dist/graphql/client/events/query.get.events.gql +119 -0
  23. package/dist/graphql/client/events/query.list.events.gql +40 -0
  24. package/dist/graphql/client/fellowships/query.get.fellowships.gql +163 -0
  25. package/dist/graphql/client/fellowships/query.list.fellowships.gql +49 -0
  26. package/dist/graphql/client/files/query.get.files.gql +24 -0
  27. package/dist/graphql/client/files/query.list.files.gql +37 -0
  28. package/dist/graphql/client/mailing/query.get.mailing.gql +24 -0
  29. package/dist/graphql/client/mailing/query.list.mailing.gql +23 -0
  30. package/dist/graphql/client/misc/apex.mutations.delete.gql +0 -0
  31. package/dist/graphql/client/misc/apex.mutations.upsert.gql +0 -0
  32. package/dist/graphql/client/misc/apex.queries.login.gql +0 -0
  33. package/dist/graphql/client/misc/query.get.disciplines.gql +17 -0
  34. package/dist/graphql/client/misc/query.get.tags.gql +13 -0
  35. package/dist/graphql/client/misc/query.list.disciplines.gql +23 -0
  36. package/dist/graphql/client/misc/query.list.tags.gql +23 -0
  37. package/dist/graphql/client/news/query.get.news.gql +128 -0
  38. package/dist/graphql/client/news/query.list.news.gql +35 -0
  39. package/dist/graphql/client/people/query.get.people.gql +173 -0
  40. package/dist/graphql/client/people/query.get.users.gql +0 -0
  41. package/dist/graphql/client/people/query.list.people.gql +55 -0
  42. package/dist/graphql/client/people/query.list.users.gql +31 -0
  43. package/dist/graphql/client/projects/query.get.projects.gql +166 -0
  44. package/dist/graphql/client/projects/query.list.projects.gql +33 -0
  45. package/dist/graphql/client/publications/query.get.publications.gql +169 -0
  46. package/dist/graphql/client/publications/query.list.publications.gql +35 -0
  47. package/dist/graphql/schemas/apex-resolvers-list.json +45 -0
  48. package/dist/graphql/schemas/schema.apex.graphql +946 -0
  49. package/dist/graphql/schemas/schema.website.graphql +794 -0
  50. package/dist/graphql/schemas/website-resolvers-list.json +22 -0
  51. package/dist/list/action.js +133 -0
  52. package/dist/list/affiliation.js +133 -0
  53. package/dist/list/apps.js +133 -0
  54. package/dist/list/disciplines.js +132 -0
  55. package/dist/list/events.js +186 -0
  56. package/dist/list/fellowships.js +149 -0
  57. package/dist/list/files.js +132 -0
  58. package/dist/list/mailing.js +132 -0
  59. package/dist/list/news.js +135 -0
  60. package/dist/list/people.js +176 -0
  61. package/dist/list/projects.js +135 -0
  62. package/dist/list/publications.js +152 -0
  63. package/dist/list/tags.js +133 -0
  64. package/dist/list/users.js +176 -0
  65. package/index.ts +63 -0
  66. package/lib/README.md +206 -0
  67. package/lib/buildClientGraphQL.ts +342 -0
  68. package/lib/buildDefaults.ts +0 -0
  69. package/lib/buildSchemas.ts +109 -0
  70. package/lib/generate.ts +505 -0
  71. package/lib/generateAll.ts +231 -0
  72. package/lib/utils.ts +24 -0
  73. package/package.json +34 -0
  74. package/readme.md +116 -0
  75. package/src/LICENSE +661 -0
  76. package/src/action/graphql/client/query.get.action.gql +22 -0
  77. package/src/action/graphql/client/query.list.action.gql +32 -0
  78. package/src/action/graphql/server/apex.types.action.graphql +15 -0
  79. package/src/action/models/action.ts +147 -0
  80. package/src/affiliation/graphql/client/query.get.affiliations.gql +37 -0
  81. package/src/affiliation/graphql/client/query.list.affiliations.gql +43 -0
  82. package/src/affiliation/graphql/server/shared.types.affiliations.graphql +20 -0
  83. package/src/affiliation/models/affiliation.ts +130 -0
  84. package/src/affiliation/models/member.ts +11 -0
  85. package/src/affiliation/models/partner.ts +9 -0
  86. package/src/apps/graphql/client/query.get.apps.gql +33 -0
  87. package/src/apps/graphql/client/query.list.apps.gql +43 -0
  88. package/src/apps/models/apps.ts +195 -0
  89. package/src/events/graphql/client/query.get.events.gql +119 -0
  90. package/src/events/graphql/client/query.list.events.gql +40 -0
  91. package/src/events/graphql/server/shared.inputs.events.graphql +24 -0
  92. package/src/events/models/eventSlot.ts +73 -0
  93. package/src/events/models/events.ts +569 -0
  94. package/src/fellowships/graphql/client/query.get.fellowships.gql +163 -0
  95. package/src/fellowships/graphql/client/query.list.fellowships.gql +49 -0
  96. package/src/fellowships/graphql/server/apex.inputs.fellowshipDetails.graphql +13 -0
  97. package/src/fellowships/graphql/server/shared.types.fellowshipDetails.graphql +13 -0
  98. package/src/fellowships/graphql/server/shared.types.fellowships.graphql +38 -0
  99. package/src/fellowships/models/fellowshipDetails.ts +145 -0
  100. package/src/fellowships/models/fellowships.ts +341 -0
  101. package/src/files/graphql/client/query.get.files.gql +24 -0
  102. package/src/files/graphql/client/query.list.files.gql +37 -0
  103. package/src/files/graphql/server/apex.inputs.files.graphql +7 -0
  104. package/src/files/graphql/server/apex.inputs.video.graphql +9 -0
  105. package/src/files/graphql/server/apex.types.files.graphql +4 -0
  106. package/src/files/graphql/server/shared.inputs.image.graphql +9 -0
  107. package/src/files/graphql/server/shared.types.files.graphql +15 -0
  108. package/src/files/graphql/server/shared.types.image.graphql +9 -0
  109. package/src/files/graphql/server/shared.types.video.graphql +9 -0
  110. package/src/files/models/files.ts +113 -0
  111. package/src/files/models/gallery.ts +11 -0
  112. package/src/files/models/image.ts +159 -0
  113. package/src/files/models/video.ts +166 -0
  114. package/src/form.ts +52 -0
  115. package/src/index.ts +98 -0
  116. package/src/list.ts +34 -0
  117. package/src/mailing/graphql/client/query.get.mailing.gql +24 -0
  118. package/src/mailing/graphql/client/query.list.mailing.gql +23 -0
  119. package/src/mailing/graphql/server/apex.types.mailing.graphql +13 -0
  120. package/src/mailing/models/mailing.ts +123 -0
  121. package/src/misc/graphql/client/apex.mutations.delete.gql +0 -0
  122. package/src/misc/graphql/client/apex.mutations.upsert.gql +0 -0
  123. package/src/misc/graphql/client/apex.queries.login.gql +0 -0
  124. package/src/misc/graphql/client/query.get.disciplines.gql +17 -0
  125. package/src/misc/graphql/client/query.get.tags.gql +13 -0
  126. package/src/misc/graphql/client/query.list.disciplines.gql +23 -0
  127. package/src/misc/graphql/client/query.list.tags.gql +23 -0
  128. package/src/misc/graphql/server/apex.inputs.misc.graphql +13 -0
  129. package/src/misc/graphql/server/apex.inputs.socials.graphql +12 -0
  130. package/src/misc/graphql/server/apex.mutations.graphql +23 -0
  131. package/src/misc/graphql/server/apex.queries.graphql +36 -0
  132. package/src/misc/graphql/server/apex.types.disciplines.graphql +4 -0
  133. package/src/misc/graphql/server/apex.types.tags.graphql +4 -0
  134. package/src/misc/graphql/server/shared.enums.graphql +112 -0
  135. package/src/misc/graphql/server/shared.inputs.misc.graphql +101 -0
  136. package/src/misc/graphql/server/shared.queries.graphql +35 -0
  137. package/src/misc/graphql/server/shared.types.disciplines.graphql +8 -0
  138. package/src/misc/graphql/server/shared.types.events.graphql +39 -0
  139. package/src/misc/graphql/server/shared.types.location.graphql +17 -0
  140. package/src/misc/graphql/server/shared.types.misc.graphql +120 -0
  141. package/src/misc/graphql/server/shared.types.related.graphql +10 -0
  142. package/src/misc/graphql/server/shared.types.relatedAffiliation.graphql +7 -0
  143. package/src/misc/graphql/server/shared.types.relatedEvent.graphql +7 -0
  144. package/src/misc/graphql/server/shared.types.relatedFellowships.graphql +7 -0
  145. package/src/misc/graphql/server/shared.types.relatedNews.graphql +7 -0
  146. package/src/misc/graphql/server/shared.types.relatedPeople.graphql +6 -0
  147. package/src/misc/graphql/server/shared.types.relatedProject.graphql +7 -0
  148. package/src/misc/graphql/server/shared.types.relatedPublications.graphql +6 -0
  149. package/src/misc/graphql/server/shared.types.socials.graphql +22 -0
  150. package/src/misc/graphql/server/shared.types.tags.graphql +11 -0
  151. package/src/misc/graphql/server/website.mutations.graphql +4 -0
  152. package/src/misc/models/disciplines.ts +116 -0
  153. package/src/misc/models/location.ts +136 -0
  154. package/src/misc/models/organizers.ts +13 -0
  155. package/src/misc/models/related.ts +123 -0
  156. package/src/misc/models/relatedEvents.ts +16 -0
  157. package/src/misc/models/relatedFellowships.ts +7 -0
  158. package/src/misc/models/relatedNews.ts +13 -0
  159. package/src/misc/models/relatedPeople.ts +8 -0
  160. package/src/misc/models/relatedProject.ts +14 -0
  161. package/src/misc/models/relatedPublications.ts +14 -0
  162. package/src/misc/models/socials.ts +133 -0
  163. package/src/misc/models/sponsor.ts +13 -0
  164. package/src/misc/models/tags.ts +116 -0
  165. package/src/misc/models/taxonomy.ts +1 -0
  166. package/src/model.ts +7 -0
  167. package/src/news/graphql/client/query.get.news.gql +128 -0
  168. package/src/news/graphql/client/query.list.news.gql +35 -0
  169. package/src/news/graphql/server/share.types.news.graphql +27 -0
  170. package/src/news/models/news.ts +257 -0
  171. package/src/people/graphql/client/query.get.people.gql +173 -0
  172. package/src/people/graphql/client/query.get.users.gql +0 -0
  173. package/src/people/graphql/client/query.list.people.gql +55 -0
  174. package/src/people/graphql/client/query.list.users.gql +31 -0
  175. package/src/people/graphql/server/apex.inputs.consent.graphql +9 -0
  176. package/src/people/graphql/server/apex.inputs.groups.graphql +8 -0
  177. package/src/people/graphql/server/apex.inputs.vintage.graphql +6 -0
  178. package/src/people/graphql/server/shared.types.consent.graphql +9 -0
  179. package/src/people/graphql/server/shared.types.groups.graphql +8 -0
  180. package/src/people/graphql/server/shared.types.people.graphql +29 -0
  181. package/src/people/graphql/server/shared.types.position.graphql +6 -0
  182. package/src/people/graphql/server/shared.types.users.graphql +17 -0
  183. package/src/people/graphql/server/shared.types.vintage.graphql +6 -0
  184. package/src/people/models/consent.ts +82 -0
  185. package/src/people/models/discussants.ts +9 -0
  186. package/src/people/models/experiences.ts +38 -0
  187. package/src/people/models/fellows.ts +12 -0
  188. package/src/people/models/groups.ts +58 -0
  189. package/src/people/models/people.ts +244 -0
  190. package/src/people/models/position.ts +62 -0
  191. package/src/people/models/speakers.ts +9 -0
  192. package/src/people/models/users.ts +252 -0
  193. package/src/people/models/vintage.ts +124 -0
  194. package/src/projects/graphql/client/query.get.projects.gql +166 -0
  195. package/src/projects/graphql/client/query.list.projects.gql +33 -0
  196. package/src/projects/graphql/server/shared.types.projects.graphql +29 -0
  197. package/src/projects/models/projects.ts +249 -0
  198. package/src/publications/graphql/client/query.get.publications.gql +169 -0
  199. package/src/publications/graphql/client/query.list.publications.gql +35 -0
  200. package/src/publications/graphql/server/shared.types.publications.graphql +34 -0
  201. package/src/publications/models/article.ts +262 -0
  202. package/src/publications/models/publications.ts +306 -0
@@ -0,0 +1,338 @@
1
+ export default {
2
+ "_defaults": {
3
+ "name": {
4
+ "en": "",
5
+ "fr": ""
6
+ },
7
+ "subtitle": {
8
+ "en": "",
9
+ "fr": ""
10
+ },
11
+ "description": {
12
+ "en": "",
13
+ "fr": ""
14
+ },
15
+ "summary": {
16
+ "en": "",
17
+ "fr": ""
18
+ },
19
+ "url": "",
20
+ "status": "",
21
+ "affiliations": "",
22
+ "related": {
23
+ "events": "",
24
+ "news": "",
25
+ "people": "",
26
+ "publications": "",
27
+ "projects": "",
28
+ "fellowships": ""
29
+ },
30
+ "image": "",
31
+ "gallery": "",
32
+ "video": {
33
+ "url": "",
34
+ "caption": {
35
+ "en": "",
36
+ "fr": ""
37
+ },
38
+ "alt": {
39
+ "en": "",
40
+ "fr": ""
41
+ },
42
+ "copyright": "Free of rights",
43
+ "licence": "",
44
+ "licenseUrl": "",
45
+ "backgroundColor": ""
46
+ },
47
+ "tags": "",
48
+ "files": "",
49
+ "color": "",
50
+ "date": "",
51
+ "featured": ""
52
+ },
53
+ "schema": {
54
+ "name": {
55
+ "label": "name",
56
+ "component": "TextField",
57
+ "type": "PRIMITIVE",
58
+ "i18n": true,
59
+ "rules": {
60
+ "required": true,
61
+ "min": 2,
62
+ "max": 50
63
+ },
64
+ "meta": "title"
65
+ },
66
+ "subtitle": {
67
+ "label": "subtitle",
68
+ "component": "TextArea",
69
+ "type": "PRIMITIVE",
70
+ "i18n": true,
71
+ "rules": {
72
+ "required": true,
73
+ "min": 5,
74
+ "max": 200
75
+ },
76
+ "meta": "subtitle"
77
+ },
78
+ "description": {
79
+ "label": "description",
80
+ "component": "TextArea",
81
+ "type": "PRIMITIVE",
82
+ "i18n": true,
83
+ "rules": {
84
+ "required": true,
85
+ "min": 5,
86
+ "max": 2000
87
+ },
88
+ "meta": "description"
89
+ },
90
+ "summary": {
91
+ "label": "summary",
92
+ "component": "TextArea",
93
+ "type": "PRIMITIVE",
94
+ "i18n": true,
95
+ "rules": {
96
+ "min": 5,
97
+ "max": 2000
98
+ },
99
+ "meta": "summary"
100
+ },
101
+ "url": {
102
+ "label": "url",
103
+ "component": "TextField",
104
+ "type": "PRIMITIVE",
105
+ "rules": {
106
+ "url": true
107
+ },
108
+ "meta": "url"
109
+ },
110
+ "status": {
111
+ "label": "status",
112
+ "component": "Select",
113
+ "type": "PRIMITIVE",
114
+ "rules": {
115
+ "required": true
116
+ },
117
+ "items": {
118
+ "Planned": "PLANNED",
119
+ "InProgress": "IN_PROGRESS",
120
+ "Finished": "FINISHED",
121
+ "Canceled": "CANCELED"
122
+ },
123
+ "meta": "status"
124
+ },
125
+ "affiliations": {
126
+ "label": "affiliations",
127
+ "component": "DocumentPicker",
128
+ "type": "DOCUMENT",
129
+ "meta": "affiliations",
130
+ "default": ""
131
+ },
132
+ "related": {
133
+ "label": "related",
134
+ "component": "ObjectContainerPanel",
135
+ "type": "OBJECT",
136
+ "meta": "related",
137
+ "items": {
138
+ "events": {
139
+ "label": "relatedEvent",
140
+ "component": "DocumentPicker",
141
+ "type": "DOCUMENT",
142
+ "meta": "event",
143
+ "default": ""
144
+ },
145
+ "news": {
146
+ "label": "relatedNews",
147
+ "component": "DocumentPicker",
148
+ "type": "DOCUMENT",
149
+ "meta": "news",
150
+ "default": ""
151
+ },
152
+ "people": {
153
+ "label": "relatedPeople",
154
+ "component": "DocumentPicker",
155
+ "type": "DOCUMENT",
156
+ "meta": "people",
157
+ "default": ""
158
+ },
159
+ "publications": {
160
+ "label": "relatedPublication",
161
+ "component": "DocumentPicker",
162
+ "type": "DOCUMENT",
163
+ "meta": "publication",
164
+ "default": ""
165
+ },
166
+ "projects": {
167
+ "label": "relatedProject",
168
+ "component": "DocumentPicker",
169
+ "type": "DOCUMENT",
170
+ "meta": "project",
171
+ "default": ""
172
+ },
173
+ "fellowships": {
174
+ "label": "relatedFellowships",
175
+ "component": "DocumentPicker",
176
+ "type": "DOCUMENT",
177
+ "meta": "fellowship",
178
+ "default": ""
179
+ }
180
+ }
181
+ },
182
+ "image": {
183
+ "label": "image",
184
+ "component": "ImagePicker",
185
+ "type": "DOCUMENT",
186
+ "rules": {
187
+ "required": true
188
+ },
189
+ "meta": "image",
190
+ "default": ""
191
+ },
192
+ "gallery": {
193
+ "label": "gallery",
194
+ "component": "ImagePicker",
195
+ "type": "DOCUMENT",
196
+ "multiple": true,
197
+ "meta": "gallery",
198
+ "default": ""
199
+ },
200
+ "video": {
201
+ "label": "video",
202
+ "component": "ObjectContainerPanel",
203
+ "type": "OBJECT",
204
+ "meta": "video",
205
+ "items": {
206
+ "url": {
207
+ "type": "PRIMITIVE",
208
+ "component": "TextField",
209
+ "label": "url",
210
+ "description": "The url where the image is fetched from",
211
+ "rules": {
212
+ "required": true,
213
+ "url": true,
214
+ "max": 2048
215
+ },
216
+ "meta": "url"
217
+ },
218
+ "caption": {
219
+ "label": "caption",
220
+ "type": "PRIMITIVE",
221
+ "component": "TextField",
222
+ "i18n": true,
223
+ "rules": {
224
+ "required": true,
225
+ "min": 2,
226
+ "max": 100
227
+ },
228
+ "meta": "caption"
229
+ },
230
+ "alt": {
231
+ "label": "alt",
232
+ "type": "PRIMITIVE",
233
+ "i18n": true,
234
+ "component": "TextField",
235
+ "description": "Displayed if the image cannot be loaded",
236
+ "rules": {
237
+ "max": 200
238
+ },
239
+ "meta": "alt"
240
+ },
241
+ "copyright": {
242
+ "label": "copyright",
243
+ "type": "PRIMITIVE",
244
+ "component": "TextField",
245
+ "default": "Free of rights",
246
+ "description": "Owner of the image copyright",
247
+ "meta": "copyright"
248
+ },
249
+ "licence": {
250
+ "label": "licence",
251
+ "type": "PRIMITIVE",
252
+ "component": "TextField",
253
+ "default": null,
254
+ "description": "The licence of the video",
255
+ "meta": "licence"
256
+ },
257
+ "licenseUrl": {
258
+ "label": "licenseUrl",
259
+ "type": "PRIMITIVE",
260
+ "component": "TextField",
261
+ "default": null,
262
+ "description": "The caption of the video",
263
+ "rules": {
264
+ "url": true
265
+ },
266
+ "show": {
267
+ "default": false,
268
+ "switchIf": [],
269
+ "disjonctive": false
270
+ },
271
+ "meta": "licenseUrl"
272
+ },
273
+ "backgroundColor": {
274
+ "label": "backgroundColor",
275
+ "type": "PRIMITIVE",
276
+ "component": "ColorPicker",
277
+ "default": null,
278
+ "rules": {
279
+ "color": true
280
+ },
281
+ "show": {
282
+ "default": false,
283
+ "switchIf": [],
284
+ "disjonctive": false
285
+ },
286
+ "meta": "backgroundColor"
287
+ }
288
+ }
289
+ },
290
+ "tags": {
291
+ "label": "tags",
292
+ "component": "TagPicker",
293
+ "type": "DOCUMENT",
294
+ "rules": {
295
+ "required": true
296
+ },
297
+ "meta": "tags",
298
+ "default": ""
299
+ },
300
+ "files": {
301
+ "label": "files",
302
+ "component": "FilePicker",
303
+ "type": "DOCUMENT",
304
+ "meta": "files",
305
+ "default": ""
306
+ },
307
+ "color": {
308
+ "label": "color",
309
+ "component": "ColorPicker",
310
+ "type": "PRIMITIVE",
311
+ "rules": {
312
+ "required": true,
313
+ "color": true
314
+ },
315
+ "meta": "color"
316
+ },
317
+ "date": {
318
+ "label": "date",
319
+ "component": "DatePicker",
320
+ "type": "PRIMITIVE",
321
+ "rules": {
322
+ "required": true,
323
+ "date": true
324
+ },
325
+ "meta": "date"
326
+ },
327
+ "featured": {
328
+ "label": "featured",
329
+ "component": "DatePicker",
330
+ "type": "PRIMITIVE",
331
+ "rules": {
332
+ "required": true,
333
+ "date": true
334
+ },
335
+ "meta": "featured"
336
+ }
337
+ }
338
+ }
@@ -0,0 +1,364 @@
1
+ export default {
2
+ "_defaults": {
3
+ "name": {
4
+ "en": "",
5
+ "fr": ""
6
+ },
7
+ "subtitle": {
8
+ "en": "",
9
+ "fr": ""
10
+ },
11
+ "description": {
12
+ "en": "",
13
+ "fr": ""
14
+ },
15
+ "summary": {
16
+ "en": "",
17
+ "fr": ""
18
+ },
19
+ "url": "",
20
+ "affiliations": "",
21
+ "eventCategories": "",
22
+ "type": "",
23
+ "related": {
24
+ "events": "",
25
+ "news": "",
26
+ "people": "",
27
+ "publications": "",
28
+ "projects": "",
29
+ "fellowships": ""
30
+ },
31
+ "disciplines": "",
32
+ "image": "",
33
+ "gallery": "",
34
+ "video": {
35
+ "url": "",
36
+ "caption": {
37
+ "en": "",
38
+ "fr": ""
39
+ },
40
+ "alt": {
41
+ "en": "",
42
+ "fr": ""
43
+ },
44
+ "copyright": "Free of rights",
45
+ "licence": "",
46
+ "licenseUrl": "",
47
+ "backgroundColor": ""
48
+ },
49
+ "tags": "",
50
+ "files": "",
51
+ "color": "",
52
+ "date": "",
53
+ "featured": ""
54
+ },
55
+ "schema": {
56
+ "name": {
57
+ "label": "name",
58
+ "component": "TextField",
59
+ "type": "PRIMITIVE",
60
+ "i18n": true,
61
+ "rules": {
62
+ "required": true,
63
+ "min": 5,
64
+ "max": 200
65
+ },
66
+ "meta": "name"
67
+ },
68
+ "subtitle": {
69
+ "label": "subtitle",
70
+ "component": "TextArea",
71
+ "type": "PRIMITIVE",
72
+ "i18n": true,
73
+ "rules": {
74
+ "required": true,
75
+ "min": 5,
76
+ "max": 200
77
+ },
78
+ "meta": "subtitle"
79
+ },
80
+ "description": {
81
+ "label": "description",
82
+ "component": "TextArea",
83
+ "type": "PRIMITIVE",
84
+ "i18n": true,
85
+ "rules": {
86
+ "required": true,
87
+ "min": 5,
88
+ "max": 2000
89
+ },
90
+ "meta": "description"
91
+ },
92
+ "summary": {
93
+ "label": "summary",
94
+ "component": "TextArea",
95
+ "type": "PRIMITIVE",
96
+ "i18n": true,
97
+ "rules": {
98
+ "required": true,
99
+ "min": 5,
100
+ "max": 2000
101
+ },
102
+ "meta": "summary"
103
+ },
104
+ "url": {
105
+ "label": "url",
106
+ "component": "TextField",
107
+ "type": "PRIMITIVE",
108
+ "rules": {
109
+ "required": true,
110
+ "url": true
111
+ },
112
+ "meta": "url"
113
+ },
114
+ "affiliations": {
115
+ "label": "affiliations",
116
+ "component": "AffiliationPicker",
117
+ "type": "DOCUMENT",
118
+ "meta": "affiliations",
119
+ "default": ""
120
+ },
121
+ "eventCategories": {
122
+ "label": "eventCategories",
123
+ "component": "ListSelect",
124
+ "type": "PRIMITIVE",
125
+ "rules": {
126
+ "required": true
127
+ },
128
+ "meta": "eventCategories"
129
+ },
130
+ "type": {
131
+ "label": "type",
132
+ "component": "ListSelect",
133
+ "type": "PRIMITIVE",
134
+ "rules": {
135
+ "required": true
136
+ },
137
+ "meta": "type"
138
+ },
139
+ "related": {
140
+ "label": "related",
141
+ "component": "ObjectContainerPanel",
142
+ "type": "OBJECT",
143
+ "rules": {
144
+ "required": true,
145
+ "min": 5,
146
+ "max": 200
147
+ },
148
+ "meta": "related",
149
+ "items": {
150
+ "events": {
151
+ "label": "relatedEvent",
152
+ "component": "DocumentPicker",
153
+ "type": "DOCUMENT",
154
+ "meta": "event",
155
+ "default": ""
156
+ },
157
+ "news": {
158
+ "label": "relatedNews",
159
+ "component": "DocumentPicker",
160
+ "type": "DOCUMENT",
161
+ "meta": "news",
162
+ "default": ""
163
+ },
164
+ "people": {
165
+ "label": "relatedPeople",
166
+ "component": "DocumentPicker",
167
+ "type": "DOCUMENT",
168
+ "meta": "people",
169
+ "default": ""
170
+ },
171
+ "publications": {
172
+ "label": "relatedPublication",
173
+ "component": "DocumentPicker",
174
+ "type": "DOCUMENT",
175
+ "meta": "publication",
176
+ "default": ""
177
+ },
178
+ "projects": {
179
+ "label": "relatedProject",
180
+ "component": "DocumentPicker",
181
+ "type": "DOCUMENT",
182
+ "meta": "project",
183
+ "default": ""
184
+ },
185
+ "fellowships": {
186
+ "label": "relatedFellowships",
187
+ "component": "DocumentPicker",
188
+ "type": "DOCUMENT",
189
+ "meta": "fellowship",
190
+ "default": ""
191
+ }
192
+ }
193
+ },
194
+ "disciplines": {
195
+ "label": "disciplines",
196
+ "component": "DisciplinePicker",
197
+ "type": "DOCUMENT",
198
+ "rules": {
199
+ "required": true,
200
+ "min": 5,
201
+ "max": 200
202
+ },
203
+ "meta": "disciplines",
204
+ "default": ""
205
+ },
206
+ "image": {
207
+ "label": "image",
208
+ "component": "ImagePicker",
209
+ "type": "DOCUMENT",
210
+ "rules": {
211
+ "required": true,
212
+ "min": 5,
213
+ "max": 200
214
+ },
215
+ "meta": "image",
216
+ "default": ""
217
+ },
218
+ "gallery": {
219
+ "label": "gallery",
220
+ "component": "ImagePicker",
221
+ "type": "DOCUMENT",
222
+ "multiple": true,
223
+ "meta": "gallery",
224
+ "default": ""
225
+ },
226
+ "video": {
227
+ "label": "video",
228
+ "component": "ObjectContainerPanel",
229
+ "type": "OBJECT",
230
+ "meta": "video",
231
+ "items": {
232
+ "url": {
233
+ "type": "PRIMITIVE",
234
+ "component": "TextField",
235
+ "label": "url",
236
+ "description": "The url where the image is fetched from",
237
+ "rules": {
238
+ "required": true,
239
+ "url": true,
240
+ "max": 2048
241
+ },
242
+ "meta": "url"
243
+ },
244
+ "caption": {
245
+ "label": "caption",
246
+ "type": "PRIMITIVE",
247
+ "component": "TextField",
248
+ "i18n": true,
249
+ "rules": {
250
+ "required": true,
251
+ "min": 2,
252
+ "max": 100
253
+ },
254
+ "meta": "caption"
255
+ },
256
+ "alt": {
257
+ "label": "alt",
258
+ "type": "PRIMITIVE",
259
+ "i18n": true,
260
+ "component": "TextField",
261
+ "description": "Displayed if the image cannot be loaded",
262
+ "rules": {
263
+ "max": 200
264
+ },
265
+ "meta": "alt"
266
+ },
267
+ "copyright": {
268
+ "label": "copyright",
269
+ "type": "PRIMITIVE",
270
+ "component": "TextField",
271
+ "default": "Free of rights",
272
+ "description": "Owner of the image copyright",
273
+ "meta": "copyright"
274
+ },
275
+ "licence": {
276
+ "label": "licence",
277
+ "type": "PRIMITIVE",
278
+ "component": "TextField",
279
+ "default": null,
280
+ "description": "The licence of the video",
281
+ "meta": "licence"
282
+ },
283
+ "licenseUrl": {
284
+ "label": "licenseUrl",
285
+ "type": "PRIMITIVE",
286
+ "component": "TextField",
287
+ "default": null,
288
+ "description": "The caption of the video",
289
+ "rules": {
290
+ "url": true
291
+ },
292
+ "show": {
293
+ "default": false,
294
+ "switchIf": [],
295
+ "disjonctive": false
296
+ },
297
+ "meta": "licenseUrl"
298
+ },
299
+ "backgroundColor": {
300
+ "label": "backgroundColor",
301
+ "type": "PRIMITIVE",
302
+ "component": "ColorPicker",
303
+ "default": null,
304
+ "rules": {
305
+ "color": true
306
+ },
307
+ "show": {
308
+ "default": false,
309
+ "switchIf": [],
310
+ "disjonctive": false
311
+ },
312
+ "meta": "backgroundColor"
313
+ }
314
+ }
315
+ },
316
+ "tags": {
317
+ "label": "tags",
318
+ "component": "TagPicker",
319
+ "type": "DOCUMENT",
320
+ "rules": {
321
+ "required": true
322
+ },
323
+ "meta": "tags",
324
+ "default": ""
325
+ },
326
+ "files": {
327
+ "label": "files",
328
+ "component": "FilePicker",
329
+ "type": "DOCUMENT",
330
+ "meta": "files",
331
+ "default": ""
332
+ },
333
+ "color": {
334
+ "label": "color",
335
+ "component": "ColorPicker",
336
+ "type": "PRIMITIVE",
337
+ "rules": {
338
+ "required": true,
339
+ "color": true
340
+ },
341
+ "meta": "color"
342
+ },
343
+ "date": {
344
+ "label": "date",
345
+ "component": "DatePicker",
346
+ "type": "PRIMITIVE",
347
+ "rules": {
348
+ "required": true,
349
+ "date": true
350
+ },
351
+ "meta": "date"
352
+ },
353
+ "featured": {
354
+ "label": "featured",
355
+ "component": "DatePicker",
356
+ "type": "PRIMITIVE",
357
+ "rules": {
358
+ "required": true,
359
+ "date": true
360
+ },
361
+ "meta": "featured"
362
+ }
363
+ }
364
+ }