@communecter/cocolight-api-client 1.0.70 → 1.0.71
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.
- package/dist/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/api/EndpointApi.types.ts +3 -3
- package/src/endpoints.module.ts +234 -222
- package/types/api/EndpointApi.types.d.ts +3 -3
- package/types/endpoints.module.d.ts +36 -8
package/src/endpoints.module.ts
CHANGED
|
@@ -219,6 +219,22 @@ const common = {
|
|
|
219
219
|
"type": "string"
|
|
220
220
|
},
|
|
221
221
|
"common33": {
|
|
222
|
+
"anyOf": [
|
|
223
|
+
{
|
|
224
|
+
"format": "uri",
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"const": "",
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"common34": {
|
|
234
|
+
"const": "",
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"common35": {
|
|
222
238
|
"properties": {
|
|
223
239
|
"name": {
|
|
224
240
|
"not": {
|
|
@@ -230,14 +246,14 @@ const common = {
|
|
|
230
246
|
"name"
|
|
231
247
|
]
|
|
232
248
|
},
|
|
233
|
-
"
|
|
249
|
+
"common36": {
|
|
234
250
|
"name": {
|
|
235
251
|
"not": {
|
|
236
252
|
"type": "null"
|
|
237
253
|
}
|
|
238
254
|
}
|
|
239
255
|
},
|
|
240
|
-
"
|
|
256
|
+
"common37": {
|
|
241
257
|
"properties": {
|
|
242
258
|
"url": {
|
|
243
259
|
"not": {
|
|
@@ -249,14 +265,14 @@ const common = {
|
|
|
249
265
|
"url"
|
|
250
266
|
]
|
|
251
267
|
},
|
|
252
|
-
"
|
|
268
|
+
"common38": {
|
|
253
269
|
"url": {
|
|
254
270
|
"not": {
|
|
255
271
|
"type": "null"
|
|
256
272
|
}
|
|
257
273
|
}
|
|
258
274
|
},
|
|
259
|
-
"
|
|
275
|
+
"common39": {
|
|
260
276
|
"properties": {
|
|
261
277
|
"tags": {
|
|
262
278
|
"not": {
|
|
@@ -268,14 +284,14 @@ const common = {
|
|
|
268
284
|
"tags"
|
|
269
285
|
]
|
|
270
286
|
},
|
|
271
|
-
"
|
|
287
|
+
"common40": {
|
|
272
288
|
"tags": {
|
|
273
289
|
"not": {
|
|
274
290
|
"type": "null"
|
|
275
291
|
}
|
|
276
292
|
}
|
|
277
293
|
},
|
|
278
|
-
"
|
|
294
|
+
"common41": {
|
|
279
295
|
"properties": {
|
|
280
296
|
"email": {
|
|
281
297
|
"not": {
|
|
@@ -287,42 +303,42 @@ const common = {
|
|
|
287
303
|
"email"
|
|
288
304
|
]
|
|
289
305
|
},
|
|
290
|
-
"
|
|
306
|
+
"common42": {
|
|
291
307
|
"email": {
|
|
292
308
|
"not": {
|
|
293
309
|
"type": "null"
|
|
294
310
|
}
|
|
295
311
|
}
|
|
296
312
|
},
|
|
297
|
-
"
|
|
313
|
+
"common43": {
|
|
298
314
|
"format": "date",
|
|
299
315
|
"type": "string"
|
|
300
316
|
},
|
|
301
|
-
"
|
|
317
|
+
"common44": {
|
|
302
318
|
"const": "info",
|
|
303
319
|
"default": "info",
|
|
304
320
|
"type": "string"
|
|
305
321
|
},
|
|
306
|
-
"
|
|
322
|
+
"common45": {
|
|
307
323
|
"$ref": "#/$defs/sharedFields/email"
|
|
308
324
|
},
|
|
309
|
-
"
|
|
325
|
+
"common46": {
|
|
310
326
|
"$ref": "#/$defs/sharedFields/name"
|
|
311
327
|
},
|
|
312
|
-
"
|
|
328
|
+
"common47": {
|
|
313
329
|
"$ref": "#/$defs/sharedFields/tags"
|
|
314
330
|
},
|
|
315
|
-
"
|
|
331
|
+
"common48": {
|
|
316
332
|
"default": "citoyens",
|
|
317
333
|
"enum": [
|
|
318
334
|
"citoyens"
|
|
319
335
|
],
|
|
320
336
|
"type": "string"
|
|
321
337
|
},
|
|
322
|
-
"
|
|
338
|
+
"common49": {
|
|
323
339
|
"$ref": "#/$defs/sharedFields/url"
|
|
324
340
|
},
|
|
325
|
-
"
|
|
341
|
+
"common50": {
|
|
326
342
|
"properties": {
|
|
327
343
|
"avancement": {
|
|
328
344
|
"not": {
|
|
@@ -334,14 +350,14 @@ const common = {
|
|
|
334
350
|
"avancement"
|
|
335
351
|
]
|
|
336
352
|
},
|
|
337
|
-
"
|
|
353
|
+
"common51": {
|
|
338
354
|
"avancement": {
|
|
339
355
|
"not": {
|
|
340
356
|
"type": "null"
|
|
341
357
|
}
|
|
342
358
|
}
|
|
343
359
|
},
|
|
344
|
-
"
|
|
360
|
+
"common52": {
|
|
345
361
|
"properties": {
|
|
346
362
|
"parent": {
|
|
347
363
|
"not": {
|
|
@@ -353,14 +369,14 @@ const common = {
|
|
|
353
369
|
"parent"
|
|
354
370
|
]
|
|
355
371
|
},
|
|
356
|
-
"
|
|
372
|
+
"common53": {
|
|
357
373
|
"parent": {
|
|
358
374
|
"not": {
|
|
359
375
|
"type": "null"
|
|
360
376
|
}
|
|
361
377
|
}
|
|
362
378
|
},
|
|
363
|
-
"
|
|
379
|
+
"common54": {
|
|
364
380
|
"additionalProperties": false,
|
|
365
381
|
"patternProperties": {
|
|
366
382
|
"^[a-fA-F0-9]{24}$": {
|
|
@@ -382,7 +398,7 @@ const common = {
|
|
|
382
398
|
},
|
|
383
399
|
"type": "object"
|
|
384
400
|
},
|
|
385
|
-
"
|
|
401
|
+
"common55": {
|
|
386
402
|
"^[a-fA-F0-9]{24}$": {
|
|
387
403
|
"additionalProperties": false,
|
|
388
404
|
"properties": {
|
|
@@ -400,7 +416,7 @@ const common = {
|
|
|
400
416
|
"type": "object"
|
|
401
417
|
}
|
|
402
418
|
},
|
|
403
|
-
"
|
|
419
|
+
"common56": {
|
|
404
420
|
"additionalProperties": false,
|
|
405
421
|
"properties": {
|
|
406
422
|
"name": {
|
|
@@ -416,7 +432,7 @@ const common = {
|
|
|
416
432
|
],
|
|
417
433
|
"type": "object"
|
|
418
434
|
},
|
|
419
|
-
"
|
|
435
|
+
"common57": {
|
|
420
436
|
"name": {
|
|
421
437
|
"type": "string"
|
|
422
438
|
},
|
|
@@ -424,7 +440,7 @@ const common = {
|
|
|
424
440
|
"type": "string"
|
|
425
441
|
}
|
|
426
442
|
},
|
|
427
|
-
"
|
|
443
|
+
"common58": {
|
|
428
444
|
"properties": {
|
|
429
445
|
"type": {
|
|
430
446
|
"not": {
|
|
@@ -436,14 +452,14 @@ const common = {
|
|
|
436
452
|
"type"
|
|
437
453
|
]
|
|
438
454
|
},
|
|
439
|
-
"
|
|
455
|
+
"common59": {
|
|
440
456
|
"type": {
|
|
441
457
|
"not": {
|
|
442
458
|
"type": "null"
|
|
443
459
|
}
|
|
444
460
|
}
|
|
445
461
|
},
|
|
446
|
-
"
|
|
462
|
+
"common60": {
|
|
447
463
|
"additionalProperties": false,
|
|
448
464
|
"patternProperties": {
|
|
449
465
|
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
@@ -464,7 +480,7 @@ const common = {
|
|
|
464
480
|
},
|
|
465
481
|
"type": "object"
|
|
466
482
|
},
|
|
467
|
-
"
|
|
483
|
+
"common61": {
|
|
468
484
|
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
469
485
|
"additionalProperties": false,
|
|
470
486
|
"properties": {
|
|
@@ -481,7 +497,7 @@ const common = {
|
|
|
481
497
|
"type": "object"
|
|
482
498
|
}
|
|
483
499
|
},
|
|
484
|
-
"
|
|
500
|
+
"common62": {
|
|
485
501
|
"additionalProperties": false,
|
|
486
502
|
"properties": {
|
|
487
503
|
"name": {
|
|
@@ -496,7 +512,7 @@ const common = {
|
|
|
496
512
|
],
|
|
497
513
|
"type": "object"
|
|
498
514
|
},
|
|
499
|
-
"
|
|
515
|
+
"common63": {
|
|
500
516
|
"enum": [
|
|
501
517
|
"workshop",
|
|
502
518
|
"competition",
|
|
@@ -521,7 +537,7 @@ const common = {
|
|
|
521
537
|
],
|
|
522
538
|
"type": "string"
|
|
523
539
|
},
|
|
524
|
-
"
|
|
540
|
+
"common64": {
|
|
525
541
|
"enum": [
|
|
526
542
|
"NGO",
|
|
527
543
|
"LocalBusiness",
|
|
@@ -531,7 +547,7 @@ const common = {
|
|
|
531
547
|
],
|
|
532
548
|
"type": "string"
|
|
533
549
|
},
|
|
534
|
-
"
|
|
550
|
+
"common65": {
|
|
535
551
|
"enum": [
|
|
536
552
|
"link",
|
|
537
553
|
"tool",
|
|
@@ -560,16 +576,16 @@ const common = {
|
|
|
560
576
|
],
|
|
561
577
|
"type": "string"
|
|
562
578
|
},
|
|
563
|
-
"
|
|
579
|
+
"common66": {
|
|
564
580
|
"enum": [
|
|
565
581
|
"poi"
|
|
566
582
|
],
|
|
567
583
|
"type": "string"
|
|
568
584
|
},
|
|
569
|
-
"
|
|
585
|
+
"common67": {
|
|
570
586
|
"$ref": "#/$defs/socialField"
|
|
571
587
|
},
|
|
572
|
-
"
|
|
588
|
+
"common68": {
|
|
573
589
|
"default": "citoyens",
|
|
574
590
|
"enum": [
|
|
575
591
|
"citoyens",
|
|
@@ -578,26 +594,22 @@ const common = {
|
|
|
578
594
|
],
|
|
579
595
|
"type": "string"
|
|
580
596
|
},
|
|
581
|
-
"
|
|
597
|
+
"common69": {
|
|
582
598
|
"properties": {
|
|
583
599
|
"id": {
|
|
584
600
|
"pattern": "^[a-f0-9]{24}$"
|
|
585
601
|
}
|
|
586
602
|
}
|
|
587
603
|
},
|
|
588
|
-
"
|
|
604
|
+
"common70": {
|
|
589
605
|
"id": {
|
|
590
606
|
"pattern": "^[a-f0-9]{24}$"
|
|
591
607
|
}
|
|
592
608
|
},
|
|
593
|
-
"
|
|
609
|
+
"common71": {
|
|
594
610
|
"pattern": "^[a-f0-9]{24}$"
|
|
595
611
|
},
|
|
596
|
-
"
|
|
597
|
-
"const": "",
|
|
598
|
-
"type": "string"
|
|
599
|
-
},
|
|
600
|
-
"common71": {
|
|
612
|
+
"common72": {
|
|
601
613
|
"additionalProperties": false,
|
|
602
614
|
"properties": {
|
|
603
615
|
"@type": {
|
|
@@ -656,7 +668,7 @@ const common = {
|
|
|
656
668
|
],
|
|
657
669
|
"type": "object"
|
|
658
670
|
},
|
|
659
|
-
"
|
|
671
|
+
"common73": {
|
|
660
672
|
"@type": {
|
|
661
673
|
"const": "PostalAddress",
|
|
662
674
|
"type": "string"
|
|
@@ -702,15 +714,15 @@ const common = {
|
|
|
702
714
|
"type": "string"
|
|
703
715
|
}
|
|
704
716
|
},
|
|
705
|
-
"
|
|
717
|
+
"common74": {
|
|
706
718
|
"const": "PostalAddress",
|
|
707
719
|
"type": "string"
|
|
708
720
|
},
|
|
709
|
-
"
|
|
721
|
+
"common75": {
|
|
710
722
|
"minLength": 0,
|
|
711
723
|
"type": "string"
|
|
712
724
|
},
|
|
713
|
-
"
|
|
725
|
+
"common76": {
|
|
714
726
|
"additionalProperties": false,
|
|
715
727
|
"properties": {
|
|
716
728
|
"@type": {
|
|
@@ -736,7 +748,7 @@ const common = {
|
|
|
736
748
|
],
|
|
737
749
|
"type": "object"
|
|
738
750
|
},
|
|
739
|
-
"
|
|
751
|
+
"common77": {
|
|
740
752
|
"@type": {
|
|
741
753
|
"const": "GeoCoordinates",
|
|
742
754
|
"type": "string"
|
|
@@ -754,17 +766,17 @@ const common = {
|
|
|
754
766
|
]
|
|
755
767
|
}
|
|
756
768
|
},
|
|
757
|
-
"
|
|
769
|
+
"common78": {
|
|
758
770
|
"const": "GeoCoordinates",
|
|
759
771
|
"type": "string"
|
|
760
772
|
},
|
|
761
|
-
"
|
|
773
|
+
"common79": {
|
|
762
774
|
"type": [
|
|
763
775
|
"string",
|
|
764
776
|
"number"
|
|
765
777
|
]
|
|
766
778
|
},
|
|
767
|
-
"
|
|
779
|
+
"common80": {
|
|
768
780
|
"additionalProperties": true,
|
|
769
781
|
"properties": {
|
|
770
782
|
"coordinates": {
|
|
@@ -792,7 +804,7 @@ const common = {
|
|
|
792
804
|
],
|
|
793
805
|
"type": "object"
|
|
794
806
|
},
|
|
795
|
-
"
|
|
807
|
+
"common81": {
|
|
796
808
|
"coordinates": {
|
|
797
809
|
"items": {
|
|
798
810
|
"type": "number"
|
|
@@ -811,7 +823,7 @@ const common = {
|
|
|
811
823
|
"type": "string"
|
|
812
824
|
}
|
|
813
825
|
},
|
|
814
|
-
"
|
|
826
|
+
"common82": {
|
|
815
827
|
"items": {
|
|
816
828
|
"type": "number"
|
|
817
829
|
},
|
|
@@ -819,19 +831,19 @@ const common = {
|
|
|
819
831
|
"minItems": 2,
|
|
820
832
|
"type": "array"
|
|
821
833
|
},
|
|
822
|
-
"
|
|
834
|
+
"common83": {
|
|
823
835
|
"type": "number"
|
|
824
836
|
},
|
|
825
|
-
"
|
|
837
|
+
"common84": {
|
|
826
838
|
"const": true,
|
|
827
839
|
"default": true,
|
|
828
840
|
"type": "boolean"
|
|
829
841
|
},
|
|
830
|
-
"
|
|
842
|
+
"common85": {
|
|
831
843
|
"const": "Point",
|
|
832
844
|
"type": "string"
|
|
833
845
|
},
|
|
834
|
-
"
|
|
846
|
+
"common86": {
|
|
835
847
|
"properties": {
|
|
836
848
|
"id": {
|
|
837
849
|
"default": "@userId",
|
|
@@ -839,59 +851,59 @@ const common = {
|
|
|
839
851
|
}
|
|
840
852
|
}
|
|
841
853
|
},
|
|
842
|
-
"
|
|
854
|
+
"common87": {
|
|
843
855
|
"id": {
|
|
844
856
|
"default": "@userId",
|
|
845
857
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
846
858
|
}
|
|
847
859
|
},
|
|
848
|
-
"
|
|
860
|
+
"common88": {
|
|
849
861
|
"default": "@userId",
|
|
850
862
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
851
863
|
},
|
|
852
|
-
"
|
|
864
|
+
"common89": {
|
|
853
865
|
"maxLength": 100,
|
|
854
866
|
"minLength": 3,
|
|
855
867
|
"pattern": "^[a-zA-Z0-9]+$",
|
|
856
868
|
"type": "string"
|
|
857
869
|
},
|
|
858
|
-
"
|
|
870
|
+
"common90": {
|
|
859
871
|
"properties": {
|
|
860
872
|
"type": {
|
|
861
873
|
"const": "citoyens"
|
|
862
874
|
}
|
|
863
875
|
}
|
|
864
876
|
},
|
|
865
|
-
"
|
|
877
|
+
"common91": {
|
|
866
878
|
"type": {
|
|
867
879
|
"const": "citoyens"
|
|
868
880
|
}
|
|
869
881
|
},
|
|
870
|
-
"
|
|
882
|
+
"common92": {
|
|
871
883
|
"properties": {
|
|
872
884
|
"ownerId": {
|
|
873
885
|
"pattern": "^[a-f0-9]{24}$"
|
|
874
886
|
}
|
|
875
887
|
}
|
|
876
888
|
},
|
|
877
|
-
"
|
|
889
|
+
"common93": {
|
|
878
890
|
"ownerId": {
|
|
879
891
|
"pattern": "^[a-f0-9]{24}$"
|
|
880
892
|
}
|
|
881
893
|
},
|
|
882
|
-
"
|
|
894
|
+
"common94": {
|
|
883
895
|
"properties": {
|
|
884
896
|
"folder": {
|
|
885
897
|
"const": "citoyens"
|
|
886
898
|
}
|
|
887
899
|
}
|
|
888
900
|
},
|
|
889
|
-
"
|
|
901
|
+
"common95": {
|
|
890
902
|
"folder": {
|
|
891
903
|
"const": "citoyens"
|
|
892
904
|
}
|
|
893
905
|
},
|
|
894
|
-
"
|
|
906
|
+
"common96": {
|
|
895
907
|
"properties": {
|
|
896
908
|
"ownerId": {
|
|
897
909
|
"default": "@userId",
|
|
@@ -899,37 +911,37 @@ const common = {
|
|
|
899
911
|
}
|
|
900
912
|
}
|
|
901
913
|
},
|
|
902
|
-
"
|
|
914
|
+
"common97": {
|
|
903
915
|
"ownerId": {
|
|
904
916
|
"default": "@userId",
|
|
905
917
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
906
918
|
}
|
|
907
919
|
},
|
|
908
|
-
"
|
|
920
|
+
"common98": {
|
|
909
921
|
"properties": {
|
|
910
922
|
"parentId": {
|
|
911
923
|
"pattern": "^[a-f0-9]{24}$"
|
|
912
924
|
}
|
|
913
925
|
}
|
|
914
926
|
},
|
|
915
|
-
"
|
|
927
|
+
"common99": {
|
|
916
928
|
"parentId": {
|
|
917
929
|
"pattern": "^[a-f0-9]{24}$"
|
|
918
930
|
}
|
|
919
931
|
},
|
|
920
|
-
"
|
|
932
|
+
"common100": {
|
|
921
933
|
"properties": {
|
|
922
934
|
"parentType": {
|
|
923
935
|
"const": "citoyens"
|
|
924
936
|
}
|
|
925
937
|
}
|
|
926
938
|
},
|
|
927
|
-
"
|
|
939
|
+
"common101": {
|
|
928
940
|
"parentType": {
|
|
929
941
|
"const": "citoyens"
|
|
930
942
|
}
|
|
931
943
|
},
|
|
932
|
-
"
|
|
944
|
+
"common102": {
|
|
933
945
|
"properties": {
|
|
934
946
|
"parentId": {
|
|
935
947
|
"default": "@userId",
|
|
@@ -937,36 +949,36 @@ const common = {
|
|
|
937
949
|
}
|
|
938
950
|
}
|
|
939
951
|
},
|
|
940
|
-
"
|
|
952
|
+
"common103": {
|
|
941
953
|
"parentId": {
|
|
942
954
|
"default": "@userId",
|
|
943
955
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
944
956
|
}
|
|
945
957
|
},
|
|
946
|
-
"
|
|
958
|
+
"common104": {
|
|
947
959
|
"default": true,
|
|
948
960
|
"type": "boolean"
|
|
949
961
|
},
|
|
950
|
-
"
|
|
962
|
+
"common105": {
|
|
951
963
|
"default": 0,
|
|
952
964
|
"type": "integer"
|
|
953
965
|
},
|
|
954
|
-
"
|
|
966
|
+
"common106": {
|
|
955
967
|
"required": [
|
|
956
968
|
"text"
|
|
957
969
|
]
|
|
958
970
|
},
|
|
959
|
-
"
|
|
971
|
+
"common107": {
|
|
960
972
|
"required": [
|
|
961
973
|
"mediaImg"
|
|
962
974
|
]
|
|
963
975
|
},
|
|
964
|
-
"
|
|
976
|
+
"common108": {
|
|
965
977
|
"required": [
|
|
966
978
|
"mediaFile"
|
|
967
979
|
]
|
|
968
980
|
},
|
|
969
|
-
"
|
|
981
|
+
"common109": {
|
|
970
982
|
"additionalProperties": false,
|
|
971
983
|
"properties": {
|
|
972
984
|
"countFiles": {
|
|
@@ -985,7 +997,7 @@ const common = {
|
|
|
985
997
|
],
|
|
986
998
|
"type": "object"
|
|
987
999
|
},
|
|
988
|
-
"
|
|
1000
|
+
"common110": {
|
|
989
1001
|
"countFiles": {
|
|
990
1002
|
"type": "number"
|
|
991
1003
|
},
|
|
@@ -996,7 +1008,7 @@ const common = {
|
|
|
996
1008
|
"type": "array"
|
|
997
1009
|
}
|
|
998
1010
|
},
|
|
999
|
-
"
|
|
1011
|
+
"common111": {
|
|
1000
1012
|
"additionalProperties": false,
|
|
1001
1013
|
"properties": {
|
|
1002
1014
|
"countImages": {
|
|
@@ -1015,7 +1027,7 @@ const common = {
|
|
|
1015
1027
|
],
|
|
1016
1028
|
"type": "object"
|
|
1017
1029
|
},
|
|
1018
|
-
"
|
|
1030
|
+
"common112": {
|
|
1019
1031
|
"countImages": {
|
|
1020
1032
|
"type": "number"
|
|
1021
1033
|
},
|
|
@@ -1026,7 +1038,7 @@ const common = {
|
|
|
1026
1038
|
"type": "array"
|
|
1027
1039
|
}
|
|
1028
1040
|
},
|
|
1029
|
-
"
|
|
1041
|
+
"common113": {
|
|
1030
1042
|
"items": {
|
|
1031
1043
|
"properties": {
|
|
1032
1044
|
"count": {
|
|
@@ -1062,7 +1074,7 @@ const common = {
|
|
|
1062
1074
|
},
|
|
1063
1075
|
"type": "array"
|
|
1064
1076
|
},
|
|
1065
|
-
"
|
|
1077
|
+
"common114": {
|
|
1066
1078
|
"properties": {
|
|
1067
1079
|
"count": {
|
|
1068
1080
|
"minimum": 1,
|
|
@@ -1095,7 +1107,7 @@ const common = {
|
|
|
1095
1107
|
],
|
|
1096
1108
|
"type": "object"
|
|
1097
1109
|
},
|
|
1098
|
-
"
|
|
1110
|
+
"common115": {
|
|
1099
1111
|
"count": {
|
|
1100
1112
|
"minimum": 1,
|
|
1101
1113
|
"type": "integer"
|
|
@@ -1117,11 +1129,11 @@ const common = {
|
|
|
1117
1129
|
"type": "string"
|
|
1118
1130
|
}
|
|
1119
1131
|
},
|
|
1120
|
-
"
|
|
1132
|
+
"common116": {
|
|
1121
1133
|
"minimum": 1,
|
|
1122
1134
|
"type": "integer"
|
|
1123
1135
|
},
|
|
1124
|
-
"
|
|
1136
|
+
"common117": {
|
|
1125
1137
|
"default": "public",
|
|
1126
1138
|
"enum": [
|
|
1127
1139
|
"public",
|
|
@@ -1130,12 +1142,12 @@ const common = {
|
|
|
1130
1142
|
],
|
|
1131
1143
|
"type": "string"
|
|
1132
1144
|
},
|
|
1133
|
-
"
|
|
1145
|
+
"common118": {
|
|
1134
1146
|
"const": "news",
|
|
1135
1147
|
"default": "news",
|
|
1136
1148
|
"type": "string"
|
|
1137
1149
|
},
|
|
1138
|
-
"
|
|
1150
|
+
"common119": {
|
|
1139
1151
|
"additionalProperties": false,
|
|
1140
1152
|
"else": {
|
|
1141
1153
|
"properties": {
|
|
@@ -1179,7 +1191,7 @@ const common = {
|
|
|
1179
1191
|
},
|
|
1180
1192
|
"type": "object"
|
|
1181
1193
|
},
|
|
1182
|
-
"
|
|
1194
|
+
"common120": {
|
|
1183
1195
|
"folder": {
|
|
1184
1196
|
"default": "citoyens",
|
|
1185
1197
|
"enum": [
|
|
@@ -1193,7 +1205,7 @@ const common = {
|
|
|
1193
1205
|
"type": "string"
|
|
1194
1206
|
}
|
|
1195
1207
|
},
|
|
1196
|
-
"
|
|
1208
|
+
"common121": {
|
|
1197
1209
|
"additionalProperties": false,
|
|
1198
1210
|
"properties": {
|
|
1199
1211
|
"id": {
|
|
@@ -1206,40 +1218,40 @@ const common = {
|
|
|
1206
1218
|
],
|
|
1207
1219
|
"type": "object"
|
|
1208
1220
|
},
|
|
1209
|
-
"
|
|
1221
|
+
"common122": {
|
|
1210
1222
|
"default": false,
|
|
1211
1223
|
"type": "boolean"
|
|
1212
1224
|
},
|
|
1213
|
-
"
|
|
1225
|
+
"common123": {
|
|
1214
1226
|
"properties": {
|
|
1215
1227
|
"childId": {
|
|
1216
1228
|
"pattern": "^[a-f0-9]{24}$"
|
|
1217
1229
|
}
|
|
1218
1230
|
}
|
|
1219
1231
|
},
|
|
1220
|
-
"
|
|
1232
|
+
"common124": {
|
|
1221
1233
|
"childId": {
|
|
1222
1234
|
"pattern": "^[a-f0-9]{24}$"
|
|
1223
1235
|
}
|
|
1224
1236
|
},
|
|
1225
|
-
"
|
|
1237
|
+
"common125": {
|
|
1226
1238
|
"properties": {
|
|
1227
1239
|
"childType": {
|
|
1228
1240
|
"const": "citoyens"
|
|
1229
1241
|
}
|
|
1230
1242
|
}
|
|
1231
1243
|
},
|
|
1232
|
-
"
|
|
1244
|
+
"common126": {
|
|
1233
1245
|
"childType": {
|
|
1234
1246
|
"const": "citoyens"
|
|
1235
1247
|
}
|
|
1236
1248
|
},
|
|
1237
|
-
"
|
|
1249
|
+
"common127": {
|
|
1238
1250
|
"const": "share",
|
|
1239
1251
|
"default": "share",
|
|
1240
1252
|
"type": "string"
|
|
1241
1253
|
},
|
|
1242
|
-
"
|
|
1254
|
+
"common128": {
|
|
1243
1255
|
"properties": {
|
|
1244
1256
|
"childId": {
|
|
1245
1257
|
"default": "@userId",
|
|
@@ -1247,13 +1259,13 @@ const common = {
|
|
|
1247
1259
|
}
|
|
1248
1260
|
}
|
|
1249
1261
|
},
|
|
1250
|
-
"
|
|
1262
|
+
"common129": {
|
|
1251
1263
|
"childId": {
|
|
1252
1264
|
"default": "@userId",
|
|
1253
1265
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1254
1266
|
}
|
|
1255
1267
|
},
|
|
1256
|
-
"
|
|
1268
|
+
"common130": {
|
|
1257
1269
|
"additionalProperties": false,
|
|
1258
1270
|
"properties": {
|
|
1259
1271
|
"id": {
|
|
@@ -1274,7 +1286,7 @@ const common = {
|
|
|
1274
1286
|
],
|
|
1275
1287
|
"type": "object"
|
|
1276
1288
|
},
|
|
1277
|
-
"
|
|
1289
|
+
"common131": {
|
|
1278
1290
|
"id": {
|
|
1279
1291
|
"pattern": "^[a-f0-9]{24}$",
|
|
1280
1292
|
"type": "string"
|
|
@@ -1287,14 +1299,14 @@ const common = {
|
|
|
1287
1299
|
"type": "string"
|
|
1288
1300
|
}
|
|
1289
1301
|
},
|
|
1290
|
-
"
|
|
1302
|
+
"common132": {
|
|
1291
1303
|
"default": "news",
|
|
1292
1304
|
"enum": [
|
|
1293
1305
|
"news"
|
|
1294
1306
|
],
|
|
1295
1307
|
"type": "string"
|
|
1296
1308
|
},
|
|
1297
|
-
"
|
|
1309
|
+
"common133": {
|
|
1298
1310
|
"items": {
|
|
1299
1311
|
"additionalProperties": false,
|
|
1300
1312
|
"properties": {
|
|
@@ -1330,7 +1342,7 @@ const common = {
|
|
|
1330
1342
|
},
|
|
1331
1343
|
"type": "array"
|
|
1332
1344
|
},
|
|
1333
|
-
"
|
|
1345
|
+
"common134": {
|
|
1334
1346
|
"additionalProperties": false,
|
|
1335
1347
|
"properties": {
|
|
1336
1348
|
"count": {
|
|
@@ -1363,7 +1375,7 @@ const common = {
|
|
|
1363
1375
|
],
|
|
1364
1376
|
"type": "object"
|
|
1365
1377
|
},
|
|
1366
|
-
"
|
|
1378
|
+
"common135": {
|
|
1367
1379
|
"count": {
|
|
1368
1380
|
"type": "number"
|
|
1369
1381
|
},
|
|
@@ -1384,7 +1396,7 @@ const common = {
|
|
|
1384
1396
|
"type": "string"
|
|
1385
1397
|
}
|
|
1386
1398
|
},
|
|
1387
|
-
"
|
|
1399
|
+
"common136": {
|
|
1388
1400
|
"enum": [
|
|
1389
1401
|
"NGO",
|
|
1390
1402
|
"LocalBusiness",
|
|
@@ -1397,25 +1409,25 @@ const common = {
|
|
|
1397
1409
|
],
|
|
1398
1410
|
"type": "string"
|
|
1399
1411
|
},
|
|
1400
|
-
"
|
|
1412
|
+
"common137": {
|
|
1401
1413
|
"const": false,
|
|
1402
1414
|
"default": false,
|
|
1403
1415
|
"type": "boolean"
|
|
1404
1416
|
},
|
|
1405
|
-
"
|
|
1417
|
+
"common138": {
|
|
1406
1418
|
"const": "",
|
|
1407
1419
|
"default": "",
|
|
1408
1420
|
"type": "string"
|
|
1409
1421
|
},
|
|
1410
|
-
"
|
|
1422
|
+
"common139": {
|
|
1411
1423
|
"default": 0,
|
|
1412
1424
|
"type": "number"
|
|
1413
1425
|
},
|
|
1414
|
-
"
|
|
1426
|
+
"common140": {
|
|
1415
1427
|
"default": 30,
|
|
1416
1428
|
"type": "number"
|
|
1417
1429
|
},
|
|
1418
|
-
"
|
|
1430
|
+
"common141": {
|
|
1419
1431
|
"additionalProperties": false,
|
|
1420
1432
|
"patternProperties": {
|
|
1421
1433
|
"^[^\\s]+$": {
|
|
@@ -1441,7 +1453,7 @@ const common = {
|
|
|
1441
1453
|
},
|
|
1442
1454
|
"type": "object"
|
|
1443
1455
|
},
|
|
1444
|
-
"
|
|
1456
|
+
"common142": {
|
|
1445
1457
|
"^[^\\s]+$": {
|
|
1446
1458
|
"additionalProperties": false,
|
|
1447
1459
|
"properties": {
|
|
@@ -1463,7 +1475,7 @@ const common = {
|
|
|
1463
1475
|
"type": "object"
|
|
1464
1476
|
}
|
|
1465
1477
|
},
|
|
1466
|
-
"
|
|
1478
|
+
"common143": {
|
|
1467
1479
|
"additionalProperties": false,
|
|
1468
1480
|
"properties": {
|
|
1469
1481
|
"id": {
|
|
@@ -1483,7 +1495,7 @@ const common = {
|
|
|
1483
1495
|
],
|
|
1484
1496
|
"type": "object"
|
|
1485
1497
|
},
|
|
1486
|
-
"
|
|
1498
|
+
"common144": {
|
|
1487
1499
|
"id": {
|
|
1488
1500
|
"type": "string"
|
|
1489
1501
|
},
|
|
@@ -1495,14 +1507,14 @@ const common = {
|
|
|
1495
1507
|
"type": "string"
|
|
1496
1508
|
}
|
|
1497
1509
|
},
|
|
1498
|
-
"
|
|
1510
|
+
"common145": {
|
|
1499
1511
|
"enum": [
|
|
1500
1512
|
"cities",
|
|
1501
1513
|
"level1"
|
|
1502
1514
|
],
|
|
1503
1515
|
"type": "string"
|
|
1504
1516
|
},
|
|
1505
|
-
"
|
|
1517
|
+
"common146": {
|
|
1506
1518
|
"additionalProperties": false,
|
|
1507
1519
|
"patternProperties": {
|
|
1508
1520
|
"^[^\\s]+$": {
|
|
@@ -1524,7 +1536,7 @@ const common = {
|
|
|
1524
1536
|
},
|
|
1525
1537
|
"type": "object"
|
|
1526
1538
|
},
|
|
1527
|
-
"
|
|
1539
|
+
"common147": {
|
|
1528
1540
|
"^[^\\s]+$": {
|
|
1529
1541
|
"additionalProperties": false,
|
|
1530
1542
|
"properties": {
|
|
@@ -1542,7 +1554,7 @@ const common = {
|
|
|
1542
1554
|
"type": "object"
|
|
1543
1555
|
}
|
|
1544
1556
|
},
|
|
1545
|
-
"
|
|
1557
|
+
"common148": {
|
|
1546
1558
|
"additionalProperties": false,
|
|
1547
1559
|
"properties": {
|
|
1548
1560
|
"indexMax": {
|
|
@@ -1558,7 +1570,7 @@ const common = {
|
|
|
1558
1570
|
],
|
|
1559
1571
|
"type": "object"
|
|
1560
1572
|
},
|
|
1561
|
-
"
|
|
1573
|
+
"common149": {
|
|
1562
1574
|
"indexMax": {
|
|
1563
1575
|
"type": "number"
|
|
1564
1576
|
},
|
|
@@ -1566,18 +1578,18 @@ const common = {
|
|
|
1566
1578
|
"type": "number"
|
|
1567
1579
|
}
|
|
1568
1580
|
},
|
|
1569
|
-
"
|
|
1581
|
+
"common150": {
|
|
1570
1582
|
"enum": [
|
|
1571
1583
|
"ALL"
|
|
1572
1584
|
],
|
|
1573
1585
|
"type": "string"
|
|
1574
1586
|
},
|
|
1575
|
-
"
|
|
1587
|
+
"common151": {
|
|
1576
1588
|
"default": 0,
|
|
1577
1589
|
"minimum": 0,
|
|
1578
1590
|
"type": "integer"
|
|
1579
1591
|
},
|
|
1580
|
-
"
|
|
1592
|
+
"common152": {
|
|
1581
1593
|
"const": [
|
|
1582
1594
|
"projects"
|
|
1583
1595
|
],
|
|
@@ -1592,16 +1604,16 @@ const common = {
|
|
|
1592
1604
|
},
|
|
1593
1605
|
"type": "array"
|
|
1594
1606
|
},
|
|
1595
|
-
"
|
|
1607
|
+
"common153": {
|
|
1596
1608
|
"enum": [
|
|
1597
1609
|
"projects"
|
|
1598
1610
|
],
|
|
1599
1611
|
"type": "string"
|
|
1600
1612
|
},
|
|
1601
|
-
"
|
|
1613
|
+
"common154": {
|
|
1602
1614
|
"$exists": true
|
|
1603
1615
|
},
|
|
1604
|
-
"
|
|
1616
|
+
"common155": {
|
|
1605
1617
|
"additionalProperties": false,
|
|
1606
1618
|
"properties": {
|
|
1607
1619
|
"$exists": {
|
|
@@ -1613,15 +1625,15 @@ const common = {
|
|
|
1613
1625
|
],
|
|
1614
1626
|
"type": "object"
|
|
1615
1627
|
},
|
|
1616
|
-
"
|
|
1628
|
+
"common156": {
|
|
1617
1629
|
"$exists": {
|
|
1618
1630
|
"const": true
|
|
1619
1631
|
}
|
|
1620
1632
|
},
|
|
1621
|
-
"
|
|
1633
|
+
"common157": {
|
|
1622
1634
|
"const": true
|
|
1623
1635
|
},
|
|
1624
|
-
"
|
|
1636
|
+
"common158": {
|
|
1625
1637
|
"additionalProperties": false,
|
|
1626
1638
|
"else": {
|
|
1627
1639
|
"properties": {
|
|
@@ -1665,7 +1677,7 @@ const common = {
|
|
|
1665
1677
|
},
|
|
1666
1678
|
"type": "object"
|
|
1667
1679
|
},
|
|
1668
|
-
"
|
|
1680
|
+
"common159": {
|
|
1669
1681
|
"id": {
|
|
1670
1682
|
"type": "string"
|
|
1671
1683
|
},
|
|
@@ -1679,7 +1691,7 @@ const common = {
|
|
|
1679
1691
|
"type": "string"
|
|
1680
1692
|
}
|
|
1681
1693
|
},
|
|
1682
|
-
"
|
|
1694
|
+
"common160": {
|
|
1683
1695
|
"const": [
|
|
1684
1696
|
"poi"
|
|
1685
1697
|
],
|
|
@@ -1694,7 +1706,7 @@ const common = {
|
|
|
1694
1706
|
},
|
|
1695
1707
|
"type": "array"
|
|
1696
1708
|
},
|
|
1697
|
-
"
|
|
1709
|
+
"common161": {
|
|
1698
1710
|
"const": [
|
|
1699
1711
|
"NGO",
|
|
1700
1712
|
"Cooperative",
|
|
@@ -1721,7 +1733,7 @@ const common = {
|
|
|
1721
1733
|
},
|
|
1722
1734
|
"type": "array"
|
|
1723
1735
|
},
|
|
1724
|
-
"
|
|
1736
|
+
"common162": {
|
|
1725
1737
|
"enum": [
|
|
1726
1738
|
"NGO",
|
|
1727
1739
|
"Cooperative",
|
|
@@ -1731,10 +1743,10 @@ const common = {
|
|
|
1731
1743
|
],
|
|
1732
1744
|
"type": "string"
|
|
1733
1745
|
},
|
|
1734
|
-
"
|
|
1746
|
+
"common163": {
|
|
1735
1747
|
"$exists": false
|
|
1736
1748
|
},
|
|
1737
|
-
"
|
|
1749
|
+
"common164": {
|
|
1738
1750
|
"additionalProperties": false,
|
|
1739
1751
|
"properties": {
|
|
1740
1752
|
"$exists": {
|
|
@@ -1746,19 +1758,19 @@ const common = {
|
|
|
1746
1758
|
],
|
|
1747
1759
|
"type": "object"
|
|
1748
1760
|
},
|
|
1749
|
-
"
|
|
1761
|
+
"common165": {
|
|
1750
1762
|
"$exists": {
|
|
1751
1763
|
"const": false
|
|
1752
1764
|
}
|
|
1753
1765
|
},
|
|
1754
|
-
"
|
|
1766
|
+
"common166": {
|
|
1755
1767
|
"const": false
|
|
1756
1768
|
},
|
|
1757
|
-
"
|
|
1769
|
+
"common167": {
|
|
1758
1770
|
"default": 30,
|
|
1759
1771
|
"type": "integer"
|
|
1760
1772
|
},
|
|
1761
|
-
"
|
|
1773
|
+
"common168": {
|
|
1762
1774
|
"const": [
|
|
1763
1775
|
"citoyens",
|
|
1764
1776
|
"NGO",
|
|
@@ -1788,7 +1800,7 @@ const common = {
|
|
|
1788
1800
|
},
|
|
1789
1801
|
"type": "array"
|
|
1790
1802
|
},
|
|
1791
|
-
"
|
|
1803
|
+
"common169": {
|
|
1792
1804
|
"enum": [
|
|
1793
1805
|
"citoyens",
|
|
1794
1806
|
"NGO",
|
|
@@ -1799,7 +1811,7 @@ const common = {
|
|
|
1799
1811
|
],
|
|
1800
1812
|
"type": "string"
|
|
1801
1813
|
},
|
|
1802
|
-
"
|
|
1814
|
+
"common170": {
|
|
1803
1815
|
"additionalProperties": false,
|
|
1804
1816
|
"properties": {
|
|
1805
1817
|
"$exists": {
|
|
@@ -1812,13 +1824,13 @@ const common = {
|
|
|
1812
1824
|
],
|
|
1813
1825
|
"type": "object"
|
|
1814
1826
|
},
|
|
1815
|
-
"
|
|
1827
|
+
"common171": {
|
|
1816
1828
|
"$exists": {
|
|
1817
1829
|
"default": false,
|
|
1818
1830
|
"type": "boolean"
|
|
1819
1831
|
}
|
|
1820
1832
|
},
|
|
1821
|
-
"
|
|
1833
|
+
"common172": {
|
|
1822
1834
|
"additionalProperties": false,
|
|
1823
1835
|
"properties": {
|
|
1824
1836
|
"$in": {
|
|
@@ -1834,7 +1846,7 @@ const common = {
|
|
|
1834
1846
|
],
|
|
1835
1847
|
"type": "object"
|
|
1836
1848
|
},
|
|
1837
|
-
"
|
|
1849
|
+
"common173": {
|
|
1838
1850
|
"$in": {
|
|
1839
1851
|
"items": {
|
|
1840
1852
|
"type": "string"
|
|
@@ -1843,14 +1855,14 @@ const common = {
|
|
|
1843
1855
|
"type": "array"
|
|
1844
1856
|
}
|
|
1845
1857
|
},
|
|
1846
|
-
"
|
|
1858
|
+
"common174": {
|
|
1847
1859
|
"items": {
|
|
1848
1860
|
"type": "string"
|
|
1849
1861
|
},
|
|
1850
1862
|
"minItems": 1,
|
|
1851
1863
|
"type": "array"
|
|
1852
1864
|
},
|
|
1853
|
-
"
|
|
1865
|
+
"common175": {
|
|
1854
1866
|
"const": [
|
|
1855
1867
|
"citoyens"
|
|
1856
1868
|
],
|
|
@@ -1865,13 +1877,13 @@ const common = {
|
|
|
1865
1877
|
},
|
|
1866
1878
|
"type": "array"
|
|
1867
1879
|
},
|
|
1868
|
-
"
|
|
1880
|
+
"common176": {
|
|
1869
1881
|
"enum": [
|
|
1870
1882
|
"citoyens"
|
|
1871
1883
|
],
|
|
1872
1884
|
"type": "string"
|
|
1873
1885
|
},
|
|
1874
|
-
"
|
|
1886
|
+
"common177": {
|
|
1875
1887
|
"const": [
|
|
1876
1888
|
"citoyens",
|
|
1877
1889
|
"NGO",
|
|
@@ -1904,7 +1916,7 @@ const common = {
|
|
|
1904
1916
|
},
|
|
1905
1917
|
"type": "array"
|
|
1906
1918
|
},
|
|
1907
|
-
"
|
|
1919
|
+
"common178": {
|
|
1908
1920
|
"enum": [
|
|
1909
1921
|
"citoyens",
|
|
1910
1922
|
"NGO",
|
|
@@ -1916,22 +1928,22 @@ const common = {
|
|
|
1916
1928
|
],
|
|
1917
1929
|
"type": "string"
|
|
1918
1930
|
},
|
|
1919
|
-
"
|
|
1931
|
+
"common179": {
|
|
1920
1932
|
"not": {
|
|
1921
1933
|
"propertyNames": {
|
|
1922
1934
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1923
1935
|
}
|
|
1924
1936
|
}
|
|
1925
1937
|
},
|
|
1926
|
-
"
|
|
1938
|
+
"common180": {
|
|
1927
1939
|
"propertyNames": {
|
|
1928
1940
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1929
1941
|
}
|
|
1930
1942
|
},
|
|
1931
|
-
"
|
|
1943
|
+
"common181": {
|
|
1932
1944
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1933
1945
|
},
|
|
1934
|
-
"
|
|
1946
|
+
"common182": {
|
|
1935
1947
|
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
1936
1948
|
"additionalProperties": false,
|
|
1937
1949
|
"properties": {
|
|
@@ -1969,22 +1981,22 @@ const common = {
|
|
|
1969
1981
|
"type": "object"
|
|
1970
1982
|
}
|
|
1971
1983
|
},
|
|
1972
|
-
"
|
|
1984
|
+
"common183": {
|
|
1973
1985
|
"not": {
|
|
1974
1986
|
"propertyNames": {
|
|
1975
1987
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1976
1988
|
}
|
|
1977
1989
|
}
|
|
1978
1990
|
},
|
|
1979
|
-
"
|
|
1991
|
+
"common184": {
|
|
1980
1992
|
"propertyNames": {
|
|
1981
1993
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1982
1994
|
}
|
|
1983
1995
|
},
|
|
1984
|
-
"
|
|
1996
|
+
"common185": {
|
|
1985
1997
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1986
1998
|
},
|
|
1987
|
-
"
|
|
1999
|
+
"common186": {
|
|
1988
2000
|
"default": "citoyens",
|
|
1989
2001
|
"enum": [
|
|
1990
2002
|
"citoyens",
|
|
@@ -1993,7 +2005,7 @@ const common = {
|
|
|
1993
2005
|
],
|
|
1994
2006
|
"type": "string"
|
|
1995
2007
|
},
|
|
1996
|
-
"
|
|
2008
|
+
"common187": {
|
|
1997
2009
|
"const": [
|
|
1998
2010
|
"badges"
|
|
1999
2011
|
],
|
|
@@ -2008,13 +2020,13 @@ const common = {
|
|
|
2008
2020
|
},
|
|
2009
2021
|
"type": "array"
|
|
2010
2022
|
},
|
|
2011
|
-
"
|
|
2023
|
+
"common188": {
|
|
2012
2024
|
"enum": [
|
|
2013
2025
|
"badges"
|
|
2014
2026
|
],
|
|
2015
2027
|
"type": "string"
|
|
2016
2028
|
},
|
|
2017
|
-
"
|
|
2029
|
+
"common189": {
|
|
2018
2030
|
"const": [
|
|
2019
2031
|
"citoyens",
|
|
2020
2032
|
"projects",
|
|
@@ -2047,7 +2059,7 @@ const common = {
|
|
|
2047
2059
|
},
|
|
2048
2060
|
"type": "array"
|
|
2049
2061
|
},
|
|
2050
|
-
"
|
|
2062
|
+
"common190": {
|
|
2051
2063
|
"enum": [
|
|
2052
2064
|
"citoyens",
|
|
2053
2065
|
"projects",
|
|
@@ -2059,7 +2071,7 @@ const common = {
|
|
|
2059
2071
|
],
|
|
2060
2072
|
"type": "string"
|
|
2061
2073
|
},
|
|
2062
|
-
"
|
|
2074
|
+
"common191": {
|
|
2063
2075
|
"additionalProperties": false,
|
|
2064
2076
|
"properties": {
|
|
2065
2077
|
"$exists": {
|
|
@@ -2072,17 +2084,17 @@ const common = {
|
|
|
2072
2084
|
],
|
|
2073
2085
|
"type": "object"
|
|
2074
2086
|
},
|
|
2075
|
-
"
|
|
2087
|
+
"common192": {
|
|
2076
2088
|
"$exists": {
|
|
2077
2089
|
"const": true,
|
|
2078
2090
|
"type": "boolean"
|
|
2079
2091
|
}
|
|
2080
2092
|
},
|
|
2081
|
-
"
|
|
2093
|
+
"common193": {
|
|
2082
2094
|
"const": true,
|
|
2083
2095
|
"type": "boolean"
|
|
2084
2096
|
},
|
|
2085
|
-
"
|
|
2097
|
+
"common194": {
|
|
2086
2098
|
"additionalProperties": false,
|
|
2087
2099
|
"properties": {
|
|
2088
2100
|
"$exists": {
|
|
@@ -2095,17 +2107,17 @@ const common = {
|
|
|
2095
2107
|
],
|
|
2096
2108
|
"type": "object"
|
|
2097
2109
|
},
|
|
2098
|
-
"
|
|
2110
|
+
"common195": {
|
|
2099
2111
|
"$exists": {
|
|
2100
2112
|
"const": false,
|
|
2101
2113
|
"type": "boolean"
|
|
2102
2114
|
}
|
|
2103
2115
|
},
|
|
2104
|
-
"
|
|
2116
|
+
"common196": {
|
|
2105
2117
|
"const": false,
|
|
2106
2118
|
"type": "boolean"
|
|
2107
2119
|
},
|
|
2108
|
-
"
|
|
2120
|
+
"common197": {
|
|
2109
2121
|
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2110
2122
|
"additionalProperties": false,
|
|
2111
2123
|
"properties": {
|
|
@@ -2133,52 +2145,52 @@ const common = {
|
|
|
2133
2145
|
"type": "object"
|
|
2134
2146
|
}
|
|
2135
2147
|
},
|
|
2136
|
-
"
|
|
2148
|
+
"common198": {
|
|
2137
2149
|
"indexMax": 30,
|
|
2138
2150
|
"indexMin": 0
|
|
2139
2151
|
},
|
|
2140
|
-
"
|
|
2152
|
+
"common199": {
|
|
2141
2153
|
"properties": {
|
|
2142
2154
|
"parentType": {
|
|
2143
2155
|
"const": "organizations"
|
|
2144
2156
|
}
|
|
2145
2157
|
}
|
|
2146
2158
|
},
|
|
2147
|
-
"
|
|
2159
|
+
"common200": {
|
|
2148
2160
|
"parentType": {
|
|
2149
2161
|
"const": "organizations"
|
|
2150
2162
|
}
|
|
2151
2163
|
},
|
|
2152
|
-
"
|
|
2164
|
+
"common201": {
|
|
2153
2165
|
"properties": {
|
|
2154
2166
|
"parentType": {
|
|
2155
2167
|
"const": "projects"
|
|
2156
2168
|
}
|
|
2157
2169
|
}
|
|
2158
2170
|
},
|
|
2159
|
-
"
|
|
2171
|
+
"common202": {
|
|
2160
2172
|
"parentType": {
|
|
2161
2173
|
"const": "projects"
|
|
2162
2174
|
}
|
|
2163
2175
|
},
|
|
2164
|
-
"
|
|
2176
|
+
"common203": {
|
|
2165
2177
|
"properties": {
|
|
2166
2178
|
"parentType": {
|
|
2167
2179
|
"const": "events"
|
|
2168
2180
|
}
|
|
2169
2181
|
}
|
|
2170
2182
|
},
|
|
2171
|
-
"
|
|
2183
|
+
"common204": {
|
|
2172
2184
|
"parentType": {
|
|
2173
2185
|
"const": "events"
|
|
2174
2186
|
}
|
|
2175
2187
|
},
|
|
2176
|
-
"
|
|
2188
|
+
"common205": {
|
|
2177
2189
|
"default": "@userId",
|
|
2178
2190
|
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2179
2191
|
"type": "string"
|
|
2180
2192
|
},
|
|
2181
|
-
"
|
|
2193
|
+
"common206": {
|
|
2182
2194
|
"const": "citoyens",
|
|
2183
2195
|
"default": "citoyens",
|
|
2184
2196
|
"enum": [
|
|
@@ -2186,7 +2198,7 @@ const common = {
|
|
|
2186
2198
|
],
|
|
2187
2199
|
"type": "string"
|
|
2188
2200
|
},
|
|
2189
|
-
"
|
|
2201
|
+
"common207": {
|
|
2190
2202
|
"enum": [
|
|
2191
2203
|
"citoyens",
|
|
2192
2204
|
"organizations",
|
|
@@ -2195,18 +2207,18 @@ const common = {
|
|
|
2195
2207
|
],
|
|
2196
2208
|
"type": "string"
|
|
2197
2209
|
},
|
|
2198
|
-
"
|
|
2210
|
+
"common208": {
|
|
2199
2211
|
"const": "citoyens",
|
|
2200
2212
|
"default": "citoyens",
|
|
2201
2213
|
"type": "string"
|
|
2202
2214
|
},
|
|
2203
|
-
"
|
|
2215
|
+
"common209": {
|
|
2204
2216
|
"const": "@userId",
|
|
2205
2217
|
"default": "@userId",
|
|
2206
2218
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2207
2219
|
"type": "string"
|
|
2208
2220
|
},
|
|
2209
|
-
"
|
|
2221
|
+
"common210": {
|
|
2210
2222
|
"default": {
|
|
2211
2223
|
"isOpenData": true,
|
|
2212
2224
|
"isOpenEdition": true
|
|
@@ -2227,11 +2239,11 @@ const common = {
|
|
|
2227
2239
|
],
|
|
2228
2240
|
"type": "object"
|
|
2229
2241
|
},
|
|
2230
|
-
"
|
|
2242
|
+
"common211": {
|
|
2231
2243
|
"isOpenData": true,
|
|
2232
2244
|
"isOpenEdition": true
|
|
2233
2245
|
},
|
|
2234
|
-
"
|
|
2246
|
+
"common212": {
|
|
2235
2247
|
"isOpenData": {
|
|
2236
2248
|
"default": true,
|
|
2237
2249
|
"type": "boolean"
|
|
@@ -2241,7 +2253,7 @@ const common = {
|
|
|
2241
2253
|
"type": "boolean"
|
|
2242
2254
|
}
|
|
2243
2255
|
},
|
|
2244
|
-
"
|
|
2256
|
+
"common213": {
|
|
2245
2257
|
"additionalProperties": false,
|
|
2246
2258
|
"default": {
|
|
2247
2259
|
"@userId": {
|
|
@@ -2267,36 +2279,36 @@ const common = {
|
|
|
2267
2279
|
},
|
|
2268
2280
|
"type": "object"
|
|
2269
2281
|
},
|
|
2270
|
-
"
|
|
2282
|
+
"common214": {
|
|
2271
2283
|
"@userId": {
|
|
2272
2284
|
"type": "citoyens"
|
|
2273
2285
|
}
|
|
2274
2286
|
},
|
|
2275
|
-
"
|
|
2287
|
+
"common215": {
|
|
2276
2288
|
"type": "citoyens"
|
|
2277
2289
|
},
|
|
2278
|
-
"
|
|
2290
|
+
"common216": {
|
|
2279
2291
|
"const": "poi",
|
|
2280
2292
|
"default": "poi",
|
|
2281
2293
|
"type": "string"
|
|
2282
2294
|
},
|
|
2283
|
-
"
|
|
2295
|
+
"common217": {
|
|
2284
2296
|
"const": "events",
|
|
2285
2297
|
"default": "events",
|
|
2286
2298
|
"type": "string"
|
|
2287
2299
|
},
|
|
2288
|
-
"
|
|
2300
|
+
"common218": {
|
|
2289
2301
|
"format": "date-time",
|
|
2290
2302
|
"type": "string"
|
|
2291
2303
|
},
|
|
2292
|
-
"
|
|
2304
|
+
"common219": {
|
|
2293
2305
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2294
2306
|
"type": "string"
|
|
2295
2307
|
},
|
|
2296
|
-
"
|
|
2308
|
+
"common220": {
|
|
2297
2309
|
"type": "integer"
|
|
2298
2310
|
},
|
|
2299
|
-
"
|
|
2311
|
+
"common221": {
|
|
2300
2312
|
"additionalProperties": false,
|
|
2301
2313
|
"properties": {
|
|
2302
2314
|
"id": {
|
|
@@ -2316,7 +2328,7 @@ const common = {
|
|
|
2316
2328
|
],
|
|
2317
2329
|
"type": "object"
|
|
2318
2330
|
},
|
|
2319
|
-
"
|
|
2331
|
+
"common222": {
|
|
2320
2332
|
"id": {
|
|
2321
2333
|
"default": "@userId",
|
|
2322
2334
|
"pattern": "^[a-f0-9]{24}$",
|
|
@@ -2328,22 +2340,22 @@ const common = {
|
|
|
2328
2340
|
"type": "string"
|
|
2329
2341
|
}
|
|
2330
2342
|
},
|
|
2331
|
-
"
|
|
2343
|
+
"common223": {
|
|
2332
2344
|
"default": "@userId",
|
|
2333
2345
|
"pattern": "^[a-f0-9]{24}$",
|
|
2334
2346
|
"type": "string"
|
|
2335
2347
|
},
|
|
2336
|
-
"
|
|
2348
|
+
"common224": {
|
|
2337
2349
|
"const": "badges",
|
|
2338
2350
|
"default": "badges",
|
|
2339
2351
|
"type": "string"
|
|
2340
2352
|
},
|
|
2341
|
-
"
|
|
2353
|
+
"common225": {
|
|
2342
2354
|
"const": "badge",
|
|
2343
2355
|
"default": "badge",
|
|
2344
2356
|
"type": "string"
|
|
2345
2357
|
},
|
|
2346
|
-
"
|
|
2358
|
+
"common226": {
|
|
2347
2359
|
"patternProperties": {
|
|
2348
2360
|
"^[0-9a-f]{24}$": {
|
|
2349
2361
|
"additionalProperties": false,
|
|
@@ -2374,7 +2386,7 @@ const common = {
|
|
|
2374
2386
|
},
|
|
2375
2387
|
"type": "object"
|
|
2376
2388
|
},
|
|
2377
|
-
"
|
|
2389
|
+
"common227": {
|
|
2378
2390
|
"^[0-9a-f]{24}$": {
|
|
2379
2391
|
"additionalProperties": false,
|
|
2380
2392
|
"properties": {
|
|
@@ -2402,7 +2414,7 @@ const common = {
|
|
|
2402
2414
|
"type": "object"
|
|
2403
2415
|
}
|
|
2404
2416
|
},
|
|
2405
|
-
"
|
|
2417
|
+
"common228": {
|
|
2406
2418
|
"additionalProperties": false,
|
|
2407
2419
|
"properties": {
|
|
2408
2420
|
"isAdmin": {
|
|
@@ -2428,7 +2440,7 @@ const common = {
|
|
|
2428
2440
|
],
|
|
2429
2441
|
"type": "object"
|
|
2430
2442
|
},
|
|
2431
|
-
"
|
|
2443
|
+
"common229": {
|
|
2432
2444
|
"isAdmin": {
|
|
2433
2445
|
"default": "",
|
|
2434
2446
|
"enum": [
|
|
@@ -2447,7 +2459,7 @@ const common = {
|
|
|
2447
2459
|
"type": "array"
|
|
2448
2460
|
}
|
|
2449
2461
|
},
|
|
2450
|
-
"
|
|
2462
|
+
"common230": {
|
|
2451
2463
|
"default": "",
|
|
2452
2464
|
"enum": [
|
|
2453
2465
|
"",
|
|
@@ -2455,14 +2467,14 @@ const common = {
|
|
|
2455
2467
|
],
|
|
2456
2468
|
"type": "string"
|
|
2457
2469
|
},
|
|
2458
|
-
"
|
|
2470
|
+
"common231": {
|
|
2459
2471
|
"enum": [
|
|
2460
2472
|
"projects",
|
|
2461
2473
|
"organizations"
|
|
2462
2474
|
],
|
|
2463
2475
|
"type": "string"
|
|
2464
2476
|
},
|
|
2465
|
-
"
|
|
2477
|
+
"common232": {
|
|
2466
2478
|
"items": {
|
|
2467
2479
|
"enum": [
|
|
2468
2480
|
"NGO",
|
|
@@ -2480,7 +2492,7 @@ const common = {
|
|
|
2480
2492
|
},
|
|
2481
2493
|
"type": "array"
|
|
2482
2494
|
},
|
|
2483
|
-
"
|
|
2495
|
+
"common233": {
|
|
2484
2496
|
"enum": [
|
|
2485
2497
|
"NGO",
|
|
2486
2498
|
"LocalBusiness",
|
|
@@ -2495,7 +2507,7 @@ const common = {
|
|
|
2495
2507
|
],
|
|
2496
2508
|
"type": "string"
|
|
2497
2509
|
},
|
|
2498
|
-
"
|
|
2510
|
+
"common234": {
|
|
2499
2511
|
"default": "",
|
|
2500
2512
|
"oneOf": [
|
|
2501
2513
|
{
|
|
@@ -2508,11 +2520,11 @@ const common = {
|
|
|
2508
2520
|
}
|
|
2509
2521
|
]
|
|
2510
2522
|
},
|
|
2511
|
-
"
|
|
2523
|
+
"common235": {
|
|
2512
2524
|
"additionalProperties": true,
|
|
2513
2525
|
"type": "object"
|
|
2514
2526
|
},
|
|
2515
|
-
"
|
|
2527
|
+
"common236": {
|
|
2516
2528
|
"additionalProperties": true,
|
|
2517
2529
|
"properties": {
|
|
2518
2530
|
"tags": {
|
|
@@ -2527,7 +2539,7 @@ const common = {
|
|
|
2527
2539
|
},
|
|
2528
2540
|
"type": "object"
|
|
2529
2541
|
},
|
|
2530
|
-
"
|
|
2542
|
+
"common237": {
|
|
2531
2543
|
"tags": {
|
|
2532
2544
|
"additionalProperties": true,
|
|
2533
2545
|
"properties": {
|
|
@@ -2538,7 +2550,7 @@ const common = {
|
|
|
2538
2550
|
"type": "object"
|
|
2539
2551
|
}
|
|
2540
2552
|
},
|
|
2541
|
-
"
|
|
2553
|
+
"common238": {
|
|
2542
2554
|
"additionalProperties": true,
|
|
2543
2555
|
"properties": {
|
|
2544
2556
|
"verb": {
|
|
@@ -2547,12 +2559,12 @@ const common = {
|
|
|
2547
2559
|
},
|
|
2548
2560
|
"type": "object"
|
|
2549
2561
|
},
|
|
2550
|
-
"
|
|
2562
|
+
"common239": {
|
|
2551
2563
|
"verb": {
|
|
2552
2564
|
"type": "string"
|
|
2553
2565
|
}
|
|
2554
2566
|
},
|
|
2555
|
-
"
|
|
2567
|
+
"common240": {
|
|
2556
2568
|
"additionalProperties": {
|
|
2557
2569
|
"enum": [
|
|
2558
2570
|
1,
|
|
@@ -2562,14 +2574,14 @@ const common = {
|
|
|
2562
2574
|
},
|
|
2563
2575
|
"type": "object"
|
|
2564
2576
|
},
|
|
2565
|
-
"
|
|
2577
|
+
"common241": {
|
|
2566
2578
|
"enum": [
|
|
2567
2579
|
1,
|
|
2568
2580
|
-1
|
|
2569
2581
|
],
|
|
2570
2582
|
"type": "integer"
|
|
2571
2583
|
},
|
|
2572
|
-
"
|
|
2584
|
+
"common242": {
|
|
2573
2585
|
"additionalProperties": false,
|
|
2574
2586
|
"properties": {
|
|
2575
2587
|
"id": {
|
|
@@ -2587,7 +2599,7 @@ const common = {
|
|
|
2587
2599
|
],
|
|
2588
2600
|
"type": "object"
|
|
2589
2601
|
},
|
|
2590
|
-
"
|
|
2602
|
+
"common243": {
|
|
2591
2603
|
"id": {
|
|
2592
2604
|
"pattern": "^[a-f0-9]{24}$",
|
|
2593
2605
|
"type": "string"
|
|
@@ -2597,11 +2609,11 @@ const common = {
|
|
|
2597
2609
|
"type": "string"
|
|
2598
2610
|
}
|
|
2599
2611
|
},
|
|
2600
|
-
"
|
|
2612
|
+
"common244": {
|
|
2601
2613
|
"default": "events",
|
|
2602
2614
|
"type": "string"
|
|
2603
2615
|
},
|
|
2604
|
-
"
|
|
2616
|
+
"common245": {
|
|
2605
2617
|
"items": {
|
|
2606
2618
|
"properties": {
|
|
2607
2619
|
"id": {
|
|
@@ -2615,7 +2627,7 @@ const common = {
|
|
|
2615
2627
|
},
|
|
2616
2628
|
"type": "array"
|
|
2617
2629
|
},
|
|
2618
|
-
"
|
|
2630
|
+
"common246": {
|
|
2619
2631
|
"properties": {
|
|
2620
2632
|
"id": {
|
|
2621
2633
|
"type": "string"
|
|
@@ -2626,12 +2638,12 @@ const common = {
|
|
|
2626
2638
|
],
|
|
2627
2639
|
"type": "object"
|
|
2628
2640
|
},
|
|
2629
|
-
"
|
|
2641
|
+
"common247": {
|
|
2630
2642
|
"id": {
|
|
2631
2643
|
"type": "string"
|
|
2632
2644
|
}
|
|
2633
2645
|
},
|
|
2634
|
-
"
|
|
2646
|
+
"common248": {
|
|
2635
2647
|
"additionalProperties": false,
|
|
2636
2648
|
"properties": {
|
|
2637
2649
|
"contextId": {
|
|
@@ -2661,7 +2673,7 @@ const common = {
|
|
|
2661
2673
|
},
|
|
2662
2674
|
"type": "object"
|
|
2663
2675
|
},
|
|
2664
|
-
"
|
|
2676
|
+
"common249": {
|
|
2665
2677
|
"contextId": {
|
|
2666
2678
|
"pattern": "^[a-f0-9]{24}$",
|
|
2667
2679
|
"type": "string"
|
|
@@ -2687,7 +2699,7 @@ const common = {
|
|
|
2687
2699
|
"type": "array"
|
|
2688
2700
|
}
|
|
2689
2701
|
},
|
|
2690
|
-
"
|
|
2702
|
+
"common250": {
|
|
2691
2703
|
"items": {
|
|
2692
2704
|
"enum": [
|
|
2693
2705
|
"answers"
|
|
@@ -2696,13 +2708,13 @@ const common = {
|
|
|
2696
2708
|
},
|
|
2697
2709
|
"type": "array"
|
|
2698
2710
|
},
|
|
2699
|
-
"
|
|
2711
|
+
"common251": {
|
|
2700
2712
|
"enum": [
|
|
2701
2713
|
"answers"
|
|
2702
2714
|
],
|
|
2703
2715
|
"type": "string"
|
|
2704
2716
|
},
|
|
2705
|
-
"
|
|
2717
|
+
"common252": {
|
|
2706
2718
|
"enum": [
|
|
2707
2719
|
"comments",
|
|
2708
2720
|
"news"
|
|
@@ -2712,6 +2724,6 @@ const common = {
|
|
|
2712
2724
|
};
|
|
2713
2725
|
|
|
2714
2726
|
// Endpoints avec intégration des définitions communes
|
|
2715
|
-
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,"name":common.common1,"tags":common.common30,"url":common.common4}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common33,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common35,common.common37,common.common39],"properties":{"birthDate":common.common41,"block":common.common42,"email":common.common43,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common44,"scope":common.common10,"tags":common.common45,"typeElement":common.common46,"url":common.common47}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common48,common.common50],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"parent":common.common52,"scope":common.common10,"tags":common.common45,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common47}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common48,common.common56,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common50],"properties":{"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"organizer":common.common58,"parent":common.common52,"scope":common.common10,"tags":common.common45,"type":common.common61,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common47}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common56],"properties":{"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"scope":common.common10,"tags":common.common45,"type":common.common62,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common47}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common56,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"scope":common.common10,"tags":common.common45,"type":common.common63,"typeElement":common.common64,"url":common.common47,"urls":common.common31}}}],"properties":{"block":common.common42,"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.common32,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.common65,"facebook":common.common65,"github":common.common65,"gitlab":common.common65,"id":common.common1,"instagram":common.common65,"mastodon":common.common65,"scope":common.common10,"signal":common.common65,"telegram":common.common65,"twitter":common.common65,"typeElement":common.common66},"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.common67,"if":common.common24,"properties":{"address":{"oneOf":[common.common70,common.common71]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common70,common.common75]},"geoPosition":{"oneOf":[common.common70,common.common79]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common85,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common67,"if":common.common24,"properties":{"block":common.common42,"id":common.common1,"scope":common.common10,"slug":common.common88,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common85,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common67,"if":common.common89,"properties":{"block":common.common42,"id":common.common1,"slug":common.common88,"type":common.common19},"required":["block","type","id","slug"],"then":common.common85,"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":{"additionalProperties":false,"else":common.common91,"if":common.common93,"properties":{"folder":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"then":common.common95,"type":"object"},"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"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.common67,"if":common.common89,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common85,"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.common97,"if":common.common99,"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.common66},"required":["parentId","parentType","listInvite"],"then":common.common101,"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.common67,"if":common.common89,"properties":{"id":common.common1,"isLive":common.common103,"type":common.common66},"required":["isLive","type","id"],"then":common.common85,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common104,"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.common105,common.common106,common.common107],"else":common.common97,"if":common.common99,"properties":{"json":common.common83,"markdownActive":common.common103,"mediaFile":common.common108,"mediaImg":common.common110,"mentions":common.common112,"parentId":common.common1,"parentType":common.common66,"scope":common.common116,"tags":common.common30,"text":common.common1,"type":common.common117},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common101,"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.common118,"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.common118,"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.common120,"request":{"additionalProperties":false,"properties":{"isLive":common.common121},"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.common105,common.common106,common.common107],"else":common.common97,"if":common.common99,"properties":{"idNews":common.common11,"markdownActive":common.common103,"mediaFile":common.common108,"mediaImg":common.common110,"mentions":common.common112,"parentId":common.common1,"parentType":common.common66,"scope":common.common116,"tags":common.common30,"text":common.common1,"type":common.common117},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common101,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common122,"if":common.common124,"properties":{"childId":common.common11,"childType":common.common66,"comment":common.common1,"connectType":common.common126,"parentId":common.common11,"parentType":common.common117},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common127,"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":common.common129},{"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.common131,"mentions":common.common132,"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.common120},{"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.common132,"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":common.common129},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common135,"type":"array"},"fediverse":common.common136,"filters":common.common137,"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common140,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchTags":common.common31,"searchType":{"items":common.common135,"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.common137,"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.common121,"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.common150,"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.common83,"countType":common.common151,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common153,"parent.@userId":common.common153},"links.contributors.@userId":common.common153},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common151},"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.common157,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common151,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common153,"parent.@{pathParams.id}":common.common153},"links.contributors.@{pathParams.id}":common.common153},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common151},"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.common83,"countType":common.common159,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common153},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common159},"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.common157,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common159,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common153},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common159},"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.common83,"countType":common.common160,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common153,"links.members.@userId.isInviting":common.common162,"links.members.@userId.toBeValidated":common.common162},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common160},"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.common67,"if":common.common89,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common85,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common160,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common153,"links.members.@{pathParams.id}.isInviting":common.common162,"links.members.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common160},"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.common83,"countType":common.common167,"fediverse":common.common136,"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.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common120,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common167,"fediverse":common.common136,"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.common153,"links.memberOf.@{pathParams.id}.isInviting":common.common162,"links.memberOf.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common83,"countType":common.common174,"fediverse":common.common136,"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.common153,"links.friends.@{pathParams.id}.isInviting":common.common162,"links.friends.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"searchType":common.common174},"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.common83,"countType":common.common176,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common178],"default":{"links.followers.@userId":common.common153,"links.followers.@{userId}.isInviting":common.common162,"links.followers.@{userId}.toBeValidated":common.common162},"patternProperties":common.common181,"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common176},"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.common83,"countType":common.common176,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common178],"default":{"links.followers.@{pathParams.id}":common.common153,"links.followers.@{pathParams.id}.isInviting":common.common162,"links.followers.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":common.common181,"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common176},"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.common83,"countType":common.common174,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.follows.@userId":common.common153,"links.follows.@{userId}.isInviting":common.common162,"links.follows.@{userId}.toBeValidated":common.common162},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common163,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common174},"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.common67,"if":common.common89,"then":common.common85}],"properties":{"id":common.common1,"type":common.common185},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common174,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.follows.@{pathParams.id}":common.common153},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"type":"object"},"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"searchType":common.common174},"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.common83,"countType":common.common167,"fediverse":common.common136,"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.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common120,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common167,"fediverse":common.common136,"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.common153,"links.projects.@{pathParams.id}.isInviting":common.common162,"links.projects.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common83,"countType":common.common186,"fediverse":common.common136,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"type":"object"},"isParcours":common.common3,"preferences.private":common.common136},"required":["preferences.private"],"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common186},"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.common83,"countType":common.common188,"fediverse":common.common136,"fields":common.common186,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common190}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common190,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common193,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common193}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common196},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common196,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common192}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common190}}],"type":"object"},"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common197,"GovernmentOrganization":common.common197,"Group":common.common197,"LocalBusiness":common.common197,"NGO":common.common197,"citoyens":common.common197,"projects":common.common197},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common147},"type":"object"},"searchType":common.common188},"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.common99,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common198,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common204,"childType":common.common205,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common206},"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.common99,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common198,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common204,"childType":common.common205,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common206},"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.common82},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common207,"id":common.common208,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common137},"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.common192,"collection":common.common207,"id":common.common208,"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.common55,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"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.common71,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common209,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common137,"shortDescription":common.common1,"tags":common.common31,"type":common.common62,"url":common.common4},"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.common71,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common212,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common103,"isOpenData":common.common121,"isOpenEdition":common.common121},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common103,"scope":common.common137,"shortDescription":common.common1,"tags":common.common31,"url":common.common4},"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.common71,"collection":common.common215,"description":common.common1,"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":common.common215,"name":common.common1,"parent":common.common212,"scope":common.common137,"tags":common.common31,"type":common.common63,"urls":common.common31},"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.common165}},"properties":{"address":common.common71,"collection":common.common216,"email":common.common2,"endDate":common.common217,"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common70,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common218,"opens":common.common218},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common212,"parent":common.common58,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common121,"isOpenEdition":common.common121},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common103,"recurrency":common.common121,"scope":common.common137,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common217,"tags":common.common31,"timeZone":common.common1,"type":common.common61,"url":common.common4},"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.common120,"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.common120,"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.common219,"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.common46,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common206},"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.common220,"request":{"additionalProperties":false,"properties":{"indexMin":common.common104},"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.common220,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common219},"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.common83},"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.common120},{"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.common120},{"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.common223,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common121,"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.common224,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common223},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common209,"public":common.common103,"scope":common.common137,"tags":common.common31},"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.common54},"type":"object"},"badgeId":common.common11,"collection":common.common223,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common224,"narative":common.common1,"scope":common.common137},"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":false,"properties":{"count":common.common121,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common217,"fediverse":common.common121,"indexMin":common.common104,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"searchType":{"const":["events"],"default":["events"],"items":common.common1,"type":"array"},"startDate":common.common82,"startDateUTC":common.common217,"type":common.common61},"required":["searchType","indexMin","indexStep","startDate","startDateUTC","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.common122,"if":common.common124,"properties":{"childId":common.common11,"childType":common.common66,"comment":common.common1,"connectType":common.common126,"parentId":common.common11,"parentType":common.common216},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common127,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common97,"if":common.common99,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common225,"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.common229,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common225,"projects":common.common225},"type":"object"},"parentId":common.common1,"parentType":common.common66},"required":["parentId","parentType","listInvite"],"then":common.common101,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common204,"childType":common.common205,"parentId":common.common11,"parentType":common.common206},"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.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"count":common.common83,"countType":common.common231,"fediverse":common.common121,"fields":common.common31,"filters":common.common233,"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common140,"mapUsed":common.common192,"name":common.common1,"notSourceKey":common.common192,"options":common.common235,"ranges":common.common145,"searchBy":common.common149,"searchTags":common.common31,"searchType":common.common231,"sortBy":common.common239,"sourceKey":common.common31},"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.common241,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"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.common241,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common41,"start":common.common41},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common244,"sourceKey":common.common31,"tags":common.common31,"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.common241,"request":common.common247},{"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.common241,"request":common.common247},{"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.common241,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"regions":common.common244,"sourceKey":common.common31,"tags":common.common31,"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.common241,"request":common.common247},{"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.common241,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"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.common241,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"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.common67,"if":common.common89,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common185},"required":["id","type","docType"],"then":common.common85,"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.common83,"countType":common.common174,"fediverse":common.common136,"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.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common174},"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.common120,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common174,"fediverse":common.common136,"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.common153,"links.events.@{pathParams.id}.isInviting":common.common162,"links.events.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common174},"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.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"count":common.common83,"countType":common.common249,"fediverse":common.common121,"fields":common.common31,"filters":common.common233,"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common140,"mapUsed":common.common192,"name":common.common1,"notSourceKey":common.common192,"options":common.common235,"ranges":common.common145,"searchBy":common.common149,"searchTags":common.common31,"searchType":common.common249,"sortBy":common.common239,"sourceKey":common.common31},"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.common31,"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.common251,"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.common251,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}}]};
|
|
2727
|
+
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,"name":common.common1,"tags":common.common30,"url":common.common33}},"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":common.common43,"block":common.common44,"email":common.common45,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"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.common45,"id":common.common1,"name":common.common46,"parent":common.common54,"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.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common47,"type":common.common63,"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.common58],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common64,"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.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":common.common66,"url":common.common49,"urls":common.common31}}}],"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.common32,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common34,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common34,common.common76]},"geoPosition":{"oneOf":[common.common34,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":{"additionalProperties":false,"else":common.common92,"if":common.common94,"properties":{"folder":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"then":common.common96,"type":"object"},"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common98,"if":common.common100,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common102,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common104,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common105,"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.common106,common.common107,common.common108],"else":common.common98,"if":common.common100,"properties":{"json":common.common84,"markdownActive":common.common104,"mediaFile":common.common109,"mediaImg":common.common111,"mentions":common.common113,"parentId":common.common1,"parentType":common.common68,"scope":common.common117,"tags":common.common30,"text":common.common1,"type":common.common118},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common102,"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.common119,"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.common119,"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.common121,"request":{"additionalProperties":false,"properties":{"isLive":common.common122},"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.common106,common.common107,common.common108],"else":common.common98,"if":common.common100,"properties":{"idNews":common.common11,"markdownActive":common.common104,"mediaFile":common.common109,"mediaImg":common.common111,"mentions":common.common113,"parentId":common.common1,"parentType":common.common68,"scope":common.common117,"tags":common.common30,"text":common.common1,"type":common.common118},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common102,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common123,"if":common.common125,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common127,"parentId":common.common11,"parentType":common.common118},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common128,"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":common.common130},{"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.common132,"mentions":common.common133,"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.common121},{"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.common133,"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":common.common130},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common136,"type":"array"},"fediverse":common.common137,"filters":common.common138,"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchTags":common.common31,"searchType":{"items":common.common136,"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.common138,"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.common122,"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.common151,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common152,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common154,"parent.@userId":common.common154},"links.contributors.@userId":common.common154},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common152},"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.common158,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common152,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common154,"parent.@{pathParams.id}":common.common154},"links.contributors.@{pathParams.id}":common.common154},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common152},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common160,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common154},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common160},"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.common158,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common160,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common154},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common154,"links.members.@userId.isInviting":common.common163,"links.members.@userId.toBeValidated":common.common163},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common164,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common154,"links.members.@{pathParams.id}.isInviting":common.common163,"links.members.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common164,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"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.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"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.common121,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"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.common154,"links.memberOf.@{pathParams.id}.isInviting":common.common163,"links.memberOf.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"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.common154,"links.friends.@{pathParams.id}.isInviting":common.common163,"links.friends.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common177,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common179],"default":{"links.followers.@userId":common.common154,"links.followers.@{userId}.isInviting":common.common163,"links.followers.@{userId}.toBeValidated":common.common163},"patternProperties":common.common182,"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common177,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common179],"default":{"links.followers.@{pathParams.id}":common.common154,"links.followers.@{pathParams.id}.isInviting":common.common163,"links.followers.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":common.common182,"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.follows.@userId":common.common154,"links.follows.@{userId}.isInviting":common.common163,"links.follows.@{userId}.toBeValidated":common.common163},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common164,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common186},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.follows.@{pathParams.id}":common.common154},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"type":"object"},"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"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.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"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.common121,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"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.common154,"links.projects.@{pathParams.id}.isInviting":common.common163,"links.projects.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common187,"fediverse":common.common137,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"type":"object"},"isParcours":common.common3,"preferences.private":common.common137},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common189,"fediverse":common.common137,"fields":common.common187,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common191}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common191,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common194,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common194}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common197},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common197,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common193}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common191}}],"type":"object"},"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common198,"GovernmentOrganization":common.common198,"Group":common.common198,"LocalBusiness":common.common198,"NGO":common.common198,"citoyens":common.common198,"projects":common.common198},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common148},"type":"object"},"searchType":common.common189},"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.common100,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common199,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common201,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common205,"childType":common.common206,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common207},"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.common100,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common199,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common201,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common205,"childType":common.common206,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common207},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common208,"id":common.common209,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common138},"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.common193,"collection":common.common208,"id":common.common209,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common210,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common138,"shortDescription":common.common1,"tags":common.common31,"type":common.common64,"url":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common213,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common104,"isOpenData":common.common122,"isOpenEdition":common.common122},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common104,"scope":common.common138,"shortDescription":common.common1,"tags":common.common31,"url":common.common33},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":common.common216,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common216,"name":common.common1,"parent":common.common213,"scope":common.common138,"tags":common.common31,"type":common.common65,"urls":common.common31},"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.common166}},"properties":{"address":common.common72,"collection":common.common217,"email":common.common2,"endDate":common.common218,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common34,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common219,"opens":common.common219},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common213,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common122,"isOpenEdition":common.common122},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common104,"recurrency":common.common122,"scope":common.common138,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common218,"tags":common.common31,"timeZone":common.common1,"type":common.common63,"url":common.common33},"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.common121,"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.common121,"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.common220,"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.common207},"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.common221,"request":{"additionalProperties":false,"properties":{"indexMin":common.common105},"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.common221,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common220},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common84},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common121},{"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.common121},{"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.common224,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common122,"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.common225,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common224},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common210,"public":common.common104,"scope":common.common138,"tags":common.common31},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common56},"type":"object"},"badgeId":common.common11,"collection":common.common224,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common225,"narative":common.common1,"scope":common.common138},"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":false,"properties":{"count":common.common122,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common218,"fediverse":common.common122,"indexMin":common.common105,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"searchType":{"const":["events"],"default":["events"],"items":common.common1,"type":"array"},"startDate":common.common83,"startDateUTC":common.common218,"type":common.common63},"required":["searchType","indexMin","indexStep","startDate","startDateUTC","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.common123,"if":common.common125,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common127,"parentId":common.common11,"parentType":common.common217},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common128,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common98,"if":common.common100,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common226,"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.common230,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common226,"projects":common.common226},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common102,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common205,"childType":common.common206,"parentId":common.common11,"parentType":common.common207},"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.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"count":common.common84,"countType":common.common232,"fediverse":common.common122,"fields":common.common31,"filters":common.common234,"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common141,"mapUsed":common.common193,"name":common.common1,"notSourceKey":common.common193,"options":common.common236,"ranges":common.common146,"searchBy":common.common150,"searchTags":common.common31,"searchType":common.common232,"sortBy":common.common240,"sourceKey":common.common31},"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.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"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.common242,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"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.common245,"sourceKey":common.common31,"tags":common.common31,"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.common242,"request":common.common248},{"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.common242,"request":common.common248},{"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.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"regions":common.common245,"sourceKey":common.common31,"tags":common.common31,"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.common242,"request":common.common248},{"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.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"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.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common186},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"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.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common175},"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.common121,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"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.common154,"links.events.@{pathParams.id}.isInviting":common.common163,"links.events.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common175},"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.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"count":common.common84,"countType":common.common250,"fediverse":common.common122,"fields":common.common31,"filters":common.common234,"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common141,"mapUsed":common.common193,"name":common.common1,"notSourceKey":common.common193,"options":common.common236,"ranges":common.common146,"searchBy":common.common150,"searchTags":common.common31,"searchType":common.common250,"sortBy":common.common240,"sourceKey":common.common31},"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.common31,"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.common252,"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.common252,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}}]};
|
|
2716
2728
|
|
|
2717
2729
|
export default endpoints;
|