@communecter/cocolight-api-client 1.0.155 → 1.0.157

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 (337) hide show
  1. package/dist/1035.cocolight-api-client.browser.js +1 -1
  2. package/dist/1035.cocolight-api-client.cjs +1 -1
  3. package/dist/1483.cocolight-api-client.browser.js +1 -1
  4. package/dist/1483.cocolight-api-client.cjs +1 -1
  5. package/dist/1491.cocolight-api-client.browser.js +1 -1
  6. package/dist/1491.cocolight-api-client.cjs +1 -1
  7. package/dist/1494.cocolight-api-client.browser.js +1 -1
  8. package/dist/1494.cocolight-api-client.cjs +1 -1
  9. package/dist/1641.cocolight-api-client.browser.js +1 -1
  10. package/dist/1641.cocolight-api-client.cjs +1 -1
  11. package/dist/1678.cocolight-api-client.browser.js +1 -1
  12. package/dist/1678.cocolight-api-client.cjs +1 -1
  13. package/dist/2041.cocolight-api-client.browser.js +1 -1
  14. package/dist/2041.cocolight-api-client.cjs +1 -1
  15. package/dist/2302.cocolight-api-client.browser.js +1 -1
  16. package/dist/2302.cocolight-api-client.cjs +1 -1
  17. package/dist/2313.cocolight-api-client.browser.js +1 -1
  18. package/dist/2313.cocolight-api-client.cjs +1 -1
  19. package/dist/2379.cocolight-api-client.browser.js +1 -1
  20. package/dist/2379.cocolight-api-client.cjs +1 -1
  21. package/dist/2439.cocolight-api-client.browser.js +1 -1
  22. package/dist/2439.cocolight-api-client.cjs +1 -1
  23. package/dist/2594.cocolight-api-client.browser.js +1 -1
  24. package/dist/2594.cocolight-api-client.cjs +1 -1
  25. package/dist/2766.cocolight-api-client.browser.js +1 -1
  26. package/dist/2766.cocolight-api-client.cjs +1 -1
  27. package/dist/2812.cocolight-api-client.browser.js +1 -1
  28. package/dist/2812.cocolight-api-client.cjs +1 -1
  29. package/dist/2918.cocolight-api-client.browser.js +1 -1
  30. package/dist/2918.cocolight-api-client.cjs +1 -1
  31. package/dist/3028.cocolight-api-client.browser.js +1 -1
  32. package/dist/3028.cocolight-api-client.cjs +1 -1
  33. package/dist/3330.cocolight-api-client.browser.js +1 -1
  34. package/dist/3330.cocolight-api-client.cjs +1 -1
  35. package/dist/3371.cocolight-api-client.browser.js +1 -1
  36. package/dist/3371.cocolight-api-client.cjs +1 -1
  37. package/dist/3401.cocolight-api-client.browser.js +1 -1
  38. package/dist/3401.cocolight-api-client.cjs +1 -1
  39. package/dist/3516.cocolight-api-client.browser.js +1 -1
  40. package/dist/3516.cocolight-api-client.cjs +1 -1
  41. package/dist/3593.cocolight-api-client.browser.js +1 -1
  42. package/dist/3593.cocolight-api-client.cjs +1 -1
  43. package/dist/3764.cocolight-api-client.browser.js +1 -1
  44. package/dist/3764.cocolight-api-client.cjs +1 -1
  45. package/dist/3873.cocolight-api-client.browser.js +1 -1
  46. package/dist/3873.cocolight-api-client.cjs +1 -1
  47. package/dist/3911.cocolight-api-client.browser.js +1 -1
  48. package/dist/3911.cocolight-api-client.cjs +1 -1
  49. package/dist/4031.cocolight-api-client.browser.js +1 -1
  50. package/dist/4031.cocolight-api-client.cjs +1 -1
  51. package/dist/4152.cocolight-api-client.browser.js +1 -1
  52. package/dist/4152.cocolight-api-client.cjs +1 -1
  53. package/dist/4203.cocolight-api-client.browser.js +1 -1
  54. package/dist/4203.cocolight-api-client.cjs +1 -1
  55. package/dist/424.cocolight-api-client.browser.js +1 -1
  56. package/dist/424.cocolight-api-client.cjs +1 -1
  57. package/dist/435.cocolight-api-client.browser.js +1 -1
  58. package/dist/435.cocolight-api-client.cjs +1 -1
  59. package/dist/4402.cocolight-api-client.browser.js +1 -1
  60. package/dist/4402.cocolight-api-client.cjs +1 -1
  61. package/dist/4425.cocolight-api-client.browser.js +1 -1
  62. package/dist/4425.cocolight-api-client.cjs +1 -1
  63. package/dist/4472.cocolight-api-client.browser.js +1 -1
  64. package/dist/4472.cocolight-api-client.cjs +1 -1
  65. package/dist/4914.cocolight-api-client.browser.js +1 -1
  66. package/dist/4914.cocolight-api-client.cjs +1 -1
  67. package/dist/4959.cocolight-api-client.browser.js +1 -1
  68. package/dist/4959.cocolight-api-client.cjs +1 -1
  69. package/dist/5100.cocolight-api-client.browser.js +1 -1
  70. package/dist/5100.cocolight-api-client.cjs +1 -1
  71. package/dist/5111.cocolight-api-client.browser.js +1 -1
  72. package/dist/5111.cocolight-api-client.cjs +1 -1
  73. package/dist/5286.cocolight-api-client.browser.js +1 -1
  74. package/dist/5286.cocolight-api-client.cjs +1 -1
  75. package/dist/5380.cocolight-api-client.browser.js +1 -1
  76. package/dist/5380.cocolight-api-client.cjs +1 -1
  77. package/dist/5383.cocolight-api-client.browser.js +1 -1
  78. package/dist/5383.cocolight-api-client.cjs +1 -1
  79. package/dist/5480.cocolight-api-client.browser.js +1 -1
  80. package/dist/5480.cocolight-api-client.cjs +1 -1
  81. package/dist/5541.cocolight-api-client.browser.js +1 -1
  82. package/dist/5541.cocolight-api-client.cjs +1 -1
  83. package/dist/5839.cocolight-api-client.browser.js +1 -1
  84. package/dist/5839.cocolight-api-client.cjs +1 -1
  85. package/dist/5862.cocolight-api-client.browser.js +1 -1
  86. package/dist/5862.cocolight-api-client.cjs +1 -1
  87. package/dist/5869.cocolight-api-client.browser.js +1 -1
  88. package/dist/5869.cocolight-api-client.cjs +1 -1
  89. package/dist/588.cocolight-api-client.browser.js +1 -1
  90. package/dist/588.cocolight-api-client.cjs +1 -1
  91. package/dist/601.cocolight-api-client.browser.js +1 -1
  92. package/dist/601.cocolight-api-client.cjs +1 -1
  93. package/dist/6012.cocolight-api-client.browser.js +1 -1
  94. package/dist/6012.cocolight-api-client.cjs +1 -1
  95. package/dist/6200.cocolight-api-client.browser.js +1 -1
  96. package/dist/6200.cocolight-api-client.cjs +1 -1
  97. package/dist/6369.cocolight-api-client.browser.js +1 -1
  98. package/dist/6369.cocolight-api-client.cjs +1 -1
  99. package/dist/7009.cocolight-api-client.browser.js +1 -1
  100. package/dist/7009.cocolight-api-client.cjs +1 -1
  101. package/dist/725.cocolight-api-client.browser.js +1 -1
  102. package/dist/725.cocolight-api-client.cjs +1 -1
  103. package/dist/7320.cocolight-api-client.browser.js +1 -1
  104. package/dist/7339.cocolight-api-client.browser.js +1 -1
  105. package/dist/7339.cocolight-api-client.cjs +1 -1
  106. package/dist/7398.cocolight-api-client.browser.js +1 -1
  107. package/dist/7398.cocolight-api-client.cjs +1 -1
  108. package/dist/7888.cocolight-api-client.browser.js +1 -1
  109. package/dist/7888.cocolight-api-client.cjs +1 -1
  110. package/dist/7975.cocolight-api-client.browser.js +1 -1
  111. package/dist/7975.cocolight-api-client.cjs +1 -1
  112. package/dist/809.cocolight-api-client.browser.js +1 -1
  113. package/dist/809.cocolight-api-client.cjs +1 -1
  114. package/dist/8300.cocolight-api-client.browser.js +1 -1
  115. package/dist/8300.cocolight-api-client.cjs +1 -1
  116. package/dist/8317.cocolight-api-client.browser.js +1 -1
  117. package/dist/8317.cocolight-api-client.cjs +1 -1
  118. package/dist/8525.cocolight-api-client.browser.js +1 -1
  119. package/dist/8525.cocolight-api-client.cjs +1 -1
  120. package/dist/8894.cocolight-api-client.browser.js +1 -1
  121. package/dist/8894.cocolight-api-client.cjs +1 -1
  122. package/dist/9301.cocolight-api-client.browser.js +1 -1
  123. package/dist/9301.cocolight-api-client.cjs +1 -1
  124. package/dist/9438.cocolight-api-client.browser.js +1 -1
  125. package/dist/9438.cocolight-api-client.cjs +1 -1
  126. package/dist/9478.cocolight-api-client.browser.js +1 -1
  127. package/dist/9478.cocolight-api-client.cjs +1 -1
  128. package/dist/9568.cocolight-api-client.browser.js +1 -1
  129. package/dist/9568.cocolight-api-client.cjs +1 -1
  130. package/dist/cocolight-api-client.browser.js +6 -6
  131. package/dist/cocolight-api-client.cjs +1 -1
  132. package/dist/cocolight-api-client.vite.mjs.js +1 -1
  133. package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
  134. package/package.json +7 -17
  135. package/types/Api.d.ts +1 -0
  136. package/types/ApiClient.d.ts +10 -1
  137. package/types/api/Answer.d.ts +27 -9
  138. package/types/api/BaseEntity.d.ts +77 -0
  139. package/types/api/EndpointApi.d.ts +51 -3
  140. package/types/api/EndpointApi.types.d.ts +112 -1
  141. package/types/api/User.d.ts +20 -0
  142. package/types/costum/types.d.ts +0 -2
  143. package/types/endpoints.module.d.ts +3039 -1009
  144. package/types/index.d.ts +1 -0
  145. package/types/utils/OfflineClientManager.d.ts +8 -0
  146. package/types/utils/adminImportExport.d.ts +29 -0
  147. package/dist/1035.cocolight-api-client.mjs.js +0 -1
  148. package/dist/1483.cocolight-api-client.mjs.js +0 -1
  149. package/dist/1491.cocolight-api-client.mjs.js +0 -1
  150. package/dist/1494.cocolight-api-client.mjs.js +0 -1
  151. package/dist/1641.cocolight-api-client.mjs.js +0 -1
  152. package/dist/1678.cocolight-api-client.mjs.js +0 -1
  153. package/dist/2041.cocolight-api-client.mjs.js +0 -1
  154. package/dist/2302.cocolight-api-client.mjs.js +0 -1
  155. package/dist/2313.cocolight-api-client.mjs.js +0 -1
  156. package/dist/2379.cocolight-api-client.mjs.js +0 -1
  157. package/dist/2439.cocolight-api-client.mjs.js +0 -1
  158. package/dist/2594.cocolight-api-client.mjs.js +0 -1
  159. package/dist/2766.cocolight-api-client.mjs.js +0 -1
  160. package/dist/2812.cocolight-api-client.mjs.js +0 -1
  161. package/dist/2918.cocolight-api-client.mjs.js +0 -1
  162. package/dist/3028.cocolight-api-client.mjs.js +0 -1
  163. package/dist/3330.cocolight-api-client.mjs.js +0 -1
  164. package/dist/3371.cocolight-api-client.mjs.js +0 -1
  165. package/dist/3401.cocolight-api-client.mjs.js +0 -1
  166. package/dist/3516.cocolight-api-client.mjs.js +0 -1
  167. package/dist/3593.cocolight-api-client.mjs.js +0 -1
  168. package/dist/3764.cocolight-api-client.mjs.js +0 -1
  169. package/dist/3873.cocolight-api-client.mjs.js +0 -1
  170. package/dist/3911.cocolight-api-client.mjs.js +0 -1
  171. package/dist/4031.cocolight-api-client.mjs.js +0 -1
  172. package/dist/4152.cocolight-api-client.mjs.js +0 -1
  173. package/dist/4203.cocolight-api-client.mjs.js +0 -1
  174. package/dist/424.cocolight-api-client.mjs.js +0 -1
  175. package/dist/435.cocolight-api-client.mjs.js +0 -1
  176. package/dist/4402.cocolight-api-client.mjs.js +0 -1
  177. package/dist/4425.cocolight-api-client.mjs.js +0 -1
  178. package/dist/4472.cocolight-api-client.mjs.js +0 -1
  179. package/dist/4914.cocolight-api-client.mjs.js +0 -1
  180. package/dist/4959.cocolight-api-client.mjs.js +0 -1
  181. package/dist/5100.cocolight-api-client.mjs.js +0 -1
  182. package/dist/5111.cocolight-api-client.mjs.js +0 -1
  183. package/dist/5286.cocolight-api-client.mjs.js +0 -1
  184. package/dist/5380.cocolight-api-client.mjs.js +0 -1
  185. package/dist/5383.cocolight-api-client.mjs.js +0 -1
  186. package/dist/5480.cocolight-api-client.mjs.js +0 -1
  187. package/dist/5541.cocolight-api-client.mjs.js +0 -1
  188. package/dist/5839.cocolight-api-client.mjs.js +0 -1
  189. package/dist/5862.cocolight-api-client.mjs.js +0 -1
  190. package/dist/5869.cocolight-api-client.mjs.js +0 -1
  191. package/dist/588.cocolight-api-client.mjs.js +0 -1
  192. package/dist/601.cocolight-api-client.mjs.js +0 -1
  193. package/dist/6012.cocolight-api-client.mjs.js +0 -1
  194. package/dist/6200.cocolight-api-client.mjs.js +0 -1
  195. package/dist/6369.cocolight-api-client.mjs.js +0 -1
  196. package/dist/7009.cocolight-api-client.mjs.js +0 -1
  197. package/dist/725.cocolight-api-client.mjs.js +0 -1
  198. package/dist/7339.cocolight-api-client.mjs.js +0 -1
  199. package/dist/7398.cocolight-api-client.mjs.js +0 -1
  200. package/dist/7888.cocolight-api-client.mjs.js +0 -1
  201. package/dist/7975.cocolight-api-client.mjs.js +0 -1
  202. package/dist/809.cocolight-api-client.mjs.js +0 -1
  203. package/dist/8300.cocolight-api-client.mjs.js +0 -1
  204. package/dist/8317.cocolight-api-client.mjs.js +0 -1
  205. package/dist/8525.cocolight-api-client.mjs.js +0 -1
  206. package/dist/8894.cocolight-api-client.mjs.js +0 -1
  207. package/dist/9301.cocolight-api-client.mjs.js +0 -1
  208. package/dist/9438.cocolight-api-client.mjs.js +0 -1
  209. package/dist/9478.cocolight-api-client.mjs.js +0 -1
  210. package/dist/9568.cocolight-api-client.mjs.js +0 -1
  211. package/dist/cocolight-api-client.mjs.js +0 -1
  212. package/src/Api.ts +0 -348
  213. package/src/ApiClient.ts +0 -1994
  214. package/src/EJSONType.ts +0 -103
  215. package/src/api/Action.ts +0 -665
  216. package/src/api/Answer.ts +0 -1392
  217. package/src/api/Badge.ts +0 -143
  218. package/src/api/BaseEntity.ts +0 -6384
  219. package/src/api/Classified.ts +0 -175
  220. package/src/api/Comment.ts +0 -280
  221. package/src/api/EndpointApi.ts +0 -2270
  222. package/src/api/EndpointApi.types.ts +0 -6566
  223. package/src/api/EntityRegistry.ts +0 -324
  224. package/src/api/Event.ts +0 -360
  225. package/src/api/Form.ts +0 -282
  226. package/src/api/News.ts +0 -547
  227. package/src/api/Notifications.ts +0 -196
  228. package/src/api/Organization.ts +0 -771
  229. package/src/api/Poi.ts +0 -242
  230. package/src/api/Project.ts +0 -545
  231. package/src/api/User.ts +0 -1889
  232. package/src/api/UserApi.ts +0 -192
  233. package/src/api/serverDataType/Action.ts +0 -177
  234. package/src/api/serverDataType/Answer.ts +0 -106
  235. package/src/api/serverDataType/Classified.ts +0 -152
  236. package/src/api/serverDataType/Comment.ts +0 -88
  237. package/src/api/serverDataType/Country.ts +0 -1
  238. package/src/api/serverDataType/Event.ts +0 -112
  239. package/src/api/serverDataType/Form.ts +0 -157
  240. package/src/api/serverDataType/News.ts +0 -138
  241. package/src/api/serverDataType/Notification.ts +0 -81
  242. package/src/api/serverDataType/Organization.ts +0 -111
  243. package/src/api/serverDataType/Poi.ts +0 -75
  244. package/src/api/serverDataType/Project.ts +0 -115
  245. package/src/api/serverDataType/User.ts +0 -112
  246. package/src/api/serverDataType/Zone.ts +0 -33
  247. package/src/api/serverDataType/common.ts +0 -84
  248. package/src/costum/normalize.ts +0 -7
  249. package/src/costum/registry.ts +0 -138
  250. package/src/costum/runtime-map.ts +0 -221
  251. package/src/costum/runtime.ts +0 -274
  252. package/src/costum/schemas/CercleTravailleursSociauxLiberauxLaPlumeSociale.ts +0 -19
  253. package/src/costum/schemas/FabEn.ts +0 -19
  254. package/src/costum/schemas/LivingLabInnovationSocialeBraspanon.ts +0 -19
  255. package/src/costum/schemas/alfph.ts +0 -27
  256. package/src/costum/schemas/campagne.ts +0 -19
  257. package/src/costum/schemas/chtitube.ts +0 -19
  258. package/src/costum/schemas/circuitCourt.ts +0 -19
  259. package/src/costum/schemas/cmcasHauteBretagne.ts +0 -19
  260. package/src/costum/schemas/coFinancementTierslieux.ts +0 -27
  261. package/src/costum/schemas/coeurNumerique.ts +0 -19
  262. package/src/costum/schemas/communLundi.ts +0 -19
  263. package/src/costum/schemas/cressReunion.ts +0 -35
  264. package/src/costum/schemas/cressReunionNetwork.ts +0 -35
  265. package/src/costum/schemas/ctenat.ts +0 -43
  266. package/src/costum/schemas/cyberReunion.ts +0 -19
  267. package/src/costum/schemas/ekisphere.ts +0 -35
  268. package/src/costum/schemas/equipementsSportifs974.ts +0 -19
  269. package/src/costum/schemas/federationDesCae.ts +0 -19
  270. package/src/costum/schemas/formationGenerique.ts +0 -35
  271. package/src/costum/schemas/franceTierslieux.ts +0 -19
  272. package/src/costum/schemas/hinaura.ts +0 -27
  273. package/src/costum/schemas/hubmayotte.ts +0 -19
  274. package/src/costum/schemas/hubnouvellecaledonie.ts +0 -19
  275. package/src/costum/schemas/hubpolynesiefrancaise.ts +0 -19
  276. package/src/costum/schemas/hubreunion.ts +0 -19
  277. package/src/costum/schemas/hubterritoires.ts +0 -19
  278. package/src/costum/schemas/hubwallisetfutuna.ts +0 -19
  279. package/src/costum/schemas/hva.ts +0 -27
  280. package/src/costum/schemas/ibv2.ts +0 -19
  281. package/src/costum/schemas/institutBleu.ts +0 -19
  282. package/src/costum/schemas/journalInsoumisChambery.ts +0 -27
  283. package/src/costum/schemas/kpacite.ts +0 -19
  284. package/src/costum/schemas/laCompagnieDesTierslieux.ts +0 -43
  285. package/src/costum/schemas/laMaisonDesFaiseurs.ts +0 -19
  286. package/src/costum/schemas/laReunionPourUnNumeriqueInclusif.ts +0 -19
  287. package/src/costum/schemas/laSemaineDesTierslieux.ts +0 -19
  288. package/src/costum/schemas/labEnCommuns.ts +0 -19
  289. package/src/costum/schemas/lakou.ts +0 -27
  290. package/src/costum/schemas/lesCommunsDesTierslieux.ts +0 -19
  291. package/src/costum/schemas/mayottePourUnNumeriqueInclusif.ts +0 -19
  292. package/src/costum/schemas/meir.ts +0 -27
  293. package/src/costum/schemas/navigatorDesTierslieux.ts +0 -19
  294. package/src/costum/schemas/notragora.ts +0 -27
  295. package/src/costum/schemas/nouvellecaledoniePourUnNumeriqueInclusif.ts +0 -19
  296. package/src/costum/schemas/openAtlas.ts +0 -19
  297. package/src/costum/schemas/polynesieFrancaisePourUnNumeriqueInclusif.ts +0 -19
  298. package/src/costum/schemas/prdr.ts +0 -19
  299. package/src/costum/schemas/reseauTierslieux.ts +0 -19
  300. package/src/costum/schemas/rfflabs.ts +0 -19
  301. package/src/costum/schemas/ries.ts +0 -19
  302. package/src/costum/schemas/siteDuPactePourLaTransition.ts +0 -27
  303. package/src/costum/schemas/sportSanteBienetre.ts +0 -43
  304. package/src/costum/schemas/suppa.ts +0 -19
  305. package/src/costum/schemas/terramies.ts +0 -19
  306. package/src/costum/schemas/testeTplFormation.ts +0 -35
  307. package/src/costum/schemas/tierslieuxbelgique.ts +0 -19
  308. package/src/costum/schemas/tierslieuxorg1.ts +0 -35
  309. package/src/costum/schemas/transiter.ts +0 -35
  310. package/src/costum/schemas/vhelioPeiTour2025.ts +0 -19
  311. package/src/costum/schemas/wallisetfutunaPourUnNumeriqueInclusif.ts +0 -19
  312. package/src/costum/symbol.ts +0 -26
  313. package/src/costum/types.ts +0 -895
  314. package/src/endpoints.module.ts +0 -4253
  315. package/src/error.ts +0 -86
  316. package/src/forms/entityForm.ts +0 -142
  317. package/src/index.ts +0 -161
  318. package/src/mixin/UserMixin.ts +0 -4
  319. package/src/types/api-responses.ts +0 -217
  320. package/src/types/entities.ts +0 -58
  321. package/src/types/error-guards.ts +0 -230
  322. package/src/types/index.ts +0 -41
  323. package/src/types/payloads.ts +0 -21
  324. package/src/types/transforms.ts +0 -119
  325. package/src/utils/FileOfflineStorageStrategy.node.ts +0 -50
  326. package/src/utils/FileStorageStrategy.node.ts +0 -63
  327. package/src/utils/MultiServerFileStorageStrategy.node.ts +0 -67
  328. package/src/utils/MultiServerTokenStorageStrategy.ts +0 -139
  329. package/src/utils/OfflineClientManager.ts +0 -216
  330. package/src/utils/OfflineQueueStorageStrategy.ts +0 -47
  331. package/src/utils/TokenStorage.ts +0 -77
  332. package/src/utils/compat.ts +0 -12
  333. package/src/utils/createDefaultMultiServerTokenStorageStrategy.ts +0 -35
  334. package/src/utils/createDefaultOfflineStrategy.ts +0 -34
  335. package/src/utils/createDefaultTokenStorageStrategy.ts +0 -33
  336. package/src/utils/reactive.ts +0 -243
  337. package/src/utils/stream-utils.node.ts +0 -12
