@communecter/cocolight-api-client 1.0.89 → 1.0.91
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/serverDataType/Event.ts +2 -2
- package/src/api/serverDataType/Project.ts +20 -0
- package/src/endpoints.module.ts +221 -210
- package/src/index.ts +1 -0
- package/types/api/serverDataType/Event.d.ts +2 -2
- package/types/api/serverDataType/Project.d.ts +7 -0
- package/types/endpoints.module.d.ts +21 -4
- package/types/index.d.ts +1 -0
package/src/endpoints.module.ts
CHANGED
|
@@ -320,22 +320,33 @@ const common = {
|
|
|
320
320
|
"type": "string"
|
|
321
321
|
},
|
|
322
322
|
"common45": {
|
|
323
|
-
"
|
|
323
|
+
"anyOf": [
|
|
324
|
+
{
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"const": "",
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
]
|
|
324
332
|
},
|
|
325
333
|
"common46": {
|
|
326
|
-
"$ref": "#/$defs/sharedFields/
|
|
334
|
+
"$ref": "#/$defs/sharedFields/name"
|
|
327
335
|
},
|
|
328
336
|
"common47": {
|
|
337
|
+
"$ref": "#/$defs/sharedFields/tags"
|
|
338
|
+
},
|
|
339
|
+
"common48": {
|
|
329
340
|
"default": "citoyens",
|
|
330
341
|
"enum": [
|
|
331
342
|
"citoyens"
|
|
332
343
|
],
|
|
333
344
|
"type": "string"
|
|
334
345
|
},
|
|
335
|
-
"
|
|
346
|
+
"common49": {
|
|
336
347
|
"$ref": "#/$defs/sharedFields/url"
|
|
337
348
|
},
|
|
338
|
-
"
|
|
349
|
+
"common50": {
|
|
339
350
|
"properties": {
|
|
340
351
|
"avancement": {
|
|
341
352
|
"not": {
|
|
@@ -347,14 +358,14 @@ const common = {
|
|
|
347
358
|
"avancement"
|
|
348
359
|
]
|
|
349
360
|
},
|
|
350
|
-
"
|
|
361
|
+
"common51": {
|
|
351
362
|
"avancement": {
|
|
352
363
|
"not": {
|
|
353
364
|
"type": "null"
|
|
354
365
|
}
|
|
355
366
|
}
|
|
356
367
|
},
|
|
357
|
-
"
|
|
368
|
+
"common52": {
|
|
358
369
|
"properties": {
|
|
359
370
|
"parent": {
|
|
360
371
|
"not": {
|
|
@@ -366,17 +377,17 @@ const common = {
|
|
|
366
377
|
"parent"
|
|
367
378
|
]
|
|
368
379
|
},
|
|
369
|
-
"
|
|
380
|
+
"common53": {
|
|
370
381
|
"parent": {
|
|
371
382
|
"not": {
|
|
372
383
|
"type": "null"
|
|
373
384
|
}
|
|
374
385
|
}
|
|
375
386
|
},
|
|
376
|
-
"
|
|
387
|
+
"common54": {
|
|
377
388
|
"$ref": "#/$defs/sharedFields/emailNullable"
|
|
378
389
|
},
|
|
379
|
-
"
|
|
390
|
+
"common55": {
|
|
380
391
|
"additionalProperties": false,
|
|
381
392
|
"patternProperties": {
|
|
382
393
|
"^[a-fA-F0-9]{24}$": {
|
|
@@ -398,7 +409,7 @@ const common = {
|
|
|
398
409
|
},
|
|
399
410
|
"type": "object"
|
|
400
411
|
},
|
|
401
|
-
"
|
|
412
|
+
"common56": {
|
|
402
413
|
"^[a-fA-F0-9]{24}$": {
|
|
403
414
|
"additionalProperties": false,
|
|
404
415
|
"properties": {
|
|
@@ -416,7 +427,7 @@ const common = {
|
|
|
416
427
|
"type": "object"
|
|
417
428
|
}
|
|
418
429
|
},
|
|
419
|
-
"
|
|
430
|
+
"common57": {
|
|
420
431
|
"additionalProperties": false,
|
|
421
432
|
"properties": {
|
|
422
433
|
"name": {
|
|
@@ -432,7 +443,7 @@ const common = {
|
|
|
432
443
|
],
|
|
433
444
|
"type": "object"
|
|
434
445
|
},
|
|
435
|
-
"
|
|
446
|
+
"common58": {
|
|
436
447
|
"name": {
|
|
437
448
|
"type": "string"
|
|
438
449
|
},
|
|
@@ -440,7 +451,7 @@ const common = {
|
|
|
440
451
|
"type": "string"
|
|
441
452
|
}
|
|
442
453
|
},
|
|
443
|
-
"
|
|
454
|
+
"common59": {
|
|
444
455
|
"properties": {
|
|
445
456
|
"type": {
|
|
446
457
|
"not": {
|
|
@@ -452,14 +463,14 @@ const common = {
|
|
|
452
463
|
"type"
|
|
453
464
|
]
|
|
454
465
|
},
|
|
455
|
-
"
|
|
466
|
+
"common60": {
|
|
456
467
|
"type": {
|
|
457
468
|
"not": {
|
|
458
469
|
"type": "null"
|
|
459
470
|
}
|
|
460
471
|
}
|
|
461
472
|
},
|
|
462
|
-
"
|
|
473
|
+
"common61": {
|
|
463
474
|
"additionalProperties": false,
|
|
464
475
|
"patternProperties": {
|
|
465
476
|
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
@@ -480,7 +491,7 @@ const common = {
|
|
|
480
491
|
},
|
|
481
492
|
"type": "object"
|
|
482
493
|
},
|
|
483
|
-
"
|
|
494
|
+
"common62": {
|
|
484
495
|
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
485
496
|
"additionalProperties": false,
|
|
486
497
|
"properties": {
|
|
@@ -497,7 +508,7 @@ const common = {
|
|
|
497
508
|
"type": "object"
|
|
498
509
|
}
|
|
499
510
|
},
|
|
500
|
-
"
|
|
511
|
+
"common63": {
|
|
501
512
|
"additionalProperties": false,
|
|
502
513
|
"properties": {
|
|
503
514
|
"name": {
|
|
@@ -512,7 +523,7 @@ const common = {
|
|
|
512
523
|
],
|
|
513
524
|
"type": "object"
|
|
514
525
|
},
|
|
515
|
-
"
|
|
526
|
+
"common64": {
|
|
516
527
|
"enum": [
|
|
517
528
|
"workshop",
|
|
518
529
|
"competition",
|
|
@@ -537,7 +548,7 @@ const common = {
|
|
|
537
548
|
],
|
|
538
549
|
"type": "string"
|
|
539
550
|
},
|
|
540
|
-
"
|
|
551
|
+
"common65": {
|
|
541
552
|
"enum": [
|
|
542
553
|
"NGO",
|
|
543
554
|
"LocalBusiness",
|
|
@@ -547,7 +558,7 @@ const common = {
|
|
|
547
558
|
],
|
|
548
559
|
"type": "string"
|
|
549
560
|
},
|
|
550
|
-
"
|
|
561
|
+
"common66": {
|
|
551
562
|
"enum": [
|
|
552
563
|
"link",
|
|
553
564
|
"tool",
|
|
@@ -576,16 +587,16 @@ const common = {
|
|
|
576
587
|
],
|
|
577
588
|
"type": "string"
|
|
578
589
|
},
|
|
579
|
-
"
|
|
590
|
+
"common67": {
|
|
580
591
|
"enum": [
|
|
581
592
|
"poi"
|
|
582
593
|
],
|
|
583
594
|
"type": "string"
|
|
584
595
|
},
|
|
585
|
-
"
|
|
596
|
+
"common68": {
|
|
586
597
|
"$ref": "#/$defs/socialField"
|
|
587
598
|
},
|
|
588
|
-
"
|
|
599
|
+
"common69": {
|
|
589
600
|
"default": "citoyens",
|
|
590
601
|
"enum": [
|
|
591
602
|
"citoyens",
|
|
@@ -594,22 +605,22 @@ const common = {
|
|
|
594
605
|
],
|
|
595
606
|
"type": "string"
|
|
596
607
|
},
|
|
597
|
-
"
|
|
608
|
+
"common70": {
|
|
598
609
|
"properties": {
|
|
599
610
|
"id": {
|
|
600
611
|
"pattern": "^[a-f0-9]{24}$"
|
|
601
612
|
}
|
|
602
613
|
}
|
|
603
614
|
},
|
|
604
|
-
"
|
|
615
|
+
"common71": {
|
|
605
616
|
"id": {
|
|
606
617
|
"pattern": "^[a-f0-9]{24}$"
|
|
607
618
|
}
|
|
608
619
|
},
|
|
609
|
-
"
|
|
620
|
+
"common72": {
|
|
610
621
|
"pattern": "^[a-f0-9]{24}$"
|
|
611
622
|
},
|
|
612
|
-
"
|
|
623
|
+
"common73": {
|
|
613
624
|
"additionalProperties": false,
|
|
614
625
|
"properties": {
|
|
615
626
|
"@type": {
|
|
@@ -668,7 +679,7 @@ const common = {
|
|
|
668
679
|
],
|
|
669
680
|
"type": "object"
|
|
670
681
|
},
|
|
671
|
-
"
|
|
682
|
+
"common74": {
|
|
672
683
|
"@type": {
|
|
673
684
|
"const": "PostalAddress",
|
|
674
685
|
"type": "string"
|
|
@@ -714,15 +725,15 @@ const common = {
|
|
|
714
725
|
"type": "string"
|
|
715
726
|
}
|
|
716
727
|
},
|
|
717
|
-
"
|
|
728
|
+
"common75": {
|
|
718
729
|
"const": "PostalAddress",
|
|
719
730
|
"type": "string"
|
|
720
731
|
},
|
|
721
|
-
"
|
|
732
|
+
"common76": {
|
|
722
733
|
"minLength": 0,
|
|
723
734
|
"type": "string"
|
|
724
735
|
},
|
|
725
|
-
"
|
|
736
|
+
"common77": {
|
|
726
737
|
"additionalProperties": false,
|
|
727
738
|
"properties": {
|
|
728
739
|
"@type": {
|
|
@@ -748,7 +759,7 @@ const common = {
|
|
|
748
759
|
],
|
|
749
760
|
"type": "object"
|
|
750
761
|
},
|
|
751
|
-
"
|
|
762
|
+
"common78": {
|
|
752
763
|
"@type": {
|
|
753
764
|
"const": "GeoCoordinates",
|
|
754
765
|
"type": "string"
|
|
@@ -766,17 +777,17 @@ const common = {
|
|
|
766
777
|
]
|
|
767
778
|
}
|
|
768
779
|
},
|
|
769
|
-
"
|
|
780
|
+
"common79": {
|
|
770
781
|
"const": "GeoCoordinates",
|
|
771
782
|
"type": "string"
|
|
772
783
|
},
|
|
773
|
-
"
|
|
784
|
+
"common80": {
|
|
774
785
|
"type": [
|
|
775
786
|
"string",
|
|
776
787
|
"number"
|
|
777
788
|
]
|
|
778
789
|
},
|
|
779
|
-
"
|
|
790
|
+
"common81": {
|
|
780
791
|
"additionalProperties": true,
|
|
781
792
|
"properties": {
|
|
782
793
|
"coordinates": {
|
|
@@ -804,7 +815,7 @@ const common = {
|
|
|
804
815
|
],
|
|
805
816
|
"type": "object"
|
|
806
817
|
},
|
|
807
|
-
"
|
|
818
|
+
"common82": {
|
|
808
819
|
"coordinates": {
|
|
809
820
|
"items": {
|
|
810
821
|
"type": "number"
|
|
@@ -823,7 +834,7 @@ const common = {
|
|
|
823
834
|
"type": "string"
|
|
824
835
|
}
|
|
825
836
|
},
|
|
826
|
-
"
|
|
837
|
+
"common83": {
|
|
827
838
|
"items": {
|
|
828
839
|
"type": "number"
|
|
829
840
|
},
|
|
@@ -831,19 +842,19 @@ const common = {
|
|
|
831
842
|
"minItems": 2,
|
|
832
843
|
"type": "array"
|
|
833
844
|
},
|
|
834
|
-
"
|
|
845
|
+
"common84": {
|
|
835
846
|
"type": "number"
|
|
836
847
|
},
|
|
837
|
-
"
|
|
848
|
+
"common85": {
|
|
838
849
|
"const": true,
|
|
839
850
|
"default": true,
|
|
840
851
|
"type": "boolean"
|
|
841
852
|
},
|
|
842
|
-
"
|
|
853
|
+
"common86": {
|
|
843
854
|
"const": "Point",
|
|
844
855
|
"type": "string"
|
|
845
856
|
},
|
|
846
|
-
"
|
|
857
|
+
"common87": {
|
|
847
858
|
"properties": {
|
|
848
859
|
"id": {
|
|
849
860
|
"default": "@userId",
|
|
@@ -851,35 +862,35 @@ const common = {
|
|
|
851
862
|
}
|
|
852
863
|
}
|
|
853
864
|
},
|
|
854
|
-
"
|
|
865
|
+
"common88": {
|
|
855
866
|
"id": {
|
|
856
867
|
"default": "@userId",
|
|
857
868
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
858
869
|
}
|
|
859
870
|
},
|
|
860
|
-
"
|
|
871
|
+
"common89": {
|
|
861
872
|
"default": "@userId",
|
|
862
873
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
863
874
|
},
|
|
864
|
-
"
|
|
875
|
+
"common90": {
|
|
865
876
|
"maxLength": 100,
|
|
866
877
|
"minLength": 3,
|
|
867
878
|
"pattern": "^[a-zA-Z0-9]+$",
|
|
868
879
|
"type": "string"
|
|
869
880
|
},
|
|
870
|
-
"
|
|
881
|
+
"common91": {
|
|
871
882
|
"properties": {
|
|
872
883
|
"type": {
|
|
873
884
|
"const": "citoyens"
|
|
874
885
|
}
|
|
875
886
|
}
|
|
876
887
|
},
|
|
877
|
-
"
|
|
888
|
+
"common92": {
|
|
878
889
|
"type": {
|
|
879
890
|
"const": "citoyens"
|
|
880
891
|
}
|
|
881
892
|
},
|
|
882
|
-
"
|
|
893
|
+
"common93": {
|
|
883
894
|
"additionalProperties": false,
|
|
884
895
|
"else": {
|
|
885
896
|
"properties": {
|
|
@@ -925,31 +936,31 @@ const common = {
|
|
|
925
936
|
},
|
|
926
937
|
"type": "object"
|
|
927
938
|
},
|
|
928
|
-
"
|
|
939
|
+
"common94": {
|
|
929
940
|
"properties": {
|
|
930
941
|
"ownerId": {
|
|
931
942
|
"pattern": "^[a-f0-9]{24}$"
|
|
932
943
|
}
|
|
933
944
|
}
|
|
934
945
|
},
|
|
935
|
-
"
|
|
946
|
+
"common95": {
|
|
936
947
|
"ownerId": {
|
|
937
948
|
"pattern": "^[a-f0-9]{24}$"
|
|
938
949
|
}
|
|
939
950
|
},
|
|
940
|
-
"
|
|
951
|
+
"common96": {
|
|
941
952
|
"properties": {
|
|
942
953
|
"folder": {
|
|
943
954
|
"const": "citoyens"
|
|
944
955
|
}
|
|
945
956
|
}
|
|
946
957
|
},
|
|
947
|
-
"
|
|
958
|
+
"common97": {
|
|
948
959
|
"folder": {
|
|
949
960
|
"const": "citoyens"
|
|
950
961
|
}
|
|
951
962
|
},
|
|
952
|
-
"
|
|
963
|
+
"common98": {
|
|
953
964
|
"folder": {
|
|
954
965
|
"default": "citoyens",
|
|
955
966
|
"enum": [
|
|
@@ -965,7 +976,7 @@ const common = {
|
|
|
965
976
|
"type": "string"
|
|
966
977
|
}
|
|
967
978
|
},
|
|
968
|
-
"
|
|
979
|
+
"common99": {
|
|
969
980
|
"default": "citoyens",
|
|
970
981
|
"enum": [
|
|
971
982
|
"citoyens",
|
|
@@ -976,7 +987,7 @@ const common = {
|
|
|
976
987
|
],
|
|
977
988
|
"type": "string"
|
|
978
989
|
},
|
|
979
|
-
"
|
|
990
|
+
"common100": {
|
|
980
991
|
"properties": {
|
|
981
992
|
"ownerId": {
|
|
982
993
|
"default": "@userId",
|
|
@@ -984,37 +995,37 @@ const common = {
|
|
|
984
995
|
}
|
|
985
996
|
}
|
|
986
997
|
},
|
|
987
|
-
"
|
|
998
|
+
"common101": {
|
|
988
999
|
"ownerId": {
|
|
989
1000
|
"default": "@userId",
|
|
990
1001
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
991
1002
|
}
|
|
992
1003
|
},
|
|
993
|
-
"
|
|
1004
|
+
"common102": {
|
|
994
1005
|
"properties": {
|
|
995
1006
|
"parentId": {
|
|
996
1007
|
"pattern": "^[a-f0-9]{24}$"
|
|
997
1008
|
}
|
|
998
1009
|
}
|
|
999
1010
|
},
|
|
1000
|
-
"
|
|
1011
|
+
"common103": {
|
|
1001
1012
|
"parentId": {
|
|
1002
1013
|
"pattern": "^[a-f0-9]{24}$"
|
|
1003
1014
|
}
|
|
1004
1015
|
},
|
|
1005
|
-
"
|
|
1016
|
+
"common104": {
|
|
1006
1017
|
"properties": {
|
|
1007
1018
|
"parentType": {
|
|
1008
1019
|
"const": "citoyens"
|
|
1009
1020
|
}
|
|
1010
1021
|
}
|
|
1011
1022
|
},
|
|
1012
|
-
"
|
|
1023
|
+
"common105": {
|
|
1013
1024
|
"parentType": {
|
|
1014
1025
|
"const": "citoyens"
|
|
1015
1026
|
}
|
|
1016
1027
|
},
|
|
1017
|
-
"
|
|
1028
|
+
"common106": {
|
|
1018
1029
|
"properties": {
|
|
1019
1030
|
"parentId": {
|
|
1020
1031
|
"default": "@userId",
|
|
@@ -1022,36 +1033,36 @@ const common = {
|
|
|
1022
1033
|
}
|
|
1023
1034
|
}
|
|
1024
1035
|
},
|
|
1025
|
-
"
|
|
1036
|
+
"common107": {
|
|
1026
1037
|
"parentId": {
|
|
1027
1038
|
"default": "@userId",
|
|
1028
1039
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1029
1040
|
}
|
|
1030
1041
|
},
|
|
1031
|
-
"
|
|
1042
|
+
"common108": {
|
|
1032
1043
|
"default": true,
|
|
1033
1044
|
"type": "boolean"
|
|
1034
1045
|
},
|
|
1035
|
-
"
|
|
1046
|
+
"common109": {
|
|
1036
1047
|
"default": 0,
|
|
1037
1048
|
"type": "integer"
|
|
1038
1049
|
},
|
|
1039
|
-
"
|
|
1050
|
+
"common110": {
|
|
1040
1051
|
"required": [
|
|
1041
1052
|
"text"
|
|
1042
1053
|
]
|
|
1043
1054
|
},
|
|
1044
|
-
"
|
|
1055
|
+
"common111": {
|
|
1045
1056
|
"required": [
|
|
1046
1057
|
"mediaImg"
|
|
1047
1058
|
]
|
|
1048
1059
|
},
|
|
1049
|
-
"
|
|
1060
|
+
"common112": {
|
|
1050
1061
|
"required": [
|
|
1051
1062
|
"mediaFile"
|
|
1052
1063
|
]
|
|
1053
1064
|
},
|
|
1054
|
-
"
|
|
1065
|
+
"common113": {
|
|
1055
1066
|
"additionalProperties": false,
|
|
1056
1067
|
"properties": {
|
|
1057
1068
|
"countFiles": {
|
|
@@ -1070,7 +1081,7 @@ const common = {
|
|
|
1070
1081
|
],
|
|
1071
1082
|
"type": "object"
|
|
1072
1083
|
},
|
|
1073
|
-
"
|
|
1084
|
+
"common114": {
|
|
1074
1085
|
"countFiles": {
|
|
1075
1086
|
"type": "number"
|
|
1076
1087
|
},
|
|
@@ -1081,7 +1092,7 @@ const common = {
|
|
|
1081
1092
|
"type": "array"
|
|
1082
1093
|
}
|
|
1083
1094
|
},
|
|
1084
|
-
"
|
|
1095
|
+
"common115": {
|
|
1085
1096
|
"additionalProperties": false,
|
|
1086
1097
|
"properties": {
|
|
1087
1098
|
"countImages": {
|
|
@@ -1100,7 +1111,7 @@ const common = {
|
|
|
1100
1111
|
],
|
|
1101
1112
|
"type": "object"
|
|
1102
1113
|
},
|
|
1103
|
-
"
|
|
1114
|
+
"common116": {
|
|
1104
1115
|
"countImages": {
|
|
1105
1116
|
"type": "number"
|
|
1106
1117
|
},
|
|
@@ -1111,7 +1122,7 @@ const common = {
|
|
|
1111
1122
|
"type": "array"
|
|
1112
1123
|
}
|
|
1113
1124
|
},
|
|
1114
|
-
"
|
|
1125
|
+
"common117": {
|
|
1115
1126
|
"items": {
|
|
1116
1127
|
"properties": {
|
|
1117
1128
|
"count": {
|
|
@@ -1147,7 +1158,7 @@ const common = {
|
|
|
1147
1158
|
},
|
|
1148
1159
|
"type": "array"
|
|
1149
1160
|
},
|
|
1150
|
-
"
|
|
1161
|
+
"common118": {
|
|
1151
1162
|
"properties": {
|
|
1152
1163
|
"count": {
|
|
1153
1164
|
"minimum": 1,
|
|
@@ -1180,7 +1191,7 @@ const common = {
|
|
|
1180
1191
|
],
|
|
1181
1192
|
"type": "object"
|
|
1182
1193
|
},
|
|
1183
|
-
"
|
|
1194
|
+
"common119": {
|
|
1184
1195
|
"count": {
|
|
1185
1196
|
"minimum": 1,
|
|
1186
1197
|
"type": "integer"
|
|
@@ -1202,11 +1213,11 @@ const common = {
|
|
|
1202
1213
|
"type": "string"
|
|
1203
1214
|
}
|
|
1204
1215
|
},
|
|
1205
|
-
"
|
|
1216
|
+
"common120": {
|
|
1206
1217
|
"minimum": 1,
|
|
1207
1218
|
"type": "integer"
|
|
1208
1219
|
},
|
|
1209
|
-
"
|
|
1220
|
+
"common121": {
|
|
1210
1221
|
"default": "public",
|
|
1211
1222
|
"enum": [
|
|
1212
1223
|
"public",
|
|
@@ -1215,12 +1226,12 @@ const common = {
|
|
|
1215
1226
|
],
|
|
1216
1227
|
"type": "string"
|
|
1217
1228
|
},
|
|
1218
|
-
"
|
|
1229
|
+
"common122": {
|
|
1219
1230
|
"const": "news",
|
|
1220
1231
|
"default": "news",
|
|
1221
1232
|
"type": "string"
|
|
1222
1233
|
},
|
|
1223
|
-
"
|
|
1234
|
+
"common123": {
|
|
1224
1235
|
"additionalProperties": false,
|
|
1225
1236
|
"else": {
|
|
1226
1237
|
"properties": {
|
|
@@ -1264,7 +1275,7 @@ const common = {
|
|
|
1264
1275
|
},
|
|
1265
1276
|
"type": "object"
|
|
1266
1277
|
},
|
|
1267
|
-
"
|
|
1278
|
+
"common124": {
|
|
1268
1279
|
"folder": {
|
|
1269
1280
|
"default": "citoyens",
|
|
1270
1281
|
"enum": [
|
|
@@ -1278,7 +1289,7 @@ const common = {
|
|
|
1278
1289
|
"type": "string"
|
|
1279
1290
|
}
|
|
1280
1291
|
},
|
|
1281
|
-
"
|
|
1292
|
+
"common125": {
|
|
1282
1293
|
"additionalProperties": false,
|
|
1283
1294
|
"properties": {
|
|
1284
1295
|
"id": {
|
|
@@ -1291,40 +1302,40 @@ const common = {
|
|
|
1291
1302
|
],
|
|
1292
1303
|
"type": "object"
|
|
1293
1304
|
},
|
|
1294
|
-
"
|
|
1305
|
+
"common126": {
|
|
1295
1306
|
"default": false,
|
|
1296
1307
|
"type": "boolean"
|
|
1297
1308
|
},
|
|
1298
|
-
"
|
|
1309
|
+
"common127": {
|
|
1299
1310
|
"properties": {
|
|
1300
1311
|
"childId": {
|
|
1301
1312
|
"pattern": "^[a-f0-9]{24}$"
|
|
1302
1313
|
}
|
|
1303
1314
|
}
|
|
1304
1315
|
},
|
|
1305
|
-
"
|
|
1316
|
+
"common128": {
|
|
1306
1317
|
"childId": {
|
|
1307
1318
|
"pattern": "^[a-f0-9]{24}$"
|
|
1308
1319
|
}
|
|
1309
1320
|
},
|
|
1310
|
-
"
|
|
1321
|
+
"common129": {
|
|
1311
1322
|
"properties": {
|
|
1312
1323
|
"childType": {
|
|
1313
1324
|
"const": "citoyens"
|
|
1314
1325
|
}
|
|
1315
1326
|
}
|
|
1316
1327
|
},
|
|
1317
|
-
"
|
|
1328
|
+
"common130": {
|
|
1318
1329
|
"childType": {
|
|
1319
1330
|
"const": "citoyens"
|
|
1320
1331
|
}
|
|
1321
1332
|
},
|
|
1322
|
-
"
|
|
1333
|
+
"common131": {
|
|
1323
1334
|
"const": "share",
|
|
1324
1335
|
"default": "share",
|
|
1325
1336
|
"type": "string"
|
|
1326
1337
|
},
|
|
1327
|
-
"
|
|
1338
|
+
"common132": {
|
|
1328
1339
|
"properties": {
|
|
1329
1340
|
"childId": {
|
|
1330
1341
|
"default": "@userId",
|
|
@@ -1332,20 +1343,20 @@ const common = {
|
|
|
1332
1343
|
}
|
|
1333
1344
|
}
|
|
1334
1345
|
},
|
|
1335
|
-
"
|
|
1346
|
+
"common133": {
|
|
1336
1347
|
"childId": {
|
|
1337
1348
|
"default": "@userId",
|
|
1338
1349
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1339
1350
|
}
|
|
1340
1351
|
},
|
|
1341
|
-
"
|
|
1352
|
+
"common134": {
|
|
1342
1353
|
"default": "news",
|
|
1343
1354
|
"enum": [
|
|
1344
1355
|
"news"
|
|
1345
1356
|
],
|
|
1346
1357
|
"type": "string"
|
|
1347
1358
|
},
|
|
1348
|
-
"
|
|
1359
|
+
"common135": {
|
|
1349
1360
|
"items": {
|
|
1350
1361
|
"additionalProperties": false,
|
|
1351
1362
|
"properties": {
|
|
@@ -1381,7 +1392,7 @@ const common = {
|
|
|
1381
1392
|
},
|
|
1382
1393
|
"type": "array"
|
|
1383
1394
|
},
|
|
1384
|
-
"
|
|
1395
|
+
"common136": {
|
|
1385
1396
|
"additionalProperties": false,
|
|
1386
1397
|
"properties": {
|
|
1387
1398
|
"count": {
|
|
@@ -1414,7 +1425,7 @@ const common = {
|
|
|
1414
1425
|
],
|
|
1415
1426
|
"type": "object"
|
|
1416
1427
|
},
|
|
1417
|
-
"
|
|
1428
|
+
"common137": {
|
|
1418
1429
|
"count": {
|
|
1419
1430
|
"type": "number"
|
|
1420
1431
|
},
|
|
@@ -1435,7 +1446,7 @@ const common = {
|
|
|
1435
1446
|
"type": "string"
|
|
1436
1447
|
}
|
|
1437
1448
|
},
|
|
1438
|
-
"
|
|
1449
|
+
"common138": {
|
|
1439
1450
|
"enum": [
|
|
1440
1451
|
"NGO",
|
|
1441
1452
|
"LocalBusiness",
|
|
@@ -1448,25 +1459,25 @@ const common = {
|
|
|
1448
1459
|
],
|
|
1449
1460
|
"type": "string"
|
|
1450
1461
|
},
|
|
1451
|
-
"
|
|
1462
|
+
"common139": {
|
|
1452
1463
|
"const": false,
|
|
1453
1464
|
"default": false,
|
|
1454
1465
|
"type": "boolean"
|
|
1455
1466
|
},
|
|
1456
|
-
"
|
|
1467
|
+
"common140": {
|
|
1457
1468
|
"const": "",
|
|
1458
1469
|
"default": "",
|
|
1459
1470
|
"type": "string"
|
|
1460
1471
|
},
|
|
1461
|
-
"
|
|
1472
|
+
"common141": {
|
|
1462
1473
|
"default": 0,
|
|
1463
1474
|
"type": "number"
|
|
1464
1475
|
},
|
|
1465
|
-
"
|
|
1476
|
+
"common142": {
|
|
1466
1477
|
"default": 30,
|
|
1467
1478
|
"type": "number"
|
|
1468
1479
|
},
|
|
1469
|
-
"
|
|
1480
|
+
"common143": {
|
|
1470
1481
|
"additionalProperties": false,
|
|
1471
1482
|
"patternProperties": {
|
|
1472
1483
|
"^[^\\s]+$": {
|
|
@@ -1492,7 +1503,7 @@ const common = {
|
|
|
1492
1503
|
},
|
|
1493
1504
|
"type": "object"
|
|
1494
1505
|
},
|
|
1495
|
-
"
|
|
1506
|
+
"common144": {
|
|
1496
1507
|
"^[^\\s]+$": {
|
|
1497
1508
|
"additionalProperties": false,
|
|
1498
1509
|
"properties": {
|
|
@@ -1514,7 +1525,7 @@ const common = {
|
|
|
1514
1525
|
"type": "object"
|
|
1515
1526
|
}
|
|
1516
1527
|
},
|
|
1517
|
-
"
|
|
1528
|
+
"common145": {
|
|
1518
1529
|
"additionalProperties": false,
|
|
1519
1530
|
"properties": {
|
|
1520
1531
|
"id": {
|
|
@@ -1534,7 +1545,7 @@ const common = {
|
|
|
1534
1545
|
],
|
|
1535
1546
|
"type": "object"
|
|
1536
1547
|
},
|
|
1537
|
-
"
|
|
1548
|
+
"common146": {
|
|
1538
1549
|
"id": {
|
|
1539
1550
|
"type": "string"
|
|
1540
1551
|
},
|
|
@@ -1546,14 +1557,14 @@ const common = {
|
|
|
1546
1557
|
"type": "string"
|
|
1547
1558
|
}
|
|
1548
1559
|
},
|
|
1549
|
-
"
|
|
1560
|
+
"common147": {
|
|
1550
1561
|
"enum": [
|
|
1551
1562
|
"cities",
|
|
1552
1563
|
"level1"
|
|
1553
1564
|
],
|
|
1554
1565
|
"type": "string"
|
|
1555
1566
|
},
|
|
1556
|
-
"
|
|
1567
|
+
"common148": {
|
|
1557
1568
|
"additionalProperties": false,
|
|
1558
1569
|
"patternProperties": {
|
|
1559
1570
|
"^[^\\s]+$": {
|
|
@@ -1575,7 +1586,7 @@ const common = {
|
|
|
1575
1586
|
},
|
|
1576
1587
|
"type": "object"
|
|
1577
1588
|
},
|
|
1578
|
-
"
|
|
1589
|
+
"common149": {
|
|
1579
1590
|
"^[^\\s]+$": {
|
|
1580
1591
|
"additionalProperties": false,
|
|
1581
1592
|
"properties": {
|
|
@@ -1593,7 +1604,7 @@ const common = {
|
|
|
1593
1604
|
"type": "object"
|
|
1594
1605
|
}
|
|
1595
1606
|
},
|
|
1596
|
-
"
|
|
1607
|
+
"common150": {
|
|
1597
1608
|
"additionalProperties": false,
|
|
1598
1609
|
"properties": {
|
|
1599
1610
|
"indexMax": {
|
|
@@ -1609,7 +1620,7 @@ const common = {
|
|
|
1609
1620
|
],
|
|
1610
1621
|
"type": "object"
|
|
1611
1622
|
},
|
|
1612
|
-
"
|
|
1623
|
+
"common151": {
|
|
1613
1624
|
"indexMax": {
|
|
1614
1625
|
"type": "number"
|
|
1615
1626
|
},
|
|
@@ -1617,18 +1628,18 @@ const common = {
|
|
|
1617
1628
|
"type": "number"
|
|
1618
1629
|
}
|
|
1619
1630
|
},
|
|
1620
|
-
"
|
|
1631
|
+
"common152": {
|
|
1621
1632
|
"enum": [
|
|
1622
1633
|
"ALL"
|
|
1623
1634
|
],
|
|
1624
1635
|
"type": "string"
|
|
1625
1636
|
},
|
|
1626
|
-
"
|
|
1637
|
+
"common153": {
|
|
1627
1638
|
"default": 0,
|
|
1628
1639
|
"minimum": 0,
|
|
1629
1640
|
"type": "integer"
|
|
1630
1641
|
},
|
|
1631
|
-
"
|
|
1642
|
+
"common154": {
|
|
1632
1643
|
"const": [
|
|
1633
1644
|
"projects"
|
|
1634
1645
|
],
|
|
@@ -1643,16 +1654,16 @@ const common = {
|
|
|
1643
1654
|
},
|
|
1644
1655
|
"type": "array"
|
|
1645
1656
|
},
|
|
1646
|
-
"
|
|
1657
|
+
"common155": {
|
|
1647
1658
|
"enum": [
|
|
1648
1659
|
"projects"
|
|
1649
1660
|
],
|
|
1650
1661
|
"type": "string"
|
|
1651
1662
|
},
|
|
1652
|
-
"
|
|
1663
|
+
"common156": {
|
|
1653
1664
|
"$exists": true
|
|
1654
1665
|
},
|
|
1655
|
-
"
|
|
1666
|
+
"common157": {
|
|
1656
1667
|
"additionalProperties": false,
|
|
1657
1668
|
"properties": {
|
|
1658
1669
|
"$exists": {
|
|
@@ -1664,15 +1675,15 @@ const common = {
|
|
|
1664
1675
|
],
|
|
1665
1676
|
"type": "object"
|
|
1666
1677
|
},
|
|
1667
|
-
"
|
|
1678
|
+
"common158": {
|
|
1668
1679
|
"$exists": {
|
|
1669
1680
|
"const": true
|
|
1670
1681
|
}
|
|
1671
1682
|
},
|
|
1672
|
-
"
|
|
1683
|
+
"common159": {
|
|
1673
1684
|
"const": true
|
|
1674
1685
|
},
|
|
1675
|
-
"
|
|
1686
|
+
"common160": {
|
|
1676
1687
|
"additionalProperties": false,
|
|
1677
1688
|
"else": {
|
|
1678
1689
|
"properties": {
|
|
@@ -1716,7 +1727,7 @@ const common = {
|
|
|
1716
1727
|
},
|
|
1717
1728
|
"type": "object"
|
|
1718
1729
|
},
|
|
1719
|
-
"
|
|
1730
|
+
"common161": {
|
|
1720
1731
|
"id": {
|
|
1721
1732
|
"type": "string"
|
|
1722
1733
|
},
|
|
@@ -1730,7 +1741,7 @@ const common = {
|
|
|
1730
1741
|
"type": "string"
|
|
1731
1742
|
}
|
|
1732
1743
|
},
|
|
1733
|
-
"
|
|
1744
|
+
"common162": {
|
|
1734
1745
|
"const": [
|
|
1735
1746
|
"poi"
|
|
1736
1747
|
],
|
|
@@ -1745,7 +1756,7 @@ const common = {
|
|
|
1745
1756
|
},
|
|
1746
1757
|
"type": "array"
|
|
1747
1758
|
},
|
|
1748
|
-
"
|
|
1759
|
+
"common163": {
|
|
1749
1760
|
"const": [
|
|
1750
1761
|
"NGO",
|
|
1751
1762
|
"Cooperative",
|
|
@@ -1772,7 +1783,7 @@ const common = {
|
|
|
1772
1783
|
},
|
|
1773
1784
|
"type": "array"
|
|
1774
1785
|
},
|
|
1775
|
-
"
|
|
1786
|
+
"common164": {
|
|
1776
1787
|
"enum": [
|
|
1777
1788
|
"NGO",
|
|
1778
1789
|
"Cooperative",
|
|
@@ -1782,10 +1793,10 @@ const common = {
|
|
|
1782
1793
|
],
|
|
1783
1794
|
"type": "string"
|
|
1784
1795
|
},
|
|
1785
|
-
"
|
|
1796
|
+
"common165": {
|
|
1786
1797
|
"$exists": false
|
|
1787
1798
|
},
|
|
1788
|
-
"
|
|
1799
|
+
"common166": {
|
|
1789
1800
|
"additionalProperties": false,
|
|
1790
1801
|
"properties": {
|
|
1791
1802
|
"$exists": {
|
|
@@ -1797,19 +1808,19 @@ const common = {
|
|
|
1797
1808
|
],
|
|
1798
1809
|
"type": "object"
|
|
1799
1810
|
},
|
|
1800
|
-
"
|
|
1811
|
+
"common167": {
|
|
1801
1812
|
"$exists": {
|
|
1802
1813
|
"const": false
|
|
1803
1814
|
}
|
|
1804
1815
|
},
|
|
1805
|
-
"
|
|
1816
|
+
"common168": {
|
|
1806
1817
|
"const": false
|
|
1807
1818
|
},
|
|
1808
|
-
"
|
|
1819
|
+
"common169": {
|
|
1809
1820
|
"default": 30,
|
|
1810
1821
|
"type": "integer"
|
|
1811
1822
|
},
|
|
1812
|
-
"
|
|
1823
|
+
"common170": {
|
|
1813
1824
|
"const": [
|
|
1814
1825
|
"citoyens",
|
|
1815
1826
|
"NGO",
|
|
@@ -1839,7 +1850,7 @@ const common = {
|
|
|
1839
1850
|
},
|
|
1840
1851
|
"type": "array"
|
|
1841
1852
|
},
|
|
1842
|
-
"
|
|
1853
|
+
"common171": {
|
|
1843
1854
|
"enum": [
|
|
1844
1855
|
"citoyens",
|
|
1845
1856
|
"NGO",
|
|
@@ -1850,7 +1861,7 @@ const common = {
|
|
|
1850
1861
|
],
|
|
1851
1862
|
"type": "string"
|
|
1852
1863
|
},
|
|
1853
|
-
"
|
|
1864
|
+
"common172": {
|
|
1854
1865
|
"additionalProperties": false,
|
|
1855
1866
|
"properties": {
|
|
1856
1867
|
"$exists": {
|
|
@@ -1863,13 +1874,13 @@ const common = {
|
|
|
1863
1874
|
],
|
|
1864
1875
|
"type": "object"
|
|
1865
1876
|
},
|
|
1866
|
-
"
|
|
1877
|
+
"common173": {
|
|
1867
1878
|
"$exists": {
|
|
1868
1879
|
"default": false,
|
|
1869
1880
|
"type": "boolean"
|
|
1870
1881
|
}
|
|
1871
1882
|
},
|
|
1872
|
-
"
|
|
1883
|
+
"common174": {
|
|
1873
1884
|
"additionalProperties": false,
|
|
1874
1885
|
"properties": {
|
|
1875
1886
|
"$in": {
|
|
@@ -1885,7 +1896,7 @@ const common = {
|
|
|
1885
1896
|
],
|
|
1886
1897
|
"type": "object"
|
|
1887
1898
|
},
|
|
1888
|
-
"
|
|
1899
|
+
"common175": {
|
|
1889
1900
|
"$in": {
|
|
1890
1901
|
"items": {
|
|
1891
1902
|
"type": "string"
|
|
@@ -1894,14 +1905,14 @@ const common = {
|
|
|
1894
1905
|
"type": "array"
|
|
1895
1906
|
}
|
|
1896
1907
|
},
|
|
1897
|
-
"
|
|
1908
|
+
"common176": {
|
|
1898
1909
|
"items": {
|
|
1899
1910
|
"type": "string"
|
|
1900
1911
|
},
|
|
1901
1912
|
"minItems": 1,
|
|
1902
1913
|
"type": "array"
|
|
1903
1914
|
},
|
|
1904
|
-
"
|
|
1915
|
+
"common177": {
|
|
1905
1916
|
"const": [
|
|
1906
1917
|
"citoyens"
|
|
1907
1918
|
],
|
|
@@ -1916,13 +1927,13 @@ const common = {
|
|
|
1916
1927
|
},
|
|
1917
1928
|
"type": "array"
|
|
1918
1929
|
},
|
|
1919
|
-
"
|
|
1930
|
+
"common178": {
|
|
1920
1931
|
"enum": [
|
|
1921
1932
|
"citoyens"
|
|
1922
1933
|
],
|
|
1923
1934
|
"type": "string"
|
|
1924
1935
|
},
|
|
1925
|
-
"
|
|
1936
|
+
"common179": {
|
|
1926
1937
|
"const": [
|
|
1927
1938
|
"citoyens",
|
|
1928
1939
|
"NGO",
|
|
@@ -1955,7 +1966,7 @@ const common = {
|
|
|
1955
1966
|
},
|
|
1956
1967
|
"type": "array"
|
|
1957
1968
|
},
|
|
1958
|
-
"
|
|
1969
|
+
"common180": {
|
|
1959
1970
|
"enum": [
|
|
1960
1971
|
"citoyens",
|
|
1961
1972
|
"NGO",
|
|
@@ -1967,22 +1978,22 @@ const common = {
|
|
|
1967
1978
|
],
|
|
1968
1979
|
"type": "string"
|
|
1969
1980
|
},
|
|
1970
|
-
"
|
|
1981
|
+
"common181": {
|
|
1971
1982
|
"not": {
|
|
1972
1983
|
"propertyNames": {
|
|
1973
1984
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1974
1985
|
}
|
|
1975
1986
|
}
|
|
1976
1987
|
},
|
|
1977
|
-
"
|
|
1988
|
+
"common182": {
|
|
1978
1989
|
"propertyNames": {
|
|
1979
1990
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1980
1991
|
}
|
|
1981
1992
|
},
|
|
1982
|
-
"
|
|
1993
|
+
"common183": {
|
|
1983
1994
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1984
1995
|
},
|
|
1985
|
-
"
|
|
1996
|
+
"common184": {
|
|
1986
1997
|
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
1987
1998
|
"additionalProperties": false,
|
|
1988
1999
|
"properties": {
|
|
@@ -2020,22 +2031,22 @@ const common = {
|
|
|
2020
2031
|
"type": "object"
|
|
2021
2032
|
}
|
|
2022
2033
|
},
|
|
2023
|
-
"
|
|
2034
|
+
"common185": {
|
|
2024
2035
|
"not": {
|
|
2025
2036
|
"propertyNames": {
|
|
2026
2037
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2027
2038
|
}
|
|
2028
2039
|
}
|
|
2029
2040
|
},
|
|
2030
|
-
"
|
|
2041
|
+
"common186": {
|
|
2031
2042
|
"propertyNames": {
|
|
2032
2043
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2033
2044
|
}
|
|
2034
2045
|
},
|
|
2035
|
-
"
|
|
2046
|
+
"common187": {
|
|
2036
2047
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2037
2048
|
},
|
|
2038
|
-
"
|
|
2049
|
+
"common188": {
|
|
2039
2050
|
"default": "citoyens",
|
|
2040
2051
|
"enum": [
|
|
2041
2052
|
"citoyens",
|
|
@@ -2044,7 +2055,7 @@ const common = {
|
|
|
2044
2055
|
],
|
|
2045
2056
|
"type": "string"
|
|
2046
2057
|
},
|
|
2047
|
-
"
|
|
2058
|
+
"common189": {
|
|
2048
2059
|
"const": [
|
|
2049
2060
|
"badges"
|
|
2050
2061
|
],
|
|
@@ -2059,13 +2070,13 @@ const common = {
|
|
|
2059
2070
|
},
|
|
2060
2071
|
"type": "array"
|
|
2061
2072
|
},
|
|
2062
|
-
"
|
|
2073
|
+
"common190": {
|
|
2063
2074
|
"enum": [
|
|
2064
2075
|
"badges"
|
|
2065
2076
|
],
|
|
2066
2077
|
"type": "string"
|
|
2067
2078
|
},
|
|
2068
|
-
"
|
|
2079
|
+
"common191": {
|
|
2069
2080
|
"const": [
|
|
2070
2081
|
"citoyens",
|
|
2071
2082
|
"projects",
|
|
@@ -2098,7 +2109,7 @@ const common = {
|
|
|
2098
2109
|
},
|
|
2099
2110
|
"type": "array"
|
|
2100
2111
|
},
|
|
2101
|
-
"
|
|
2112
|
+
"common192": {
|
|
2102
2113
|
"enum": [
|
|
2103
2114
|
"citoyens",
|
|
2104
2115
|
"projects",
|
|
@@ -2110,7 +2121,7 @@ const common = {
|
|
|
2110
2121
|
],
|
|
2111
2122
|
"type": "string"
|
|
2112
2123
|
},
|
|
2113
|
-
"
|
|
2124
|
+
"common193": {
|
|
2114
2125
|
"additionalProperties": false,
|
|
2115
2126
|
"properties": {
|
|
2116
2127
|
"$exists": {
|
|
@@ -2123,17 +2134,17 @@ const common = {
|
|
|
2123
2134
|
],
|
|
2124
2135
|
"type": "object"
|
|
2125
2136
|
},
|
|
2126
|
-
"
|
|
2137
|
+
"common194": {
|
|
2127
2138
|
"$exists": {
|
|
2128
2139
|
"const": true,
|
|
2129
2140
|
"type": "boolean"
|
|
2130
2141
|
}
|
|
2131
2142
|
},
|
|
2132
|
-
"
|
|
2143
|
+
"common195": {
|
|
2133
2144
|
"const": true,
|
|
2134
2145
|
"type": "boolean"
|
|
2135
2146
|
},
|
|
2136
|
-
"
|
|
2147
|
+
"common196": {
|
|
2137
2148
|
"additionalProperties": false,
|
|
2138
2149
|
"properties": {
|
|
2139
2150
|
"$exists": {
|
|
@@ -2146,17 +2157,17 @@ const common = {
|
|
|
2146
2157
|
],
|
|
2147
2158
|
"type": "object"
|
|
2148
2159
|
},
|
|
2149
|
-
"
|
|
2160
|
+
"common197": {
|
|
2150
2161
|
"$exists": {
|
|
2151
2162
|
"const": false,
|
|
2152
2163
|
"type": "boolean"
|
|
2153
2164
|
}
|
|
2154
2165
|
},
|
|
2155
|
-
"
|
|
2166
|
+
"common198": {
|
|
2156
2167
|
"const": false,
|
|
2157
2168
|
"type": "boolean"
|
|
2158
2169
|
},
|
|
2159
|
-
"
|
|
2170
|
+
"common199": {
|
|
2160
2171
|
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2161
2172
|
"additionalProperties": false,
|
|
2162
2173
|
"properties": {
|
|
@@ -2184,52 +2195,52 @@ const common = {
|
|
|
2184
2195
|
"type": "object"
|
|
2185
2196
|
}
|
|
2186
2197
|
},
|
|
2187
|
-
"
|
|
2198
|
+
"common200": {
|
|
2188
2199
|
"indexMax": 30,
|
|
2189
2200
|
"indexMin": 0
|
|
2190
2201
|
},
|
|
2191
|
-
"
|
|
2202
|
+
"common201": {
|
|
2192
2203
|
"properties": {
|
|
2193
2204
|
"parentType": {
|
|
2194
2205
|
"const": "organizations"
|
|
2195
2206
|
}
|
|
2196
2207
|
}
|
|
2197
2208
|
},
|
|
2198
|
-
"
|
|
2209
|
+
"common202": {
|
|
2199
2210
|
"parentType": {
|
|
2200
2211
|
"const": "organizations"
|
|
2201
2212
|
}
|
|
2202
2213
|
},
|
|
2203
|
-
"
|
|
2214
|
+
"common203": {
|
|
2204
2215
|
"properties": {
|
|
2205
2216
|
"parentType": {
|
|
2206
2217
|
"const": "projects"
|
|
2207
2218
|
}
|
|
2208
2219
|
}
|
|
2209
2220
|
},
|
|
2210
|
-
"
|
|
2221
|
+
"common204": {
|
|
2211
2222
|
"parentType": {
|
|
2212
2223
|
"const": "projects"
|
|
2213
2224
|
}
|
|
2214
2225
|
},
|
|
2215
|
-
"
|
|
2226
|
+
"common205": {
|
|
2216
2227
|
"properties": {
|
|
2217
2228
|
"parentType": {
|
|
2218
2229
|
"const": "events"
|
|
2219
2230
|
}
|
|
2220
2231
|
}
|
|
2221
2232
|
},
|
|
2222
|
-
"
|
|
2233
|
+
"common206": {
|
|
2223
2234
|
"parentType": {
|
|
2224
2235
|
"const": "events"
|
|
2225
2236
|
}
|
|
2226
2237
|
},
|
|
2227
|
-
"
|
|
2238
|
+
"common207": {
|
|
2228
2239
|
"default": "@userId",
|
|
2229
2240
|
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2230
2241
|
"type": "string"
|
|
2231
2242
|
},
|
|
2232
|
-
"
|
|
2243
|
+
"common208": {
|
|
2233
2244
|
"const": "citoyens",
|
|
2234
2245
|
"default": "citoyens",
|
|
2235
2246
|
"enum": [
|
|
@@ -2237,7 +2248,7 @@ const common = {
|
|
|
2237
2248
|
],
|
|
2238
2249
|
"type": "string"
|
|
2239
2250
|
},
|
|
2240
|
-
"
|
|
2251
|
+
"common209": {
|
|
2241
2252
|
"enum": [
|
|
2242
2253
|
"citoyens",
|
|
2243
2254
|
"organizations",
|
|
@@ -2246,18 +2257,18 @@ const common = {
|
|
|
2246
2257
|
],
|
|
2247
2258
|
"type": "string"
|
|
2248
2259
|
},
|
|
2249
|
-
"
|
|
2260
|
+
"common210": {
|
|
2250
2261
|
"const": "citoyens",
|
|
2251
2262
|
"default": "citoyens",
|
|
2252
2263
|
"type": "string"
|
|
2253
2264
|
},
|
|
2254
|
-
"
|
|
2265
|
+
"common211": {
|
|
2255
2266
|
"const": "@userId",
|
|
2256
2267
|
"default": "@userId",
|
|
2257
2268
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2258
2269
|
"type": "string"
|
|
2259
2270
|
},
|
|
2260
|
-
"
|
|
2271
|
+
"common212": {
|
|
2261
2272
|
"default": {
|
|
2262
2273
|
"isOpenData": true,
|
|
2263
2274
|
"isOpenEdition": true
|
|
@@ -2278,11 +2289,11 @@ const common = {
|
|
|
2278
2289
|
],
|
|
2279
2290
|
"type": "object"
|
|
2280
2291
|
},
|
|
2281
|
-
"
|
|
2292
|
+
"common213": {
|
|
2282
2293
|
"isOpenData": true,
|
|
2283
2294
|
"isOpenEdition": true
|
|
2284
2295
|
},
|
|
2285
|
-
"
|
|
2296
|
+
"common214": {
|
|
2286
2297
|
"isOpenData": {
|
|
2287
2298
|
"default": true,
|
|
2288
2299
|
"type": "boolean"
|
|
@@ -2292,7 +2303,7 @@ const common = {
|
|
|
2292
2303
|
"type": "boolean"
|
|
2293
2304
|
}
|
|
2294
2305
|
},
|
|
2295
|
-
"
|
|
2306
|
+
"common215": {
|
|
2296
2307
|
"additionalProperties": false,
|
|
2297
2308
|
"default": {
|
|
2298
2309
|
"@userId": {
|
|
@@ -2318,36 +2329,36 @@ const common = {
|
|
|
2318
2329
|
},
|
|
2319
2330
|
"type": "object"
|
|
2320
2331
|
},
|
|
2321
|
-
"
|
|
2332
|
+
"common216": {
|
|
2322
2333
|
"@userId": {
|
|
2323
2334
|
"type": "citoyens"
|
|
2324
2335
|
}
|
|
2325
2336
|
},
|
|
2326
|
-
"
|
|
2337
|
+
"common217": {
|
|
2327
2338
|
"type": "citoyens"
|
|
2328
2339
|
},
|
|
2329
|
-
"
|
|
2340
|
+
"common218": {
|
|
2330
2341
|
"const": "poi",
|
|
2331
2342
|
"default": "poi",
|
|
2332
2343
|
"type": "string"
|
|
2333
2344
|
},
|
|
2334
|
-
"
|
|
2345
|
+
"common219": {
|
|
2335
2346
|
"const": "events",
|
|
2336
2347
|
"default": "events",
|
|
2337
2348
|
"type": "string"
|
|
2338
2349
|
},
|
|
2339
|
-
"
|
|
2350
|
+
"common220": {
|
|
2340
2351
|
"format": "date-time",
|
|
2341
2352
|
"type": "string"
|
|
2342
2353
|
},
|
|
2343
|
-
"
|
|
2354
|
+
"common221": {
|
|
2344
2355
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2345
2356
|
"type": "string"
|
|
2346
2357
|
},
|
|
2347
|
-
"
|
|
2358
|
+
"common222": {
|
|
2348
2359
|
"type": "integer"
|
|
2349
2360
|
},
|
|
2350
|
-
"
|
|
2361
|
+
"common223": {
|
|
2351
2362
|
"additionalProperties": false,
|
|
2352
2363
|
"properties": {
|
|
2353
2364
|
"id": {
|
|
@@ -2367,7 +2378,7 @@ const common = {
|
|
|
2367
2378
|
],
|
|
2368
2379
|
"type": "object"
|
|
2369
2380
|
},
|
|
2370
|
-
"
|
|
2381
|
+
"common224": {
|
|
2371
2382
|
"id": {
|
|
2372
2383
|
"default": "@userId",
|
|
2373
2384
|
"pattern": "^[a-f0-9]{24}$",
|
|
@@ -2379,22 +2390,22 @@ const common = {
|
|
|
2379
2390
|
"type": "string"
|
|
2380
2391
|
}
|
|
2381
2392
|
},
|
|
2382
|
-
"
|
|
2393
|
+
"common225": {
|
|
2383
2394
|
"default": "@userId",
|
|
2384
2395
|
"pattern": "^[a-f0-9]{24}$",
|
|
2385
2396
|
"type": "string"
|
|
2386
2397
|
},
|
|
2387
|
-
"
|
|
2398
|
+
"common226": {
|
|
2388
2399
|
"const": "badges",
|
|
2389
2400
|
"default": "badges",
|
|
2390
2401
|
"type": "string"
|
|
2391
2402
|
},
|
|
2392
|
-
"
|
|
2403
|
+
"common227": {
|
|
2393
2404
|
"const": "badge",
|
|
2394
2405
|
"default": "badge",
|
|
2395
2406
|
"type": "string"
|
|
2396
2407
|
},
|
|
2397
|
-
"
|
|
2408
|
+
"common228": {
|
|
2398
2409
|
"patternProperties": {
|
|
2399
2410
|
"^[0-9a-f]{24}$": {
|
|
2400
2411
|
"additionalProperties": false,
|
|
@@ -2425,7 +2436,7 @@ const common = {
|
|
|
2425
2436
|
},
|
|
2426
2437
|
"type": "object"
|
|
2427
2438
|
},
|
|
2428
|
-
"
|
|
2439
|
+
"common229": {
|
|
2429
2440
|
"^[0-9a-f]{24}$": {
|
|
2430
2441
|
"additionalProperties": false,
|
|
2431
2442
|
"properties": {
|
|
@@ -2453,7 +2464,7 @@ const common = {
|
|
|
2453
2464
|
"type": "object"
|
|
2454
2465
|
}
|
|
2455
2466
|
},
|
|
2456
|
-
"
|
|
2467
|
+
"common230": {
|
|
2457
2468
|
"additionalProperties": false,
|
|
2458
2469
|
"properties": {
|
|
2459
2470
|
"isAdmin": {
|
|
@@ -2479,7 +2490,7 @@ const common = {
|
|
|
2479
2490
|
],
|
|
2480
2491
|
"type": "object"
|
|
2481
2492
|
},
|
|
2482
|
-
"
|
|
2493
|
+
"common231": {
|
|
2483
2494
|
"isAdmin": {
|
|
2484
2495
|
"default": "",
|
|
2485
2496
|
"enum": [
|
|
@@ -2498,7 +2509,7 @@ const common = {
|
|
|
2498
2509
|
"type": "array"
|
|
2499
2510
|
}
|
|
2500
2511
|
},
|
|
2501
|
-
"
|
|
2512
|
+
"common232": {
|
|
2502
2513
|
"default": "",
|
|
2503
2514
|
"enum": [
|
|
2504
2515
|
"",
|
|
@@ -2506,14 +2517,14 @@ const common = {
|
|
|
2506
2517
|
],
|
|
2507
2518
|
"type": "string"
|
|
2508
2519
|
},
|
|
2509
|
-
"
|
|
2520
|
+
"common233": {
|
|
2510
2521
|
"enum": [
|
|
2511
2522
|
"projects",
|
|
2512
2523
|
"organizations"
|
|
2513
2524
|
],
|
|
2514
2525
|
"type": "string"
|
|
2515
2526
|
},
|
|
2516
|
-
"
|
|
2527
|
+
"common234": {
|
|
2517
2528
|
"items": {
|
|
2518
2529
|
"enum": [
|
|
2519
2530
|
"NGO",
|
|
@@ -2531,7 +2542,7 @@ const common = {
|
|
|
2531
2542
|
},
|
|
2532
2543
|
"type": "array"
|
|
2533
2544
|
},
|
|
2534
|
-
"
|
|
2545
|
+
"common235": {
|
|
2535
2546
|
"enum": [
|
|
2536
2547
|
"NGO",
|
|
2537
2548
|
"LocalBusiness",
|
|
@@ -2546,7 +2557,7 @@ const common = {
|
|
|
2546
2557
|
],
|
|
2547
2558
|
"type": "string"
|
|
2548
2559
|
},
|
|
2549
|
-
"
|
|
2560
|
+
"common236": {
|
|
2550
2561
|
"default": "",
|
|
2551
2562
|
"oneOf": [
|
|
2552
2563
|
{
|
|
@@ -2559,11 +2570,11 @@ const common = {
|
|
|
2559
2570
|
}
|
|
2560
2571
|
]
|
|
2561
2572
|
},
|
|
2562
|
-
"
|
|
2573
|
+
"common237": {
|
|
2563
2574
|
"additionalProperties": true,
|
|
2564
2575
|
"type": "object"
|
|
2565
2576
|
},
|
|
2566
|
-
"
|
|
2577
|
+
"common238": {
|
|
2567
2578
|
"additionalProperties": true,
|
|
2568
2579
|
"properties": {
|
|
2569
2580
|
"tags": {
|
|
@@ -2578,7 +2589,7 @@ const common = {
|
|
|
2578
2589
|
},
|
|
2579
2590
|
"type": "object"
|
|
2580
2591
|
},
|
|
2581
|
-
"
|
|
2592
|
+
"common239": {
|
|
2582
2593
|
"tags": {
|
|
2583
2594
|
"additionalProperties": true,
|
|
2584
2595
|
"properties": {
|
|
@@ -2589,7 +2600,7 @@ const common = {
|
|
|
2589
2600
|
"type": "object"
|
|
2590
2601
|
}
|
|
2591
2602
|
},
|
|
2592
|
-
"
|
|
2603
|
+
"common240": {
|
|
2593
2604
|
"additionalProperties": true,
|
|
2594
2605
|
"properties": {
|
|
2595
2606
|
"verb": {
|
|
@@ -2598,12 +2609,12 @@ const common = {
|
|
|
2598
2609
|
},
|
|
2599
2610
|
"type": "object"
|
|
2600
2611
|
},
|
|
2601
|
-
"
|
|
2612
|
+
"common241": {
|
|
2602
2613
|
"verb": {
|
|
2603
2614
|
"type": "string"
|
|
2604
2615
|
}
|
|
2605
2616
|
},
|
|
2606
|
-
"
|
|
2617
|
+
"common242": {
|
|
2607
2618
|
"additionalProperties": {
|
|
2608
2619
|
"enum": [
|
|
2609
2620
|
1,
|
|
@@ -2613,14 +2624,14 @@ const common = {
|
|
|
2613
2624
|
},
|
|
2614
2625
|
"type": "object"
|
|
2615
2626
|
},
|
|
2616
|
-
"
|
|
2627
|
+
"common243": {
|
|
2617
2628
|
"enum": [
|
|
2618
2629
|
1,
|
|
2619
2630
|
-1
|
|
2620
2631
|
],
|
|
2621
2632
|
"type": "integer"
|
|
2622
2633
|
},
|
|
2623
|
-
"
|
|
2634
|
+
"common244": {
|
|
2624
2635
|
"additionalProperties": false,
|
|
2625
2636
|
"properties": {
|
|
2626
2637
|
"id": {
|
|
@@ -2638,7 +2649,7 @@ const common = {
|
|
|
2638
2649
|
],
|
|
2639
2650
|
"type": "object"
|
|
2640
2651
|
},
|
|
2641
|
-
"
|
|
2652
|
+
"common245": {
|
|
2642
2653
|
"id": {
|
|
2643
2654
|
"pattern": "^[a-f0-9]{24}$",
|
|
2644
2655
|
"type": "string"
|
|
@@ -2648,11 +2659,11 @@ const common = {
|
|
|
2648
2659
|
"type": "string"
|
|
2649
2660
|
}
|
|
2650
2661
|
},
|
|
2651
|
-
"
|
|
2662
|
+
"common246": {
|
|
2652
2663
|
"default": "events",
|
|
2653
2664
|
"type": "string"
|
|
2654
2665
|
},
|
|
2655
|
-
"
|
|
2666
|
+
"common247": {
|
|
2656
2667
|
"items": {
|
|
2657
2668
|
"properties": {
|
|
2658
2669
|
"id": {
|
|
@@ -2666,7 +2677,7 @@ const common = {
|
|
|
2666
2677
|
},
|
|
2667
2678
|
"type": "array"
|
|
2668
2679
|
},
|
|
2669
|
-
"
|
|
2680
|
+
"common248": {
|
|
2670
2681
|
"properties": {
|
|
2671
2682
|
"id": {
|
|
2672
2683
|
"type": "string"
|
|
@@ -2677,12 +2688,12 @@ const common = {
|
|
|
2677
2688
|
],
|
|
2678
2689
|
"type": "object"
|
|
2679
2690
|
},
|
|
2680
|
-
"
|
|
2691
|
+
"common249": {
|
|
2681
2692
|
"id": {
|
|
2682
2693
|
"type": "string"
|
|
2683
2694
|
}
|
|
2684
2695
|
},
|
|
2685
|
-
"
|
|
2696
|
+
"common250": {
|
|
2686
2697
|
"additionalProperties": false,
|
|
2687
2698
|
"properties": {
|
|
2688
2699
|
"contextId": {
|
|
@@ -2712,7 +2723,7 @@ const common = {
|
|
|
2712
2723
|
},
|
|
2713
2724
|
"type": "object"
|
|
2714
2725
|
},
|
|
2715
|
-
"
|
|
2726
|
+
"common251": {
|
|
2716
2727
|
"contextId": {
|
|
2717
2728
|
"pattern": "^[a-f0-9]{24}$",
|
|
2718
2729
|
"type": "string"
|
|
@@ -2738,7 +2749,7 @@ const common = {
|
|
|
2738
2749
|
"type": "array"
|
|
2739
2750
|
}
|
|
2740
2751
|
},
|
|
2741
|
-
"
|
|
2752
|
+
"common252": {
|
|
2742
2753
|
"items": {
|
|
2743
2754
|
"enum": [
|
|
2744
2755
|
"answers"
|
|
@@ -2747,20 +2758,20 @@ const common = {
|
|
|
2747
2758
|
},
|
|
2748
2759
|
"type": "array"
|
|
2749
2760
|
},
|
|
2750
|
-
"
|
|
2761
|
+
"common253": {
|
|
2751
2762
|
"enum": [
|
|
2752
2763
|
"answers"
|
|
2753
2764
|
],
|
|
2754
2765
|
"type": "string"
|
|
2755
2766
|
},
|
|
2756
|
-
"
|
|
2767
|
+
"common254": {
|
|
2757
2768
|
"enum": [
|
|
2758
2769
|
"comments",
|
|
2759
2770
|
"news"
|
|
2760
2771
|
],
|
|
2761
2772
|
"type": "string"
|
|
2762
2773
|
},
|
|
2763
|
-
"
|
|
2774
|
+
"common255": {
|
|
2764
2775
|
"default": "citoyens",
|
|
2765
2776
|
"enum": [
|
|
2766
2777
|
"citoyens",
|
|
@@ -2774,6 +2785,6 @@ const common = {
|
|
|
2774
2785
|
};
|
|
2775
2786
|
|
|
2776
2787
|
// Endpoints avec intégration des définitions communes
|
|
2777
|
-
const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":{"anyOf":[common.common2,common.common30]},"name":common.common1,"tags":common.common31,"url":common.common34}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":common.common43,"block":common.common44,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common45,"scope":common.common10,"tags":common.common46,"typeElement":common.common47,"url":common.common48}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common49,common.common51],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"parent":common.common54,"scope":common.common10,"tags":common.common46,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common48}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common49,common.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common51],"properties":{"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common46,"type":common.common63,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common48}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58],"properties":{"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"scope":common.common10,"tags":common.common46,"type":common.common64,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common48}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common53,"id":common.common1,"name":common.common45,"scope":common.common10,"tags":common.common46,"type":common.common65,"typeElement":common.common66,"url":common.common48,"urls":common.common32}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common33,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common30,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common30,common.common76]},"geoPosition":{"oneOf":[common.common30,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common83,"cropW":common.common83,"cropX":common.common83,"cropY":common.common83,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common98},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common107,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common108,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"json":common.common84,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common31,"text":common.common1,"type":common.common121},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"isLive":common.common125},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"idNews":common.common11,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common31,"text":common.common1,"type":common.common121},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common121},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common131,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common133},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common133,"mentions":common.common134,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common124},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common134,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common137,"type":"array"},"fediverse":common.common138,"filters":common.common139,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common32,"searchType":{"items":common.common137,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common139,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common125,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common152,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common153,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common155,"parent.@userId":common.common155},"links.contributors.@userId":common.common155},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common153},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common159,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common153,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common155,"parent.@{pathParams.id}":common.common155},"links.contributors.@{pathParams.id}":common.common155},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common153},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common155},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common159,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common155},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common162,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common155,"links.members.@userId.isInviting":common.common164,"links.members.@userId.toBeValidated":common.common164},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common165,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common162,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common155,"links.members.@{pathParams.id}.isInviting":common.common164,"links.members.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common165,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common155,"links.memberOf.@{pathParams.id}.isInviting":common.common164,"links.memberOf.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common155,"links.friends.@{pathParams.id}.isInviting":common.common164,"links.friends.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common180],"default":{"links.followers.@userId":common.common155,"links.followers.@{userId}.isInviting":common.common164,"links.followers.@{userId}.toBeValidated":common.common164},"patternProperties":common.common183,"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common180],"default":{"links.followers.@{pathParams.id}":common.common155,"links.followers.@{pathParams.id}.isInviting":common.common164,"links.followers.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":common.common183,"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.follows.@userId":common.common155,"links.follows.@{userId}.isInviting":common.common164,"links.follows.@{userId}.toBeValidated":common.common164},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common165,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common187},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.follows.@{pathParams.id}":common.common155},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"},"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common155,"links.projects.@{pathParams.id}.isInviting":common.common164,"links.projects.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common188,"fediverse":common.common138,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"},"isParcours":common.common3,"preferences.private":common.common138},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common190,"fediverse":common.common138,"fields":common.common188,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common192}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common192,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common195,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common195}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common198},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common198,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common194}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common192}}],"type":"object"},"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common199,"GovernmentOrganization":common.common199,"Group":common.common199,"LocalBusiness":common.common199,"NGO":common.common199,"citoyens":common.common199,"projects":common.common199},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common149},"type":"object"},"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common200,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common206,"childType":common.common207,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common206,"childType":common.common207,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common209,"id":common.common210,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common139},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common194,"collection":common.common209,"id":common.common210,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common32,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common211,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common139,"shortDescription":common.common1,"tags":common.common32,"type":common.common64,"url":common.common34},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common214,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common107,"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"scope":common.common139,"shortDescription":common.common1,"tags":common.common32,"url":common.common34},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":common.common217,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common217,"name":common.common1,"parent":common.common214,"scope":common.common139,"tags":common.common32,"type":common.common65,"urls":common.common32},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common167}},"properties":{"address":common.common72,"collection":common.common218,"email":common.common2,"endDate":common.common219,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common30,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common220,"opens":common.common220},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common214,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"recurrency":common.common125,"scope":common.common139,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common219,"tags":common.common32,"timeZone":common.common1,"type":common.common63,"url":common.common34},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common221,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common47,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common222,"request":{"additionalProperties":false,"properties":{"indexMin":common.common108},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common222,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common221},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common84},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common124},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common124},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common225,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common125,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common226,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common225},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common211,"public":common.common107,"scope":common.common139,"tags":common.common32},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common56},"type":"object"},"badgeId":common.common11,"collection":common.common225,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common226,"narative":common.common1,"scope":common.common139},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common125,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common219,"fediverse":common.common125,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common155,"organizer.@userId":common.common155},"links.attendees.@userId":common.common155},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common108,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common107,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common219,"type":common.common63},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common218},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common131,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common227,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common231,"msg":common.common1,"name":common.common1,"roles":common.common32},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common227,"projects":common.common227},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common206,"childType":common.common207,"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common233,"fediverse":common.common125,"fields":common.common32,"filters":common.common235,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"mapUsed":common.common194,"name":common.common1,"notSourceKey":common.common194,"options":common.common237,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common32,"searchType":common.common233,"sortBy":common.common241,"sourceKey":common.common32},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common32,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common246,"sourceKey":common.common32,"tags":common.common32,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common243,"request":common.common249},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common243,"request":common.common249},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"regions":common.common246,"sourceKey":common.common32,"tags":common.common32,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common243,"request":common.common249},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common32,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common32},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common187},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common155,"links.events.@{pathParams.id}.isInviting":common.common164,"links.events.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common251,"fediverse":common.common125,"fields":common.common32,"filters":common.common235,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"mapUsed":common.common194,"name":common.common1,"notSourceKey":common.common194,"options":common.common237,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common32,"searchType":common.common251,"sortBy":common.common241,"sourceKey":common.common32},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common32,"finderPath":common.common10},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common253,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common253,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common3,"collection":common.common254,"id":common.common5,"path":common.common1,"value":common.common20},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common254},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common254,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common177,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common138,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}}]};
|
|
2788
|
+
const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":{"anyOf":[common.common2,common.common30]},"name":common.common1,"tags":common.common31,"url":common.common34}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":{"anyOf":[common.common43,common.common30]},"block":common.common44,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common45,"id":common.common5,"mobile":common.common45,"name":common.common46,"scope":common.common10,"tags":common.common47,"typeElement":common.common48,"url":common.common49}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common52],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"parent":common.common55,"scope":common.common10,"tags":common.common47,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common59,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"organizer":common.common61,"parent":common.common55,"scope":common.common10,"tags":common.common47,"type":common.common64,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common59],"properties":{"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common59,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common54,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common66,"typeElement":common.common67,"url":common.common49,"urls":common.common32}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common33,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common68,"facebook":common.common68,"github":common.common68,"gitlab":common.common68,"id":common.common1,"instagram":common.common68,"mastodon":common.common68,"scope":common.common10,"signal":common.common68,"telegram":common.common68,"twitter":common.common68,"typeElement":common.common69},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common70,"if":common.common24,"properties":{"address":{"oneOf":[common.common30,common.common73]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common30,common.common77]},"geoPosition":{"oneOf":[common.common30,common.common81]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common87,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common70,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common90,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common87,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common70,"if":common.common91,"properties":{"block":common.common44,"id":common.common1,"slug":common.common90,"type":common.common19},"required":["block","type","id","slug"],"then":common.common87,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common93,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common93,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common84,"cropW":common.common84,"cropX":common.common84,"cropY":common.common84,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common99},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common70,"if":common.common91,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common87,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common102,"if":common.common104,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common69},"required":["parentId","parentType","listInvite"],"then":common.common106,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common70,"if":common.common91,"properties":{"id":common.common1,"isLive":common.common108,"type":common.common69},"required":["isLive","type","id"],"then":common.common87,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common109,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common110,common.common111,common.common112],"else":common.common102,"if":common.common104,"properties":{"json":common.common85,"markdownActive":common.common108,"mediaFile":common.common113,"mediaImg":common.common115,"mentions":common.common117,"parentId":common.common1,"parentType":common.common69,"scope":common.common121,"tags":common.common31,"text":common.common1,"type":common.common122},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common106,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common123,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common123,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"isLive":common.common126},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common110,common.common111,common.common112],"else":common.common102,"if":common.common104,"properties":{"idNews":common.common11,"markdownActive":common.common108,"mediaFile":common.common113,"mediaImg":common.common115,"mentions":common.common117,"parentId":common.common1,"parentType":common.common69,"scope":common.common121,"tags":common.common31,"text":common.common1,"type":common.common122},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common106,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common127,"if":common.common129,"properties":{"childId":common.common11,"childType":common.common69,"comment":common.common1,"connectType":common.common131,"parentId":common.common11,"parentType":common.common122},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common132,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common134},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common134,"mentions":common.common135,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common125},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common135,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common138,"type":"array"},"fediverse":common.common139,"filters":common.common140,"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common143,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchTags":common.common32,"searchType":{"items":common.common138,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common140,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common126,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common153,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common154,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common156,"parent.@userId":common.common156},"links.contributors.@userId":common.common156},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common154},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common160,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common154,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common156,"parent.@{pathParams.id}":common.common156},"links.contributors.@{pathParams.id}":common.common156},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common154},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common162,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common156},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common160,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common162,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common156},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common163,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common156,"links.members.@userId.isInviting":common.common165,"links.members.@userId.toBeValidated":common.common165},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common166,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common163},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common70,"if":common.common91,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common87,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common163,"fediverse":common.common139,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common156,"links.members.@{pathParams.id}.isInviting":common.common165,"links.members.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common166,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common163},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common170,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common170,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common156,"links.memberOf.@{pathParams.id}.isInviting":common.common165,"links.memberOf.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common157,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common156,"links.friends.@{pathParams.id}.isInviting":common.common165,"links.friends.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common179,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common181],"default":{"links.followers.@userId":common.common156,"links.followers.@{userId}.isInviting":common.common165,"links.followers.@{userId}.toBeValidated":common.common165},"patternProperties":common.common184,"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common179},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common179,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common181],"default":{"links.followers.@{pathParams.id}":common.common156,"links.followers.@{pathParams.id}.isInviting":common.common165,"links.followers.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":common.common184,"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common179},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.follows.@userId":common.common156,"links.follows.@{userId}.isInviting":common.common165,"links.follows.@{userId}.toBeValidated":common.common165},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common166,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common70,"if":common.common91,"then":common.common87}],"properties":{"id":common.common1,"type":common.common188},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.follows.@{pathParams.id}":common.common156},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157},"type":"object"},"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common170,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common170,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common156,"links.projects.@{pathParams.id}.isInviting":common.common165,"links.projects.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common157,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common170},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common189,"fediverse":common.common139,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"},"isParcours":common.common3,"preferences.private":common.common139},"required":["preferences.private"],"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common189},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common191,"fediverse":common.common139,"fields":common.common189,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common193}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common193,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common196,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common196}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common199},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common199,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common195}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common193}}],"type":"object"},"indexMin":common.common153,"indexStep":common.common169,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common200,"GovernmentOrganization":common.common200,"Group":common.common200,"LocalBusiness":common.common200,"NGO":common.common200,"citoyens":common.common200,"projects":common.common200},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common150},"type":"object"},"searchType":common.common191},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common104,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common201,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common207,"childType":common.common208,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common209},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common104,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common201,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common207,"childType":common.common208,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common209},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common84},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common210,"id":common.common211,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common140},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common195,"collection":common.common210,"id":common.common211,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common58,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common32,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common73,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common212,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common140,"shortDescription":common.common1,"tags":common.common32,"type":common.common65,"url":common.common34},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common73,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common215,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common108,"isOpenData":common.common126,"isOpenEdition":common.common126},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common108,"scope":common.common140,"shortDescription":common.common1,"tags":common.common32,"url":common.common34},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common73,"collection":common.common218,"description":common.common1,"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":common.common218,"name":common.common1,"parent":common.common215,"scope":common.common140,"tags":common.common32,"type":common.common66,"urls":common.common32},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common168}},"properties":{"address":common.common73,"collection":common.common219,"email":common.common2,"endDate":common.common220,"geo":common.common77,"geoPosition":common.common81,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common30,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common221,"opens":common.common221},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common215,"parent":common.common61,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common126,"isOpenEdition":common.common126},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common108,"recurrency":common.common126,"scope":common.common140,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common220,"tags":common.common32,"timeZone":common.common1,"type":common.common64,"url":common.common34},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common125,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common125,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common222,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common48,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common209},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common223,"request":{"additionalProperties":false,"properties":{"indexMin":common.common109},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common223,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common222},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common85},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common125},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common125},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common226,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common126,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common227,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common226},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common212,"public":common.common108,"scope":common.common140,"tags":common.common32},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common57},"type":"object"},"badgeId":common.common11,"collection":common.common226,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common227,"narative":common.common1,"scope":common.common140},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common126,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common220,"fediverse":common.common126,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common156,"organizer.@userId":common.common156},"links.attendees.@userId":common.common156},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common109,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common108,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common220,"type":common.common64},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common127,"if":common.common129,"properties":{"childId":common.common11,"childType":common.common69,"comment":common.common1,"connectType":common.common131,"parentId":common.common11,"parentType":common.common219},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common132,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common102,"if":common.common104,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common228,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common232,"msg":common.common1,"name":common.common1,"roles":common.common32},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common228,"projects":common.common228},"type":"object"},"parentId":common.common1,"parentType":common.common69},"required":["parentId","parentType","listInvite"],"then":common.common106,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common207,"childType":common.common208,"parentId":common.common11,"parentType":common.common209},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"count":common.common85,"countType":common.common234,"fediverse":common.common126,"fields":common.common32,"filters":common.common236,"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common143,"mapUsed":common.common195,"name":common.common1,"notSourceKey":common.common195,"options":common.common238,"ranges":common.common148,"searchBy":common.common152,"searchTags":common.common32,"searchType":common.common234,"sortBy":common.common242,"sourceKey":common.common32},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common32,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common244,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common247,"sourceKey":common.common32,"tags":common.common32,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common244,"request":common.common250},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common244,"request":common.common250},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"regions":common.common247,"sourceKey":common.common32,"tags":common.common32,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common244,"request":common.common250},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common32,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common244,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common32},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common70,"if":common.common91,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common188},"required":["id","type","docType"],"then":common.common87,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common166},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"count":common.common85,"countType":common.common177,"fediverse":common.common139,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common156,"links.events.@{pathParams.id}.isInviting":common.common165,"links.events.@{pathParams.id}.toBeValidated":common.common165},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common157,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common140,"name":common.common1,"notSourceKey":common.common85,"ranges":common.common148,"searchBy":common.common152,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common233,"costumEditMode":common.common126,"costumSlug":common.common1,"count":common.common85,"countType":common.common252,"fediverse":common.common126,"fields":common.common32,"filters":common.common236,"indexMax":common.common84,"indexMin":common.common141,"indexStep":common.common142,"initType":common.common140,"locality":common.common143,"mapUsed":common.common195,"name":common.common1,"notSourceKey":common.common195,"options":common.common238,"ranges":common.common148,"searchBy":common.common152,"searchTags":common.common32,"searchType":common.common252,"sortBy":common.common242,"sourceKey":common.common32},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common32,"finderPath":common.common10},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common254,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common254,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common3,"collection":common.common255,"id":common.common5,"path":common.common1,"value":common.common20},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common255},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common255,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common178,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common139,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}}]};
|
|
2778
2789
|
|
|
2779
2790
|
export default endpoints;
|