@communecter/cocolight-api-client 1.0.91 → 1.0.93

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,23 +315,23 @@ 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": {
323
335
  "anyOf": [
324
336
  {
325
337
  "type": "string"
@@ -330,23 +342,23 @@ const common = {
330
342
  }
331
343
  ]
332
344
  },
333
- "common46": {
345
+ "common47": {
334
346
  "$ref": "#/$defs/sharedFields/name"
335
347
  },
336
- "common47": {
348
+ "common48": {
337
349
  "$ref": "#/$defs/sharedFields/tags"
338
350
  },
339
- "common48": {
351
+ "common49": {
340
352
  "default": "citoyens",
341
353
  "enum": [
342
354
  "citoyens"
343
355
  ],
344
356
  "type": "string"
345
357
  },
346
- "common49": {
358
+ "common50": {
347
359
  "$ref": "#/$defs/sharedFields/url"
348
360
  },
349
- "common50": {
361
+ "common51": {
350
362
  "properties": {
351
363
  "avancement": {
352
364
  "not": {
@@ -358,14 +370,14 @@ const common = {
358
370
  "avancement"
359
371
  ]
360
372
  },
361
- "common51": {
373
+ "common52": {
362
374
  "avancement": {
363
375
  "not": {
364
376
  "type": "null"
365
377
  }
366
378
  }
367
379
  },
368
- "common52": {
380
+ "common53": {
369
381
  "properties": {
370
382
  "parent": {
371
383
  "not": {
@@ -377,17 +389,17 @@ const common = {
377
389
  "parent"
378
390
  ]
379
391
  },
380
- "common53": {
392
+ "common54": {
381
393
  "parent": {
382
394
  "not": {
383
395
  "type": "null"
384
396
  }
385
397
  }
386
398
  },
387
- "common54": {
399
+ "common55": {
388
400
  "$ref": "#/$defs/sharedFields/emailNullable"
389
401
  },
390
- "common55": {
402
+ "common56": {
391
403
  "additionalProperties": false,
392
404
  "patternProperties": {
393
405
  "^[a-fA-F0-9]{24}$": {
@@ -409,7 +421,7 @@ const common = {
409
421
  },
410
422
  "type": "object"
411
423
  },
412
- "common56": {
424
+ "common57": {
413
425
  "^[a-fA-F0-9]{24}$": {
414
426
  "additionalProperties": false,
415
427
  "properties": {
@@ -427,7 +439,7 @@ const common = {
427
439
  "type": "object"
428
440
  }
429
441
  },
430
- "common57": {
442
+ "common58": {
431
443
  "additionalProperties": false,
432
444
  "properties": {
433
445
  "name": {
@@ -443,7 +455,7 @@ const common = {
443
455
  ],
444
456
  "type": "object"
445
457
  },
446
- "common58": {
458
+ "common59": {
447
459
  "name": {
448
460
  "type": "string"
449
461
  },
@@ -451,7 +463,7 @@ const common = {
451
463
  "type": "string"
452
464
  }
453
465
  },
454
- "common59": {
466
+ "common60": {
455
467
  "properties": {
456
468
  "type": {
457
469
  "not": {
@@ -463,14 +475,14 @@ const common = {
463
475
  "type"
464
476
  ]
465
477
  },
466
- "common60": {
478
+ "common61": {
467
479
  "type": {
468
480
  "not": {
469
481
  "type": "null"
470
482
  }
471
483
  }
472
484
  },
473
- "common61": {
485
+ "common62": {
474
486
  "additionalProperties": false,
475
487
  "patternProperties": {
476
488
  "^(?:[a-f0-9]{24}|@userId)$": {
@@ -491,7 +503,7 @@ const common = {
491
503
  },
492
504
  "type": "object"
493
505
  },
494
- "common62": {
506
+ "common63": {
495
507
  "^(?:[a-f0-9]{24}|@userId)$": {
496
508
  "additionalProperties": false,
497
509
  "properties": {
@@ -508,7 +520,7 @@ const common = {
508
520
  "type": "object"
509
521
  }
510
522
  },
511
- "common63": {
523
+ "common64": {
512
524
  "additionalProperties": false,
513
525
  "properties": {
514
526
  "name": {
@@ -523,7 +535,7 @@ const common = {
523
535
  ],
524
536
  "type": "object"
525
537
  },
526
- "common64": {
538
+ "common65": {
527
539
  "enum": [
528
540
  "workshop",
529
541
  "competition",
@@ -548,7 +560,7 @@ const common = {
548
560
  ],
549
561
  "type": "string"
550
562
  },
551
- "common65": {
563
+ "common66": {
552
564
  "enum": [
553
565
  "NGO",
554
566
  "LocalBusiness",
@@ -558,7 +570,7 @@ const common = {
558
570
  ],
559
571
  "type": "string"
560
572
  },
561
- "common66": {
573
+ "common67": {
562
574
  "enum": [
563
575
  "link",
564
576
  "tool",
@@ -587,16 +599,16 @@ const common = {
587
599
  ],
588
600
  "type": "string"
589
601
  },
590
- "common67": {
602
+ "common68": {
591
603
  "enum": [
592
604
  "poi"
593
605
  ],
594
606
  "type": "string"
595
607
  },
596
- "common68": {
608
+ "common69": {
597
609
  "$ref": "#/$defs/socialField"
598
610
  },
599
- "common69": {
611
+ "common70": {
600
612
  "default": "citoyens",
601
613
  "enum": [
602
614
  "citoyens",
@@ -605,22 +617,89 @@ const common = {
605
617
  ],
606
618
  "type": "string"
607
619
  },
608
- "common70": {
620
+ "common71": {
609
621
  "properties": {
610
622
  "id": {
611
623
  "pattern": "^[a-f0-9]{24}$"
612
624
  }
613
625
  }
614
626
  },
615
- "common71": {
627
+ "common72": {
616
628
  "id": {
617
629
  "pattern": "^[a-f0-9]{24}$"
618
630
  }
619
631
  },
620
- "common72": {
632
+ "common73": {
621
633
  "pattern": "^[a-f0-9]{24}$"
622
634
  },
623
- "common73": {
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": {
624
703
  "additionalProperties": false,
625
704
  "properties": {
626
705
  "@type": {
@@ -679,7 +758,7 @@ const common = {
679
758
  ],
680
759
  "type": "object"
681
760
  },
682
- "common74": {
761
+ "common76": {
683
762
  "@type": {
684
763
  "const": "PostalAddress",
685
764
  "type": "string"
@@ -725,15 +804,15 @@ const common = {
725
804
  "type": "string"
726
805
  }
727
806
  },
728
- "common75": {
807
+ "common77": {
729
808
  "const": "PostalAddress",
730
809
  "type": "string"
731
810
  },
732
- "common76": {
811
+ "common78": {
733
812
  "minLength": 0,
734
813
  "type": "string"
735
814
  },
736
- "common77": {
815
+ "common79": {
737
816
  "additionalProperties": false,
738
817
  "properties": {
739
818
  "@type": {
@@ -759,7 +838,7 @@ const common = {
759
838
  ],
760
839
  "type": "object"
761
840
  },
762
- "common78": {
841
+ "common80": {
763
842
  "@type": {
764
843
  "const": "GeoCoordinates",
765
844
  "type": "string"
@@ -777,17 +856,17 @@ const common = {
777
856
  ]
778
857
  }
779
858
  },
780
- "common79": {
859
+ "common81": {
781
860
  "const": "GeoCoordinates",
782
861
  "type": "string"
783
862
  },
784
- "common80": {
863
+ "common82": {
785
864
  "type": [
786
865
  "string",
787
866
  "number"
788
867
  ]
789
868
  },
790
- "common81": {
869
+ "common83": {
791
870
  "additionalProperties": true,
792
871
  "properties": {
793
872
  "coordinates": {
@@ -815,7 +894,7 @@ const common = {
815
894
  ],
816
895
  "type": "object"
817
896
  },
818
- "common82": {
897
+ "common84": {
819
898
  "coordinates": {
820
899
  "items": {
821
900
  "type": "number"
@@ -834,7 +913,7 @@ const common = {
834
913
  "type": "string"
835
914
  }
836
915
  },
837
- "common83": {
916
+ "common85": {
838
917
  "items": {
839
918
  "type": "number"
840
919
  },
@@ -842,19 +921,19 @@ const common = {
842
921
  "minItems": 2,
843
922
  "type": "array"
844
923
  },
845
- "common84": {
924
+ "common86": {
846
925
  "type": "number"
847
926
  },
848
- "common85": {
927
+ "common87": {
849
928
  "const": true,
850
929
  "default": true,
851
930
  "type": "boolean"
852
931
  },
853
- "common86": {
932
+ "common88": {
854
933
  "const": "Point",
855
934
  "type": "string"
856
935
  },
857
- "common87": {
936
+ "common89": {
858
937
  "properties": {
859
938
  "id": {
860
939
  "default": "@userId",
@@ -862,35 +941,35 @@ const common = {
862
941
  }
863
942
  }
864
943
  },
865
- "common88": {
944
+ "common90": {
866
945
  "id": {
867
946
  "default": "@userId",
868
947
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
869
948
  }
870
949
  },
871
- "common89": {
950
+ "common91": {
872
951
  "default": "@userId",
873
952
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
874
953
  },
875
- "common90": {
954
+ "common92": {
876
955
  "maxLength": 100,
877
956
  "minLength": 3,
878
957
  "pattern": "^[a-zA-Z0-9]+$",
879
958
  "type": "string"
880
959
  },
881
- "common91": {
960
+ "common93": {
882
961
  "properties": {
883
962
  "type": {
884
963
  "const": "citoyens"
885
964
  }
886
965
  }
887
966
  },
888
- "common92": {
967
+ "common94": {
889
968
  "type": {
890
969
  "const": "citoyens"
891
970
  }
892
971
  },
893
- "common93": {
972
+ "common95": {
894
973
  "additionalProperties": false,
895
974
  "else": {
896
975
  "properties": {
@@ -936,31 +1015,31 @@ const common = {
936
1015
  },
937
1016
  "type": "object"
938
1017
  },
939
- "common94": {
1018
+ "common96": {
940
1019
  "properties": {
941
1020
  "ownerId": {
942
1021
  "pattern": "^[a-f0-9]{24}$"
943
1022
  }
944
1023
  }
945
1024
  },
946
- "common95": {
1025
+ "common97": {
947
1026
  "ownerId": {
948
1027
  "pattern": "^[a-f0-9]{24}$"
949
1028
  }
950
1029
  },
951
- "common96": {
1030
+ "common98": {
952
1031
  "properties": {
953
1032
  "folder": {
954
1033
  "const": "citoyens"
955
1034
  }
956
1035
  }
957
1036
  },
958
- "common97": {
1037
+ "common99": {
959
1038
  "folder": {
960
1039
  "const": "citoyens"
961
1040
  }
962
1041
  },
963
- "common98": {
1042
+ "common100": {
964
1043
  "folder": {
965
1044
  "default": "citoyens",
966
1045
  "enum": [
@@ -976,7 +1055,7 @@ const common = {
976
1055
  "type": "string"
977
1056
  }
978
1057
  },
979
- "common99": {
1058
+ "common101": {
980
1059
  "default": "citoyens",
981
1060
  "enum": [
982
1061
  "citoyens",
@@ -987,7 +1066,7 @@ const common = {
987
1066
  ],
988
1067
  "type": "string"
989
1068
  },
990
- "common100": {
1069
+ "common102": {
991
1070
  "properties": {
992
1071
  "ownerId": {
993
1072
  "default": "@userId",
@@ -995,37 +1074,37 @@ const common = {
995
1074
  }
996
1075
  }
997
1076
  },
998
- "common101": {
1077
+ "common103": {
999
1078
  "ownerId": {
1000
1079
  "default": "@userId",
1001
1080
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1002
1081
  }
1003
1082
  },
1004
- "common102": {
1083
+ "common104": {
1005
1084
  "properties": {
1006
1085
  "parentId": {
1007
1086
  "pattern": "^[a-f0-9]{24}$"
1008
1087
  }
1009
1088
  }
1010
1089
  },
1011
- "common103": {
1090
+ "common105": {
1012
1091
  "parentId": {
1013
1092
  "pattern": "^[a-f0-9]{24}$"
1014
1093
  }
1015
1094
  },
1016
- "common104": {
1095
+ "common106": {
1017
1096
  "properties": {
1018
1097
  "parentType": {
1019
1098
  "const": "citoyens"
1020
1099
  }
1021
1100
  }
1022
1101
  },
1023
- "common105": {
1102
+ "common107": {
1024
1103
  "parentType": {
1025
1104
  "const": "citoyens"
1026
1105
  }
1027
1106
  },
1028
- "common106": {
1107
+ "common108": {
1029
1108
  "properties": {
1030
1109
  "parentId": {
1031
1110
  "default": "@userId",
@@ -1033,36 +1112,36 @@ const common = {
1033
1112
  }
1034
1113
  }
1035
1114
  },
1036
- "common107": {
1115
+ "common109": {
1037
1116
  "parentId": {
1038
1117
  "default": "@userId",
1039
1118
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1040
1119
  }
1041
1120
  },
1042
- "common108": {
1121
+ "common110": {
1043
1122
  "default": true,
1044
1123
  "type": "boolean"
1045
1124
  },
1046
- "common109": {
1125
+ "common111": {
1047
1126
  "default": 0,
1048
1127
  "type": "integer"
1049
1128
  },
1050
- "common110": {
1129
+ "common112": {
1051
1130
  "required": [
1052
1131
  "text"
1053
1132
  ]
1054
1133
  },
1055
- "common111": {
1134
+ "common113": {
1056
1135
  "required": [
1057
1136
  "mediaImg"
1058
1137
  ]
1059
1138
  },
1060
- "common112": {
1139
+ "common114": {
1061
1140
  "required": [
1062
1141
  "mediaFile"
1063
1142
  ]
1064
1143
  },
1065
- "common113": {
1144
+ "common115": {
1066
1145
  "additionalProperties": false,
1067
1146
  "properties": {
1068
1147
  "countFiles": {
@@ -1081,7 +1160,7 @@ const common = {
1081
1160
  ],
1082
1161
  "type": "object"
1083
1162
  },
1084
- "common114": {
1163
+ "common116": {
1085
1164
  "countFiles": {
1086
1165
  "type": "number"
1087
1166
  },
@@ -1092,7 +1171,7 @@ const common = {
1092
1171
  "type": "array"
1093
1172
  }
1094
1173
  },
1095
- "common115": {
1174
+ "common117": {
1096
1175
  "additionalProperties": false,
1097
1176
  "properties": {
1098
1177
  "countImages": {
@@ -1111,7 +1190,7 @@ const common = {
1111
1190
  ],
1112
1191
  "type": "object"
1113
1192
  },
1114
- "common116": {
1193
+ "common118": {
1115
1194
  "countImages": {
1116
1195
  "type": "number"
1117
1196
  },
@@ -1122,7 +1201,7 @@ const common = {
1122
1201
  "type": "array"
1123
1202
  }
1124
1203
  },
1125
- "common117": {
1204
+ "common119": {
1126
1205
  "items": {
1127
1206
  "properties": {
1128
1207
  "count": {
@@ -1158,7 +1237,7 @@ const common = {
1158
1237
  },
1159
1238
  "type": "array"
1160
1239
  },
1161
- "common118": {
1240
+ "common120": {
1162
1241
  "properties": {
1163
1242
  "count": {
1164
1243
  "minimum": 1,
@@ -1191,7 +1270,7 @@ const common = {
1191
1270
  ],
1192
1271
  "type": "object"
1193
1272
  },
1194
- "common119": {
1273
+ "common121": {
1195
1274
  "count": {
1196
1275
  "minimum": 1,
1197
1276
  "type": "integer"
@@ -1213,11 +1292,11 @@ const common = {
1213
1292
  "type": "string"
1214
1293
  }
1215
1294
  },
1216
- "common120": {
1295
+ "common122": {
1217
1296
  "minimum": 1,
1218
1297
  "type": "integer"
1219
1298
  },
1220
- "common121": {
1299
+ "common123": {
1221
1300
  "default": "public",
1222
1301
  "enum": [
1223
1302
  "public",
@@ -1226,12 +1305,12 @@ const common = {
1226
1305
  ],
1227
1306
  "type": "string"
1228
1307
  },
1229
- "common122": {
1308
+ "common124": {
1230
1309
  "const": "news",
1231
1310
  "default": "news",
1232
1311
  "type": "string"
1233
1312
  },
1234
- "common123": {
1313
+ "common125": {
1235
1314
  "additionalProperties": false,
1236
1315
  "else": {
1237
1316
  "properties": {
@@ -1275,7 +1354,7 @@ const common = {
1275
1354
  },
1276
1355
  "type": "object"
1277
1356
  },
1278
- "common124": {
1357
+ "common126": {
1279
1358
  "folder": {
1280
1359
  "default": "citoyens",
1281
1360
  "enum": [
@@ -1289,7 +1368,7 @@ const common = {
1289
1368
  "type": "string"
1290
1369
  }
1291
1370
  },
1292
- "common125": {
1371
+ "common127": {
1293
1372
  "additionalProperties": false,
1294
1373
  "properties": {
1295
1374
  "id": {
@@ -1302,40 +1381,40 @@ const common = {
1302
1381
  ],
1303
1382
  "type": "object"
1304
1383
  },
1305
- "common126": {
1384
+ "common128": {
1306
1385
  "default": false,
1307
1386
  "type": "boolean"
1308
1387
  },
1309
- "common127": {
1388
+ "common129": {
1310
1389
  "properties": {
1311
1390
  "childId": {
1312
1391
  "pattern": "^[a-f0-9]{24}$"
1313
1392
  }
1314
1393
  }
1315
1394
  },
1316
- "common128": {
1395
+ "common130": {
1317
1396
  "childId": {
1318
1397
  "pattern": "^[a-f0-9]{24}$"
1319
1398
  }
1320
1399
  },
1321
- "common129": {
1400
+ "common131": {
1322
1401
  "properties": {
1323
1402
  "childType": {
1324
1403
  "const": "citoyens"
1325
1404
  }
1326
1405
  }
1327
1406
  },
1328
- "common130": {
1407
+ "common132": {
1329
1408
  "childType": {
1330
1409
  "const": "citoyens"
1331
1410
  }
1332
1411
  },
1333
- "common131": {
1412
+ "common133": {
1334
1413
  "const": "share",
1335
1414
  "default": "share",
1336
1415
  "type": "string"
1337
1416
  },
1338
- "common132": {
1417
+ "common134": {
1339
1418
  "properties": {
1340
1419
  "childId": {
1341
1420
  "default": "@userId",
@@ -1343,20 +1422,20 @@ const common = {
1343
1422
  }
1344
1423
  }
1345
1424
  },
1346
- "common133": {
1425
+ "common135": {
1347
1426
  "childId": {
1348
1427
  "default": "@userId",
1349
1428
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1350
1429
  }
1351
1430
  },
1352
- "common134": {
1431
+ "common136": {
1353
1432
  "default": "news",
1354
1433
  "enum": [
1355
1434
  "news"
1356
1435
  ],
1357
1436
  "type": "string"
1358
1437
  },
1359
- "common135": {
1438
+ "common137": {
1360
1439
  "items": {
1361
1440
  "additionalProperties": false,
1362
1441
  "properties": {
@@ -1392,7 +1471,7 @@ const common = {
1392
1471
  },
1393
1472
  "type": "array"
1394
1473
  },
1395
- "common136": {
1474
+ "common138": {
1396
1475
  "additionalProperties": false,
1397
1476
  "properties": {
1398
1477
  "count": {
@@ -1425,7 +1504,7 @@ const common = {
1425
1504
  ],
1426
1505
  "type": "object"
1427
1506
  },
1428
- "common137": {
1507
+ "common139": {
1429
1508
  "count": {
1430
1509
  "type": "number"
1431
1510
  },
@@ -1446,7 +1525,7 @@ const common = {
1446
1525
  "type": "string"
1447
1526
  }
1448
1527
  },
1449
- "common138": {
1528
+ "common140": {
1450
1529
  "enum": [
1451
1530
  "NGO",
1452
1531
  "LocalBusiness",
@@ -1459,25 +1538,25 @@ const common = {
1459
1538
  ],
1460
1539
  "type": "string"
1461
1540
  },
1462
- "common139": {
1541
+ "common141": {
1463
1542
  "const": false,
1464
1543
  "default": false,
1465
1544
  "type": "boolean"
1466
1545
  },
1467
- "common140": {
1546
+ "common142": {
1468
1547
  "const": "",
1469
1548
  "default": "",
1470
1549
  "type": "string"
1471
1550
  },
1472
- "common141": {
1551
+ "common143": {
1473
1552
  "default": 0,
1474
1553
  "type": "number"
1475
1554
  },
1476
- "common142": {
1555
+ "common144": {
1477
1556
  "default": 30,
1478
1557
  "type": "number"
1479
1558
  },
1480
- "common143": {
1559
+ "common145": {
1481
1560
  "additionalProperties": false,
1482
1561
  "patternProperties": {
1483
1562
  "^[^\\s]+$": {
@@ -1503,7 +1582,7 @@ const common = {
1503
1582
  },
1504
1583
  "type": "object"
1505
1584
  },
1506
- "common144": {
1585
+ "common146": {
1507
1586
  "^[^\\s]+$": {
1508
1587
  "additionalProperties": false,
1509
1588
  "properties": {
@@ -1525,7 +1604,7 @@ const common = {
1525
1604
  "type": "object"
1526
1605
  }
1527
1606
  },
1528
- "common145": {
1607
+ "common147": {
1529
1608
  "additionalProperties": false,
1530
1609
  "properties": {
1531
1610
  "id": {
@@ -1545,7 +1624,7 @@ const common = {
1545
1624
  ],
1546
1625
  "type": "object"
1547
1626
  },
1548
- "common146": {
1627
+ "common148": {
1549
1628
  "id": {
1550
1629
  "type": "string"
1551
1630
  },
@@ -1557,14 +1636,14 @@ const common = {
1557
1636
  "type": "string"
1558
1637
  }
1559
1638
  },
1560
- "common147": {
1639
+ "common149": {
1561
1640
  "enum": [
1562
1641
  "cities",
1563
1642
  "level1"
1564
1643
  ],
1565
1644
  "type": "string"
1566
1645
  },
1567
- "common148": {
1646
+ "common150": {
1568
1647
  "additionalProperties": false,
1569
1648
  "patternProperties": {
1570
1649
  "^[^\\s]+$": {
@@ -1586,7 +1665,7 @@ const common = {
1586
1665
  },
1587
1666
  "type": "object"
1588
1667
  },
1589
- "common149": {
1668
+ "common151": {
1590
1669
  "^[^\\s]+$": {
1591
1670
  "additionalProperties": false,
1592
1671
  "properties": {
@@ -1604,7 +1683,7 @@ const common = {
1604
1683
  "type": "object"
1605
1684
  }
1606
1685
  },
1607
- "common150": {
1686
+ "common152": {
1608
1687
  "additionalProperties": false,
1609
1688
  "properties": {
1610
1689
  "indexMax": {
@@ -1620,7 +1699,7 @@ const common = {
1620
1699
  ],
1621
1700
  "type": "object"
1622
1701
  },
1623
- "common151": {
1702
+ "common153": {
1624
1703
  "indexMax": {
1625
1704
  "type": "number"
1626
1705
  },
@@ -1628,18 +1707,18 @@ const common = {
1628
1707
  "type": "number"
1629
1708
  }
1630
1709
  },
1631
- "common152": {
1710
+ "common154": {
1632
1711
  "enum": [
1633
1712
  "ALL"
1634
1713
  ],
1635
1714
  "type": "string"
1636
1715
  },
1637
- "common153": {
1716
+ "common155": {
1638
1717
  "default": 0,
1639
1718
  "minimum": 0,
1640
1719
  "type": "integer"
1641
1720
  },
1642
- "common154": {
1721
+ "common156": {
1643
1722
  "const": [
1644
1723
  "projects"
1645
1724
  ],
@@ -1654,16 +1733,16 @@ const common = {
1654
1733
  },
1655
1734
  "type": "array"
1656
1735
  },
1657
- "common155": {
1736
+ "common157": {
1658
1737
  "enum": [
1659
1738
  "projects"
1660
1739
  ],
1661
1740
  "type": "string"
1662
1741
  },
1663
- "common156": {
1742
+ "common158": {
1664
1743
  "$exists": true
1665
1744
  },
1666
- "common157": {
1745
+ "common159": {
1667
1746
  "additionalProperties": false,
1668
1747
  "properties": {
1669
1748
  "$exists": {
@@ -1675,15 +1754,15 @@ const common = {
1675
1754
  ],
1676
1755
  "type": "object"
1677
1756
  },
1678
- "common158": {
1757
+ "common160": {
1679
1758
  "$exists": {
1680
1759
  "const": true
1681
1760
  }
1682
1761
  },
1683
- "common159": {
1762
+ "common161": {
1684
1763
  "const": true
1685
1764
  },
1686
- "common160": {
1765
+ "common162": {
1687
1766
  "additionalProperties": false,
1688
1767
  "else": {
1689
1768
  "properties": {
@@ -1727,7 +1806,7 @@ const common = {
1727
1806
  },
1728
1807
  "type": "object"
1729
1808
  },
1730
- "common161": {
1809
+ "common163": {
1731
1810
  "id": {
1732
1811
  "type": "string"
1733
1812
  },
@@ -1741,7 +1820,7 @@ const common = {
1741
1820
  "type": "string"
1742
1821
  }
1743
1822
  },
1744
- "common162": {
1823
+ "common164": {
1745
1824
  "const": [
1746
1825
  "poi"
1747
1826
  ],
@@ -1756,7 +1835,7 @@ const common = {
1756
1835
  },
1757
1836
  "type": "array"
1758
1837
  },
1759
- "common163": {
1838
+ "common165": {
1760
1839
  "const": [
1761
1840
  "NGO",
1762
1841
  "Cooperative",
@@ -1783,7 +1862,7 @@ const common = {
1783
1862
  },
1784
1863
  "type": "array"
1785
1864
  },
1786
- "common164": {
1865
+ "common166": {
1787
1866
  "enum": [
1788
1867
  "NGO",
1789
1868
  "Cooperative",
@@ -1793,10 +1872,10 @@ const common = {
1793
1872
  ],
1794
1873
  "type": "string"
1795
1874
  },
1796
- "common165": {
1875
+ "common167": {
1797
1876
  "$exists": false
1798
1877
  },
1799
- "common166": {
1878
+ "common168": {
1800
1879
  "additionalProperties": false,
1801
1880
  "properties": {
1802
1881
  "$exists": {
@@ -1808,19 +1887,19 @@ const common = {
1808
1887
  ],
1809
1888
  "type": "object"
1810
1889
  },
1811
- "common167": {
1890
+ "common169": {
1812
1891
  "$exists": {
1813
1892
  "const": false
1814
1893
  }
1815
1894
  },
1816
- "common168": {
1895
+ "common170": {
1817
1896
  "const": false
1818
1897
  },
1819
- "common169": {
1898
+ "common171": {
1820
1899
  "default": 30,
1821
1900
  "type": "integer"
1822
1901
  },
1823
- "common170": {
1902
+ "common172": {
1824
1903
  "const": [
1825
1904
  "citoyens",
1826
1905
  "NGO",
@@ -1850,7 +1929,7 @@ const common = {
1850
1929
  },
1851
1930
  "type": "array"
1852
1931
  },
1853
- "common171": {
1932
+ "common173": {
1854
1933
  "enum": [
1855
1934
  "citoyens",
1856
1935
  "NGO",
@@ -1861,7 +1940,7 @@ const common = {
1861
1940
  ],
1862
1941
  "type": "string"
1863
1942
  },
1864
- "common172": {
1943
+ "common174": {
1865
1944
  "additionalProperties": false,
1866
1945
  "properties": {
1867
1946
  "$exists": {
@@ -1874,13 +1953,13 @@ const common = {
1874
1953
  ],
1875
1954
  "type": "object"
1876
1955
  },
1877
- "common173": {
1956
+ "common175": {
1878
1957
  "$exists": {
1879
1958
  "default": false,
1880
1959
  "type": "boolean"
1881
1960
  }
1882
1961
  },
1883
- "common174": {
1962
+ "common176": {
1884
1963
  "additionalProperties": false,
1885
1964
  "properties": {
1886
1965
  "$in": {
@@ -1896,7 +1975,7 @@ const common = {
1896
1975
  ],
1897
1976
  "type": "object"
1898
1977
  },
1899
- "common175": {
1978
+ "common177": {
1900
1979
  "$in": {
1901
1980
  "items": {
1902
1981
  "type": "string"
@@ -1905,14 +1984,14 @@ const common = {
1905
1984
  "type": "array"
1906
1985
  }
1907
1986
  },
1908
- "common176": {
1987
+ "common178": {
1909
1988
  "items": {
1910
1989
  "type": "string"
1911
1990
  },
1912
1991
  "minItems": 1,
1913
1992
  "type": "array"
1914
1993
  },
1915
- "common177": {
1994
+ "common179": {
1916
1995
  "const": [
1917
1996
  "citoyens"
1918
1997
  ],
@@ -1927,13 +2006,13 @@ const common = {
1927
2006
  },
1928
2007
  "type": "array"
1929
2008
  },
1930
- "common178": {
2009
+ "common180": {
1931
2010
  "enum": [
1932
2011
  "citoyens"
1933
2012
  ],
1934
2013
  "type": "string"
1935
2014
  },
1936
- "common179": {
2015
+ "common181": {
1937
2016
  "const": [
1938
2017
  "citoyens",
1939
2018
  "NGO",
@@ -1966,7 +2045,7 @@ const common = {
1966
2045
  },
1967
2046
  "type": "array"
1968
2047
  },
1969
- "common180": {
2048
+ "common182": {
1970
2049
  "enum": [
1971
2050
  "citoyens",
1972
2051
  "NGO",
@@ -1978,22 +2057,22 @@ const common = {
1978
2057
  ],
1979
2058
  "type": "string"
1980
2059
  },
1981
- "common181": {
2060
+ "common183": {
1982
2061
  "not": {
1983
2062
  "propertyNames": {
1984
2063
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
1985
2064
  }
1986
2065
  }
1987
2066
  },
1988
- "common182": {
2067
+ "common184": {
1989
2068
  "propertyNames": {
1990
2069
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
1991
2070
  }
1992
2071
  },
1993
- "common183": {
2072
+ "common185": {
1994
2073
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
1995
2074
  },
1996
- "common184": {
2075
+ "common186": {
1997
2076
  "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
1998
2077
  "additionalProperties": false,
1999
2078
  "properties": {
@@ -2031,22 +2110,22 @@ const common = {
2031
2110
  "type": "object"
2032
2111
  }
2033
2112
  },
2034
- "common185": {
2113
+ "common187": {
2035
2114
  "not": {
2036
2115
  "propertyNames": {
2037
2116
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2038
2117
  }
2039
2118
  }
2040
2119
  },
2041
- "common186": {
2120
+ "common188": {
2042
2121
  "propertyNames": {
2043
2122
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2044
2123
  }
2045
2124
  },
2046
- "common187": {
2125
+ "common189": {
2047
2126
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2048
2127
  },
2049
- "common188": {
2128
+ "common190": {
2050
2129
  "default": "citoyens",
2051
2130
  "enum": [
2052
2131
  "citoyens",
@@ -2055,7 +2134,7 @@ const common = {
2055
2134
  ],
2056
2135
  "type": "string"
2057
2136
  },
2058
- "common189": {
2137
+ "common191": {
2059
2138
  "const": [
2060
2139
  "badges"
2061
2140
  ],
@@ -2070,13 +2149,13 @@ const common = {
2070
2149
  },
2071
2150
  "type": "array"
2072
2151
  },
2073
- "common190": {
2152
+ "common192": {
2074
2153
  "enum": [
2075
2154
  "badges"
2076
2155
  ],
2077
2156
  "type": "string"
2078
2157
  },
2079
- "common191": {
2158
+ "common193": {
2080
2159
  "const": [
2081
2160
  "citoyens",
2082
2161
  "projects",
@@ -2109,7 +2188,7 @@ const common = {
2109
2188
  },
2110
2189
  "type": "array"
2111
2190
  },
2112
- "common192": {
2191
+ "common194": {
2113
2192
  "enum": [
2114
2193
  "citoyens",
2115
2194
  "projects",
@@ -2121,7 +2200,7 @@ const common = {
2121
2200
  ],
2122
2201
  "type": "string"
2123
2202
  },
2124
- "common193": {
2203
+ "common195": {
2125
2204
  "additionalProperties": false,
2126
2205
  "properties": {
2127
2206
  "$exists": {
@@ -2134,17 +2213,17 @@ const common = {
2134
2213
  ],
2135
2214
  "type": "object"
2136
2215
  },
2137
- "common194": {
2216
+ "common196": {
2138
2217
  "$exists": {
2139
2218
  "const": true,
2140
2219
  "type": "boolean"
2141
2220
  }
2142
2221
  },
2143
- "common195": {
2222
+ "common197": {
2144
2223
  "const": true,
2145
2224
  "type": "boolean"
2146
2225
  },
2147
- "common196": {
2226
+ "common198": {
2148
2227
  "additionalProperties": false,
2149
2228
  "properties": {
2150
2229
  "$exists": {
@@ -2157,17 +2236,17 @@ const common = {
2157
2236
  ],
2158
2237
  "type": "object"
2159
2238
  },
2160
- "common197": {
2239
+ "common199": {
2161
2240
  "$exists": {
2162
2241
  "const": false,
2163
2242
  "type": "boolean"
2164
2243
  }
2165
2244
  },
2166
- "common198": {
2245
+ "common200": {
2167
2246
  "const": false,
2168
2247
  "type": "boolean"
2169
2248
  },
2170
- "common199": {
2249
+ "common201": {
2171
2250
  "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2172
2251
  "additionalProperties": false,
2173
2252
  "properties": {
@@ -2195,52 +2274,52 @@ const common = {
2195
2274
  "type": "object"
2196
2275
  }
2197
2276
  },
2198
- "common200": {
2277
+ "common202": {
2199
2278
  "indexMax": 30,
2200
2279
  "indexMin": 0
2201
2280
  },
2202
- "common201": {
2281
+ "common203": {
2203
2282
  "properties": {
2204
2283
  "parentType": {
2205
2284
  "const": "organizations"
2206
2285
  }
2207
2286
  }
2208
2287
  },
2209
- "common202": {
2288
+ "common204": {
2210
2289
  "parentType": {
2211
2290
  "const": "organizations"
2212
2291
  }
2213
2292
  },
2214
- "common203": {
2293
+ "common205": {
2215
2294
  "properties": {
2216
2295
  "parentType": {
2217
2296
  "const": "projects"
2218
2297
  }
2219
2298
  }
2220
2299
  },
2221
- "common204": {
2300
+ "common206": {
2222
2301
  "parentType": {
2223
2302
  "const": "projects"
2224
2303
  }
2225
2304
  },
2226
- "common205": {
2305
+ "common207": {
2227
2306
  "properties": {
2228
2307
  "parentType": {
2229
2308
  "const": "events"
2230
2309
  }
2231
2310
  }
2232
2311
  },
2233
- "common206": {
2312
+ "common208": {
2234
2313
  "parentType": {
2235
2314
  "const": "events"
2236
2315
  }
2237
2316
  },
2238
- "common207": {
2317
+ "common209": {
2239
2318
  "default": "@userId",
2240
2319
  "pattern": "^([a-f0-9]{24}|@\\w+)$",
2241
2320
  "type": "string"
2242
2321
  },
2243
- "common208": {
2322
+ "common210": {
2244
2323
  "const": "citoyens",
2245
2324
  "default": "citoyens",
2246
2325
  "enum": [
@@ -2248,7 +2327,7 @@ const common = {
2248
2327
  ],
2249
2328
  "type": "string"
2250
2329
  },
2251
- "common209": {
2330
+ "common211": {
2252
2331
  "enum": [
2253
2332
  "citoyens",
2254
2333
  "organizations",
@@ -2257,18 +2336,18 @@ const common = {
2257
2336
  ],
2258
2337
  "type": "string"
2259
2338
  },
2260
- "common210": {
2339
+ "common212": {
2261
2340
  "const": "citoyens",
2262
2341
  "default": "citoyens",
2263
2342
  "type": "string"
2264
2343
  },
2265
- "common211": {
2344
+ "common213": {
2266
2345
  "const": "@userId",
2267
2346
  "default": "@userId",
2268
2347
  "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2269
2348
  "type": "string"
2270
2349
  },
2271
- "common212": {
2350
+ "common214": {
2272
2351
  "default": {
2273
2352
  "isOpenData": true,
2274
2353
  "isOpenEdition": true
@@ -2289,11 +2368,11 @@ const common = {
2289
2368
  ],
2290
2369
  "type": "object"
2291
2370
  },
2292
- "common213": {
2371
+ "common215": {
2293
2372
  "isOpenData": true,
2294
2373
  "isOpenEdition": true
2295
2374
  },
2296
- "common214": {
2375
+ "common216": {
2297
2376
  "isOpenData": {
2298
2377
  "default": true,
2299
2378
  "type": "boolean"
@@ -2303,7 +2382,7 @@ const common = {
2303
2382
  "type": "boolean"
2304
2383
  }
2305
2384
  },
2306
- "common215": {
2385
+ "common217": {
2307
2386
  "additionalProperties": false,
2308
2387
  "default": {
2309
2388
  "@userId": {
@@ -2329,36 +2408,36 @@ const common = {
2329
2408
  },
2330
2409
  "type": "object"
2331
2410
  },
2332
- "common216": {
2411
+ "common218": {
2333
2412
  "@userId": {
2334
2413
  "type": "citoyens"
2335
2414
  }
2336
2415
  },
2337
- "common217": {
2416
+ "common219": {
2338
2417
  "type": "citoyens"
2339
2418
  },
2340
- "common218": {
2419
+ "common220": {
2341
2420
  "const": "poi",
2342
2421
  "default": "poi",
2343
2422
  "type": "string"
2344
2423
  },
2345
- "common219": {
2424
+ "common221": {
2346
2425
  "const": "events",
2347
2426
  "default": "events",
2348
2427
  "type": "string"
2349
2428
  },
2350
- "common220": {
2429
+ "common222": {
2351
2430
  "format": "date-time",
2352
2431
  "type": "string"
2353
2432
  },
2354
- "common221": {
2433
+ "common223": {
2355
2434
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2356
2435
  "type": "string"
2357
2436
  },
2358
- "common222": {
2437
+ "common224": {
2359
2438
  "type": "integer"
2360
2439
  },
2361
- "common223": {
2440
+ "common225": {
2362
2441
  "additionalProperties": false,
2363
2442
  "properties": {
2364
2443
  "id": {
@@ -2378,7 +2457,7 @@ const common = {
2378
2457
  ],
2379
2458
  "type": "object"
2380
2459
  },
2381
- "common224": {
2460
+ "common226": {
2382
2461
  "id": {
2383
2462
  "default": "@userId",
2384
2463
  "pattern": "^[a-f0-9]{24}$",
@@ -2390,22 +2469,22 @@ const common = {
2390
2469
  "type": "string"
2391
2470
  }
2392
2471
  },
2393
- "common225": {
2472
+ "common227": {
2394
2473
  "default": "@userId",
2395
2474
  "pattern": "^[a-f0-9]{24}$",
2396
2475
  "type": "string"
2397
2476
  },
2398
- "common226": {
2477
+ "common228": {
2399
2478
  "const": "badges",
2400
2479
  "default": "badges",
2401
2480
  "type": "string"
2402
2481
  },
2403
- "common227": {
2482
+ "common229": {
2404
2483
  "const": "badge",
2405
2484
  "default": "badge",
2406
2485
  "type": "string"
2407
2486
  },
2408
- "common228": {
2487
+ "common230": {
2409
2488
  "patternProperties": {
2410
2489
  "^[0-9a-f]{24}$": {
2411
2490
  "additionalProperties": false,
@@ -2436,7 +2515,7 @@ const common = {
2436
2515
  },
2437
2516
  "type": "object"
2438
2517
  },
2439
- "common229": {
2518
+ "common231": {
2440
2519
  "^[0-9a-f]{24}$": {
2441
2520
  "additionalProperties": false,
2442
2521
  "properties": {
@@ -2464,7 +2543,7 @@ const common = {
2464
2543
  "type": "object"
2465
2544
  }
2466
2545
  },
2467
- "common230": {
2546
+ "common232": {
2468
2547
  "additionalProperties": false,
2469
2548
  "properties": {
2470
2549
  "isAdmin": {
@@ -2490,7 +2569,7 @@ const common = {
2490
2569
  ],
2491
2570
  "type": "object"
2492
2571
  },
2493
- "common231": {
2572
+ "common233": {
2494
2573
  "isAdmin": {
2495
2574
  "default": "",
2496
2575
  "enum": [
@@ -2509,7 +2588,7 @@ const common = {
2509
2588
  "type": "array"
2510
2589
  }
2511
2590
  },
2512
- "common232": {
2591
+ "common234": {
2513
2592
  "default": "",
2514
2593
  "enum": [
2515
2594
  "",
@@ -2517,14 +2596,14 @@ const common = {
2517
2596
  ],
2518
2597
  "type": "string"
2519
2598
  },
2520
- "common233": {
2599
+ "common235": {
2521
2600
  "enum": [
2522
2601
  "projects",
2523
2602
  "organizations"
2524
2603
  ],
2525
2604
  "type": "string"
2526
2605
  },
2527
- "common234": {
2606
+ "common236": {
2528
2607
  "items": {
2529
2608
  "enum": [
2530
2609
  "NGO",
@@ -2542,7 +2621,7 @@ const common = {
2542
2621
  },
2543
2622
  "type": "array"
2544
2623
  },
2545
- "common235": {
2624
+ "common237": {
2546
2625
  "enum": [
2547
2626
  "NGO",
2548
2627
  "LocalBusiness",
@@ -2557,7 +2636,7 @@ const common = {
2557
2636
  ],
2558
2637
  "type": "string"
2559
2638
  },
2560
- "common236": {
2639
+ "common238": {
2561
2640
  "default": "",
2562
2641
  "oneOf": [
2563
2642
  {
@@ -2570,11 +2649,11 @@ const common = {
2570
2649
  }
2571
2650
  ]
2572
2651
  },
2573
- "common237": {
2652
+ "common239": {
2574
2653
  "additionalProperties": true,
2575
2654
  "type": "object"
2576
2655
  },
2577
- "common238": {
2656
+ "common240": {
2578
2657
  "additionalProperties": true,
2579
2658
  "properties": {
2580
2659
  "tags": {
@@ -2589,7 +2668,7 @@ const common = {
2589
2668
  },
2590
2669
  "type": "object"
2591
2670
  },
2592
- "common239": {
2671
+ "common241": {
2593
2672
  "tags": {
2594
2673
  "additionalProperties": true,
2595
2674
  "properties": {
@@ -2600,7 +2679,7 @@ const common = {
2600
2679
  "type": "object"
2601
2680
  }
2602
2681
  },
2603
- "common240": {
2682
+ "common242": {
2604
2683
  "additionalProperties": true,
2605
2684
  "properties": {
2606
2685
  "verb": {
@@ -2609,12 +2688,12 @@ const common = {
2609
2688
  },
2610
2689
  "type": "object"
2611
2690
  },
2612
- "common241": {
2691
+ "common243": {
2613
2692
  "verb": {
2614
2693
  "type": "string"
2615
2694
  }
2616
2695
  },
2617
- "common242": {
2696
+ "common244": {
2618
2697
  "additionalProperties": {
2619
2698
  "enum": [
2620
2699
  1,
@@ -2624,14 +2703,14 @@ const common = {
2624
2703
  },
2625
2704
  "type": "object"
2626
2705
  },
2627
- "common243": {
2706
+ "common245": {
2628
2707
  "enum": [
2629
2708
  1,
2630
2709
  -1
2631
2710
  ],
2632
2711
  "type": "integer"
2633
2712
  },
2634
- "common244": {
2713
+ "common246": {
2635
2714
  "additionalProperties": false,
2636
2715
  "properties": {
2637
2716
  "id": {
@@ -2649,7 +2728,7 @@ const common = {
2649
2728
  ],
2650
2729
  "type": "object"
2651
2730
  },
2652
- "common245": {
2731
+ "common247": {
2653
2732
  "id": {
2654
2733
  "pattern": "^[a-f0-9]{24}$",
2655
2734
  "type": "string"
@@ -2659,11 +2738,11 @@ const common = {
2659
2738
  "type": "string"
2660
2739
  }
2661
2740
  },
2662
- "common246": {
2741
+ "common248": {
2663
2742
  "default": "events",
2664
2743
  "type": "string"
2665
2744
  },
2666
- "common247": {
2745
+ "common249": {
2667
2746
  "items": {
2668
2747
  "properties": {
2669
2748
  "id": {
@@ -2677,7 +2756,7 @@ const common = {
2677
2756
  },
2678
2757
  "type": "array"
2679
2758
  },
2680
- "common248": {
2759
+ "common250": {
2681
2760
  "properties": {
2682
2761
  "id": {
2683
2762
  "type": "string"
@@ -2688,12 +2767,12 @@ const common = {
2688
2767
  ],
2689
2768
  "type": "object"
2690
2769
  },
2691
- "common249": {
2770
+ "common251": {
2692
2771
  "id": {
2693
2772
  "type": "string"
2694
2773
  }
2695
2774
  },
2696
- "common250": {
2775
+ "common252": {
2697
2776
  "additionalProperties": false,
2698
2777
  "properties": {
2699
2778
  "contextId": {
@@ -2723,7 +2802,7 @@ const common = {
2723
2802
  },
2724
2803
  "type": "object"
2725
2804
  },
2726
- "common251": {
2805
+ "common253": {
2727
2806
  "contextId": {
2728
2807
  "pattern": "^[a-f0-9]{24}$",
2729
2808
  "type": "string"
@@ -2749,7 +2828,7 @@ const common = {
2749
2828
  "type": "array"
2750
2829
  }
2751
2830
  },
2752
- "common252": {
2831
+ "common254": {
2753
2832
  "items": {
2754
2833
  "enum": [
2755
2834
  "answers"
@@ -2758,20 +2837,20 @@ const common = {
2758
2837
  },
2759
2838
  "type": "array"
2760
2839
  },
2761
- "common253": {
2840
+ "common255": {
2762
2841
  "enum": [
2763
2842
  "answers"
2764
2843
  ],
2765
2844
  "type": "string"
2766
2845
  },
2767
- "common254": {
2846
+ "common256": {
2768
2847
  "enum": [
2769
2848
  "comments",
2770
2849
  "news"
2771
2850
  ],
2772
2851
  "type": "string"
2773
2852
  },
2774
- "common255": {
2853
+ "common257": {
2775
2854
  "default": "citoyens",
2776
2855
  "enum": [
2777
2856
  "citoyens",
@@ -2785,6 +2864,6 @@ const common = {
2785
2864
  };
2786
2865
 
2787
2866
  // Endpoints avec intégration des définitions communes
2788
- 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.common45,"id":common.common5,"mobile":common.common45,"name":common.common46,"scope":common.common10,"tags":common.common47,"typeElement":common.common48,"url":common.common49}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common52],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"parent":common.common55,"scope":common.common10,"tags":common.common47,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common59,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"organizer":common.common61,"parent":common.common55,"scope":common.common10,"tags":common.common47,"type":common.common64,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common59],"properties":{"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common59,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common66,"typeElement":common.common67,"url":common.common49,"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.common68,"facebook":common.common68,"github":common.common68,"gitlab":common.common68,"id":common.common1,"instagram":common.common68,"mastodon":common.common68,"scope":common.common10,"signal":common.common68,"telegram":common.common68,"twitter":common.common68,"typeElement":common.common69},"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.common70,"if":common.common24,"properties":{"address":{"oneOf":[common.common30,common.common73]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common30,common.common77]},"geoPosition":{"oneOf":[common.common30,common.common81]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common87,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common70,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common90,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common87,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common70,"if":common.common91,"properties":{"block":common.common44,"id":common.common1,"slug":common.common90,"type":common.common19},"required":["block","type","id","slug"],"then":common.common87,"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.common93,"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.common93,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common84,"cropW":common.common84,"cropX":common.common84,"cropY":common.common84,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common99},"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.common70,"if":common.common91,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common87,"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.common102,"if":common.common104,"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.common69},"required":["parentId","parentType","listInvite"],"then":common.common106,"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.common70,"if":common.common91,"properties":{"id":common.common1,"isLive":common.common108,"type":common.common69},"required":["isLive","type","id"],"then":common.common87,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common109,"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.common110,common.common111,common.common112],"else":common.common102,"if":common.common104,"properties":{"json":common.common85,"markdownActive":common.common108,"mediaFile":common.common113,"mediaImg":common.common115,"mentions":common.common117,"parentId":common.common1,"parentType":common.common69,"scope":common.common121,"tags":common.common31,"text":common.common1,"type":common.common122},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common106,"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.common123,"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.common123,"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.common125,"request":{"additionalProperties":false,"properties":{"isLive":common.common126},"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.common110,common.common111,common.common112],"else":common.common102,"if":common.common104,"properties":{"idNews":common.common11,"markdownActive":common.common108,"mediaFile":common.common113,"mediaImg":common.common115,"mentions":common.common117,"parentId":common.common1,"parentType":common.common69,"scope":common.common121,"tags":common.common31,"text":common.common1,"type":common.common122},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common106,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common127,"if":common.common129,"properties":{"childId":common.common11,"childType":common.common69,"comment":common.common1,"connectType":common.common131,"parentId":common.common11,"parentType":common.common122},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common132,"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.common134},"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.common134,"mentions":common.common135,"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.common125},{"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.common135,"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.common85,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common138,"type":"array"},"fediverse":common.common139,"filters":common.common140,"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common143,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchTags":common.common32,"searchType":{"items":common.common138,"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.common140,"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.common126,"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.common153,"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.common85,"countType":common.common154,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common156,"parent.@userId":common.common156},"links.contributors.@userId":common.common156},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common154},"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.common160,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common154,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common156,"parent.@{pathParams.id}":common.common156},"links.contributors.@{pathParams.id}":common.common156},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common154},"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.common85,"countType":common.common162,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common156},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common162},"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.common160,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common162,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common156},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common162},"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.common85,"countType":common.common163,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common156,"links.members.@userId.isInviting":common.common165,"links.members.@userId.toBeValidated":common.common165},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common166,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common163},"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.common70,"if":common.common91,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common87,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common163,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common156,"links.members.@{pathParams.id}.isInviting":common.common165,"links.members.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common166,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common163},"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.common85,"countType":common.common170,"fediverse":common.common139,"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.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"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.common125,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common170,"fediverse":common.common139,"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.common156,"links.memberOf.@{pathParams.id}.isInviting":common.common165,"links.memberOf.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"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.common85,"countType":common.common177,"fediverse":common.common139,"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.common156,"links.friends.@{pathParams.id}.isInviting":common.common165,"links.friends.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchType":common.common177},"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.common85,"countType":common.common179,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common181],"default":{"links.followers.@userId":common.common156,"links.followers.@{userId}.isInviting":common.common165,"links.followers.@{userId}.toBeValidated":common.common165},"patternProperties":common.common184,"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common179},"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.common85,"countType":common.common179,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common181],"default":{"links.followers.@{pathParams.id}":common.common156,"links.followers.@{pathParams.id}.isInviting":common.common165,"links.followers.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":common.common184,"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common179},"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.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.follows.@userId":common.common156,"links.follows.@{userId}.isInviting":common.common165,"links.follows.@{userId}.toBeValidated":common.common165},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common166,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common177},"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.common70,"if":common.common91,"then":common.common87}],"properties":{"id":common.common1,"type":common.common188},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.follows.@{pathParams.id}":common.common156},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"type":"object"},"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"searchType":common.common177},"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.common85,"countType":common.common170,"fediverse":common.common139,"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.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"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.common125,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common170,"fediverse":common.common139,"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.common156,"links.projects.@{pathParams.id}.isInviting":common.common165,"links.projects.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"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.common85,"countType":common.common189,"fediverse":common.common139,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"},"isParcours":common.common3,"preferences.private":common.common139},"required":["preferences.private"],"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common189},"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.common85,"countType":common.common191,"fediverse":common.common139,"fields":common.common189,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common193}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common193,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common196,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common196}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common199},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common199,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common195}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common193}}],"type":"object"},"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common200,"GovernmentOrganization":common.common200,"Group":common.common200,"LocalBusiness":common.common200,"NGO":common.common200,"citoyens":common.common200,"projects":common.common200},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common150},"type":"object"},"searchType":common.common191},"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.common104,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common201,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common207,"childType":common.common208,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common209},"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.common104,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common201,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common207,"childType":common.common208,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common209},"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.common84},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common210,"id":common.common211,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common140},"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.common195,"collection":common.common210,"id":common.common211,"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.common58,"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.common73,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common212,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common140,"shortDescription":common.common1,"tags":common.common32,"type":common.common65,"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.common73,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common215,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common108,"isOpenData":common.common126,"isOpenEdition":common.common126},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common108,"scope":common.common140,"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.common73,"collection":common.common218,"description":common.common1,"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":common.common218,"name":common.common1,"parent":common.common215,"scope":common.common140,"tags":common.common32,"type":common.common66,"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.common168}},"properties":{"address":common.common73,"collection":common.common219,"email":common.common2,"endDate":common.common220,"geo":common.common77,"geoPosition":common.common81,"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.common221,"opens":common.common221},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common215,"parent":common.common61,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common126,"isOpenEdition":common.common126},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common108,"recurrency":common.common126,"scope":common.common140,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common220,"tags":common.common32,"timeZone":common.common1,"type":common.common64,"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.common125,"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.common125,"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.common222,"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.common48,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common209},"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.common223,"request":{"additionalProperties":false,"properties":{"indexMin":common.common109},"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.common223,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common222},"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.common85},"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.common125},{"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.common125},{"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.common226,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common126,"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.common227,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common226},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common212,"public":common.common108,"scope":common.common140,"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.common57},"type":"object"},"badgeId":common.common11,"collection":common.common226,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common227,"narative":common.common1,"scope":common.common140},"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.common126,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common220,"fediverse":common.common126,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common156,"organizer.@userId":common.common156},"links.attendees.@userId":common.common156},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common109,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common108,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common220,"type":common.common64},"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.common127,"if":common.common129,"properties":{"childId":common.common11,"childType":common.common69,"comment":common.common1,"connectType":common.common131,"parentId":common.common11,"parentType":common.common219},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common132,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common102,"if":common.common104,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common228,"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.common232,"msg":common.common1,"name":common.common1,"roles":common.common32},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common228,"projects":common.common228},"type":"object"},"parentId":common.common1,"parentType":common.common69},"required":["parentId","parentType","listInvite"],"then":common.common106,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common207,"childType":common.common208,"parentId":common.common11,"parentType":common.common209},"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.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"count":common.common85,"countType":common.common234,"fediverse":common.common126,"fields":common.common32,"filters":common.common236,"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common143,"mapUsed":common.common195,"name":common.common1,"notSourceKey":common.common195,"options":common.common238,"ranges":common.common148,"searchBy":common.common152,"searchTags":common.common32,"searchType":common.common234,"sortBy":common.common242,"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.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"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.common244,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"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.common247,"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.common244,"request":common.common250},{"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.common244,"request":common.common250},{"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.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"regions":common.common247,"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.common244,"request":common.common250},{"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.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"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.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"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.common70,"if":common.common91,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common188},"required":["id","type","docType"],"then":common.common87,"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.common85,"countType":common.common177,"fediverse":common.common139,"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.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common177},"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.common125,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"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.common156,"links.events.@{pathParams.id}.isInviting":common.common165,"links.events.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common177},"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.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"count":common.common85,"countType":common.common252,"fediverse":common.common126,"fields":common.common32,"filters":common.common236,"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common143,"mapUsed":common.common195,"name":common.common1,"notSourceKey":common.common195,"options":common.common238,"ranges":common.common148,"searchBy":common.common152,"searchTags":common.common32,"searchType":common.common252,"sortBy":common.common242,"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.common254,"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.common254,"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.common255,"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.common255},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common255,"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.common178,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common139,"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"}}]};
2789
2868
 
2790
2869
  export default endpoints;