@communecter/cocolight-api-client 1.0.90 → 1.0.92

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.
@@ -191,10 +191,22 @@ const common = {
191
191
  "type": "string"
192
192
  },
193
193
  "common30": {
194
+ "anyOf": [
195
+ {
196
+ "format": "email",
197
+ "type": "string"
198
+ },
199
+ {
200
+ "const": "",
201
+ "type": "string"
202
+ }
203
+ ]
204
+ },
205
+ "common31": {
194
206
  "const": "",
195
207
  "type": "string"
196
208
  },
197
- "common31": {
209
+ "common32": {
198
210
  "anyOf": [
199
211
  {
200
212
  "items": {
@@ -210,19 +222,19 @@ const common = {
210
222
  }
211
223
  ]
212
224
  },
213
- "common32": {
225
+ "common33": {
214
226
  "items": {
215
227
  "type": "string"
216
228
  },
217
229
  "type": "array"
218
230
  },
219
- "common33": {
231
+ "common34": {
220
232
  "enum": [
221
233
  ""
222
234
  ],
223
235
  "type": "string"
224
236
  },
225
- "common34": {
237
+ "common35": {
226
238
  "anyOf": [
227
239
  {
228
240
  "format": "uri",
@@ -234,7 +246,7 @@ const common = {
234
246
  }
235
247
  ]
236
248
  },
237
- "common35": {
249
+ "common36": {
238
250
  "properties": {
239
251
  "name": {
240
252
  "not": {
@@ -246,14 +258,14 @@ const common = {
246
258
  "name"
247
259
  ]
248
260
  },
249
- "common36": {
261
+ "common37": {
250
262
  "name": {
251
263
  "not": {
252
264
  "type": "null"
253
265
  }
254
266
  }
255
267
  },
256
- "common37": {
268
+ "common38": {
257
269
  "properties": {
258
270
  "url": {
259
271
  "not": {
@@ -265,14 +277,14 @@ const common = {
265
277
  "url"
266
278
  ]
267
279
  },
268
- "common38": {
280
+ "common39": {
269
281
  "url": {
270
282
  "not": {
271
283
  "type": "null"
272
284
  }
273
285
  }
274
286
  },
275
- "common39": {
287
+ "common40": {
276
288
  "properties": {
277
289
  "tags": {
278
290
  "not": {
@@ -284,14 +296,14 @@ const common = {
284
296
  "tags"
285
297
  ]
286
298
  },
287
- "common40": {
299
+ "common41": {
288
300
  "tags": {
289
301
  "not": {
290
302
  "type": "null"
291
303
  }
292
304
  }
293
305
  },
294
- "common41": {
306
+ "common42": {
295
307
  "properties": {
296
308
  "email": {
297
309
  "not": {
@@ -303,39 +315,50 @@ const common = {
303
315
  "email"
304
316
  ]
305
317
  },
306
- "common42": {
318
+ "common43": {
307
319
  "email": {
308
320
  "not": {
309
321
  "type": "null"
310
322
  }
311
323
  }
312
324
  },
313
- "common43": {
325
+ "common44": {
314
326
  "format": "date",
315
327
  "type": "string"
316
328
  },
317
- "common44": {
329
+ "common45": {
318
330
  "const": "info",
319
331
  "default": "info",
320
332
  "type": "string"
321
333
  },
322
- "common45": {
334
+ "common46": {
335
+ "anyOf": [
336
+ {
337
+ "type": "string"
338
+ },
339
+ {
340
+ "const": "",
341
+ "type": "string"
342
+ }
343
+ ]
344
+ },
345
+ "common47": {
323
346
  "$ref": "#/$defs/sharedFields/name"
324
347
  },
325
- "common46": {
348
+ "common48": {
326
349
  "$ref": "#/$defs/sharedFields/tags"
327
350
  },
328
- "common47": {
351
+ "common49": {
329
352
  "default": "citoyens",
330
353
  "enum": [
331
354
  "citoyens"
332
355
  ],
333
356
  "type": "string"
334
357
  },
335
- "common48": {
358
+ "common50": {
336
359
  "$ref": "#/$defs/sharedFields/url"
337
360
  },
338
- "common49": {
361
+ "common51": {
339
362
  "properties": {
340
363
  "avancement": {
341
364
  "not": {
@@ -347,14 +370,14 @@ const common = {
347
370
  "avancement"
348
371
  ]
349
372
  },
350
- "common50": {
373
+ "common52": {
351
374
  "avancement": {
352
375
  "not": {
353
376
  "type": "null"
354
377
  }
355
378
  }
356
379
  },
357
- "common51": {
380
+ "common53": {
358
381
  "properties": {
359
382
  "parent": {
360
383
  "not": {
@@ -366,17 +389,17 @@ const common = {
366
389
  "parent"
367
390
  ]
368
391
  },
369
- "common52": {
392
+ "common54": {
370
393
  "parent": {
371
394
  "not": {
372
395
  "type": "null"
373
396
  }
374
397
  }
375
398
  },
376
- "common53": {
399
+ "common55": {
377
400
  "$ref": "#/$defs/sharedFields/emailNullable"
378
401
  },
379
- "common54": {
402
+ "common56": {
380
403
  "additionalProperties": false,
381
404
  "patternProperties": {
382
405
  "^[a-fA-F0-9]{24}$": {
@@ -398,7 +421,7 @@ const common = {
398
421
  },
399
422
  "type": "object"
400
423
  },
401
- "common55": {
424
+ "common57": {
402
425
  "^[a-fA-F0-9]{24}$": {
403
426
  "additionalProperties": false,
404
427
  "properties": {
@@ -416,7 +439,7 @@ const common = {
416
439
  "type": "object"
417
440
  }
418
441
  },
419
- "common56": {
442
+ "common58": {
420
443
  "additionalProperties": false,
421
444
  "properties": {
422
445
  "name": {
@@ -432,7 +455,7 @@ const common = {
432
455
  ],
433
456
  "type": "object"
434
457
  },
435
- "common57": {
458
+ "common59": {
436
459
  "name": {
437
460
  "type": "string"
438
461
  },
@@ -440,7 +463,7 @@ const common = {
440
463
  "type": "string"
441
464
  }
442
465
  },
443
- "common58": {
466
+ "common60": {
444
467
  "properties": {
445
468
  "type": {
446
469
  "not": {
@@ -452,14 +475,14 @@ const common = {
452
475
  "type"
453
476
  ]
454
477
  },
455
- "common59": {
478
+ "common61": {
456
479
  "type": {
457
480
  "not": {
458
481
  "type": "null"
459
482
  }
460
483
  }
461
484
  },
462
- "common60": {
485
+ "common62": {
463
486
  "additionalProperties": false,
464
487
  "patternProperties": {
465
488
  "^(?:[a-f0-9]{24}|@userId)$": {
@@ -480,7 +503,7 @@ const common = {
480
503
  },
481
504
  "type": "object"
482
505
  },
483
- "common61": {
506
+ "common63": {
484
507
  "^(?:[a-f0-9]{24}|@userId)$": {
485
508
  "additionalProperties": false,
486
509
  "properties": {
@@ -497,7 +520,7 @@ const common = {
497
520
  "type": "object"
498
521
  }
499
522
  },
500
- "common62": {
523
+ "common64": {
501
524
  "additionalProperties": false,
502
525
  "properties": {
503
526
  "name": {
@@ -512,7 +535,7 @@ const common = {
512
535
  ],
513
536
  "type": "object"
514
537
  },
515
- "common63": {
538
+ "common65": {
516
539
  "enum": [
517
540
  "workshop",
518
541
  "competition",
@@ -537,7 +560,7 @@ const common = {
537
560
  ],
538
561
  "type": "string"
539
562
  },
540
- "common64": {
563
+ "common66": {
541
564
  "enum": [
542
565
  "NGO",
543
566
  "LocalBusiness",
@@ -547,7 +570,7 @@ const common = {
547
570
  ],
548
571
  "type": "string"
549
572
  },
550
- "common65": {
573
+ "common67": {
551
574
  "enum": [
552
575
  "link",
553
576
  "tool",
@@ -576,16 +599,16 @@ const common = {
576
599
  ],
577
600
  "type": "string"
578
601
  },
579
- "common66": {
602
+ "common68": {
580
603
  "enum": [
581
604
  "poi"
582
605
  ],
583
606
  "type": "string"
584
607
  },
585
- "common67": {
608
+ "common69": {
586
609
  "$ref": "#/$defs/socialField"
587
610
  },
588
- "common68": {
611
+ "common70": {
589
612
  "default": "citoyens",
590
613
  "enum": [
591
614
  "citoyens",
@@ -594,22 +617,89 @@ const common = {
594
617
  ],
595
618
  "type": "string"
596
619
  },
597
- "common69": {
620
+ "common71": {
598
621
  "properties": {
599
622
  "id": {
600
623
  "pattern": "^[a-f0-9]{24}$"
601
624
  }
602
625
  }
603
626
  },
604
- "common70": {
627
+ "common72": {
605
628
  "id": {
606
629
  "pattern": "^[a-f0-9]{24}$"
607
630
  }
608
631
  },
609
- "common71": {
632
+ "common73": {
610
633
  "pattern": "^[a-f0-9]{24}$"
611
634
  },
612
- "common72": {
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": {
613
703
  "additionalProperties": false,
614
704
  "properties": {
615
705
  "@type": {
@@ -668,7 +758,7 @@ const common = {
668
758
  ],
669
759
  "type": "object"
670
760
  },
671
- "common73": {
761
+ "common76": {
672
762
  "@type": {
673
763
  "const": "PostalAddress",
674
764
  "type": "string"
@@ -714,15 +804,15 @@ const common = {
714
804
  "type": "string"
715
805
  }
716
806
  },
717
- "common74": {
807
+ "common77": {
718
808
  "const": "PostalAddress",
719
809
  "type": "string"
720
810
  },
721
- "common75": {
811
+ "common78": {
722
812
  "minLength": 0,
723
813
  "type": "string"
724
814
  },
725
- "common76": {
815
+ "common79": {
726
816
  "additionalProperties": false,
727
817
  "properties": {
728
818
  "@type": {
@@ -748,7 +838,7 @@ const common = {
748
838
  ],
749
839
  "type": "object"
750
840
  },
751
- "common77": {
841
+ "common80": {
752
842
  "@type": {
753
843
  "const": "GeoCoordinates",
754
844
  "type": "string"
@@ -766,17 +856,17 @@ const common = {
766
856
  ]
767
857
  }
768
858
  },
769
- "common78": {
859
+ "common81": {
770
860
  "const": "GeoCoordinates",
771
861
  "type": "string"
772
862
  },
773
- "common79": {
863
+ "common82": {
774
864
  "type": [
775
865
  "string",
776
866
  "number"
777
867
  ]
778
868
  },
779
- "common80": {
869
+ "common83": {
780
870
  "additionalProperties": true,
781
871
  "properties": {
782
872
  "coordinates": {
@@ -804,7 +894,7 @@ const common = {
804
894
  ],
805
895
  "type": "object"
806
896
  },
807
- "common81": {
897
+ "common84": {
808
898
  "coordinates": {
809
899
  "items": {
810
900
  "type": "number"
@@ -823,7 +913,7 @@ const common = {
823
913
  "type": "string"
824
914
  }
825
915
  },
826
- "common82": {
916
+ "common85": {
827
917
  "items": {
828
918
  "type": "number"
829
919
  },
@@ -831,19 +921,19 @@ const common = {
831
921
  "minItems": 2,
832
922
  "type": "array"
833
923
  },
834
- "common83": {
924
+ "common86": {
835
925
  "type": "number"
836
926
  },
837
- "common84": {
927
+ "common87": {
838
928
  "const": true,
839
929
  "default": true,
840
930
  "type": "boolean"
841
931
  },
842
- "common85": {
932
+ "common88": {
843
933
  "const": "Point",
844
934
  "type": "string"
845
935
  },
846
- "common86": {
936
+ "common89": {
847
937
  "properties": {
848
938
  "id": {
849
939
  "default": "@userId",
@@ -851,35 +941,35 @@ const common = {
851
941
  }
852
942
  }
853
943
  },
854
- "common87": {
944
+ "common90": {
855
945
  "id": {
856
946
  "default": "@userId",
857
947
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
858
948
  }
859
949
  },
860
- "common88": {
950
+ "common91": {
861
951
  "default": "@userId",
862
952
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
863
953
  },
864
- "common89": {
954
+ "common92": {
865
955
  "maxLength": 100,
866
956
  "minLength": 3,
867
957
  "pattern": "^[a-zA-Z0-9]+$",
868
958
  "type": "string"
869
959
  },
870
- "common90": {
960
+ "common93": {
871
961
  "properties": {
872
962
  "type": {
873
963
  "const": "citoyens"
874
964
  }
875
965
  }
876
966
  },
877
- "common91": {
967
+ "common94": {
878
968
  "type": {
879
969
  "const": "citoyens"
880
970
  }
881
971
  },
882
- "common92": {
972
+ "common95": {
883
973
  "additionalProperties": false,
884
974
  "else": {
885
975
  "properties": {
@@ -925,31 +1015,31 @@ const common = {
925
1015
  },
926
1016
  "type": "object"
927
1017
  },
928
- "common93": {
1018
+ "common96": {
929
1019
  "properties": {
930
1020
  "ownerId": {
931
1021
  "pattern": "^[a-f0-9]{24}$"
932
1022
  }
933
1023
  }
934
1024
  },
935
- "common94": {
1025
+ "common97": {
936
1026
  "ownerId": {
937
1027
  "pattern": "^[a-f0-9]{24}$"
938
1028
  }
939
1029
  },
940
- "common95": {
1030
+ "common98": {
941
1031
  "properties": {
942
1032
  "folder": {
943
1033
  "const": "citoyens"
944
1034
  }
945
1035
  }
946
1036
  },
947
- "common96": {
1037
+ "common99": {
948
1038
  "folder": {
949
1039
  "const": "citoyens"
950
1040
  }
951
1041
  },
952
- "common97": {
1042
+ "common100": {
953
1043
  "folder": {
954
1044
  "default": "citoyens",
955
1045
  "enum": [
@@ -965,7 +1055,7 @@ const common = {
965
1055
  "type": "string"
966
1056
  }
967
1057
  },
968
- "common98": {
1058
+ "common101": {
969
1059
  "default": "citoyens",
970
1060
  "enum": [
971
1061
  "citoyens",
@@ -976,7 +1066,7 @@ const common = {
976
1066
  ],
977
1067
  "type": "string"
978
1068
  },
979
- "common99": {
1069
+ "common102": {
980
1070
  "properties": {
981
1071
  "ownerId": {
982
1072
  "default": "@userId",
@@ -984,37 +1074,37 @@ const common = {
984
1074
  }
985
1075
  }
986
1076
  },
987
- "common100": {
1077
+ "common103": {
988
1078
  "ownerId": {
989
1079
  "default": "@userId",
990
1080
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
991
1081
  }
992
1082
  },
993
- "common101": {
1083
+ "common104": {
994
1084
  "properties": {
995
1085
  "parentId": {
996
1086
  "pattern": "^[a-f0-9]{24}$"
997
1087
  }
998
1088
  }
999
1089
  },
1000
- "common102": {
1090
+ "common105": {
1001
1091
  "parentId": {
1002
1092
  "pattern": "^[a-f0-9]{24}$"
1003
1093
  }
1004
1094
  },
1005
- "common103": {
1095
+ "common106": {
1006
1096
  "properties": {
1007
1097
  "parentType": {
1008
1098
  "const": "citoyens"
1009
1099
  }
1010
1100
  }
1011
1101
  },
1012
- "common104": {
1102
+ "common107": {
1013
1103
  "parentType": {
1014
1104
  "const": "citoyens"
1015
1105
  }
1016
1106
  },
1017
- "common105": {
1107
+ "common108": {
1018
1108
  "properties": {
1019
1109
  "parentId": {
1020
1110
  "default": "@userId",
@@ -1022,36 +1112,36 @@ const common = {
1022
1112
  }
1023
1113
  }
1024
1114
  },
1025
- "common106": {
1115
+ "common109": {
1026
1116
  "parentId": {
1027
1117
  "default": "@userId",
1028
1118
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1029
1119
  }
1030
1120
  },
1031
- "common107": {
1121
+ "common110": {
1032
1122
  "default": true,
1033
1123
  "type": "boolean"
1034
1124
  },
1035
- "common108": {
1125
+ "common111": {
1036
1126
  "default": 0,
1037
1127
  "type": "integer"
1038
1128
  },
1039
- "common109": {
1129
+ "common112": {
1040
1130
  "required": [
1041
1131
  "text"
1042
1132
  ]
1043
1133
  },
1044
- "common110": {
1134
+ "common113": {
1045
1135
  "required": [
1046
1136
  "mediaImg"
1047
1137
  ]
1048
1138
  },
1049
- "common111": {
1139
+ "common114": {
1050
1140
  "required": [
1051
1141
  "mediaFile"
1052
1142
  ]
1053
1143
  },
1054
- "common112": {
1144
+ "common115": {
1055
1145
  "additionalProperties": false,
1056
1146
  "properties": {
1057
1147
  "countFiles": {
@@ -1070,7 +1160,7 @@ const common = {
1070
1160
  ],
1071
1161
  "type": "object"
1072
1162
  },
1073
- "common113": {
1163
+ "common116": {
1074
1164
  "countFiles": {
1075
1165
  "type": "number"
1076
1166
  },
@@ -1081,7 +1171,7 @@ const common = {
1081
1171
  "type": "array"
1082
1172
  }
1083
1173
  },
1084
- "common114": {
1174
+ "common117": {
1085
1175
  "additionalProperties": false,
1086
1176
  "properties": {
1087
1177
  "countImages": {
@@ -1100,7 +1190,7 @@ const common = {
1100
1190
  ],
1101
1191
  "type": "object"
1102
1192
  },
1103
- "common115": {
1193
+ "common118": {
1104
1194
  "countImages": {
1105
1195
  "type": "number"
1106
1196
  },
@@ -1111,7 +1201,7 @@ const common = {
1111
1201
  "type": "array"
1112
1202
  }
1113
1203
  },
1114
- "common116": {
1204
+ "common119": {
1115
1205
  "items": {
1116
1206
  "properties": {
1117
1207
  "count": {
@@ -1147,7 +1237,7 @@ const common = {
1147
1237
  },
1148
1238
  "type": "array"
1149
1239
  },
1150
- "common117": {
1240
+ "common120": {
1151
1241
  "properties": {
1152
1242
  "count": {
1153
1243
  "minimum": 1,
@@ -1180,7 +1270,7 @@ const common = {
1180
1270
  ],
1181
1271
  "type": "object"
1182
1272
  },
1183
- "common118": {
1273
+ "common121": {
1184
1274
  "count": {
1185
1275
  "minimum": 1,
1186
1276
  "type": "integer"
@@ -1202,11 +1292,11 @@ const common = {
1202
1292
  "type": "string"
1203
1293
  }
1204
1294
  },
1205
- "common119": {
1295
+ "common122": {
1206
1296
  "minimum": 1,
1207
1297
  "type": "integer"
1208
1298
  },
1209
- "common120": {
1299
+ "common123": {
1210
1300
  "default": "public",
1211
1301
  "enum": [
1212
1302
  "public",
@@ -1215,12 +1305,12 @@ const common = {
1215
1305
  ],
1216
1306
  "type": "string"
1217
1307
  },
1218
- "common121": {
1308
+ "common124": {
1219
1309
  "const": "news",
1220
1310
  "default": "news",
1221
1311
  "type": "string"
1222
1312
  },
1223
- "common122": {
1313
+ "common125": {
1224
1314
  "additionalProperties": false,
1225
1315
  "else": {
1226
1316
  "properties": {
@@ -1264,7 +1354,7 @@ const common = {
1264
1354
  },
1265
1355
  "type": "object"
1266
1356
  },
1267
- "common123": {
1357
+ "common126": {
1268
1358
  "folder": {
1269
1359
  "default": "citoyens",
1270
1360
  "enum": [
@@ -1278,7 +1368,7 @@ const common = {
1278
1368
  "type": "string"
1279
1369
  }
1280
1370
  },
1281
- "common124": {
1371
+ "common127": {
1282
1372
  "additionalProperties": false,
1283
1373
  "properties": {
1284
1374
  "id": {
@@ -1291,40 +1381,40 @@ const common = {
1291
1381
  ],
1292
1382
  "type": "object"
1293
1383
  },
1294
- "common125": {
1384
+ "common128": {
1295
1385
  "default": false,
1296
1386
  "type": "boolean"
1297
1387
  },
1298
- "common126": {
1388
+ "common129": {
1299
1389
  "properties": {
1300
1390
  "childId": {
1301
1391
  "pattern": "^[a-f0-9]{24}$"
1302
1392
  }
1303
1393
  }
1304
1394
  },
1305
- "common127": {
1395
+ "common130": {
1306
1396
  "childId": {
1307
1397
  "pattern": "^[a-f0-9]{24}$"
1308
1398
  }
1309
1399
  },
1310
- "common128": {
1400
+ "common131": {
1311
1401
  "properties": {
1312
1402
  "childType": {
1313
1403
  "const": "citoyens"
1314
1404
  }
1315
1405
  }
1316
1406
  },
1317
- "common129": {
1407
+ "common132": {
1318
1408
  "childType": {
1319
1409
  "const": "citoyens"
1320
1410
  }
1321
1411
  },
1322
- "common130": {
1412
+ "common133": {
1323
1413
  "const": "share",
1324
1414
  "default": "share",
1325
1415
  "type": "string"
1326
1416
  },
1327
- "common131": {
1417
+ "common134": {
1328
1418
  "properties": {
1329
1419
  "childId": {
1330
1420
  "default": "@userId",
@@ -1332,20 +1422,20 @@ const common = {
1332
1422
  }
1333
1423
  }
1334
1424
  },
1335
- "common132": {
1425
+ "common135": {
1336
1426
  "childId": {
1337
1427
  "default": "@userId",
1338
1428
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1339
1429
  }
1340
1430
  },
1341
- "common133": {
1431
+ "common136": {
1342
1432
  "default": "news",
1343
1433
  "enum": [
1344
1434
  "news"
1345
1435
  ],
1346
1436
  "type": "string"
1347
1437
  },
1348
- "common134": {
1438
+ "common137": {
1349
1439
  "items": {
1350
1440
  "additionalProperties": false,
1351
1441
  "properties": {
@@ -1381,7 +1471,7 @@ const common = {
1381
1471
  },
1382
1472
  "type": "array"
1383
1473
  },
1384
- "common135": {
1474
+ "common138": {
1385
1475
  "additionalProperties": false,
1386
1476
  "properties": {
1387
1477
  "count": {
@@ -1414,7 +1504,7 @@ const common = {
1414
1504
  ],
1415
1505
  "type": "object"
1416
1506
  },
1417
- "common136": {
1507
+ "common139": {
1418
1508
  "count": {
1419
1509
  "type": "number"
1420
1510
  },
@@ -1435,7 +1525,7 @@ const common = {
1435
1525
  "type": "string"
1436
1526
  }
1437
1527
  },
1438
- "common137": {
1528
+ "common140": {
1439
1529
  "enum": [
1440
1530
  "NGO",
1441
1531
  "LocalBusiness",
@@ -1448,25 +1538,25 @@ const common = {
1448
1538
  ],
1449
1539
  "type": "string"
1450
1540
  },
1451
- "common138": {
1541
+ "common141": {
1452
1542
  "const": false,
1453
1543
  "default": false,
1454
1544
  "type": "boolean"
1455
1545
  },
1456
- "common139": {
1546
+ "common142": {
1457
1547
  "const": "",
1458
1548
  "default": "",
1459
1549
  "type": "string"
1460
1550
  },
1461
- "common140": {
1551
+ "common143": {
1462
1552
  "default": 0,
1463
1553
  "type": "number"
1464
1554
  },
1465
- "common141": {
1555
+ "common144": {
1466
1556
  "default": 30,
1467
1557
  "type": "number"
1468
1558
  },
1469
- "common142": {
1559
+ "common145": {
1470
1560
  "additionalProperties": false,
1471
1561
  "patternProperties": {
1472
1562
  "^[^\\s]+$": {
@@ -1492,7 +1582,7 @@ const common = {
1492
1582
  },
1493
1583
  "type": "object"
1494
1584
  },
1495
- "common143": {
1585
+ "common146": {
1496
1586
  "^[^\\s]+$": {
1497
1587
  "additionalProperties": false,
1498
1588
  "properties": {
@@ -1514,7 +1604,7 @@ const common = {
1514
1604
  "type": "object"
1515
1605
  }
1516
1606
  },
1517
- "common144": {
1607
+ "common147": {
1518
1608
  "additionalProperties": false,
1519
1609
  "properties": {
1520
1610
  "id": {
@@ -1534,7 +1624,7 @@ const common = {
1534
1624
  ],
1535
1625
  "type": "object"
1536
1626
  },
1537
- "common145": {
1627
+ "common148": {
1538
1628
  "id": {
1539
1629
  "type": "string"
1540
1630
  },
@@ -1546,14 +1636,14 @@ const common = {
1546
1636
  "type": "string"
1547
1637
  }
1548
1638
  },
1549
- "common146": {
1639
+ "common149": {
1550
1640
  "enum": [
1551
1641
  "cities",
1552
1642
  "level1"
1553
1643
  ],
1554
1644
  "type": "string"
1555
1645
  },
1556
- "common147": {
1646
+ "common150": {
1557
1647
  "additionalProperties": false,
1558
1648
  "patternProperties": {
1559
1649
  "^[^\\s]+$": {
@@ -1575,7 +1665,7 @@ const common = {
1575
1665
  },
1576
1666
  "type": "object"
1577
1667
  },
1578
- "common148": {
1668
+ "common151": {
1579
1669
  "^[^\\s]+$": {
1580
1670
  "additionalProperties": false,
1581
1671
  "properties": {
@@ -1593,7 +1683,7 @@ const common = {
1593
1683
  "type": "object"
1594
1684
  }
1595
1685
  },
1596
- "common149": {
1686
+ "common152": {
1597
1687
  "additionalProperties": false,
1598
1688
  "properties": {
1599
1689
  "indexMax": {
@@ -1609,7 +1699,7 @@ const common = {
1609
1699
  ],
1610
1700
  "type": "object"
1611
1701
  },
1612
- "common150": {
1702
+ "common153": {
1613
1703
  "indexMax": {
1614
1704
  "type": "number"
1615
1705
  },
@@ -1617,18 +1707,18 @@ const common = {
1617
1707
  "type": "number"
1618
1708
  }
1619
1709
  },
1620
- "common151": {
1710
+ "common154": {
1621
1711
  "enum": [
1622
1712
  "ALL"
1623
1713
  ],
1624
1714
  "type": "string"
1625
1715
  },
1626
- "common152": {
1716
+ "common155": {
1627
1717
  "default": 0,
1628
1718
  "minimum": 0,
1629
1719
  "type": "integer"
1630
1720
  },
1631
- "common153": {
1721
+ "common156": {
1632
1722
  "const": [
1633
1723
  "projects"
1634
1724
  ],
@@ -1643,16 +1733,16 @@ const common = {
1643
1733
  },
1644
1734
  "type": "array"
1645
1735
  },
1646
- "common154": {
1736
+ "common157": {
1647
1737
  "enum": [
1648
1738
  "projects"
1649
1739
  ],
1650
1740
  "type": "string"
1651
1741
  },
1652
- "common155": {
1742
+ "common158": {
1653
1743
  "$exists": true
1654
1744
  },
1655
- "common156": {
1745
+ "common159": {
1656
1746
  "additionalProperties": false,
1657
1747
  "properties": {
1658
1748
  "$exists": {
@@ -1664,15 +1754,15 @@ const common = {
1664
1754
  ],
1665
1755
  "type": "object"
1666
1756
  },
1667
- "common157": {
1757
+ "common160": {
1668
1758
  "$exists": {
1669
1759
  "const": true
1670
1760
  }
1671
1761
  },
1672
- "common158": {
1762
+ "common161": {
1673
1763
  "const": true
1674
1764
  },
1675
- "common159": {
1765
+ "common162": {
1676
1766
  "additionalProperties": false,
1677
1767
  "else": {
1678
1768
  "properties": {
@@ -1716,7 +1806,7 @@ const common = {
1716
1806
  },
1717
1807
  "type": "object"
1718
1808
  },
1719
- "common160": {
1809
+ "common163": {
1720
1810
  "id": {
1721
1811
  "type": "string"
1722
1812
  },
@@ -1730,7 +1820,7 @@ const common = {
1730
1820
  "type": "string"
1731
1821
  }
1732
1822
  },
1733
- "common161": {
1823
+ "common164": {
1734
1824
  "const": [
1735
1825
  "poi"
1736
1826
  ],
@@ -1745,7 +1835,7 @@ const common = {
1745
1835
  },
1746
1836
  "type": "array"
1747
1837
  },
1748
- "common162": {
1838
+ "common165": {
1749
1839
  "const": [
1750
1840
  "NGO",
1751
1841
  "Cooperative",
@@ -1772,7 +1862,7 @@ const common = {
1772
1862
  },
1773
1863
  "type": "array"
1774
1864
  },
1775
- "common163": {
1865
+ "common166": {
1776
1866
  "enum": [
1777
1867
  "NGO",
1778
1868
  "Cooperative",
@@ -1782,10 +1872,10 @@ const common = {
1782
1872
  ],
1783
1873
  "type": "string"
1784
1874
  },
1785
- "common164": {
1875
+ "common167": {
1786
1876
  "$exists": false
1787
1877
  },
1788
- "common165": {
1878
+ "common168": {
1789
1879
  "additionalProperties": false,
1790
1880
  "properties": {
1791
1881
  "$exists": {
@@ -1797,19 +1887,19 @@ const common = {
1797
1887
  ],
1798
1888
  "type": "object"
1799
1889
  },
1800
- "common166": {
1890
+ "common169": {
1801
1891
  "$exists": {
1802
1892
  "const": false
1803
1893
  }
1804
1894
  },
1805
- "common167": {
1895
+ "common170": {
1806
1896
  "const": false
1807
1897
  },
1808
- "common168": {
1898
+ "common171": {
1809
1899
  "default": 30,
1810
1900
  "type": "integer"
1811
1901
  },
1812
- "common169": {
1902
+ "common172": {
1813
1903
  "const": [
1814
1904
  "citoyens",
1815
1905
  "NGO",
@@ -1839,7 +1929,7 @@ const common = {
1839
1929
  },
1840
1930
  "type": "array"
1841
1931
  },
1842
- "common170": {
1932
+ "common173": {
1843
1933
  "enum": [
1844
1934
  "citoyens",
1845
1935
  "NGO",
@@ -1850,7 +1940,7 @@ const common = {
1850
1940
  ],
1851
1941
  "type": "string"
1852
1942
  },
1853
- "common171": {
1943
+ "common174": {
1854
1944
  "additionalProperties": false,
1855
1945
  "properties": {
1856
1946
  "$exists": {
@@ -1863,13 +1953,13 @@ const common = {
1863
1953
  ],
1864
1954
  "type": "object"
1865
1955
  },
1866
- "common172": {
1956
+ "common175": {
1867
1957
  "$exists": {
1868
1958
  "default": false,
1869
1959
  "type": "boolean"
1870
1960
  }
1871
1961
  },
1872
- "common173": {
1962
+ "common176": {
1873
1963
  "additionalProperties": false,
1874
1964
  "properties": {
1875
1965
  "$in": {
@@ -1885,7 +1975,7 @@ const common = {
1885
1975
  ],
1886
1976
  "type": "object"
1887
1977
  },
1888
- "common174": {
1978
+ "common177": {
1889
1979
  "$in": {
1890
1980
  "items": {
1891
1981
  "type": "string"
@@ -1894,14 +1984,14 @@ const common = {
1894
1984
  "type": "array"
1895
1985
  }
1896
1986
  },
1897
- "common175": {
1987
+ "common178": {
1898
1988
  "items": {
1899
1989
  "type": "string"
1900
1990
  },
1901
1991
  "minItems": 1,
1902
1992
  "type": "array"
1903
1993
  },
1904
- "common176": {
1994
+ "common179": {
1905
1995
  "const": [
1906
1996
  "citoyens"
1907
1997
  ],
@@ -1916,13 +2006,13 @@ const common = {
1916
2006
  },
1917
2007
  "type": "array"
1918
2008
  },
1919
- "common177": {
2009
+ "common180": {
1920
2010
  "enum": [
1921
2011
  "citoyens"
1922
2012
  ],
1923
2013
  "type": "string"
1924
2014
  },
1925
- "common178": {
2015
+ "common181": {
1926
2016
  "const": [
1927
2017
  "citoyens",
1928
2018
  "NGO",
@@ -1955,7 +2045,7 @@ const common = {
1955
2045
  },
1956
2046
  "type": "array"
1957
2047
  },
1958
- "common179": {
2048
+ "common182": {
1959
2049
  "enum": [
1960
2050
  "citoyens",
1961
2051
  "NGO",
@@ -1967,22 +2057,22 @@ const common = {
1967
2057
  ],
1968
2058
  "type": "string"
1969
2059
  },
1970
- "common180": {
2060
+ "common183": {
1971
2061
  "not": {
1972
2062
  "propertyNames": {
1973
2063
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
1974
2064
  }
1975
2065
  }
1976
2066
  },
1977
- "common181": {
2067
+ "common184": {
1978
2068
  "propertyNames": {
1979
2069
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
1980
2070
  }
1981
2071
  },
1982
- "common182": {
2072
+ "common185": {
1983
2073
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
1984
2074
  },
1985
- "common183": {
2075
+ "common186": {
1986
2076
  "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
1987
2077
  "additionalProperties": false,
1988
2078
  "properties": {
@@ -2020,22 +2110,22 @@ const common = {
2020
2110
  "type": "object"
2021
2111
  }
2022
2112
  },
2023
- "common184": {
2113
+ "common187": {
2024
2114
  "not": {
2025
2115
  "propertyNames": {
2026
2116
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2027
2117
  }
2028
2118
  }
2029
2119
  },
2030
- "common185": {
2120
+ "common188": {
2031
2121
  "propertyNames": {
2032
2122
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2033
2123
  }
2034
2124
  },
2035
- "common186": {
2125
+ "common189": {
2036
2126
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2037
2127
  },
2038
- "common187": {
2128
+ "common190": {
2039
2129
  "default": "citoyens",
2040
2130
  "enum": [
2041
2131
  "citoyens",
@@ -2044,7 +2134,7 @@ const common = {
2044
2134
  ],
2045
2135
  "type": "string"
2046
2136
  },
2047
- "common188": {
2137
+ "common191": {
2048
2138
  "const": [
2049
2139
  "badges"
2050
2140
  ],
@@ -2059,13 +2149,13 @@ const common = {
2059
2149
  },
2060
2150
  "type": "array"
2061
2151
  },
2062
- "common189": {
2152
+ "common192": {
2063
2153
  "enum": [
2064
2154
  "badges"
2065
2155
  ],
2066
2156
  "type": "string"
2067
2157
  },
2068
- "common190": {
2158
+ "common193": {
2069
2159
  "const": [
2070
2160
  "citoyens",
2071
2161
  "projects",
@@ -2098,7 +2188,7 @@ const common = {
2098
2188
  },
2099
2189
  "type": "array"
2100
2190
  },
2101
- "common191": {
2191
+ "common194": {
2102
2192
  "enum": [
2103
2193
  "citoyens",
2104
2194
  "projects",
@@ -2110,7 +2200,7 @@ const common = {
2110
2200
  ],
2111
2201
  "type": "string"
2112
2202
  },
2113
- "common192": {
2203
+ "common195": {
2114
2204
  "additionalProperties": false,
2115
2205
  "properties": {
2116
2206
  "$exists": {
@@ -2123,17 +2213,17 @@ const common = {
2123
2213
  ],
2124
2214
  "type": "object"
2125
2215
  },
2126
- "common193": {
2216
+ "common196": {
2127
2217
  "$exists": {
2128
2218
  "const": true,
2129
2219
  "type": "boolean"
2130
2220
  }
2131
2221
  },
2132
- "common194": {
2222
+ "common197": {
2133
2223
  "const": true,
2134
2224
  "type": "boolean"
2135
2225
  },
2136
- "common195": {
2226
+ "common198": {
2137
2227
  "additionalProperties": false,
2138
2228
  "properties": {
2139
2229
  "$exists": {
@@ -2146,17 +2236,17 @@ const common = {
2146
2236
  ],
2147
2237
  "type": "object"
2148
2238
  },
2149
- "common196": {
2239
+ "common199": {
2150
2240
  "$exists": {
2151
2241
  "const": false,
2152
2242
  "type": "boolean"
2153
2243
  }
2154
2244
  },
2155
- "common197": {
2245
+ "common200": {
2156
2246
  "const": false,
2157
2247
  "type": "boolean"
2158
2248
  },
2159
- "common198": {
2249
+ "common201": {
2160
2250
  "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2161
2251
  "additionalProperties": false,
2162
2252
  "properties": {
@@ -2184,52 +2274,52 @@ const common = {
2184
2274
  "type": "object"
2185
2275
  }
2186
2276
  },
2187
- "common199": {
2277
+ "common202": {
2188
2278
  "indexMax": 30,
2189
2279
  "indexMin": 0
2190
2280
  },
2191
- "common200": {
2281
+ "common203": {
2192
2282
  "properties": {
2193
2283
  "parentType": {
2194
2284
  "const": "organizations"
2195
2285
  }
2196
2286
  }
2197
2287
  },
2198
- "common201": {
2288
+ "common204": {
2199
2289
  "parentType": {
2200
2290
  "const": "organizations"
2201
2291
  }
2202
2292
  },
2203
- "common202": {
2293
+ "common205": {
2204
2294
  "properties": {
2205
2295
  "parentType": {
2206
2296
  "const": "projects"
2207
2297
  }
2208
2298
  }
2209
2299
  },
2210
- "common203": {
2300
+ "common206": {
2211
2301
  "parentType": {
2212
2302
  "const": "projects"
2213
2303
  }
2214
2304
  },
2215
- "common204": {
2305
+ "common207": {
2216
2306
  "properties": {
2217
2307
  "parentType": {
2218
2308
  "const": "events"
2219
2309
  }
2220
2310
  }
2221
2311
  },
2222
- "common205": {
2312
+ "common208": {
2223
2313
  "parentType": {
2224
2314
  "const": "events"
2225
2315
  }
2226
2316
  },
2227
- "common206": {
2317
+ "common209": {
2228
2318
  "default": "@userId",
2229
2319
  "pattern": "^([a-f0-9]{24}|@\\w+)$",
2230
2320
  "type": "string"
2231
2321
  },
2232
- "common207": {
2322
+ "common210": {
2233
2323
  "const": "citoyens",
2234
2324
  "default": "citoyens",
2235
2325
  "enum": [
@@ -2237,7 +2327,7 @@ const common = {
2237
2327
  ],
2238
2328
  "type": "string"
2239
2329
  },
2240
- "common208": {
2330
+ "common211": {
2241
2331
  "enum": [
2242
2332
  "citoyens",
2243
2333
  "organizations",
@@ -2246,18 +2336,18 @@ const common = {
2246
2336
  ],
2247
2337
  "type": "string"
2248
2338
  },
2249
- "common209": {
2339
+ "common212": {
2250
2340
  "const": "citoyens",
2251
2341
  "default": "citoyens",
2252
2342
  "type": "string"
2253
2343
  },
2254
- "common210": {
2344
+ "common213": {
2255
2345
  "const": "@userId",
2256
2346
  "default": "@userId",
2257
2347
  "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2258
2348
  "type": "string"
2259
2349
  },
2260
- "common211": {
2350
+ "common214": {
2261
2351
  "default": {
2262
2352
  "isOpenData": true,
2263
2353
  "isOpenEdition": true
@@ -2278,11 +2368,11 @@ const common = {
2278
2368
  ],
2279
2369
  "type": "object"
2280
2370
  },
2281
- "common212": {
2371
+ "common215": {
2282
2372
  "isOpenData": true,
2283
2373
  "isOpenEdition": true
2284
2374
  },
2285
- "common213": {
2375
+ "common216": {
2286
2376
  "isOpenData": {
2287
2377
  "default": true,
2288
2378
  "type": "boolean"
@@ -2292,7 +2382,7 @@ const common = {
2292
2382
  "type": "boolean"
2293
2383
  }
2294
2384
  },
2295
- "common214": {
2385
+ "common217": {
2296
2386
  "additionalProperties": false,
2297
2387
  "default": {
2298
2388
  "@userId": {
@@ -2318,36 +2408,36 @@ const common = {
2318
2408
  },
2319
2409
  "type": "object"
2320
2410
  },
2321
- "common215": {
2411
+ "common218": {
2322
2412
  "@userId": {
2323
2413
  "type": "citoyens"
2324
2414
  }
2325
2415
  },
2326
- "common216": {
2416
+ "common219": {
2327
2417
  "type": "citoyens"
2328
2418
  },
2329
- "common217": {
2419
+ "common220": {
2330
2420
  "const": "poi",
2331
2421
  "default": "poi",
2332
2422
  "type": "string"
2333
2423
  },
2334
- "common218": {
2424
+ "common221": {
2335
2425
  "const": "events",
2336
2426
  "default": "events",
2337
2427
  "type": "string"
2338
2428
  },
2339
- "common219": {
2429
+ "common222": {
2340
2430
  "format": "date-time",
2341
2431
  "type": "string"
2342
2432
  },
2343
- "common220": {
2433
+ "common223": {
2344
2434
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2345
2435
  "type": "string"
2346
2436
  },
2347
- "common221": {
2437
+ "common224": {
2348
2438
  "type": "integer"
2349
2439
  },
2350
- "common222": {
2440
+ "common225": {
2351
2441
  "additionalProperties": false,
2352
2442
  "properties": {
2353
2443
  "id": {
@@ -2367,7 +2457,7 @@ const common = {
2367
2457
  ],
2368
2458
  "type": "object"
2369
2459
  },
2370
- "common223": {
2460
+ "common226": {
2371
2461
  "id": {
2372
2462
  "default": "@userId",
2373
2463
  "pattern": "^[a-f0-9]{24}$",
@@ -2379,22 +2469,22 @@ const common = {
2379
2469
  "type": "string"
2380
2470
  }
2381
2471
  },
2382
- "common224": {
2472
+ "common227": {
2383
2473
  "default": "@userId",
2384
2474
  "pattern": "^[a-f0-9]{24}$",
2385
2475
  "type": "string"
2386
2476
  },
2387
- "common225": {
2477
+ "common228": {
2388
2478
  "const": "badges",
2389
2479
  "default": "badges",
2390
2480
  "type": "string"
2391
2481
  },
2392
- "common226": {
2482
+ "common229": {
2393
2483
  "const": "badge",
2394
2484
  "default": "badge",
2395
2485
  "type": "string"
2396
2486
  },
2397
- "common227": {
2487
+ "common230": {
2398
2488
  "patternProperties": {
2399
2489
  "^[0-9a-f]{24}$": {
2400
2490
  "additionalProperties": false,
@@ -2425,7 +2515,7 @@ const common = {
2425
2515
  },
2426
2516
  "type": "object"
2427
2517
  },
2428
- "common228": {
2518
+ "common231": {
2429
2519
  "^[0-9a-f]{24}$": {
2430
2520
  "additionalProperties": false,
2431
2521
  "properties": {
@@ -2453,7 +2543,7 @@ const common = {
2453
2543
  "type": "object"
2454
2544
  }
2455
2545
  },
2456
- "common229": {
2546
+ "common232": {
2457
2547
  "additionalProperties": false,
2458
2548
  "properties": {
2459
2549
  "isAdmin": {
@@ -2479,7 +2569,7 @@ const common = {
2479
2569
  ],
2480
2570
  "type": "object"
2481
2571
  },
2482
- "common230": {
2572
+ "common233": {
2483
2573
  "isAdmin": {
2484
2574
  "default": "",
2485
2575
  "enum": [
@@ -2498,7 +2588,7 @@ const common = {
2498
2588
  "type": "array"
2499
2589
  }
2500
2590
  },
2501
- "common231": {
2591
+ "common234": {
2502
2592
  "default": "",
2503
2593
  "enum": [
2504
2594
  "",
@@ -2506,14 +2596,14 @@ const common = {
2506
2596
  ],
2507
2597
  "type": "string"
2508
2598
  },
2509
- "common232": {
2599
+ "common235": {
2510
2600
  "enum": [
2511
2601
  "projects",
2512
2602
  "organizations"
2513
2603
  ],
2514
2604
  "type": "string"
2515
2605
  },
2516
- "common233": {
2606
+ "common236": {
2517
2607
  "items": {
2518
2608
  "enum": [
2519
2609
  "NGO",
@@ -2531,7 +2621,7 @@ const common = {
2531
2621
  },
2532
2622
  "type": "array"
2533
2623
  },
2534
- "common234": {
2624
+ "common237": {
2535
2625
  "enum": [
2536
2626
  "NGO",
2537
2627
  "LocalBusiness",
@@ -2546,7 +2636,7 @@ const common = {
2546
2636
  ],
2547
2637
  "type": "string"
2548
2638
  },
2549
- "common235": {
2639
+ "common238": {
2550
2640
  "default": "",
2551
2641
  "oneOf": [
2552
2642
  {
@@ -2559,11 +2649,11 @@ const common = {
2559
2649
  }
2560
2650
  ]
2561
2651
  },
2562
- "common236": {
2652
+ "common239": {
2563
2653
  "additionalProperties": true,
2564
2654
  "type": "object"
2565
2655
  },
2566
- "common237": {
2656
+ "common240": {
2567
2657
  "additionalProperties": true,
2568
2658
  "properties": {
2569
2659
  "tags": {
@@ -2578,7 +2668,7 @@ const common = {
2578
2668
  },
2579
2669
  "type": "object"
2580
2670
  },
2581
- "common238": {
2671
+ "common241": {
2582
2672
  "tags": {
2583
2673
  "additionalProperties": true,
2584
2674
  "properties": {
@@ -2589,7 +2679,7 @@ const common = {
2589
2679
  "type": "object"
2590
2680
  }
2591
2681
  },
2592
- "common239": {
2682
+ "common242": {
2593
2683
  "additionalProperties": true,
2594
2684
  "properties": {
2595
2685
  "verb": {
@@ -2598,12 +2688,12 @@ const common = {
2598
2688
  },
2599
2689
  "type": "object"
2600
2690
  },
2601
- "common240": {
2691
+ "common243": {
2602
2692
  "verb": {
2603
2693
  "type": "string"
2604
2694
  }
2605
2695
  },
2606
- "common241": {
2696
+ "common244": {
2607
2697
  "additionalProperties": {
2608
2698
  "enum": [
2609
2699
  1,
@@ -2613,14 +2703,14 @@ const common = {
2613
2703
  },
2614
2704
  "type": "object"
2615
2705
  },
2616
- "common242": {
2706
+ "common245": {
2617
2707
  "enum": [
2618
2708
  1,
2619
2709
  -1
2620
2710
  ],
2621
2711
  "type": "integer"
2622
2712
  },
2623
- "common243": {
2713
+ "common246": {
2624
2714
  "additionalProperties": false,
2625
2715
  "properties": {
2626
2716
  "id": {
@@ -2638,7 +2728,7 @@ const common = {
2638
2728
  ],
2639
2729
  "type": "object"
2640
2730
  },
2641
- "common244": {
2731
+ "common247": {
2642
2732
  "id": {
2643
2733
  "pattern": "^[a-f0-9]{24}$",
2644
2734
  "type": "string"
@@ -2648,11 +2738,11 @@ const common = {
2648
2738
  "type": "string"
2649
2739
  }
2650
2740
  },
2651
- "common245": {
2741
+ "common248": {
2652
2742
  "default": "events",
2653
2743
  "type": "string"
2654
2744
  },
2655
- "common246": {
2745
+ "common249": {
2656
2746
  "items": {
2657
2747
  "properties": {
2658
2748
  "id": {
@@ -2666,7 +2756,7 @@ const common = {
2666
2756
  },
2667
2757
  "type": "array"
2668
2758
  },
2669
- "common247": {
2759
+ "common250": {
2670
2760
  "properties": {
2671
2761
  "id": {
2672
2762
  "type": "string"
@@ -2677,12 +2767,12 @@ const common = {
2677
2767
  ],
2678
2768
  "type": "object"
2679
2769
  },
2680
- "common248": {
2770
+ "common251": {
2681
2771
  "id": {
2682
2772
  "type": "string"
2683
2773
  }
2684
2774
  },
2685
- "common249": {
2775
+ "common252": {
2686
2776
  "additionalProperties": false,
2687
2777
  "properties": {
2688
2778
  "contextId": {
@@ -2712,7 +2802,7 @@ const common = {
2712
2802
  },
2713
2803
  "type": "object"
2714
2804
  },
2715
- "common250": {
2805
+ "common253": {
2716
2806
  "contextId": {
2717
2807
  "pattern": "^[a-f0-9]{24}$",
2718
2808
  "type": "string"
@@ -2738,7 +2828,7 @@ const common = {
2738
2828
  "type": "array"
2739
2829
  }
2740
2830
  },
2741
- "common251": {
2831
+ "common254": {
2742
2832
  "items": {
2743
2833
  "enum": [
2744
2834
  "answers"
@@ -2747,20 +2837,20 @@ const common = {
2747
2837
  },
2748
2838
  "type": "array"
2749
2839
  },
2750
- "common252": {
2840
+ "common255": {
2751
2841
  "enum": [
2752
2842
  "answers"
2753
2843
  ],
2754
2844
  "type": "string"
2755
2845
  },
2756
- "common253": {
2846
+ "common256": {
2757
2847
  "enum": [
2758
2848
  "comments",
2759
2849
  "news"
2760
2850
  ],
2761
2851
  "type": "string"
2762
2852
  },
2763
- "common254": {
2853
+ "common257": {
2764
2854
  "default": "citoyens",
2765
2855
  "enum": [
2766
2856
  "citoyens",
@@ -2774,6 +2864,6 @@ const common = {
2774
2864
  };
2775
2865
 
2776
2866
  // Endpoints avec intégration des définitions communes
2777
- const endpoints = {"endpoints":[{"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.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"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.common2,"password":common.common1},"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.common1},"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.common2,"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.common4},"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.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"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.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"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.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"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.common1,"type":common.common1,"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.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"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.common2,"emailNullable":{"anyOf":[common.common2,common.common30]},"name":common.common1,"tags":common.common31,"url":common.common34}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":{"anyOf":[common.common43,common.common30]},"block":common.common44,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common45,"scope":common.common10,"tags":common.common46,"typeElement":common.common47,"url":common.common48}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common49,common.common51],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"parent":common.common54,"scope":common.common10,"tags":common.common46,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common48}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common49,common.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common51],"properties":{"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common46,"type":common.common63,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common48}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58],"properties":{"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"scope":common.common10,"tags":common.common46,"type":common.common64,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common48}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"scope":common.common10,"tags":common.common46,"type":common.common65,"typeElement":common.common66,"url":common.common48,"urls":common.common32}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"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.common33,common.common4]}},"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.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"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.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common30,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common30,common.common76]},"geoPosition":{"oneOf":[common.common30,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"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.common92,"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.common92,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common83,"cropW":common.common83,"cropX":common.common83,"cropY":common.common83,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common98},"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.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"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.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"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.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common107,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common108,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"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":{"items":common.common11,"type":"array"}},"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.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"json":common.common84,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common31,"text":common.common1,"type":common.common121},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common105,"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.common122,"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.common122,"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.common124,"request":{"additionalProperties":false,"properties":{"isLive":common.common125},"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.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"idNews":common.common11,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common31,"text":common.common1,"type":common.common121},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common121},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common131,"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.common11,"type":common.common133},"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.common10,"contextId":common.common11,"contextType":common.common133,"mentions":common.common134,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"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.common124},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common134,"text":common.common1},"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.common1},"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.common11,"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.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common137,"type":"array"},"fediverse":common.common138,"filters":common.common139,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common32,"searchType":{"items":common.common137,"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":{"minimum":0,"type":"integer"},"locality":common.common139,"name":common.common1,"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.common125,"scopeValue":common.common1,"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.common152,"name":common.common1,"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.common84,"countType":common.common153,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common155,"parent.@userId":common.common155},"links.contributors.@userId":common.common155},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common153},"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.common159,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common153,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common155,"parent.@{pathParams.id}":common.common155},"links.contributors.@{pathParams.id}":common.common155},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common153},"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.common84,"countType":common.common161,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common155},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common161},"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.common159,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common155},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common161},"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.common84,"countType":common.common162,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common155,"links.members.@userId.isInviting":common.common164,"links.members.@userId.toBeValidated":common.common164},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common165,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common162},"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":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common162,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common155,"links.members.@{pathParams.id}.isInviting":common.common164,"links.members.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common165,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"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.common84,"countType":common.common169,"fediverse":common.common138,"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.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"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.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"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.common155,"links.memberOf.@{pathParams.id}.isInviting":common.common164,"links.memberOf.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"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.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"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.common155,"links.friends.@{pathParams.id}.isInviting":common.common164,"links.friends.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchType":common.common176},"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.common84,"countType":common.common178,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common180],"default":{"links.followers.@userId":common.common155,"links.followers.@{userId}.isInviting":common.common164,"links.followers.@{userId}.toBeValidated":common.common164},"patternProperties":common.common183,"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common178},"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.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common180],"default":{"links.followers.@{pathParams.id}":common.common155,"links.followers.@{pathParams.id}.isInviting":common.common164,"links.followers.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":common.common183,"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common178},"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.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.follows.@userId":common.common155,"links.follows.@{userId}.isInviting":common.common164,"links.follows.@{userId}.toBeValidated":common.common164},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common165,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"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.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common187},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.follows.@{pathParams.id}":common.common155},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"},"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common176},"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.common84,"countType":common.common169,"fediverse":common.common138,"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.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"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.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"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.common155,"links.projects.@{pathParams.id}.isInviting":common.common164,"links.projects.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"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.common84,"countType":common.common188,"fediverse":common.common138,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"},"isParcours":common.common3,"preferences.private":common.common138},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common188},"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.common84,"countType":common.common190,"fediverse":common.common138,"fields":common.common188,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common192}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common192,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common195,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common195}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common198},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common198,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common194}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common192}}],"type":"object"},"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common199,"GovernmentOrganization":common.common199,"Group":common.common199,"LocalBusiness":common.common199,"NGO":common.common199,"citoyens":common.common199,"projects":common.common199},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common149},"type":"object"},"searchType":common.common190},"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.common103,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common200,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common206,"childType":common.common207,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"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.common103,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common206,"childType":common.common207,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"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.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common209,"id":common.common210,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common139},"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.common194,"collection":common.common209,"id":common.common210,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common32,"url":common.common1},"required":["url","name"],"type":"object"}},"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":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common211,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common139,"shortDescription":common.common1,"tags":common.common32,"type":common.common64,"url":common.common34},"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.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common214,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common107,"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"scope":common.common139,"shortDescription":common.common1,"tags":common.common32,"url":common.common34},"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.common72,"collection":common.common217,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common217,"name":common.common1,"parent":common.common214,"scope":common.common139,"tags":common.common32,"type":common.common65,"urls":common.common32},"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.common167}},"properties":{"address":common.common72,"collection":common.common218,"email":common.common2,"endDate":common.common219,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common30,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common220,"opens":common.common220},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common214,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"recurrency":common.common125,"scope":common.common139,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common219,"tags":common.common32,"timeZone":common.common1,"type":common.common63,"url":common.common34},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common124,"request":common.common8},{"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.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"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.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common221,"qquuid":common.common11},"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.common5,"childType":common.common47,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"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.common1,"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.common222,"request":{"additionalProperties":false,"properties":{"indexMin":common.common108},"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.common222,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common221},"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.common84},"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.common124},{"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.common1},"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.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"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.common11},"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.common124},{"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.common225,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common125,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common226,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common225},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common211,"public":common.common107,"scope":common.common139,"tags":common.common32},"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.common56},"type":"object"},"badgeId":common.common11,"collection":common.common225,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common226,"narative":common.common1,"scope":common.common139},"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.common125,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common219,"fediverse":common.common125,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common155,"organizer.@userId":common.common155},"links.attendees.@userId":common.common155},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common108,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common107,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common219,"type":common.common63},"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.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common218},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common131,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common227,"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":{"email":common.common2,"isAdmin":common.common231,"msg":common.common1,"name":common.common1,"roles":common.common32},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common227,"projects":common.common227},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common206,"childType":common.common207,"parentId":common.common11,"parentType":common.common208},"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.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common233,"fediverse":common.common125,"fields":common.common32,"filters":common.common235,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"mapUsed":common.common194,"name":common.common1,"notSourceKey":common.common194,"options":common.common237,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common32,"searchType":common.common233,"sortBy":common.common241,"sourceKey":common.common32},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"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.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common32,"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.common243,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common246,"sourceKey":common.common32,"tags":common.common32,"timezone":common.common1,"type":common.common1},"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.common243,"request":common.common249},{"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.common243,"request":common.common249},{"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.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"regions":common.common246,"sourceKey":common.common32,"tags":common.common32,"type":common.common1},"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.common243,"request":common.common249},{"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.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common32,"tl":common.common1},"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.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common32},"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.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common187},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"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.common84,"countType":common.common176,"fediverse":common.common138,"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.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"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.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"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.common155,"links.events.@{pathParams.id}.isInviting":common.common164,"links.events.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"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.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common251,"fediverse":common.common125,"fields":common.common32,"filters":common.common235,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"mapUsed":common.common194,"name":common.common1,"notSourceKey":common.common194,"options":common.common237,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common32,"searchType":common.common251,"sortBy":common.common241,"sourceKey":common.common32},"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.common1,"fields":common.common32,"finderPath":common.common10},"required":["answerId"],"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.common253,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"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.common253,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"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,"properties":{"arrayForm":common.common3,"collection":common.common254,"id":common.common5,"path":common.common1,"value":common.common20},"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.common5,"contextType":common.common254},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common254,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common177,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common138,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}}]};
2867
+ const endpoints = {"endpoints":[{"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.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"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.common2,"password":common.common1},"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.common1},"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.common2,"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.common4},"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.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"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.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"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.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"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.common1,"type":common.common1,"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.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"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.common2,"emailNullable":common.common30,"name":common.common1,"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.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"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.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"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.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"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.common1,"name":common.common47,"scope":common.common10,"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.common38,common.common40,common.common42,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"url":common.common50,"urls":common.common33}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"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.common4]}},"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.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"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":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"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.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"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.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"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.common95,"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.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"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.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common89,"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.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"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.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"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":{"items":common.common11,"type":"array"}},"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.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"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.common125,"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.common125,"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.common127,"request":{"additionalProperties":false,"properties":{"isLive":common.common128},"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.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common124},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common134,"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.common11,"type":common.common136},"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.common10,"contextId":common.common11,"contextType":common.common136,"mentions":common.common137,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"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.common127},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common137,"text":common.common1},"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.common1},"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.common11,"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.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common140,"type":"array"},"fediverse":common.common141,"filters":common.common142,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":{"items":common.common140,"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":{"minimum":0,"type":"integer"},"locality":common.common142,"name":common.common1,"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.common128,"scopeValue":common.common1,"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.common155,"name":common.common1,"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.common87,"countType":common.common156,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common158,"parent.@userId":common.common158},"links.contributors.@userId":common.common158},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common156},"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.common162,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common156,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common158,"parent.@{pathParams.id}":common.common158},"links.contributors.@{pathParams.id}":common.common158},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common156},"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.common87,"countType":common.common164,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common158},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common164},"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.common162,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common164,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common158},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common164},"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.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common158,"links.members.@userId.isInviting":common.common167,"links.members.@userId.toBeValidated":common.common167},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common168,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common158,"links.members.@{pathParams.id}.isInviting":common.common167,"links.members.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common168,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"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.common87,"countType":common.common172,"fediverse":common.common141,"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.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common172,"fediverse":common.common141,"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.common158,"links.memberOf.@{pathParams.id}.isInviting":common.common167,"links.memberOf.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common179,"fediverse":common.common141,"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.common158,"links.friends.@{pathParams.id}.isInviting":common.common167,"links.friends.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchType":common.common179},"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.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.followers.@userId":common.common158,"links.followers.@{userId}.isInviting":common.common167,"links.followers.@{userId}.toBeValidated":common.common167},"patternProperties":common.common186,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"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.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.followers.@{pathParams.id}":common.common158,"links.followers.@{pathParams.id}.isInviting":common.common167,"links.followers.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":common.common186,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"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.common87,"countType":common.common179,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common187],"default":{"links.follows.@userId":common.common158,"links.follows.@{userId}.isInviting":common.common167,"links.follows.@{userId}.toBeValidated":common.common167},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common168,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common179},"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.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common190},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common179,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common187],"default":{"links.follows.@{pathParams.id}":common.common158},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"type":"object"},"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common179},"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.common87,"countType":common.common172,"fediverse":common.common141,"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.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common172,"fediverse":common.common141,"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.common158,"links.projects.@{pathParams.id}.isInviting":common.common167,"links.projects.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common87,"countType":common.common191,"fediverse":common.common141,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"},"isParcours":common.common3,"preferences.private":common.common141},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common191},"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.common87,"countType":common.common193,"fediverse":common.common141,"fields":common.common191,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common195}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common195,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common198,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common198}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common201},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common201,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common197}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common195}}],"type":"object"},"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common202,"GovernmentOrganization":common.common202,"Group":common.common202,"LocalBusiness":common.common202,"NGO":common.common202,"citoyens":common.common202,"projects":common.common202},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common152},"type":"object"},"searchType":common.common193},"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.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common203,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common209,"childType":common.common210,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common211},"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.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common209,"childType":common.common210,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common211},"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.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common212,"id":common.common213,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common142},"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.common197,"collection":common.common212,"id":common.common213,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common59,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common33,"url":common.common1},"required":["url","name"],"type":"object"}},"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":false,"properties":{"address":common.common75,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common214,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"type":common.common66,"url":common.common35},"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.common75,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common217,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"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.common75,"collection":common.common220,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common220,"name":common.common1,"parent":common.common217,"scope":common.common142,"tags":common.common33,"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.common170}},"properties":{"address":common.common74,"collection":common.common221,"email":common.common30,"endDate":common.common222,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common223,"opens":common.common223},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common217,"parent":common.common62,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common128,"scope":common.common142,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common222,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"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_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common127,"request":common.common8},{"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.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"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.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common224,"qquuid":common.common11},"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.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common211},"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.common1,"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.common225,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"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.common225,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common224},"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.common87},"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.common127},{"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.common1},"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.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"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.common11},"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.common127},{"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.common228,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common128,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common229,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common228},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common214,"public":common.common110,"scope":common.common142,"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.common11,"collection":common.common228,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common229,"narative":common.common1,"scope":common.common142},"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.common128,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common222,"fediverse":common.common128,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common158,"organizer.@userId":common.common158},"links.attendees.@userId":common.common158},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common222,"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.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common221},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common134,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common230,"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":{"email":common.common2,"isAdmin":common.common234,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common230,"projects":common.common230},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common209,"childType":common.common210,"parentId":common.common11,"parentType":common.common211},"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.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common236,"fediverse":common.common128,"fields":common.common33,"filters":common.common238,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common197,"name":common.common1,"notSourceKey":common.common197,"options":common.common240,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common236,"sortBy":common.common244,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"parent_only":common.common3,"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.common246,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common249,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"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.common246,"request":common.common252},{"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.common246,"request":common.common252},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common249,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"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.common246,"request":common.common252},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common33,"tl":common.common1},"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common33},"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.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common190},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"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.common87,"countType":common.common179,"fediverse":common.common141,"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.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common179},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common179,"fediverse":common.common141,"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.common158,"links.events.@{pathParams.id}.isInviting":common.common167,"links.events.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common179},"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.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common254,"fediverse":common.common128,"fields":common.common33,"filters":common.common238,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common197,"name":common.common1,"notSourceKey":common.common197,"options":common.common240,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common254,"sortBy":common.common244,"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.common1,"fields":common.common33,"finderPath":common.common10},"required":["answerId"],"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.common256,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"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.common256,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"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,"properties":{"arrayForm":common.common3,"collection":common.common257,"id":common.common5,"path":common.common1,"value":common.common20},"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.common5,"contextType":common.common257},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common257,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common180,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common141,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}}]};
2778
2868
 
2779
2869
  export default endpoints;