@@ -1,4253 +0,0 @@
1
- // Définitions communes extraites automatiquement
2
- const common = {
3
- "common1": {
4
- "pattern": "^[a-f0-9]{24}$",
5
- "type": "string"
6
- },
7
- "common2": {
8
- "type": "string"
9
- },
10
- "common3": {
11
- "format": "email",
12
- "type": "string"
13
- },
14
- "common4": {
15
- "type": "boolean"
16
- },
17
- "common5": {
18
- "format": "uri",
19
- "type": "string"
20
- },
21
- "common6": {
22
- "default": "@userId",
23
- "pattern": "^(?:[a-f0-9]{24}|@userId)$",
24
- "type": "string"
25
- },
26
- "common7": {
27
- "additionalProperties": false,
28
- "properties": {
29
- "id": {
30
- "default": "@userId",
31
- "pattern": "^(?:[a-f0-9]{24}|@userId)$",
32
- "type": "string"
33
- }
34
- },
35
- "required": [
36
- "id"
37
- ],
38
- "type": "object"
39
- },
40
- "common8": {
41
- "id": {
42
- "default": "@userId",
43
- "pattern": "^(?:[a-f0-9]{24}|@userId)$",
44
- "type": "string"
45
- }
46
- },
47
- "common9": {
48
- "additionalProperties": false,
49
- "properties": {
50
- "reason": {
51
- "default": "",
52
- "type": "string"
53
- }
54
- },
55
- "required": [
56
- "reason"
57
- ],
58
- "type": "object"
59
- },
60
- "common10": {
61
- "reason": {
62
- "default": "",
63
- "type": "string"
64
- }
65
- },
66
- "common11": {
67
- "default": "",
68
- "type": "string"
69
- },
70
- "common12": {
71
- "const": "citoyens"
72
- },
73
- "common13": {
74
- "properties": {
75
- "value": {
76
- "type": "boolean"
77
- }
78
- }
79
- },
80
- "common14": {
81
- "value": {
82
- "type": "boolean"
83
- }
84
- },
85
- "common15": {
86
- "enum": [
87
- "isOpenData",
88
- "isOpenEdition",
89
- "private",
90
- "feedback"
91
- ]
92
- },
93
- "common16": {
94
- "const": "organizations"
95
- },
96
- "common17": {
97
- "const": "projects"
98
- },
99
- "common18": {
100
- "const": "events"
101
- },
102
- "common19": {
103
- "default": "citoyens",
104
- "enum": [
105
- "citoyens",
106
- "projects",
107
- "organizations",
108
- "events"
109
- ],
110
- "type": "string"
111
- },
112
- "common20": {},
113
- "common21": {
114
- "else": {
115
- "properties": {
116
- "id": {
117
- "pattern": "^[a-f0-9]{24}$",
118
- "type": "string"
119
- }
120
- }
121
- },
122
- "if": {
123
- "properties": {
124
- "typeElement": {
125
- "const": "citoyens"
126
- }
127
- }
128
- },
129
- "then": {
130
- "properties": {
131
- "id": {
132
- "default": "@userId",
133
- "pattern": "^(?:[a-f0-9]{24}|@userId)$",
134
- "type": "string"
135
- }
136
- }
137
- }
138
- },
139
- "common22": {
140
- "properties": {
141
- "id": {
142
- "pattern": "^[a-f0-9]{24}$",
143
- "type": "string"
144
- }
145
- }
146
- },
147
- "common23": {
148
- "id": {
149
- "pattern": "^[a-f0-9]{24}$",
150
- "type": "string"
151
- }
152
- },
153
- "common24": {
154
- "properties": {
155
- "typeElement": {
156
- "const": "citoyens"
157
- }
158
- }
159
- },
160
- "common25": {
161
- "typeElement": {
162
- "const": "citoyens"
163
- }
164
- },
165
- "common26": {
166
- "properties": {
167
- "id": {
168
- "default": "@userId",
169
- "pattern": "^(?:[a-f0-9]{24}|@userId)$",
170
- "type": "string"
171
- }
172
- }
173
- },
174
- "common27": {
175
- "not": {
176
- "type": "null"
177
- }
178
- },
179
- "common28": {
180
- "type": "null"
181
- },
182
- "common29": {
183
- "default": "citoyens",
184
- "enum": [
185
- "citoyens",
186
- "projects",
187
- "organizations",
188
- "poi",
189
- "events"
190
- ],
191
- "type": "string"
192
- },
193
- "common30": {
194
- "anyOf": [
195
- {
196
- "format": "email",
197
- "type": "string"
198
- },
199
- {
200
- "const": "",
201
- "type": "string"
202
- }
203
- ]
204
- },
205
- "common31": {
206
- "const": "",
207
- "type": "string"
208
- },
209
- "common32": {
210
- "anyOf": [
211
- {
212
- "items": {
213
- "type": "string"
214
- },
215
- "type": "array"
216
- },
217
- {
218
- "enum": [
219
- ""
220
- ],
221
- "type": "string"
222
- }
223
- ]
224
- },
225
- "common33": {
226
- "items": {
227
- "type": "string"
228
- },
229
- "type": "array"
230
- },
231
- "common34": {
232
- "enum": [
233
- ""
234
- ],
235
- "type": "string"
236
- },
237
- "common35": {
238
- "anyOf": [
239
- {
240
- "format": "uri",
241
- "type": "string"
242
- },
243
- {
244
- "const": "",
245
- "type": "string"
246
- }
247
- ]
248
- },
249
- "common36": {
250
- "properties": {
251
- "name": {
252
- "not": {
253
- "type": "null"
254
- }
255
- }
256
- },
257
- "required": [
258
- "name"
259
- ]
260
- },
261
- "common37": {
262
- "name": {
263
- "not": {
264
- "type": "null"
265
- }
266
- }
267
- },
268
- "common38": {
269
- "properties": {
270
- "url": {
271
- "not": {
272
- "type": "null"
273
- }
274
- }
275
- },
276
- "required": [
277
- "url"
278
- ]
279
- },
280
- "common39": {
281
- "url": {
282
- "not": {
283
- "type": "null"
284
- }
285
- }
286
- },
287
- "common40": {
288
- "properties": {
289
- "tags": {
290
- "not": {
291
- "type": "null"
292
- }
293
- }
294
- },
295
- "required": [
296
- "tags"
297
- ]
298
- },
299
- "common41": {
300
- "tags": {
301
- "not": {
302
- "type": "null"
303
- }
304
- }
305
- },
306
- "common42": {
307
- "properties": {
308
- "email": {
309
- "not": {
310
- "type": "null"
311
- }
312
- }
313
- },
314
- "required": [
315
- "email"
316
- ]
317
- },
318
- "common43": {
319
- "email": {
320
- "not": {
321
- "type": "null"
322
- }
323
- }
324
- },
325
- "common44": {
326
- "format": "date",
327
- "type": "string"
328
- },
329
- "common45": {
330
- "const": "info",
331
- "default": "info",
332
- "type": "string"
333
- },
334
- "common46": {
335
- "anyOf": [
336
- {
337
- "type": "string"
338
- },
339
- {
340
- "const": "",
341
- "type": "string"
342
- }
343
- ]
344
- },
345
- "common47": {
346
- "$ref": "#/$defs/sharedFields/name"
347
- },
348
- "common48": {
349
- "$ref": "#/$defs/sharedFields/tags"
350
- },
351
- "common49": {
352
- "default": "citoyens",
353
- "enum": [
354
- "citoyens"
355
- ],
356
- "type": "string"
357
- },
358
- "common50": {
359
- "$ref": "#/$defs/sharedFields/url"
360
- },
361
- "common51": {
362
- "properties": {
363
- "avancement": {
364
- "not": {
365
- "type": "null"
366
- }
367
- }
368
- },
369
- "required": [
370
- "avancement"
371
- ]
372
- },
373
- "common52": {
374
- "avancement": {
375
- "not": {
376
- "type": "null"
377
- }
378
- }
379
- },
380
- "common53": {
381
- "properties": {
382
- "parent": {
383
- "not": {
384
- "type": "null"
385
- }
386
- }
387
- },
388
- "required": [
389
- "parent"
390
- ]
391
- },
392
- "common54": {
393
- "parent": {
394
- "not": {
395
- "type": "null"
396
- }
397
- }
398
- },
399
- "common55": {
400
- "$ref": "#/$defs/sharedFields/emailNullable"
401
- },
402
- "common56": {
403
- "additionalProperties": false,
404
- "patternProperties": {
405
- "^[a-fA-F0-9]{24}$": {
406
- "additionalProperties": false,
407
- "properties": {
408
- "name": {
409
- "type": "string"
410
- },
411
- "type": {
412
- "type": "string"
413
- }
414
- },
415
- "required": [
416
- "type",
417
- "name"
418
- ],
419
- "type": "object"
420
- }
421
- },
422
- "type": "object"
423
- },
424
- "common57": {
425
- "^[a-fA-F0-9]{24}$": {
426
- "additionalProperties": false,
427
- "properties": {
428
- "name": {
429
- "type": "string"
430
- },
431
- "type": {
432
- "type": "string"
433
- }
434
- },
435
- "required": [
436
- "type",
437
- "name"
438
- ],
439
- "type": "object"
440
- }
441
- },
442
- "common58": {
443
- "additionalProperties": false,
444
- "properties": {
445
- "name": {
446
- "type": "string"
447
- },
448
- "type": {
449
- "type": "string"
450
- }
451
- },
452
- "required": [
453
- "type",
454
- "name"
455
- ],
456
- "type": "object"
457
- },
458
- "common59": {
459
- "name": {
460
- "type": "string"
461
- },
462
- "type": {
463
- "type": "string"
464
- }
465
- },
466
- "common60": {
467
- "properties": {
468
- "type": {
469
- "not": {
470
- "type": "null"
471
- }
472
- }
473
- },
474
- "required": [
475
- "type"
476
- ]
477
- },
478
- "common61": {
479
- "type": {
480
- "not": {
481
- "type": "null"
482
- }
483
- }
484
- },
485
- "common62": {
486
- "additionalProperties": false,
487
- "patternProperties": {
488
- "^(?:[a-f0-9]{24}|@userId)$": {
489
- "additionalProperties": false,
490
- "properties": {
491
- "name": {
492
- "type": "string"
493
- },
494
- "type": {
495
- "type": "string"
496
- }
497
- },
498
- "required": [
499
- "type"
500
- ],
501
- "type": "object"
502
- }
503
- },
504
- "type": "object"
505
- },
506
- "common63": {
507
- "^(?:[a-f0-9]{24}|@userId)$": {
508
- "additionalProperties": false,
509
- "properties": {
510
- "name": {
511
- "type": "string"
512
- },
513
- "type": {
514
- "type": "string"
515
- }
516
- },
517
- "required": [
518
- "type"
519
- ],
520
- "type": "object"
521
- }
522
- },
523
- "common64": {
524
- "additionalProperties": false,
525
- "properties": {
526
- "name": {
527
- "type": "string"
528
- },
529
- "type": {
530
- "type": "string"
531
- }
532
- },
533
- "required": [
534
- "type"
535
- ],
536
- "type": "object"
537
- },
538
- "common65": {
539
- "enum": [
540
- "workshop",
541
- "competition",
542
- "concert",
543
- "contest",
544
- "conference",
545
- "debate",
546
- "exhibition",
547
- "festival",
548
- "crowdfunding",
549
- "fair",
550
- "course",
551
- "protest",
552
- "market",
553
- "film",
554
- "getTogether",
555
- "meeting",
556
- "spectacle",
557
- "internship",
558
- "stand",
559
- "others"
560
- ],
561
- "type": "string"
562
- },
563
- "common66": {
564
- "enum": [
565
- "NGO",
566
- "LocalBusiness",
567
- "Group",
568
- "GovernmentOrganization",
569
- "Cooperative"
570
- ],
571
- "type": "string"
572
- },
573
- "common67": {
574
- "enum": [
575
- "link",
576
- "tool",
577
- "machine",
578
- "software",
579
- "rh",
580
- "Resource material",
581
- "Financial Ressource",
582
- "ficheBlanche",
583
- "geoJson",
584
- "compostPickup",
585
- "video",
586
- "sharedLibrary",
587
- "recoveryCenter",
588
- "trash",
589
- "history",
590
- "something2See",
591
- "funPlace",
592
- "place",
593
- "artPiece",
594
- "streetArts",
595
- "openScene",
596
- "stand",
597
- "parking",
598
- "other"
599
- ],
600
- "type": "string"
601
- },
602
- "common68": {
603
- "enum": [
604
- "poi"
605
- ],
606
- "type": "string"
607
- },
608
- "common69": {
609
- "$ref": "#/$defs/socialField"
610
- },
611
- "common70": {
612
- "default": "citoyens",
613
- "enum": [
614
- "citoyens",
615
- "projects",
616
- "organizations"
617
- ],
618
- "type": "string"
619
- },
620
- "common71": {
621
- "properties": {
622
- "id": {
623
- "pattern": "^[a-f0-9]{24}$"
624
- }
625
- }
626
- },
627
- "common72": {
628
- "id": {
629
- "pattern": "^[a-f0-9]{24}$"
630
- }
631
- },
632
- "common73": {
633
- "pattern": "^[a-f0-9]{24}$"
634
- },
635
- "common74": {
636
- "oneOf": [
637
- {
638
- "const": "",
639
- "type": "string"
640
- },
641
- {
642
- "additionalProperties": false,
643
- "properties": {
644
- "@type": {
645
- "const": "PostalAddress",
646
- "type": "string"
647
- },
648
- "addressCountry": {
649
- "type": "string"
650
- },
651
- "addressLocality": {
652
- "type": "string"
653
- },
654
- "codeInsee": {
655
- "type": "string"
656
- },
657
- "level1": {
658
- "type": "string"
659
- },
660
- "level1Name": {
661
- "type": "string"
662
- },
663
- "level3": {
664
- "minLength": 0,
665
- "type": "string"
666
- },
667
- "level3Name": {
668
- "minLength": 0,
669
- "type": "string"
670
- },
671
- "level4": {
672
- "minLength": 0,
673
- "type": "string"
674
- },
675
- "level4Name": {
676
- "minLength": 0,
677
- "type": "string"
678
- },
679
- "localityId": {
680
- "type": "string"
681
- },
682
- "postalCode": {
683
- "type": "string"
684
- },
685
- "streetAddress": {
686
- "type": "string"
687
- }
688
- },
689
- "required": [
690
- "@type",
691
- "addressCountry",
692
- "codeInsee",
693
- "addressLocality",
694
- "localityId",
695
- "level1",
696
- "level1Name"
697
- ],
698
- "type": "object"
699
- }
700
- ]
701
- },
702
- "common75": {
703
- "additionalProperties": false,
704
- "properties": {
705
- "@type": {
706
- "const": "PostalAddress",
707
- "type": "string"
708
- },
709
- "addressCountry": {
710
- "type": "string"
711
- },
712
- "addressLocality": {
713
- "type": "string"
714
- },
715
- "codeInsee": {
716
- "type": "string"
717
- },
718
- "level1": {
719
- "type": "string"
720
- },
721
- "level1Name": {
722
- "type": "string"
723
- },
724
- "level3": {
725
- "minLength": 0,
726
- "type": "string"
727
- },
728
- "level3Name": {
729
- "minLength": 0,
730
- "type": "string"
731
- },
732
- "level4": {
733
- "minLength": 0,
734
- "type": "string"
735
- },
736
- "level4Name": {
737
- "minLength": 0,
738
- "type": "string"
739
- },
740
- "localityId": {
741
- "type": "string"
742
- },
743
- "postalCode": {
744
- "type": "string"
745
- },
746
- "streetAddress": {
747
- "type": "string"
748
- }
749
- },
750
- "required": [
751
- "@type",
752
- "addressCountry",
753
- "codeInsee",
754
- "addressLocality",
755
- "localityId",
756
- "level1",
757
- "level1Name"
758
- ],
759
- "type": "object"
760
- },
761
- "common76": {
762
- "@type": {
763
- "const": "PostalAddress",
764
- "type": "string"
765
- },
766
- "addressCountry": {
767
- "type": "string"
768
- },
769
- "addressLocality": {
770
- "type": "string"
771
- },
772
- "codeInsee": {
773
- "type": "string"
774
- },
775
- "level1": {
776
- "type": "string"
777
- },
778
- "level1Name": {
779
- "type": "string"
780
- },
781
- "level3": {
782
- "minLength": 0,
783
- "type": "string"
784
- },
785
- "level3Name": {
786
- "minLength": 0,
787
- "type": "string"
788
- },
789
- "level4": {
790
- "minLength": 0,
791
- "type": "string"
792
- },
793
- "level4Name": {
794
- "minLength": 0,
795
- "type": "string"
796
- },
797
- "localityId": {
798
- "type": "string"
799
- },
800
- "postalCode": {
801
- "type": "string"
802
- },
803
- "streetAddress": {
804
- "type": "string"
805
- }
806
- },
807
- "common77": {
808
- "const": "PostalAddress",
809
- "type": "string"
810
- },
811
- "common78": {
812
- "minLength": 0,
813
- "type": "string"
814
- },
815
- "common79": {
816
- "oneOf": [
817
- {
818
- "const": "",
819
- "type": "string"
820
- },
821
- {
822
- "additionalProperties": false,
823
- "properties": {
824
- "@type": {
825
- "const": "GeoCoordinates",
826
- "type": "string"
827
- },
828
- "latitude": {
829
- "type": [
830
- "string",
831
- "number"
832
- ]
833
- },
834
- "longitude": {
835
- "type": [
836
- "string",
837
- "number"
838
- ]
839
- }
840
- },
841
- "required": [
842
- "latitude",
843
- "longitude"
844
- ],
845
- "type": "object"
846
- }
847
- ]
848
- },
849
- "common80": {
850
- "additionalProperties": false,
851
- "properties": {
852
- "@type": {
853
- "const": "GeoCoordinates",
854
- "type": "string"
855
- },
856
- "latitude": {
857
- "type": [
858
- "string",
859
- "number"
860
- ]
861
- },
862
- "longitude": {
863
- "type": [
864
- "string",
865
- "number"
866
- ]
867
- }
868
- },
869
- "required": [
870
- "latitude",
871
- "longitude"
872
- ],
873
- "type": "object"
874
- },
875
- "common81": {
876
- "@type": {
877
- "const": "GeoCoordinates",
878
- "type": "string"
879
- },
880
- "latitude": {
881
- "type": [
882
- "string",
883
- "number"
884
- ]
885
- },
886
- "longitude": {
887
- "type": [
888
- "string",
889
- "number"
890
- ]
891
- }
892
- },
893
- "common82": {
894
- "const": "GeoCoordinates",
895
- "type": "string"
896
- },
897
- "common83": {
898
- "type": [
899
- "string",
900
- "number"
901
- ]
902
- },
903
- "common84": {
904
- "additionalProperties": true,
905
- "properties": {
906
- "coordinates": {
907
- "items": {
908
- "type": "number"
909
- },
910
- "maxItems": 2,
911
- "minItems": 2,
912
- "type": "array"
913
- },
914
- "float": {
915
- "const": true,
916
- "default": true,
917
- "type": "boolean"
918
- },
919
- "type": {
920
- "const": "Point",
921
- "type": "string"
922
- }
923
- },
924
- "required": [
925
- "type",
926
- "coordinates",
927
- "float"
928
- ],
929
- "type": "object"
930
- },
931
- "common85": {
932
- "coordinates": {
933
- "items": {
934
- "type": "number"
935
- },
936
- "maxItems": 2,
937
- "minItems": 2,
938
- "type": "array"
939
- },
940
- "float": {
941
- "const": true,
942
- "default": true,
943
- "type": "boolean"
944
- },
945
- "type": {
946
- "const": "Point",
947
- "type": "string"
948
- }
949
- },
950
- "common86": {
951
- "items": {
952
- "type": "number"
953
- },
954
- "maxItems": 2,
955
- "minItems": 2,
956
- "type": "array"
957
- },
958
- "common87": {
959
- "type": "number"
960
- },
961
- "common88": {
962
- "const": true,
963
- "default": true,
964
- "type": "boolean"
965
- },
966
- "common89": {
967
- "const": "Point",
968
- "type": "string"
969
- },
970
- "common90": {
971
- "properties": {
972
- "id": {
973
- "default": "@userId",
974
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
975
- }
976
- }
977
- },
978
- "common91": {
979
- "id": {
980
- "default": "@userId",
981
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
982
- }
983
- },
984
- "common92": {
985
- "default": "@userId",
986
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
987
- },
988
- "common93": {
989
- "maxLength": 100,
990
- "minLength": 3,
991
- "pattern": "^[a-zA-Z0-9]+$",
992
- "type": "string"
993
- },
994
- "common94": {
995
- "properties": {
996
- "type": {
997
- "const": "citoyens"
998
- }
999
- }
1000
- },
1001
- "common95": {
1002
- "type": {
1003
- "const": "citoyens"
1004
- }
1005
- },
1006
- "common96": {
1007
- "additionalProperties": false,
1008
- "else": {
1009
- "properties": {
1010
- "ownerId": {
1011
- "pattern": "^[a-f0-9]{24}$"
1012
- }
1013
- }
1014
- },
1015
- "if": {
1016
- "properties": {
1017
- "folder": {
1018
- "const": "citoyens"
1019
- }
1020
- }
1021
- },
1022
- "properties": {
1023
- "folder": {
1024
- "default": "citoyens",
1025
- "enum": [
1026
- "citoyens",
1027
- "projects",
1028
- "organizations",
1029
- "events",
1030
- "poi"
1031
- ],
1032
- "type": "string"
1033
- },
1034
- "ownerId": {
1035
- "type": "string"
1036
- }
1037
- },
1038
- "required": [
1039
- "folder",
1040
- "ownerId"
1041
- ],
1042
- "then": {
1043
- "properties": {
1044
- "ownerId": {
1045
- "default": "@userId",
1046
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1047
- }
1048
- }
1049
- },
1050
- "type": "object"
1051
- },
1052
- "common97": {
1053
- "properties": {
1054
- "ownerId": {
1055
- "pattern": "^[a-f0-9]{24}$"
1056
- }
1057
- }
1058
- },
1059
- "common98": {
1060
- "ownerId": {
1061
- "pattern": "^[a-f0-9]{24}$"
1062
- }
1063
- },
1064
- "common99": {
1065
- "properties": {
1066
- "folder": {
1067
- "const": "citoyens"
1068
- }
1069
- }
1070
- },
1071
- "common100": {
1072
- "folder": {
1073
- "const": "citoyens"
1074
- }
1075
- },
1076
- "common101": {
1077
- "folder": {
1078
- "default": "citoyens",
1079
- "enum": [
1080
- "citoyens",
1081
- "projects",
1082
- "organizations",
1083
- "events",
1084
- "poi"
1085
- ],
1086
- "type": "string"
1087
- },
1088
- "ownerId": {
1089
- "type": "string"
1090
- }
1091
- },
1092
- "common102": {
1093
- "default": "citoyens",
1094
- "enum": [
1095
- "citoyens",
1096
- "projects",
1097
- "organizations",
1098
- "events",
1099
- "poi"
1100
- ],
1101
- "type": "string"
1102
- },
1103
- "common103": {
1104
- "properties": {
1105
- "ownerId": {
1106
- "default": "@userId",
1107
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1108
- }
1109
- }
1110
- },
1111
- "common104": {
1112
- "ownerId": {
1113
- "default": "@userId",
1114
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1115
- }
1116
- },
1117
- "common105": {
1118
- "properties": {
1119
- "parentId": {
1120
- "pattern": "^[a-f0-9]{24}$"
1121
- }
1122
- }
1123
- },
1124
- "common106": {
1125
- "parentId": {
1126
- "pattern": "^[a-f0-9]{24}$"
1127
- }
1128
- },
1129
- "common107": {
1130
- "properties": {
1131
- "parentType": {
1132
- "const": "citoyens"
1133
- }
1134
- }
1135
- },
1136
- "common108": {
1137
- "parentType": {
1138
- "const": "citoyens"
1139
- }
1140
- },
1141
- "common109": {
1142
- "properties": {
1143
- "parentId": {
1144
- "default": "@userId",
1145
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1146
- }
1147
- }
1148
- },
1149
- "common110": {
1150
- "parentId": {
1151
- "default": "@userId",
1152
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1153
- }
1154
- },
1155
- "common111": {
1156
- "default": true,
1157
- "type": "boolean"
1158
- },
1159
- "common112": {
1160
- "default": 0,
1161
- "type": "integer"
1162
- },
1163
- "common113": {
1164
- "items": {
1165
- "pattern": "^[a-f0-9]{24}$",
1166
- "type": "string"
1167
- },
1168
- "type": "array"
1169
- },
1170
- "common114": {
1171
- "required": [
1172
- "text"
1173
- ]
1174
- },
1175
- "common115": {
1176
- "required": [
1177
- "mediaImg"
1178
- ]
1179
- },
1180
- "common116": {
1181
- "required": [
1182
- "mediaFile"
1183
- ]
1184
- },
1185
- "common117": {
1186
- "additionalProperties": false,
1187
- "properties": {
1188
- "countFiles": {
1189
- "type": "number"
1190
- },
1191
- "files": {
1192
- "items": {
1193
- "type": "string"
1194
- },
1195
- "type": "array"
1196
- }
1197
- },
1198
- "required": [
1199
- "countFiles",
1200
- "files"
1201
- ],
1202
- "type": "object"
1203
- },
1204
- "common118": {
1205
- "countFiles": {
1206
- "type": "number"
1207
- },
1208
- "files": {
1209
- "items": {
1210
- "type": "string"
1211
- },
1212
- "type": "array"
1213
- }
1214
- },
1215
- "common119": {
1216
- "additionalProperties": false,
1217
- "properties": {
1218
- "countImages": {
1219
- "type": "number"
1220
- },
1221
- "images": {
1222
- "items": {
1223
- "type": "string"
1224
- },
1225
- "type": "array"
1226
- }
1227
- },
1228
- "required": [
1229
- "countImages",
1230
- "images"
1231
- ],
1232
- "type": "object"
1233
- },
1234
- "common120": {
1235
- "countImages": {
1236
- "type": "number"
1237
- },
1238
- "images": {
1239
- "items": {
1240
- "type": "string"
1241
- },
1242
- "type": "array"
1243
- }
1244
- },
1245
- "common121": {
1246
- "items": {
1247
- "properties": {
1248
- "count": {
1249
- "minimum": 1,
1250
- "type": "integer"
1251
- },
1252
- "id": {
1253
- "pattern": "^[a-f0-9]{24}$",
1254
- "type": "string"
1255
- },
1256
- "name": {
1257
- "type": "string"
1258
- },
1259
- "slug": {
1260
- "type": "string"
1261
- },
1262
- "type": {
1263
- "type": "string"
1264
- },
1265
- "value": {
1266
- "type": "string"
1267
- }
1268
- },
1269
- "required": [
1270
- "id",
1271
- "name",
1272
- "slug",
1273
- "type",
1274
- "value",
1275
- "count"
1276
- ],
1277
- "type": "object"
1278
- },
1279
- "type": "array"
1280
- },
1281
- "common122": {
1282
- "properties": {
1283
- "count": {
1284
- "minimum": 1,
1285
- "type": "integer"
1286
- },
1287
- "id": {
1288
- "pattern": "^[a-f0-9]{24}$",
1289
- "type": "string"
1290
- },
1291
- "name": {
1292
- "type": "string"
1293
- },
1294
- "slug": {
1295
- "type": "string"
1296
- },
1297
- "type": {
1298
- "type": "string"
1299
- },
1300
- "value": {
1301
- "type": "string"
1302
- }
1303
- },
1304
- "required": [
1305
- "id",
1306
- "name",
1307
- "slug",
1308
- "type",
1309
- "value",
1310
- "count"
1311
- ],
1312
- "type": "object"
1313
- },
1314
- "common123": {
1315
- "count": {
1316
- "minimum": 1,
1317
- "type": "integer"
1318
- },
1319
- "id": {
1320
- "pattern": "^[a-f0-9]{24}$",
1321
- "type": "string"
1322
- },
1323
- "name": {
1324
- "type": "string"
1325
- },
1326
- "slug": {
1327
- "type": "string"
1328
- },
1329
- "type": {
1330
- "type": "string"
1331
- },
1332
- "value": {
1333
- "type": "string"
1334
- }
1335
- },
1336
- "common124": {
1337
- "minimum": 1,
1338
- "type": "integer"
1339
- },
1340
- "common125": {
1341
- "default": "public",
1342
- "enum": [
1343
- "public",
1344
- "private",
1345
- "restricted"
1346
- ],
1347
- "type": "string"
1348
- },
1349
- "common126": {
1350
- "const": "news",
1351
- "default": "news",
1352
- "type": "string"
1353
- },
1354
- "common127": {
1355
- "additionalProperties": false,
1356
- "else": {
1357
- "properties": {
1358
- "ownerId": {
1359
- "pattern": "^[a-f0-9]{24}$"
1360
- }
1361
- }
1362
- },
1363
- "if": {
1364
- "properties": {
1365
- "folder": {
1366
- "const": "citoyens"
1367
- }
1368
- }
1369
- },
1370
- "properties": {
1371
- "folder": {
1372
- "default": "citoyens",
1373
- "enum": [
1374
- "citoyens",
1375
- "projects",
1376
- "organizations"
1377
- ],
1378
- "type": "string"
1379
- },
1380
- "ownerId": {
1381
- "type": "string"
1382
- }
1383
- },
1384
- "required": [
1385
- "folder",
1386
- "ownerId"
1387
- ],
1388
- "then": {
1389
- "properties": {
1390
- "ownerId": {
1391
- "default": "@userId",
1392
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1393
- }
1394
- }
1395
- },
1396
- "type": "object"
1397
- },
1398
- "common128": {
1399
- "folder": {
1400
- "default": "citoyens",
1401
- "enum": [
1402
- "citoyens",
1403
- "projects",
1404
- "organizations"
1405
- ],
1406
- "type": "string"
1407
- },
1408
- "ownerId": {
1409
- "type": "string"
1410
- }
1411
- },
1412
- "common129": {
1413
- "additionalProperties": false,
1414
- "properties": {
1415
- "id": {
1416
- "pattern": "^[a-f0-9]{24}$",
1417
- "type": "string"
1418
- }
1419
- },
1420
- "required": [
1421
- "id"
1422
- ],
1423
- "type": "object"
1424
- },
1425
- "common130": {
1426
- "default": false,
1427
- "type": "boolean"
1428
- },
1429
- "common131": {
1430
- "properties": {
1431
- "childId": {
1432
- "pattern": "^[a-f0-9]{24}$"
1433
- }
1434
- }
1435
- },
1436
- "common132": {
1437
- "childId": {
1438
- "pattern": "^[a-f0-9]{24}$"
1439
- }
1440
- },
1441
- "common133": {
1442
- "properties": {
1443
- "childType": {
1444
- "const": "citoyens"
1445
- }
1446
- }
1447
- },
1448
- "common134": {
1449
- "childType": {
1450
- "const": "citoyens"
1451
- }
1452
- },
1453
- "common135": {
1454
- "const": "share",
1455
- "default": "share",
1456
- "type": "string"
1457
- },
1458
- "common136": {
1459
- "properties": {
1460
- "childId": {
1461
- "default": "@userId",
1462
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1463
- }
1464
- }
1465
- },
1466
- "common137": {
1467
- "childId": {
1468
- "default": "@userId",
1469
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1470
- }
1471
- },
1472
- "common138": {
1473
- "default": "news",
1474
- "enum": [
1475
- "news"
1476
- ],
1477
- "type": "string"
1478
- },
1479
- "common139": {
1480
- "items": {
1481
- "additionalProperties": false,
1482
- "properties": {
1483
- "count": {
1484
- "type": "number"
1485
- },
1486
- "id": {
1487
- "pattern": "^[a-f0-9]{24}$",
1488
- "type": "string"
1489
- },
1490
- "name": {
1491
- "type": "string"
1492
- },
1493
- "slug": {
1494
- "type": "string"
1495
- },
1496
- "type": {
1497
- "type": "string"
1498
- },
1499
- "value": {
1500
- "type": "string"
1501
- }
1502
- },
1503
- "required": [
1504
- "id",
1505
- "name",
1506
- "slug",
1507
- "type",
1508
- "value",
1509
- "count"
1510
- ],
1511
- "type": "object"
1512
- },
1513
- "type": "array"
1514
- },
1515
- "common140": {
1516
- "additionalProperties": false,
1517
- "properties": {
1518
- "count": {
1519
- "type": "number"
1520
- },
1521
- "id": {
1522
- "pattern": "^[a-f0-9]{24}$",
1523
- "type": "string"
1524
- },
1525
- "name": {
1526
- "type": "string"
1527
- },
1528
- "slug": {
1529
- "type": "string"
1530
- },
1531
- "type": {
1532
- "type": "string"
1533
- },
1534
- "value": {
1535
- "type": "string"
1536
- }
1537
- },
1538
- "required": [
1539
- "id",
1540
- "name",
1541
- "slug",
1542
- "type",
1543
- "value",
1544
- "count"
1545
- ],
1546
- "type": "object"
1547
- },
1548
- "common141": {
1549
- "count": {
1550
- "type": "number"
1551
- },
1552
- "id": {
1553
- "pattern": "^[a-f0-9]{24}$",
1554
- "type": "string"
1555
- },
1556
- "name": {
1557
- "type": "string"
1558
- },
1559
- "slug": {
1560
- "type": "string"
1561
- },
1562
- "type": {
1563
- "type": "string"
1564
- },
1565
- "value": {
1566
- "type": "string"
1567
- }
1568
- },
1569
- "common142": {
1570
- "enum": [
1571
- "NGO",
1572
- "LocalBusiness",
1573
- "Group",
1574
- "GovernmentOrganization",
1575
- "Cooperative",
1576
- "projects",
1577
- "citoyens",
1578
- "poi",
1579
- "answers",
1580
- "forms"
1581
- ],
1582
- "type": "string"
1583
- },
1584
- "common143": {
1585
- "const": false,
1586
- "default": false,
1587
- "type": "boolean"
1588
- },
1589
- "common144": {
1590
- "const": "",
1591
- "default": "",
1592
- "type": "string"
1593
- },
1594
- "common145": {
1595
- "default": 0,
1596
- "type": "number"
1597
- },
1598
- "common146": {
1599
- "default": 30,
1600
- "type": "number"
1601
- },
1602
- "common147": {
1603
- "additionalProperties": false,
1604
- "patternProperties": {
1605
- "^[^\\s]+$": {
1606
- "additionalProperties": false,
1607
- "properties": {
1608
- "id": {
1609
- "type": "string"
1610
- },
1611
- "type": {
1612
- "enum": [
1613
- "cities",
1614
- "level1"
1615
- ],
1616
- "type": "string"
1617
- }
1618
- },
1619
- "required": [
1620
- "id",
1621
- "type"
1622
- ],
1623
- "type": "object"
1624
- }
1625
- },
1626
- "type": "object"
1627
- },
1628
- "common148": {
1629
- "^[^\\s]+$": {
1630
- "additionalProperties": false,
1631
- "properties": {
1632
- "id": {
1633
- "type": "string"
1634
- },
1635
- "type": {
1636
- "enum": [
1637
- "cities",
1638
- "level1"
1639
- ],
1640
- "type": "string"
1641
- }
1642
- },
1643
- "required": [
1644
- "id",
1645
- "type"
1646
- ],
1647
- "type": "object"
1648
- }
1649
- },
1650
- "common149": {
1651
- "additionalProperties": false,
1652
- "properties": {
1653
- "id": {
1654
- "type": "string"
1655
- },
1656
- "type": {
1657
- "enum": [
1658
- "cities",
1659
- "level1"
1660
- ],
1661
- "type": "string"
1662
- }
1663
- },
1664
- "required": [
1665
- "id",
1666
- "type"
1667
- ],
1668
- "type": "object"
1669
- },
1670
- "common150": {
1671
- "id": {
1672
- "type": "string"
1673
- },
1674
- "type": {
1675
- "enum": [
1676
- "cities",
1677
- "level1"
1678
- ],
1679
- "type": "string"
1680
- }
1681
- },
1682
- "common151": {
1683
- "enum": [
1684
- "cities",
1685
- "level1"
1686
- ],
1687
- "type": "string"
1688
- },
1689
- "common152": {
1690
- "additionalProperties": false,
1691
- "patternProperties": {
1692
- "^[^\\s]+$": {
1693
- "additionalProperties": false,
1694
- "properties": {
1695
- "indexMax": {
1696
- "type": "number"
1697
- },
1698
- "indexMin": {
1699
- "type": "number"
1700
- }
1701
- },
1702
- "required": [
1703
- "indexMin",
1704
- "indexMax"
1705
- ],
1706
- "type": "object"
1707
- }
1708
- },
1709
- "type": "object"
1710
- },
1711
- "common153": {
1712
- "^[^\\s]+$": {
1713
- "additionalProperties": false,
1714
- "properties": {
1715
- "indexMax": {
1716
- "type": "number"
1717
- },
1718
- "indexMin": {
1719
- "type": "number"
1720
- }
1721
- },
1722
- "required": [
1723
- "indexMin",
1724
- "indexMax"
1725
- ],
1726
- "type": "object"
1727
- }
1728
- },
1729
- "common154": {
1730
- "additionalProperties": false,
1731
- "properties": {
1732
- "indexMax": {
1733
- "type": "number"
1734
- },
1735
- "indexMin": {
1736
- "type": "number"
1737
- }
1738
- },
1739
- "required": [
1740
- "indexMin",
1741
- "indexMax"
1742
- ],
1743
- "type": "object"
1744
- },
1745
- "common155": {
1746
- "indexMax": {
1747
- "type": "number"
1748
- },
1749
- "indexMin": {
1750
- "type": "number"
1751
- }
1752
- },
1753
- "common156": {
1754
- "anyOf": [
1755
- {
1756
- "type": "string"
1757
- },
1758
- {
1759
- "items": {
1760
- "type": "string"
1761
- },
1762
- "minItems": 1,
1763
- "type": "array"
1764
- }
1765
- ]
1766
- },
1767
- "common157": {
1768
- "items": {
1769
- "type": "string"
1770
- },
1771
- "minItems": 1,
1772
- "type": "array"
1773
- },
1774
- "common158": {
1775
- "minimum": 0,
1776
- "type": "integer"
1777
- },
1778
- "common159": {
1779
- "default": 0,
1780
- "minimum": 0,
1781
- "type": "integer"
1782
- },
1783
- "common160": {
1784
- "const": [
1785
- "projects"
1786
- ],
1787
- "default": [
1788
- "projects"
1789
- ],
1790
- "items": {
1791
- "enum": [
1792
- "projects"
1793
- ],
1794
- "type": "string"
1795
- },
1796
- "type": "array"
1797
- },
1798
- "common161": {
1799
- "enum": [
1800
- "projects"
1801
- ],
1802
- "type": "string"
1803
- },
1804
- "common162": {
1805
- "$exists": true
1806
- },
1807
- "common163": {
1808
- "additionalProperties": false,
1809
- "properties": {
1810
- "$exists": {
1811
- "const": true
1812
- }
1813
- },
1814
- "required": [
1815
- "$exists"
1816
- ],
1817
- "type": "object"
1818
- },
1819
- "common164": {
1820
- "$exists": {
1821
- "const": true
1822
- }
1823
- },
1824
- "common165": {
1825
- "const": true
1826
- },
1827
- "common166": {
1828
- "additionalProperties": false,
1829
- "else": {
1830
- "properties": {
1831
- "id": {
1832
- "pattern": "^[a-f0-9]{24}$"
1833
- }
1834
- }
1835
- },
1836
- "if": {
1837
- "properties": {
1838
- "type": {
1839
- "const": "citoyens"
1840
- }
1841
- }
1842
- },
1843
- "properties": {
1844
- "id": {
1845
- "type": "string"
1846
- },
1847
- "type": {
1848
- "default": "citoyens",
1849
- "enum": [
1850
- "citoyens",
1851
- "projects",
1852
- "organizations"
1853
- ],
1854
- "type": "string"
1855
- }
1856
- },
1857
- "required": [
1858
- "type",
1859
- "id"
1860
- ],
1861
- "then": {
1862
- "properties": {
1863
- "id": {
1864
- "default": "@userId",
1865
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1866
- }
1867
- }
1868
- },
1869
- "type": "object"
1870
- },
1871
- "common167": {
1872
- "id": {
1873
- "type": "string"
1874
- },
1875
- "type": {
1876
- "default": "citoyens",
1877
- "enum": [
1878
- "citoyens",
1879
- "projects",
1880
- "organizations"
1881
- ],
1882
- "type": "string"
1883
- }
1884
- },
1885
- "common168": {
1886
- "const": [
1887
- "poi"
1888
- ],
1889
- "default": [
1890
- "poi"
1891
- ],
1892
- "items": {
1893
- "enum": [
1894
- "poi"
1895
- ],
1896
- "type": "string"
1897
- },
1898
- "type": "array"
1899
- },
1900
- "common169": {
1901
- "const": [
1902
- "NGO",
1903
- "Cooperative",
1904
- "LocalBusiness",
1905
- "Group",
1906
- "GovernmentOrganization"
1907
- ],
1908
- "default": [
1909
- "NGO",
1910
- "Cooperative",
1911
- "LocalBusiness",
1912
- "Group",
1913
- "GovernmentOrganization"
1914
- ],
1915
- "items": {
1916
- "enum": [
1917
- "NGO",
1918
- "Cooperative",
1919
- "LocalBusiness",
1920
- "Group",
1921
- "GovernmentOrganization"
1922
- ],
1923
- "type": "string"
1924
- },
1925
- "type": "array"
1926
- },
1927
- "common170": {
1928
- "enum": [
1929
- "NGO",
1930
- "Cooperative",
1931
- "LocalBusiness",
1932
- "Group",
1933
- "GovernmentOrganization"
1934
- ],
1935
- "type": "string"
1936
- },
1937
- "common171": {
1938
- "$exists": false
1939
- },
1940
- "common172": {
1941
- "additionalProperties": false,
1942
- "properties": {
1943
- "$exists": {
1944
- "const": false
1945
- }
1946
- },
1947
- "required": [
1948
- "$exists"
1949
- ],
1950
- "type": "object"
1951
- },
1952
- "common173": {
1953
- "$exists": {
1954
- "const": false
1955
- }
1956
- },
1957
- "common174": {
1958
- "const": false
1959
- },
1960
- "common175": {
1961
- "default": 30,
1962
- "type": "integer"
1963
- },
1964
- "common176": {
1965
- "additionalProperties": false,
1966
- "else": {
1967
- "properties": {
1968
- "id": {
1969
- "pattern": "^[a-f0-9]{24}$"
1970
- }
1971
- }
1972
- },
1973
- "if": {
1974
- "properties": {
1975
- "type": {
1976
- "const": "citoyens"
1977
- }
1978
- }
1979
- },
1980
- "properties": {
1981
- "id": {
1982
- "type": "string"
1983
- },
1984
- "type": {
1985
- "default": "citoyens",
1986
- "enum": [
1987
- "citoyens",
1988
- "organizations"
1989
- ],
1990
- "type": "string"
1991
- }
1992
- },
1993
- "required": [
1994
- "type",
1995
- "id"
1996
- ],
1997
- "then": {
1998
- "properties": {
1999
- "id": {
2000
- "default": "@userId",
2001
- "pattern": "^(?:[a-f0-9]{24}|@userId)$"
2002
- }
2003
- }
2004
- },
2005
- "type": "object"
2006
- },
2007
- "common177": {
2008
- "id": {
2009
- "type": "string"
2010
- },
2011
- "type": {
2012
- "default": "citoyens",
2013
- "enum": [
2014
- "citoyens",
2015
- "organizations"
2016
- ],
2017
- "type": "string"
2018
- }
2019
- },
2020
- "common178": {
2021
- "default": "citoyens",
2022
- "enum": [
2023
- "citoyens",
2024
- "organizations"
2025
- ],
2026
- "type": "string"
2027
- },
2028
- "common179": {
2029
- "links.members.@{pathParams.id}": {
2030
- "$exists": true
2031
- },
2032
- "links.members.@{pathParams.id}.isInviting": {
2033
- "$exists": false
2034
- },
2035
- "links.members.@{pathParams.id}.toBeValidated": {
2036
- "$exists": false
2037
- }
2038
- },
2039
- "common180": {
2040
- "default": [
2041
- "NGO",
2042
- "Cooperative",
2043
- "LocalBusiness",
2044
- "Group",
2045
- "GovernmentOrganization"
2046
- ],
2047
- "items": {
2048
- "type": "string"
2049
- },
2050
- "type": "array"
2051
- },
2052
- "common181": {
2053
- "default": [
2054
- "citoyens",
2055
- "NGO",
2056
- "LocalBusiness",
2057
- "Group",
2058
- "GovernmentOrganization",
2059
- "Cooperative"
2060
- ],
2061
- "items": {
2062
- "enum": [
2063
- "citoyens",
2064
- "NGO",
2065
- "LocalBusiness",
2066
- "Group",
2067
- "GovernmentOrganization",
2068
- "Cooperative"
2069
- ],
2070
- "type": "string"
2071
- },
2072
- "type": "array"
2073
- },
2074
- "common182": {
2075
- "enum": [
2076
- "citoyens",
2077
- "NGO",
2078
- "LocalBusiness",
2079
- "Group",
2080
- "GovernmentOrganization",
2081
- "Cooperative"
2082
- ],
2083
- "type": "string"
2084
- },
2085
- "common183": {
2086
- "additionalProperties": false,
2087
- "properties": {
2088
- "$exists": {
2089
- "default": false,
2090
- "type": "boolean"
2091
- }
2092
- },
2093
- "required": [
2094
- "$exists"
2095
- ],
2096
- "type": "object"
2097
- },
2098
- "common184": {
2099
- "$exists": {
2100
- "default": false,
2101
- "type": "boolean"
2102
- }
2103
- },
2104
- "common185": {
2105
- "additionalProperties": false,
2106
- "properties": {
2107
- "$in": {
2108
- "items": {
2109
- "type": "string"
2110
- },
2111
- "minItems": 1,
2112
- "type": "array"
2113
- }
2114
- },
2115
- "required": [
2116
- "$in"
2117
- ],
2118
- "type": "object"
2119
- },
2120
- "common186": {
2121
- "$in": {
2122
- "items": {
2123
- "type": "string"
2124
- },
2125
- "minItems": 1,
2126
- "type": "array"
2127
- }
2128
- },
2129
- "common187": {
2130
- "default": [
2131
- "citoyens",
2132
- "NGO",
2133
- "LocalBusiness",
2134
- "Group",
2135
- "GovernmentOrganization",
2136
- "Cooperative"
2137
- ],
2138
- "items": {
2139
- "enum": [
2140
- "citoyens",
2141
- "NGO",
2142
- "LocalBusiness",
2143
- "Group",
2144
- "GovernmentOrganization",
2145
- "Cooperative"
2146
- ],
2147
- "type": "string"
2148
- },
2149
- "minItems": 1,
2150
- "type": "array"
2151
- },
2152
- "common188": {
2153
- "const": [
2154
- "citoyens"
2155
- ],
2156
- "default": [
2157
- "citoyens"
2158
- ],
2159
- "items": {
2160
- "enum": [
2161
- "citoyens"
2162
- ],
2163
- "type": "string"
2164
- },
2165
- "type": "array"
2166
- },
2167
- "common189": {
2168
- "enum": [
2169
- "citoyens"
2170
- ],
2171
- "type": "string"
2172
- },
2173
- "common190": {
2174
- "const": [
2175
- "citoyens",
2176
- "NGO",
2177
- "LocalBusiness",
2178
- "Group",
2179
- "GovernmentOrganization",
2180
- "Cooperative",
2181
- "projects"
2182
- ],
2183
- "default": [
2184
- "citoyens",
2185
- "NGO",
2186
- "LocalBusiness",
2187
- "Group",
2188
- "GovernmentOrganization",
2189
- "Cooperative",
2190
- "projects"
2191
- ],
2192
- "items": {
2193
- "enum": [
2194
- "citoyens",
2195
- "NGO",
2196
- "LocalBusiness",
2197
- "Group",
2198
- "GovernmentOrganization",
2199
- "Cooperative",
2200
- "projects"
2201
- ],
2202
- "type": "string"
2203
- },
2204
- "type": "array"
2205
- },
2206
- "common191": {
2207
- "enum": [
2208
- "citoyens",
2209
- "NGO",
2210
- "LocalBusiness",
2211
- "Group",
2212
- "GovernmentOrganization",
2213
- "Cooperative",
2214
- "projects"
2215
- ],
2216
- "type": "string"
2217
- },
2218
- "common192": {
2219
- "not": {
2220
- "propertyNames": {
2221
- "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2222
- }
2223
- }
2224
- },
2225
- "common193": {
2226
- "propertyNames": {
2227
- "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2228
- }
2229
- },
2230
- "common194": {
2231
- "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2232
- },
2233
- "common195": {
2234
- "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
2235
- "additionalProperties": false,
2236
- "properties": {
2237
- "$exists": {
2238
- "const": true
2239
- }
2240
- },
2241
- "required": [
2242
- "$exists"
2243
- ],
2244
- "type": "object"
2245
- },
2246
- "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$": {
2247
- "additionalProperties": false,
2248
- "properties": {
2249
- "$exists": {
2250
- "const": false
2251
- }
2252
- },
2253
- "required": [
2254
- "$exists"
2255
- ],
2256
- "type": "object"
2257
- },
2258
- "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$": {
2259
- "additionalProperties": false,
2260
- "properties": {
2261
- "$exists": {
2262
- "const": false
2263
- }
2264
- },
2265
- "required": [
2266
- "$exists"
2267
- ],
2268
- "type": "object"
2269
- }
2270
- },
2271
- "common196": {
2272
- "not": {
2273
- "propertyNames": {
2274
- "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2275
- }
2276
- }
2277
- },
2278
- "common197": {
2279
- "propertyNames": {
2280
- "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2281
- }
2282
- },
2283
- "common198": {
2284
- "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2285
- },
2286
- "common199": {
2287
- "default": "citoyens",
2288
- "enum": [
2289
- "citoyens",
2290
- "organizations",
2291
- "projects"
2292
- ],
2293
- "type": "string"
2294
- },
2295
- "common200": {
2296
- "const": [
2297
- "badges"
2298
- ],
2299
- "default": [
2300
- "badges"
2301
- ],
2302
- "items": {
2303
- "enum": [
2304
- "badges"
2305
- ],
2306
- "type": "string"
2307
- },
2308
- "type": "array"
2309
- },
2310
- "common201": {
2311
- "enum": [
2312
- "badges"
2313
- ],
2314
- "type": "string"
2315
- },
2316
- "common202": {
2317
- "const": [
2318
- "citoyens",
2319
- "projects",
2320
- "NGO",
2321
- "LocalBusiness",
2322
- "Group",
2323
- "GovernmentOrganization",
2324
- "Cooperative"
2325
- ],
2326
- "default": [
2327
- "citoyens",
2328
- "projects",
2329
- "NGO",
2330
- "LocalBusiness",
2331
- "Group",
2332
- "GovernmentOrganization",
2333
- "Cooperative"
2334
- ],
2335
- "items": {
2336
- "enum": [
2337
- "citoyens",
2338
- "projects",
2339
- "NGO",
2340
- "LocalBusiness",
2341
- "Group",
2342
- "GovernmentOrganization",
2343
- "Cooperative"
2344
- ],
2345
- "type": "string"
2346
- },
2347
- "type": "array"
2348
- },
2349
- "common203": {
2350
- "enum": [
2351
- "citoyens",
2352
- "projects",
2353
- "NGO",
2354
- "LocalBusiness",
2355
- "Group",
2356
- "GovernmentOrganization",
2357
- "Cooperative"
2358
- ],
2359
- "type": "string"
2360
- },
2361
- "common204": {
2362
- "additionalProperties": false,
2363
- "properties": {
2364
- "$exists": {
2365
- "const": true,
2366
- "type": "boolean"
2367
- }
2368
- },
2369
- "required": [
2370
- "$exists"
2371
- ],
2372
- "type": "object"
2373
- },
2374
- "common205": {
2375
- "$exists": {
2376
- "const": true,
2377
- "type": "boolean"
2378
- }
2379
- },
2380
- "common206": {
2381
- "const": true,
2382
- "type": "boolean"
2383
- },
2384
- "common207": {
2385
- "additionalProperties": false,
2386
- "properties": {
2387
- "$exists": {
2388
- "const": false,
2389
- "type": "boolean"
2390
- }
2391
- },
2392
- "required": [
2393
- "$exists"
2394
- ],
2395
- "type": "object"
2396
- },
2397
- "common208": {
2398
- "$exists": {
2399
- "const": false,
2400
- "type": "boolean"
2401
- }
2402
- },
2403
- "common209": {
2404
- "const": false,
2405
- "type": "boolean"
2406
- },
2407
- "common210": {
2408
- "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2409
- "additionalProperties": false,
2410
- "properties": {
2411
- "$exists": {
2412
- "const": false,
2413
- "type": "boolean"
2414
- }
2415
- },
2416
- "required": [
2417
- "$exists"
2418
- ],
2419
- "type": "object"
2420
- },
2421
- "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$": {
2422
- "additionalProperties": false,
2423
- "properties": {
2424
- "$exists": {
2425
- "const": true,
2426
- "type": "boolean"
2427
- }
2428
- },
2429
- "required": [
2430
- "$exists"
2431
- ],
2432
- "type": "object"
2433
- }
2434
- },
2435
- "common211": {
2436
- "indexMax": 30,
2437
- "indexMin": 0
2438
- },
2439
- "common212": {
2440
- "properties": {
2441
- "parentType": {
2442
- "const": "organizations"
2443
- }
2444
- }
2445
- },
2446
- "common213": {
2447
- "parentType": {
2448
- "const": "organizations"
2449
- }
2450
- },
2451
- "common214": {
2452
- "properties": {
2453
- "parentType": {
2454
- "const": "projects"
2455
- }
2456
- }
2457
- },
2458
- "common215": {
2459
- "parentType": {
2460
- "const": "projects"
2461
- }
2462
- },
2463
- "common216": {
2464
- "properties": {
2465
- "parentType": {
2466
- "const": "events"
2467
- }
2468
- }
2469
- },
2470
- "common217": {
2471
- "parentType": {
2472
- "const": "events"
2473
- }
2474
- },
2475
- "common218": {
2476
- "default": "@userId",
2477
- "pattern": "^([a-f0-9]{24}|@\\w+)$",
2478
- "type": "string"
2479
- },
2480
- "common219": {
2481
- "const": "citoyens",
2482
- "default": "citoyens",
2483
- "enum": [
2484
- "citoyens"
2485
- ],
2486
- "type": "string"
2487
- },
2488
- "common220": {
2489
- "enum": [
2490
- "citoyens",
2491
- "organizations",
2492
- "projects",
2493
- "events"
2494
- ],
2495
- "type": "string"
2496
- },
2497
- "common221": {
2498
- "const": "citoyens",
2499
- "default": "citoyens",
2500
- "type": "string"
2501
- },
2502
- "common222": {
2503
- "const": "@userId",
2504
- "default": "@userId",
2505
- "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2506
- "type": "string"
2507
- },
2508
- "common223": {
2509
- "oneOf": [
2510
- {
2511
- "const": "",
2512
- "type": "string"
2513
- },
2514
- {
2515
- "additionalProperties": true,
2516
- "properties": {
2517
- "coordinates": {
2518
- "items": {
2519
- "type": "number"
2520
- },
2521
- "maxItems": 2,
2522
- "minItems": 2,
2523
- "type": "array"
2524
- },
2525
- "float": {
2526
- "const": true,
2527
- "default": true,
2528
- "type": "boolean"
2529
- },
2530
- "type": {
2531
- "const": "Point",
2532
- "type": "string"
2533
- }
2534
- },
2535
- "required": [
2536
- "type",
2537
- "coordinates"
2538
- ],
2539
- "type": "object"
2540
- }
2541
- ]
2542
- },
2543
- "common224": {
2544
- "additionalProperties": true,
2545
- "properties": {
2546
- "coordinates": {
2547
- "items": {
2548
- "type": "number"
2549
- },
2550
- "maxItems": 2,
2551
- "minItems": 2,
2552
- "type": "array"
2553
- },
2554
- "float": {
2555
- "const": true,
2556
- "default": true,
2557
- "type": "boolean"
2558
- },
2559
- "type": {
2560
- "const": "Point",
2561
- "type": "string"
2562
- }
2563
- },
2564
- "required": [
2565
- "type",
2566
- "coordinates"
2567
- ],
2568
- "type": "object"
2569
- },
2570
- "common225": {
2571
- "minLength": 3,
2572
- "type": "string"
2573
- },
2574
- "common226": {
2575
- "enum": [
2576
- "Mo",
2577
- "Tu",
2578
- "We",
2579
- "Th",
2580
- "Fr",
2581
- "Sa",
2582
- "Su"
2583
- ],
2584
- "type": "string"
2585
- },
2586
- "common227": {
2587
- "additionalProperties": false,
2588
- "properties": {
2589
- "closes": {
2590
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2591
- "type": "string"
2592
- },
2593
- "opens": {
2594
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2595
- "type": "string"
2596
- }
2597
- },
2598
- "required": [
2599
- "opens",
2600
- "closes"
2601
- ],
2602
- "type": "object"
2603
- },
2604
- "common228": {
2605
- "closes": {
2606
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2607
- "type": "string"
2608
- },
2609
- "opens": {
2610
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2611
- "type": "string"
2612
- }
2613
- },
2614
- "common229": {
2615
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2616
- "type": "string"
2617
- },
2618
- "common230": {
2619
- "default": {
2620
- "isOpenData": true,
2621
- "isOpenEdition": true
2622
- },
2623
- "properties": {
2624
- "isOpenData": {
2625
- "default": true,
2626
- "type": "boolean"
2627
- },
2628
- "isOpenEdition": {
2629
- "default": true,
2630
- "type": "boolean"
2631
- }
2632
- },
2633
- "required": [
2634
- "isOpenData",
2635
- "isOpenEdition"
2636
- ],
2637
- "type": "object"
2638
- },
2639
- "common231": {
2640
- "isOpenData": true,
2641
- "isOpenEdition": true
2642
- },
2643
- "common232": {
2644
- "isOpenData": {
2645
- "default": true,
2646
- "type": "boolean"
2647
- },
2648
- "isOpenEdition": {
2649
- "default": true,
2650
- "type": "boolean"
2651
- }
2652
- },
2653
- "common233": {
2654
- "oneOf": [
2655
- {
2656
- "const": "",
2657
- "type": "string"
2658
- },
2659
- {
2660
- "items": {
2661
- "type": "string"
2662
- },
2663
- "type": "array"
2664
- }
2665
- ]
2666
- },
2667
- "common234": {
2668
- "const": "projects",
2669
- "default": "projects",
2670
- "type": "string"
2671
- },
2672
- "common235": {
2673
- "additionalProperties": false,
2674
- "default": {
2675
- "@userId": {
2676
- "type": "citoyens"
2677
- }
2678
- },
2679
- "patternProperties": {
2680
- "^(?:[a-f0-9]{24}|@userId)$": {
2681
- "additionalProperties": false,
2682
- "properties": {
2683
- "name": {
2684
- "type": "string"
2685
- },
2686
- "type": {
2687
- "type": "string"
2688
- }
2689
- },
2690
- "required": [
2691
- "type"
2692
- ],
2693
- "type": "object"
2694
- }
2695
- },
2696
- "type": "object"
2697
- },
2698
- "common236": {
2699
- "@userId": {
2700
- "type": "citoyens"
2701
- }
2702
- },
2703
- "common237": {
2704
- "type": "citoyens"
2705
- },
2706
- "common238": {
2707
- "const": "poi",
2708
- "default": "poi",
2709
- "type": "string"
2710
- },
2711
- "common239": {
2712
- "const": "events",
2713
- "default": "events",
2714
- "type": "string"
2715
- },
2716
- "common240": {
2717
- "format": "date-time",
2718
- "type": "string"
2719
- },
2720
- "common241": {
2721
- "type": "integer"
2722
- },
2723
- "common242": {
2724
- "additionalProperties": false,
2725
- "properties": {
2726
- "id": {
2727
- "default": "@userId",
2728
- "pattern": "^[a-f0-9]{24}$",
2729
- "type": "string"
2730
- },
2731
- "type": {
2732
- "const": "citoyens",
2733
- "default": "citoyens",
2734
- "type": "string"
2735
- }
2736
- },
2737
- "required": [
2738
- "type",
2739
- "id"
2740
- ],
2741
- "type": "object"
2742
- },
2743
- "common243": {
2744
- "id": {
2745
- "default": "@userId",
2746
- "pattern": "^[a-f0-9]{24}$",
2747
- "type": "string"
2748
- },
2749
- "type": {
2750
- "const": "citoyens",
2751
- "default": "citoyens",
2752
- "type": "string"
2753
- }
2754
- },
2755
- "common244": {
2756
- "default": "@userId",
2757
- "pattern": "^[a-f0-9]{24}$",
2758
- "type": "string"
2759
- },
2760
- "common245": {
2761
- "const": "badges",
2762
- "default": "badges",
2763
- "type": "string"
2764
- },
2765
- "common246": {
2766
- "const": "badge",
2767
- "default": "badge",
2768
- "type": "string"
2769
- },
2770
- "common247": {
2771
- "const": [
2772
- "events"
2773
- ],
2774
- "default": [
2775
- "events"
2776
- ],
2777
- "type": "array"
2778
- },
2779
- "common248": {
2780
- "default": 100,
2781
- "type": "integer"
2782
- },
2783
- "common249": {
2784
- "patternProperties": {
2785
- "^[^\\s]+$": {
2786
- "type": "object"
2787
- }
2788
- },
2789
- "type": "object"
2790
- },
2791
- "common250": {
2792
- "^[^\\s]+$": {
2793
- "type": "object"
2794
- }
2795
- },
2796
- "common251": {
2797
- "type": "object"
2798
- },
2799
- "common252": {
2800
- "const": [
2801
- "events"
2802
- ],
2803
- "default": [
2804
- "events"
2805
- ],
2806
- "items": {
2807
- "enum": [
2808
- "events"
2809
- ],
2810
- "type": "string"
2811
- },
2812
- "type": "array"
2813
- },
2814
- "common253": {
2815
- "enum": [
2816
- "events"
2817
- ],
2818
- "type": "string"
2819
- },
2820
- "common254": {
2821
- "additionalProperties": true,
2822
- "type": "object"
2823
- },
2824
- "common255": {
2825
- "patternProperties": {
2826
- "^[0-9a-f]{24}$": {
2827
- "additionalProperties": false,
2828
- "properties": {
2829
- "isAdmin": {
2830
- "default": "",
2831
- "enum": [
2832
- "",
2833
- "admin"
2834
- ],
2835
- "type": "string"
2836
- },
2837
- "name": {
2838
- "type": "string"
2839
- },
2840
- "roles": {
2841
- "items": {
2842
- "type": "string"
2843
- },
2844
- "type": "array"
2845
- }
2846
- },
2847
- "required": [
2848
- "name"
2849
- ],
2850
- "type": "object"
2851
- }
2852
- },
2853
- "type": "object"
2854
- },
2855
- "common256": {
2856
- "^[0-9a-f]{24}$": {
2857
- "additionalProperties": false,
2858
- "properties": {
2859
- "isAdmin": {
2860
- "default": "",
2861
- "enum": [
2862
- "",
2863
- "admin"
2864
- ],
2865
- "type": "string"
2866
- },
2867
- "name": {
2868
- "type": "string"
2869
- },
2870
- "roles": {
2871
- "items": {
2872
- "type": "string"
2873
- },
2874
- "type": "array"
2875
- }
2876
- },
2877
- "required": [
2878
- "name"
2879
- ],
2880
- "type": "object"
2881
- }
2882
- },
2883
- "common257": {
2884
- "additionalProperties": false,
2885
- "properties": {
2886
- "isAdmin": {
2887
- "default": "",
2888
- "enum": [
2889
- "",
2890
- "admin"
2891
- ],
2892
- "type": "string"
2893
- },
2894
- "name": {
2895
- "type": "string"
2896
- },
2897
- "roles": {
2898
- "items": {
2899
- "type": "string"
2900
- },
2901
- "type": "array"
2902
- }
2903
- },
2904
- "required": [
2905
- "name"
2906
- ],
2907
- "type": "object"
2908
- },
2909
- "common258": {
2910
- "isAdmin": {
2911
- "default": "",
2912
- "enum": [
2913
- "",
2914
- "admin"
2915
- ],
2916
- "type": "string"
2917
- },
2918
- "name": {
2919
- "type": "string"
2920
- },
2921
- "roles": {
2922
- "items": {
2923
- "type": "string"
2924
- },
2925
- "type": "array"
2926
- }
2927
- },
2928
- "common259": {
2929
- "default": "",
2930
- "enum": [
2931
- "",
2932
- "admin"
2933
- ],
2934
- "type": "string"
2935
- },
2936
- "common260": {
2937
- "additionalProperties": false,
2938
- "properties": {
2939
- "contextId": {
2940
- "pattern": "^[a-f0-9]{24}$",
2941
- "type": "string"
2942
- },
2943
- "contextType": {
2944
- "enum": [
2945
- "projects",
2946
- "organizations"
2947
- ],
2948
- "type": "string"
2949
- },
2950
- "costumEditMode": {
2951
- "default": false,
2952
- "type": "boolean"
2953
- },
2954
- "costumId": {
2955
- "pattern": "^[a-f0-9]{24}$",
2956
- "type": "string"
2957
- },
2958
- "costumSlug": {
2959
- "type": "string"
2960
- },
2961
- "costumType": {
2962
- "enum": [
2963
- "projects",
2964
- "organizations"
2965
- ],
2966
- "type": "string"
2967
- },
2968
- "count": {
2969
- "const": true,
2970
- "default": true,
2971
- "type": "boolean"
2972
- },
2973
- "countType": {
2974
- "items": {
2975
- "enum": [
2976
- "NGO",
2977
- "LocalBusiness",
2978
- "Group",
2979
- "GovernmentOrganization",
2980
- "Cooperative",
2981
- "organizations",
2982
- "projects",
2983
- "events",
2984
- "citoyens",
2985
- "poi",
2986
- "answers",
2987
- "forms",
2988
- "classifieds"
2989
- ],
2990
- "type": "string"
2991
- },
2992
- "type": "array"
2993
- },
2994
- "fediverse": {
2995
- "default": false,
2996
- "type": "boolean"
2997
- },
2998
- "fields": {
2999
- "items": {
3000
- "type": "string"
3001
- },
3002
- "type": "array"
3003
- },
3004
- "filters": {
3005
- "default": "",
3006
- "oneOf": [
3007
- {
3008
- "additionalProperties": true,
3009
- "type": "object"
3010
- },
3011
- {
3012
- "const": "",
3013
- "type": "string"
3014
- }
3015
- ]
3016
- },
3017
- "indexMax": {
3018
- "type": "number"
3019
- },
3020
- "indexMin": {
3021
- "default": 0,
3022
- "type": "number"
3023
- },
3024
- "indexStep": {
3025
- "default": 30,
3026
- "type": "number"
3027
- },
3028
- "initType": {
3029
- "const": "",
3030
- "default": "",
3031
- "type": "string"
3032
- },
3033
- "locality": {
3034
- "oneOf": [
3035
- {
3036
- "additionalProperties": false,
3037
- "patternProperties": {
3038
- "^[^\\s]+$": {
3039
- "additionalProperties": false,
3040
- "properties": {
3041
- "countryCode": {
3042
- "type": "string"
3043
- },
3044
- "id": {
3045
- "type": "string"
3046
- },
3047
- "level": {
3048
- "type": [
3049
- "string",
3050
- "number"
3051
- ]
3052
- },
3053
- "name": {
3054
- "type": "string"
3055
- },
3056
- "postalCode": {
3057
- "type": "string"
3058
- },
3059
- "type": {
3060
- "enum": [
3061
- "cities",
3062
- "cp",
3063
- "country",
3064
- "level1",
3065
- "level2",
3066
- "level3",
3067
- "level4",
3068
- "level5"
3069
- ],
3070
- "type": "string"
3071
- }
3072
- },
3073
- "required": [
3074
- "id",
3075
- "type"
3076
- ],
3077
- "type": "object"
3078
- }
3079
- },
3080
- "type": "object"
3081
- },
3082
- {
3083
- "items": {
3084
- "additionalProperties": false,
3085
- "properties": {
3086
- "countryCode": {
3087
- "type": "string"
3088
- },
3089
- "id": {
3090
- "type": "string"
3091
- },
3092
- "level": {
3093
- "type": [
3094
- "string",
3095
- "number"
3096
- ]
3097
- },
3098
- "name": {
3099
- "type": "string"
3100
- },
3101
- "postalCode": {
3102
- "type": "string"
3103
- },
3104
- "type": {
3105
- "enum": [
3106
- "cities",
3107
- "cp",
3108
- "country",
3109
- "level1",
3110
- "level2",
3111
- "level3",
3112
- "level4",
3113
- "level5"
3114
- ],
3115
- "type": "string"
3116
- }
3117
- },
3118
- "required": [
3119
- "id",
3120
- "type"
3121
- ],
3122
- "type": "object"
3123
- },
3124
- "type": "array"
3125
- },
3126
- {
3127
- "const": "",
3128
- "type": "string"
3129
- }
3130
- ]
3131
- },
3132
- "mapUsed": {
3133
- "const": true,
3134
- "type": "boolean"
3135
- },
3136
- "mode": {
3137
- "type": "string"
3138
- },
3139
- "name": {
3140
- "type": "string"
3141
- },
3142
- "notSourceKey": {
3143
- "const": true,
3144
- "type": "boolean"
3145
- },
3146
- "options": {
3147
- "additionalProperties": true,
3148
- "properties": {
3149
- "tags": {
3150
- "additionalProperties": true,
3151
- "properties": {
3152
- "verb": {
3153
- "type": "string"
3154
- }
3155
- },
3156
- "type": "object"
3157
- }
3158
- },
3159
- "type": "object"
3160
- },
3161
- "ranges": {
3162
- "additionalProperties": false,
3163
- "patternProperties": {
3164
- "^[^\\s]+$": {
3165
- "additionalProperties": false,
3166
- "properties": {
3167
- "indexMax": {
3168
- "type": "number"
3169
- },
3170
- "indexMin": {
3171
- "type": "number"
3172
- }
3173
- },
3174
- "required": [
3175
- "indexMin",
3176
- "indexMax"
3177
- ],
3178
- "type": "object"
3179
- }
3180
- },
3181
- "type": "object"
3182
- },
3183
- "searchBy": {
3184
- "anyOf": [
3185
- {
3186
- "type": "string"
3187
- },
3188
- {
3189
- "items": {
3190
- "type": "string"
3191
- },
3192
- "minItems": 1,
3193
- "type": "array"
3194
- }
3195
- ]
3196
- },
3197
- "searchTags": {
3198
- "items": {
3199
- "type": "string"
3200
- },
3201
- "type": "array"
3202
- },
3203
- "searchType": {
3204
- "items": {
3205
- "enum": [
3206
- "NGO",
3207
- "LocalBusiness",
3208
- "Group",
3209
- "GovernmentOrganization",
3210
- "Cooperative",
3211
- "organizations",
3212
- "projects",
3213
- "events",
3214
- "citoyens",
3215
- "poi",
3216
- "answers",
3217
- "forms",
3218
- "classifieds"
3219
- ],
3220
- "type": "string"
3221
- },
3222
- "type": "array"
3223
- },
3224
- "sortBy": {
3225
- "additionalProperties": {
3226
- "enum": [
3227
- 1,
3228
- -1
3229
- ],
3230
- "type": "integer"
3231
- },
3232
- "type": "object"
3233
- },
3234
- "sourceKey": {
3235
- "items": {
3236
- "type": "string"
3237
- },
3238
- "type": "array"
3239
- }
3240
- },
3241
- "required": [
3242
- "searchType",
3243
- "countType",
3244
- "indexMin",
3245
- "indexStep",
3246
- "initType",
3247
- "count",
3248
- "fediverse",
3249
- "costumSlug",
3250
- "costumEditMode"
3251
- ],
3252
- "type": "object"
3253
- },
3254
- "common261": {
3255
- "contextId": {
3256
- "pattern": "^[a-f0-9]{24}$",
3257
- "type": "string"
3258
- },
3259
- "contextType": {
3260
- "enum": [
3261
- "projects",
3262
- "organizations"
3263
- ],
3264
- "type": "string"
3265
- },
3266
- "costumEditMode": {
3267
- "default": false,
3268
- "type": "boolean"
3269
- },
3270
- "costumId": {
3271
- "pattern": "^[a-f0-9]{24}$",
3272
- "type": "string"
3273
- },
3274
- "costumSlug": {
3275
- "type": "string"
3276
- },
3277
- "costumType": {
3278
- "enum": [
3279
- "projects",
3280
- "organizations"
3281
- ],
3282
- "type": "string"
3283
- },
3284
- "count": {
3285
- "const": true,
3286
- "default": true,
3287
- "type": "boolean"
3288
- },
3289
- "countType": {
3290
- "items": {
3291
- "enum": [
3292
- "NGO",
3293
- "LocalBusiness",
3294
- "Group",
3295
- "GovernmentOrganization",
3296
- "Cooperative",
3297
- "organizations",
3298
- "projects",
3299
- "events",
3300
- "citoyens",
3301
- "poi",
3302
- "answers",
3303
- "forms",
3304
- "classifieds"
3305
- ],
3306
- "type": "string"
3307
- },
3308
- "type": "array"
3309
- },
3310
- "fediverse": {
3311
- "default": false,
3312
- "type": "boolean"
3313
- },
3314
- "fields": {
3315
- "items": {
3316
- "type": "string"
3317
- },
3318
- "type": "array"
3319
- },
3320
- "filters": {
3321
- "default": "",
3322
- "oneOf": [
3323
- {
3324
- "additionalProperties": true,
3325
- "type": "object"
3326
- },
3327
- {
3328
- "const": "",
3329
- "type": "string"
3330
- }
3331
- ]
3332
- },
3333
- "indexMax": {
3334
- "type": "number"
3335
- },
3336
- "indexMin": {
3337
- "default": 0,
3338
- "type": "number"
3339
- },
3340
- "indexStep": {
3341
- "default": 30,
3342
- "type": "number"
3343
- },
3344
- "initType": {
3345
- "const": "",
3346
- "default": "",
3347
- "type": "string"
3348
- },
3349
- "locality": {
3350
- "oneOf": [
3351
- {
3352
- "additionalProperties": false,
3353
- "patternProperties": {
3354
- "^[^\\s]+$": {
3355
- "additionalProperties": false,
3356
- "properties": {
3357
- "countryCode": {
3358
- "type": "string"
3359
- },
3360
- "id": {
3361
- "type": "string"
3362
- },
3363
- "level": {
3364
- "type": [
3365
- "string",
3366
- "number"
3367
- ]
3368
- },
3369
- "name": {
3370
- "type": "string"
3371
- },
3372
- "postalCode": {
3373
- "type": "string"
3374
- },
3375
- "type": {
3376
- "enum": [
3377
- "cities",
3378
- "cp",
3379
- "country",
3380
- "level1",
3381
- "level2",
3382
- "level3",
3383
- "level4",
3384
- "level5"
3385
- ],
3386
- "type": "string"
3387
- }
3388
- },
3389
- "required": [
3390
- "id",
3391
- "type"
3392
- ],
3393
- "type": "object"
3394
- }
3395
- },
3396
- "type": "object"
3397
- },
3398
- {
3399
- "items": {
3400
- "additionalProperties": false,
3401
- "properties": {
3402
- "countryCode": {
3403
- "type": "string"
3404
- },
3405
- "id": {
3406
- "type": "string"
3407
- },
3408
- "level": {
3409
- "type": [
3410
- "string",
3411
- "number"
3412
- ]
3413
- },
3414
- "name": {
3415
- "type": "string"
3416
- },
3417
- "postalCode": {
3418
- "type": "string"
3419
- },
3420
- "type": {
3421
- "enum": [
3422
- "cities",
3423
- "cp",
3424
- "country",
3425
- "level1",
3426
- "level2",
3427
- "level3",
3428
- "level4",
3429
- "level5"
3430
- ],
3431
- "type": "string"
3432
- }
3433
- },
3434
- "required": [
3435
- "id",
3436
- "type"
3437
- ],
3438
- "type": "object"
3439
- },
3440
- "type": "array"
3441
- },
3442
- {
3443
- "const": "",
3444
- "type": "string"
3445
- }
3446
- ]
3447
- },
3448
- "mapUsed": {
3449
- "const": true,
3450
- "type": "boolean"
3451
- },
3452
- "mode": {
3453
- "type": "string"
3454
- },
3455
- "name": {
3456
- "type": "string"
3457
- },
3458
- "notSourceKey": {
3459
- "const": true,
3460
- "type": "boolean"
3461
- },
3462
- "options": {
3463
- "additionalProperties": true,
3464
- "properties": {
3465
- "tags": {
3466
- "additionalProperties": true,
3467
- "properties": {
3468
- "verb": {
3469
- "type": "string"
3470
- }
3471
- },
3472
- "type": "object"
3473
- }
3474
- },
3475
- "type": "object"
3476
- },
3477
- "ranges": {
3478
- "additionalProperties": false,
3479
- "patternProperties": {
3480
- "^[^\\s]+$": {
3481
- "additionalProperties": false,
3482
- "properties": {
3483
- "indexMax": {
3484
- "type": "number"
3485
- },
3486
- "indexMin": {
3487
- "type": "number"
3488
- }
3489
- },
3490
- "required": [
3491
- "indexMin",
3492
- "indexMax"
3493
- ],
3494
- "type": "object"
3495
- }
3496
- },
3497
- "type": "object"
3498
- },
3499
- "searchBy": {
3500
- "anyOf": [
3501
- {
3502
- "type": "string"
3503
- },
3504
- {
3505
- "items": {
3506
- "type": "string"
3507
- },
3508
- "minItems": 1,
3509
- "type": "array"
3510
- }
3511
- ]
3512
- },
3513
- "searchTags": {
3514
- "items": {
3515
- "type": "string"
3516
- },
3517
- "type": "array"
3518
- },
3519
- "searchType": {
3520
- "items": {
3521
- "enum": [
3522
- "NGO",
3523
- "LocalBusiness",
3524
- "Group",
3525
- "GovernmentOrganization",
3526
- "Cooperative",
3527
- "organizations",
3528
- "projects",
3529
- "events",
3530
- "citoyens",
3531
- "poi",
3532
- "answers",
3533
- "forms",
3534
- "classifieds"
3535
- ],
3536
- "type": "string"
3537
- },
3538
- "type": "array"
3539
- },
3540
- "sortBy": {
3541
- "additionalProperties": {
3542
- "enum": [
3543
- 1,
3544
- -1
3545
- ],
3546
- "type": "integer"
3547
- },
3548
- "type": "object"
3549
- },
3550
- "sourceKey": {
3551
- "items": {
3552
- "type": "string"
3553
- },
3554
- "type": "array"
3555
- }
3556
- },
3557
- "common262": {
3558
- "enum": [
3559
- "projects",
3560
- "organizations"
3561
- ],
3562
- "type": "string"
3563
- },
3564
- "common263": {
3565
- "items": {
3566
- "enum": [
3567
- "NGO",
3568
- "LocalBusiness",
3569
- "Group",
3570
- "GovernmentOrganization",
3571
- "Cooperative",
3572
- "organizations",
3573
- "projects",
3574
- "events",
3575
- "citoyens",
3576
- "poi",
3577
- "answers",
3578
- "forms",
3579
- "classifieds"
3580
- ],
3581
- "type": "string"
3582
- },
3583
- "type": "array"
3584
- },
3585
- "common264": {
3586
- "enum": [
3587
- "NGO",
3588
- "LocalBusiness",
3589
- "Group",
3590
- "GovernmentOrganization",
3591
- "Cooperative",
3592
- "organizations",
3593
- "projects",
3594
- "events",
3595
- "citoyens",
3596
- "poi",
3597
- "answers",
3598
- "forms",
3599
- "classifieds"
3600
- ],
3601
- "type": "string"
3602
- },
3603
- "common265": {
3604
- "default": "",
3605
- "oneOf": [
3606
- {
3607
- "additionalProperties": true,
3608
- "type": "object"
3609
- },
3610
- {
3611
- "const": "",
3612
- "type": "string"
3613
- }
3614
- ]
3615
- },
3616
- "common266": {
3617
- "oneOf": [
3618
- {
3619
- "additionalProperties": false,
3620
- "patternProperties": {
3621
- "^[^\\s]+$": {
3622
- "additionalProperties": false,
3623
- "properties": {
3624
- "countryCode": {
3625
- "type": "string"
3626
- },
3627
- "id": {
3628
- "type": "string"
3629
- },
3630
- "level": {
3631
- "type": [
3632
- "string",
3633
- "number"
3634
- ]
3635
- },
3636
- "name": {
3637
- "type": "string"
3638
- },
3639
- "postalCode": {
3640
- "type": "string"
3641
- },
3642
- "type": {
3643
- "enum": [
3644
- "cities",
3645
- "cp",
3646
- "country",
3647
- "level1",
3648
- "level2",
3649
- "level3",
3650
- "level4",
3651
- "level5"
3652
- ],
3653
- "type": "string"
3654
- }
3655
- },
3656
- "required": [
3657
- "id",
3658
- "type"
3659
- ],
3660
- "type": "object"
3661
- }
3662
- },
3663
- "type": "object"
3664
- },
3665
- {
3666
- "items": {
3667
- "additionalProperties": false,
3668
- "properties": {
3669
- "countryCode": {
3670
- "type": "string"
3671
- },
3672
- "id": {
3673
- "type": "string"
3674
- },
3675
- "level": {
3676
- "type": [
3677
- "string",
3678
- "number"
3679
- ]
3680
- },
3681
- "name": {
3682
- "type": "string"
3683
- },
3684
- "postalCode": {
3685
- "type": "string"
3686
- },
3687
- "type": {
3688
- "enum": [
3689
- "cities",
3690
- "cp",
3691
- "country",
3692
- "level1",
3693
- "level2",
3694
- "level3",
3695
- "level4",
3696
- "level5"
3697
- ],
3698
- "type": "string"
3699
- }
3700
- },
3701
- "required": [
3702
- "id",
3703
- "type"
3704
- ],
3705
- "type": "object"
3706
- },
3707
- "type": "array"
3708
- },
3709
- {
3710
- "const": "",
3711
- "type": "string"
3712
- }
3713
- ]
3714
- },
3715
- "common267": {
3716
- "additionalProperties": false,
3717
- "patternProperties": {
3718
- "^[^\\s]+$": {
3719
- "additionalProperties": false,
3720
- "properties": {
3721
- "countryCode": {
3722
- "type": "string"
3723
- },
3724
- "id": {
3725
- "type": "string"
3726
- },
3727
- "level": {
3728
- "type": [
3729
- "string",
3730
- "number"
3731
- ]
3732
- },
3733
- "name": {
3734
- "type": "string"
3735
- },
3736
- "postalCode": {
3737
- "type": "string"
3738
- },
3739
- "type": {
3740
- "enum": [
3741
- "cities",
3742
- "cp",
3743
- "country",
3744
- "level1",
3745
- "level2",
3746
- "level3",
3747
- "level4",
3748
- "level5"
3749
- ],
3750
- "type": "string"
3751
- }
3752
- },
3753
- "required": [
3754
- "id",
3755
- "type"
3756
- ],
3757
- "type": "object"
3758
- }
3759
- },
3760
- "type": "object"
3761
- },
3762
- "common268": {
3763
- "^[^\\s]+$": {
3764
- "additionalProperties": false,
3765
- "properties": {
3766
- "countryCode": {
3767
- "type": "string"
3768
- },
3769
- "id": {
3770
- "type": "string"
3771
- },
3772
- "level": {
3773
- "type": [
3774
- "string",
3775
- "number"
3776
- ]
3777
- },
3778
- "name": {
3779
- "type": "string"
3780
- },
3781
- "postalCode": {
3782
- "type": "string"
3783
- },
3784
- "type": {
3785
- "enum": [
3786
- "cities",
3787
- "cp",
3788
- "country",
3789
- "level1",
3790
- "level2",
3791
- "level3",
3792
- "level4",
3793
- "level5"
3794
- ],
3795
- "type": "string"
3796
- }
3797
- },
3798
- "required": [
3799
- "id",
3800
- "type"
3801
- ],
3802
- "type": "object"
3803
- }
3804
- },
3805
- "common269": {
3806
- "additionalProperties": false,
3807
- "properties": {
3808
- "countryCode": {
3809
- "type": "string"
3810
- },
3811
- "id": {
3812
- "type": "string"
3813
- },
3814
- "level": {
3815
- "type": [
3816
- "string",
3817
- "number"
3818
- ]
3819
- },
3820
- "name": {
3821
- "type": "string"
3822
- },
3823
- "postalCode": {
3824
- "type": "string"
3825
- },
3826
- "type": {
3827
- "enum": [
3828
- "cities",
3829
- "cp",
3830
- "country",
3831
- "level1",
3832
- "level2",
3833
- "level3",
3834
- "level4",
3835
- "level5"
3836
- ],
3837
- "type": "string"
3838
- }
3839
- },
3840
- "required": [
3841
- "id",
3842
- "type"
3843
- ],
3844
- "type": "object"
3845
- },
3846
- "common270": {
3847
- "countryCode": {
3848
- "type": "string"
3849
- },
3850
- "id": {
3851
- "type": "string"
3852
- },
3853
- "level": {
3854
- "type": [
3855
- "string",
3856
- "number"
3857
- ]
3858
- },
3859
- "name": {
3860
- "type": "string"
3861
- },
3862
- "postalCode": {
3863
- "type": "string"
3864
- },
3865
- "type": {
3866
- "enum": [
3867
- "cities",
3868
- "cp",
3869
- "country",
3870
- "level1",
3871
- "level2",
3872
- "level3",
3873
- "level4",
3874
- "level5"
3875
- ],
3876
- "type": "string"
3877
- }
3878
- },
3879
- "common271": {
3880
- "enum": [
3881
- "cities",
3882
- "cp",
3883
- "country",
3884
- "level1",
3885
- "level2",
3886
- "level3",
3887
- "level4",
3888
- "level5"
3889
- ],
3890
- "type": "string"
3891
- },
3892
- "common272": {
3893
- "items": {
3894
- "additionalProperties": false,
3895
- "properties": {
3896
- "countryCode": {
3897
- "type": "string"
3898
- },
3899
- "id": {
3900
- "type": "string"
3901
- },
3902
- "level": {
3903
- "type": [
3904
- "string",
3905
- "number"
3906
- ]
3907
- },
3908
- "name": {
3909
- "type": "string"
3910
- },
3911
- "postalCode": {
3912
- "type": "string"
3913
- },
3914
- "type": {
3915
- "enum": [
3916
- "cities",
3917
- "cp",
3918
- "country",
3919
- "level1",
3920
- "level2",
3921
- "level3",
3922
- "level4",
3923
- "level5"
3924
- ],
3925
- "type": "string"
3926
- }
3927
- },
3928
- "required": [
3929
- "id",
3930
- "type"
3931
- ],
3932
- "type": "object"
3933
- },
3934
- "type": "array"
3935
- },
3936
- "common273": {
3937
- "additionalProperties": true,
3938
- "properties": {
3939
- "tags": {
3940
- "additionalProperties": true,
3941
- "properties": {
3942
- "verb": {
3943
- "type": "string"
3944
- }
3945
- },
3946
- "type": "object"
3947
- }
3948
- },
3949
- "type": "object"
3950
- },
3951
- "common274": {
3952
- "tags": {
3953
- "additionalProperties": true,
3954
- "properties": {
3955
- "verb": {
3956
- "type": "string"
3957
- }
3958
- },
3959
- "type": "object"
3960
- }
3961
- },
3962
- "common275": {
3963
- "additionalProperties": true,
3964
- "properties": {
3965
- "verb": {
3966
- "type": "string"
3967
- }
3968
- },
3969
- "type": "object"
3970
- },
3971
- "common276": {
3972
- "verb": {
3973
- "type": "string"
3974
- }
3975
- },
3976
- "common277": {
3977
- "additionalProperties": {
3978
- "enum": [
3979
- 1,
3980
- -1
3981
- ],
3982
- "type": "integer"
3983
- },
3984
- "type": "object"
3985
- },
3986
- "common278": {
3987
- "enum": [
3988
- 1,
3989
- -1
3990
- ],
3991
- "type": "integer"
3992
- },
3993
- "common279": {
3994
- "additionalProperties": false,
3995
- "properties": {
3996
- "id": {
3997
- "pattern": "^[a-f0-9]{24}$",
3998
- "type": "string"
3999
- },
4000
- "type": {
4001
- "default": "events",
4002
- "type": "string"
4003
- }
4004
- },
4005
- "required": [
4006
- "id",
4007
- "type"
4008
- ],
4009
- "type": "object"
4010
- },
4011
- "common280": {
4012
- "id": {
4013
- "pattern": "^[a-f0-9]{24}$",
4014
- "type": "string"
4015
- },
4016
- "type": {
4017
- "default": "events",
4018
- "type": "string"
4019
- }
4020
- },
4021
- "common281": {
4022
- "default": "events",
4023
- "type": "string"
4024
- },
4025
- "common282": {
4026
- "items": {
4027
- "properties": {
4028
- "id": {
4029
- "type": "string"
4030
- }
4031
- },
4032
- "required": [
4033
- "id"
4034
- ],
4035
- "type": "object"
4036
- },
4037
- "type": "array"
4038
- },
4039
- "common283": {
4040
- "properties": {
4041
- "id": {
4042
- "type": "string"
4043
- }
4044
- },
4045
- "required": [
4046
- "id"
4047
- ],
4048
- "type": "object"
4049
- },
4050
- "common284": {
4051
- "id": {
4052
- "type": "string"
4053
- }
4054
- },
4055
- "common285": {
4056
- "additionalProperties": false,
4057
- "properties": {
4058
- "contextId": {
4059
- "pattern": "^[a-f0-9]{24}$",
4060
- "type": "string"
4061
- },
4062
- "contextType": {
4063
- "enum": [
4064
- "projects",
4065
- "organizations"
4066
- ],
4067
- "type": "string"
4068
- },
4069
- "costumEditMode": {
4070
- "default": false,
4071
- "type": "boolean"
4072
- },
4073
- "costumId": {
4074
- "pattern": "^[a-f0-9]{24}$",
4075
- "type": "string"
4076
- },
4077
- "costumSlug": {
4078
- "type": "string"
4079
- },
4080
- "costumType": {
4081
- "enum": [
4082
- "projects",
4083
- "organizations"
4084
- ],
4085
- "type": "string"
4086
- },
4087
- "mode": {
4088
- "type": "string"
4089
- },
4090
- "sourceKey": {
4091
- "items": {
4092
- "type": "string"
4093
- },
4094
- "type": "array"
4095
- }
4096
- },
4097
- "type": "object"
4098
- },
4099
- "common286": {
4100
- "contextId": {
4101
- "pattern": "^[a-f0-9]{24}$",
4102
- "type": "string"
4103
- },
4104
- "contextType": {
4105
- "enum": [
4106
- "projects",
4107
- "organizations"
4108
- ],
4109
- "type": "string"
4110
- },
4111
- "costumEditMode": {
4112
- "default": false,
4113
- "type": "boolean"
4114
- },
4115
- "costumId": {
4116
- "pattern": "^[a-f0-9]{24}$",
4117
- "type": "string"
4118
- },
4119
- "costumSlug": {
4120
- "type": "string"
4121
- },
4122
- "costumType": {
4123
- "enum": [
4124
- "projects",
4125
- "organizations"
4126
- ],
4127
- "type": "string"
4128
- },
4129
- "mode": {
4130
- "type": "string"
4131
- },
4132
- "sourceKey": {
4133
- "items": {
4134
- "type": "string"
4135
- },
4136
- "type": "array"
4137
- }
4138
- },
4139
- "common287": {
4140
- "items": {
4141
- "enum": [
4142
- "answers"
4143
- ],
4144
- "type": "string"
4145
- },
4146
- "type": "array"
4147
- },
4148
- "common288": {
4149
- "enum": [
4150
- "answers"
4151
- ],
4152
- "type": "string"
4153
- },
4154
- "common289": {
4155
- "enum": [
4156
- "comments",
4157
- "news"
4158
- ],
4159
- "type": "string"
4160
- },
4161
- "common290": {
4162
- "minLength": 1,
4163
- "type": "string"
4164
- },
4165
- "common291": {
4166
- "default": "citoyens",
4167
- "enum": [
4168
- "citoyens",
4169
- "organizations",
4170
- "projects",
4171
- "events",
4172
- "poi"
4173
- ],
4174
- "type": "string"
4175
- },
4176
- "common292": {
4177
- "type": "array"
4178
- },
4179
- "common293": {
4180
- "additionalProperties": true,
4181
- "properties": {
4182
- "costumId": {
4183
- "type": "string"
4184
- },
4185
- "costumSlug": {
4186
- "type": "string"
4187
- },
4188
- "costumType": {
4189
- "type": "string"
4190
- },
4191
- "username": {
4192
- "type": "string"
4193
- }
4194
- },
4195
- "required": [
4196
- "username",
4197
- "costumSlug",
4198
- "costumId",
4199
- "costumType"
4200
- ],
4201
- "type": "object"
4202
- },
4203
- "common294": {
4204
- "costumId": {
4205
- "type": "string"
4206
- },
4207
- "costumSlug": {
4208
- "type": "string"
4209
- },
4210
- "costumType": {
4211
- "type": "string"
4212
- },
4213
- "username": {
4214
- "type": "string"
4215
- }
4216
- },
4217
- "common295": {
4218
- "additionalProperties": true,
4219
- "properties": {
4220
- "costumId": {
4221
- "type": "string"
4222
- },
4223
- "costumSlug": {
4224
- "type": "string"
4225
- },
4226
- "costumType": {
4227
- "type": "string"
4228
- }
4229
- },
4230
- "required": [
4231
- "costumSlug",
4232
- "costumId",
4233
- "costumType"
4234
- ],
4235
- "type": "object"
4236
- },
4237
- "common296": {
4238
- "costumId": {
4239
- "type": "string"
4240
- },
4241
- "costumSlug": {
4242
- "type": "string"
4243
- },
4244
- "costumType": {
4245
- "type": "string"
4246
- }
4247
- }
4248
- };
4249
-
4250
- // Endpoints avec intégration des définitions communes
4251
- const endpoints = {"endpoints":[{"auth":"bearer","constant":"DOCUMENT_LIST","contentType":"application/json","method":"GET","path":"/co2/document/list/id/{id}/type/{type}/tpl/json","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"poi","enum":["citoyens","organizations","projects","events","poi"],"type":"string"}},"required":["id","type"],"type":"object"}},{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common2,"email":common.common3,"isInvitation":common.common4,"mode":common.common2,"name":common.common2,"pendingUserId":common.common2,"pwd":common.common2,"username":common.common2},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common3,"password":common.common2},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common2},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common3,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common5},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common2,"newPassword2":common.common2,"oldPassword":common.common2,"scope":{"default":"","type":["string"]},"userId":common.common6},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common7,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common9},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common1}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common6}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common2,"type":common.common2,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common11,"description":common.common2,"id":common.common2,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common2,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common3,"emailNullable":common.common30,"name":common.common2,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common6,"mobile":common.common46,"name":common.common47,"scope":common.common11,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"parent":common.common56,"scope":common.common11,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common11,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common5]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common2,"instagram":common.common69,"mastodon":common.common69,"scope":common.common11,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":common.common79,"geoPosition":{"oneOf":[common.common31,common.common84]},"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"slug":common.common93,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"block":common.common45,"id":common.common2,"slug":common.common93,"type":common.common19},"required":["block","type","id","slug"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common96,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common96,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common87,"cropW":common.common87,"cropX":common.common87,"cropY":common.common87,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common1,"parentType":common.common102},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"id":common.common2,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common2},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common2,"parentType":common.common19},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"id":common.common2,"isLive":common.common111,"type":common.common70},"required":["isLive","type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common112,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common11},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common113},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"json":common.common88,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"isLive":common.common130},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"idNews":common.common1,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common126},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common136,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common138},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common11,"contextId":common.common1,"contextType":common.common138,"mentions":common.common139,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common11,"text":common.common2},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common129},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common1,"params":{"properties":{"mentions":common.common139,"text":common.common2},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common2},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common142,"type":"array"},"fediverse":common.common143,"filters":common.common144,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":{"items":common.common142,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common158,"locality":common.common144,"name":common.common2,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common130,"scopeValue":common.common2,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common159,"name":common.common2,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common162,"parent.@userId":common.common162},"links.contributors.@userId":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common162,"parent.@{pathParams.id}":common.common162},"links.contributors.@{pathParams.id}":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common162,"links.members.@userId.isInviting":common.common171,"links.members.@userId.toBeValidated":common.common171},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":true,"default":common.common179,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common111,"countType":common.common180,"fediverse":common.common130,"filters":{"additionalProperties":true,"default":common.common179,"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common11,"locality":common.common11,"name":common.common2,"notSourceKey":common.common111,"ranges":common.common152,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common180},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common162,"links.memberOf.@{pathParams.id}.isInviting":common.common171,"links.memberOf.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common162,"links.friends.@{pathParams.id}.isInviting":common.common171,"links.friends.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@userId":common.common162,"links.followers.@{userId}.isInviting":common.common171,"links.followers.@{userId}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@{pathParams.id}":common.common162,"links.followers.@{pathParams.id}.isInviting":common.common171,"links.followers.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@userId":common.common162,"links.follows.@{userId}.isInviting":common.common171,"links.follows.@{userId}.toBeValidated":common.common171},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common94,"then":common.common90}],"properties":{"id":common.common2,"type":common.common199},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@{pathParams.id}":common.common162},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common162,"links.projects.@{pathParams.id}.isInviting":common.common171,"links.projects.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common200,"fediverse":common.common143,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"isParcours":common.common4,"preferences.private":common.common143},"required":["preferences.private"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common200},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common202,"fediverse":common.common143,"fields":common.common200,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common207,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common207}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common206}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common204}}],"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common211,"GovernmentOrganization":common.common211,"Group":common.common211,"LocalBusiness":common.common211,"NGO":common.common211,"citoyens":common.common211,"projects":common.common211},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common154},"type":"object"},"searchType":common.common202},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common107,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common212,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common107,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common212,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common7},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common87},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common144},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common206,"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common74,"collection":{"const":"organizations","default":"organizations","type":"string"},"description":common.common2,"email":common.common3,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common2,"name":common.common2,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common2,"name":common.common225,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common230,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common144,"shortDescription":common.common2,"socialNetwork":{"additionalProperties":common.common2,"type":"object"},"tags":common.common233,"telephone":common.common2,"thematic":common.common33,"type":common.common66,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common74,"collection":common.common234,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"project","default":"project","type":"string"},"name":common.common2,"parent":common.common235,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common111,"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"scope":common.common144,"shortDescription":common.common2,"tags":common.common233,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common74,"collection":common.common238,"description":common.common2,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":common.common238,"name":common.common2,"parent":common.common235,"scope":common.common144,"source":{"additionalProperties":true,"properties":{"insertOrign":common.common2,"key":common.common2,"keys":common.common33},"type":"object"},"tags":common.common233,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common174}},"properties":{"address":common.common74,"collection":common.common239,"email":common.common30,"endDate":common.common240,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"default":[],"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common235,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"recurrency":common.common130,"scope":common.common144,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common240,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common2,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common2},"required":["type","id"],"type":"object"},"request":common.common9},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common2,"qqtotalfilesize":common.common241,"qquuid":common.common1},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common6,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common2,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"indexMin":common.common112},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common241},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common88},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common129},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common2},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common2,"name":common.common2,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common5},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common1},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common129},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common245,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common2},"required":["narrative"],"type":"object"},"description":common.common2,"id":common.common1,"isParcours":common.common130,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common2,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common246,"name":common.common2,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common2,"type":common.common245},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common230,"public":common.common111,"scope":common.common144,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common1,"collection":common.common245,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common2,"url":common.common5},"required":["narative"],"type":"object"},"type":"array"},"key":common.common246,"narative":common.common2,"scope":common.common144},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common130,"countType":common.common247,"endDateUTC":common.common240,"fediverse":common.common130,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common162,"organizer.@userId":common.common162},"links.attendees.@userId":common.common162},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common112,"indexStep":common.common248,"locality":common.common249,"name":common.common2,"recurrency":common.common209,"searchType":common.common252,"startDateUTC":common.common240,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"none","constant":"SEARCH_EVENTS_COSTUM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"category":common.common2,"contextId":common.common2,"contextType":common.common2,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"count":common.common130,"countType":common.common247,"endDateUTC":common.common240,"fediverse":common.common130,"filters":common.common254,"indexMin":common.common112,"indexStep":common.common248,"links":{"items":{"properties":{"id":common.common2,"type":common.common2},"required":["type","id"],"type":"object"},"type":"array"},"locality":common.common249,"name":common.common2,"recurrency":common.common209,"searchTags":common.common33,"searchType":common.common252,"section":{"anyOf":[common.common2,common.common33]},"sourceKey":common.common33,"startDateUTC":common.common240,"subType":common.common2,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common239},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common136,"type":"object"}},{"auth":"bearer","constant":"INVITE_MEMBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common255,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"isAdmin":common.common259,"mail":common.common3,"msg":common.common2,"name":common.common2,"roles":common.common33},"required":["name","mail"],"type":"object"}},"type":"object"},"organizations":common.common255,"projects":common.common255},"type":"object"},"parentId":common.common2,"parentType":common.common19},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common218,"childType":common.common219,"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common2}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common260},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common260},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"mode":common.common2,"parent_only":common.common4,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common2},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"date":{"oneOf":[common.common2,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common4,"mode":common.common2,"regions":common.common282,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common2,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"id":common.common1,"mode":common.common2,"sourceKey":common.common33,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common279,"request":common.common285},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"mode":common.common2,"regions":common.common282,"sourceKey":common.common33,"tags":common.common33,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common279,"request":common.common285},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"event":common.common2,"mode":common.common2,"sourceKey":common.common33,"tl":common.common2},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"event":common.common1,"mode":common.common2,"search":common.common2,"sourceKey":common.common33},"required":["event"],"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common2,"type":common.common199},"required":["id","type","docType"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common2,"folderId":common.common2},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common162,"links.events.@{pathParams.id}.isInviting":common.common171,"links.events.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"count":common.common88,"countType":common.common287,"fediverse":common.common130,"fields":common.common33,"filters":common.common265,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"mapUsed":common.common206,"mode":common.common2,"name":common.common2,"notSourceKey":common.common206,"options":common.common273,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":common.common287,"sortBy":common.common277,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common2,"fields":common.common33,"finderPath":common.common11,"formId":common.common2},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"elementId":common.common1,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common1},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common1,"qqfile":common.common254,"qqfilename":common.common2,"qqtotalfilesize":common.common87,"qquuid":common.common2,"subKey":common.common2},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common2},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common1,"inputKeys":common.common2},"required":["formId","inputKeys"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common2,"answerId":common.common1,"answers":common.common2,"formId":common.common1,"links":common.common2},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"stepKey":common.common2},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common2,"formId":common.common1,"inputKey":common.common2},"required":["formId","inputKey","criteriaIds"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common289,"details":{"additionalProperties":false,"properties":{"status":common.common2},"required":["status"],"type":"object"},"id":common.common1},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common289,"details":{"additionalProperties":false,"properties":{"comment":common.common2,"reason":common.common2},"required":["reason"],"type":"object"},"id":common.common1},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common2}}}],"properties":{"arrayForm":common.common4,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common4,"formParentId":common.common1,"id":common.common6,"path":common.common2,"pull":common.common2,"setType":{"anyOf":[common.common290,{"items":{"additionalProperties":false,"properties":{"path":common.common2,"type":common.common2},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common4,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common6,"contextType":common.common291},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common1,"parentId":common.common6,"parentType":common.common291,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common129},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common1,"childType":common.common189,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common143,"parentId":common.common1,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"searchedData":common.common254},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"count":common.common130,"fediverse":common.common130,"fields":common.common33,"filters":{"oneOf":[common.common254,common.common31]},"indexMin":common.common145,"indexStep":{"default":10000,"type":"number"},"initType":common.common11,"locality":{"oneOf":[common.common254,{"items":common.common254,"type":"array"},common.common31]},"notSourceKey":common.common111,"params":{"additionalProperties":false,"properties":{"finderPath":common.common2,"thematicPath":common.common2},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common2,"type":"array"},"sortBy":common.common277,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common4]},"costumId":common.common1,"costumSlug":common.common2,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"countryCode":common.common292,"level":common.common292,"sortBy":common.common2,"upperLevelId":common.common2},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common2},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common1},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common2},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common2,"answer":common.common1,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common2,"financerId":common.common1,"financerType":common.common2,"formId":common.common1,"params":common.common254,"project":common.common1},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common1,"project":common.common1},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common1,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common240,"idParentRoom":common.common1,"importance":{"default":"low","type":"string"},"is_contributor":common.common4,"max":common.common158,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common240,"milestoneId":common.common1,"startDate":common.common240},"required":["milestoneId"],"type":"object"},"min":common.common158,"name":common.common2,"parentId":common.common1,"parentType":common.common234,"startDate":common.common240,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common158,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common1,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common1},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common2,"id":common.common1,"startDate":common.common2},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common1,"contributor":common.common1,"contributors":common.common113,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common129},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common129},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common293},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common295},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common293},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common295},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common295},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common293},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common295},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"limit":common.common241,"username":common.common2},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common2,"addressLocality":common.common2,"codeInsee":common.common2,"level1":common.common2,"level1Name":common.common2,"level2":common.common2,"level2Name":common.common2,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common2,"postalCode":common.common2,"streetAddress":common.common2},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"description":common.common2,"geo":common.common80,"geoPosition":common.common84,"id":common.common1,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common225,"parent":common.common235,"preferences":common.common230,"scope":common.common144,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common290,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}},{"auth":"none","constant":"PERSON_ACTIVATE","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/activate","request":{"properties":{"user":common.common2,"validationKey":common.common2},"required":["user","validationKey"],"type":"object"}}]};
4252
-
4253
- export default endpoints;