@communecter/cocolight-api-client 1.0.151 → 1.0.152
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/BaseEntity.ts +101 -4
- package/src/api/EndpointApi.ts +16 -1
- package/src/api/EndpointApi.types.ts +95 -2
- package/src/api/User.ts +13 -4
- package/src/api/UserApi.ts +16 -5
- package/src/costum/runtime.ts +65 -12
- package/src/endpoints.module.ts +96 -46
- package/types/api/BaseEntity.d.ts +56 -2
- package/types/api/EndpointApi.d.ts +10 -1
- package/types/api/EndpointApi.types.d.ts +73 -2
- package/types/api/User.d.ts +9 -2
- package/types/api/UserApi.d.ts +7 -1
- package/types/costum/runtime.d.ts +14 -5
- package/types/endpoints.module.d.ts +844 -420
package/src/endpoints.module.ts
CHANGED
|
@@ -2768,6 +2768,60 @@ const common = {
|
|
|
2768
2768
|
"type": "string"
|
|
2769
2769
|
},
|
|
2770
2770
|
"common247": {
|
|
2771
|
+
"const": [
|
|
2772
|
+
"events"
|
|
2773
|
+
],
|
|
2774
|
+
"default": [
|
|
2775
|
+
"events"
|
|
2776
|
+
],
|
|
2777
|
+
"type": "array"
|
|
2778
|
+
},
|
|
2779
|
+
"common248": {
|
|
2780
|
+
"default": 100,
|
|
2781
|
+
"type": "integer"
|
|
2782
|
+
},
|
|
2783
|
+
"common249": {
|
|
2784
|
+
"patternProperties": {
|
|
2785
|
+
"^[^\\s]+$": {
|
|
2786
|
+
"type": "object"
|
|
2787
|
+
}
|
|
2788
|
+
},
|
|
2789
|
+
"type": "object"
|
|
2790
|
+
},
|
|
2791
|
+
"common250": {
|
|
2792
|
+
"^[^\\s]+$": {
|
|
2793
|
+
"type": "object"
|
|
2794
|
+
}
|
|
2795
|
+
},
|
|
2796
|
+
"common251": {
|
|
2797
|
+
"type": "object"
|
|
2798
|
+
},
|
|
2799
|
+
"common252": {
|
|
2800
|
+
"const": [
|
|
2801
|
+
"events"
|
|
2802
|
+
],
|
|
2803
|
+
"default": [
|
|
2804
|
+
"events"
|
|
2805
|
+
],
|
|
2806
|
+
"items": {
|
|
2807
|
+
"enum": [
|
|
2808
|
+
"events"
|
|
2809
|
+
],
|
|
2810
|
+
"type": "string"
|
|
2811
|
+
},
|
|
2812
|
+
"type": "array"
|
|
2813
|
+
},
|
|
2814
|
+
"common253": {
|
|
2815
|
+
"enum": [
|
|
2816
|
+
"events"
|
|
2817
|
+
],
|
|
2818
|
+
"type": "string"
|
|
2819
|
+
},
|
|
2820
|
+
"common254": {
|
|
2821
|
+
"additionalProperties": true,
|
|
2822
|
+
"type": "object"
|
|
2823
|
+
},
|
|
2824
|
+
"common255": {
|
|
2771
2825
|
"patternProperties": {
|
|
2772
2826
|
"^[0-9a-f]{24}$": {
|
|
2773
2827
|
"additionalProperties": false,
|
|
@@ -2798,7 +2852,7 @@ const common = {
|
|
|
2798
2852
|
},
|
|
2799
2853
|
"type": "object"
|
|
2800
2854
|
},
|
|
2801
|
-
"
|
|
2855
|
+
"common256": {
|
|
2802
2856
|
"^[0-9a-f]{24}$": {
|
|
2803
2857
|
"additionalProperties": false,
|
|
2804
2858
|
"properties": {
|
|
@@ -2826,7 +2880,7 @@ const common = {
|
|
|
2826
2880
|
"type": "object"
|
|
2827
2881
|
}
|
|
2828
2882
|
},
|
|
2829
|
-
"
|
|
2883
|
+
"common257": {
|
|
2830
2884
|
"additionalProperties": false,
|
|
2831
2885
|
"properties": {
|
|
2832
2886
|
"isAdmin": {
|
|
@@ -2852,7 +2906,7 @@ const common = {
|
|
|
2852
2906
|
],
|
|
2853
2907
|
"type": "object"
|
|
2854
2908
|
},
|
|
2855
|
-
"
|
|
2909
|
+
"common258": {
|
|
2856
2910
|
"isAdmin": {
|
|
2857
2911
|
"default": "",
|
|
2858
2912
|
"enum": [
|
|
@@ -2871,7 +2925,7 @@ const common = {
|
|
|
2871
2925
|
"type": "array"
|
|
2872
2926
|
}
|
|
2873
2927
|
},
|
|
2874
|
-
"
|
|
2928
|
+
"common259": {
|
|
2875
2929
|
"default": "",
|
|
2876
2930
|
"enum": [
|
|
2877
2931
|
"",
|
|
@@ -2879,7 +2933,7 @@ const common = {
|
|
|
2879
2933
|
],
|
|
2880
2934
|
"type": "string"
|
|
2881
2935
|
},
|
|
2882
|
-
"
|
|
2936
|
+
"common260": {
|
|
2883
2937
|
"additionalProperties": false,
|
|
2884
2938
|
"properties": {
|
|
2885
2939
|
"contextId": {
|
|
@@ -3197,7 +3251,7 @@ const common = {
|
|
|
3197
3251
|
],
|
|
3198
3252
|
"type": "object"
|
|
3199
3253
|
},
|
|
3200
|
-
"
|
|
3254
|
+
"common261": {
|
|
3201
3255
|
"contextId": {
|
|
3202
3256
|
"pattern": "^[a-f0-9]{24}$",
|
|
3203
3257
|
"type": "string"
|
|
@@ -3500,14 +3554,14 @@ const common = {
|
|
|
3500
3554
|
"type": "array"
|
|
3501
3555
|
}
|
|
3502
3556
|
},
|
|
3503
|
-
"
|
|
3557
|
+
"common262": {
|
|
3504
3558
|
"enum": [
|
|
3505
3559
|
"projects",
|
|
3506
3560
|
"organizations"
|
|
3507
3561
|
],
|
|
3508
3562
|
"type": "string"
|
|
3509
3563
|
},
|
|
3510
|
-
"
|
|
3564
|
+
"common263": {
|
|
3511
3565
|
"items": {
|
|
3512
3566
|
"enum": [
|
|
3513
3567
|
"NGO",
|
|
@@ -3528,7 +3582,7 @@ const common = {
|
|
|
3528
3582
|
},
|
|
3529
3583
|
"type": "array"
|
|
3530
3584
|
},
|
|
3531
|
-
"
|
|
3585
|
+
"common264": {
|
|
3532
3586
|
"enum": [
|
|
3533
3587
|
"NGO",
|
|
3534
3588
|
"LocalBusiness",
|
|
@@ -3546,7 +3600,7 @@ const common = {
|
|
|
3546
3600
|
],
|
|
3547
3601
|
"type": "string"
|
|
3548
3602
|
},
|
|
3549
|
-
"
|
|
3603
|
+
"common265": {
|
|
3550
3604
|
"default": "",
|
|
3551
3605
|
"oneOf": [
|
|
3552
3606
|
{
|
|
@@ -3559,11 +3613,7 @@ const common = {
|
|
|
3559
3613
|
}
|
|
3560
3614
|
]
|
|
3561
3615
|
},
|
|
3562
|
-
"
|
|
3563
|
-
"additionalProperties": true,
|
|
3564
|
-
"type": "object"
|
|
3565
|
-
},
|
|
3566
|
-
"common259": {
|
|
3616
|
+
"common266": {
|
|
3567
3617
|
"oneOf": [
|
|
3568
3618
|
{
|
|
3569
3619
|
"additionalProperties": false,
|
|
@@ -3662,7 +3712,7 @@ const common = {
|
|
|
3662
3712
|
}
|
|
3663
3713
|
]
|
|
3664
3714
|
},
|
|
3665
|
-
"
|
|
3715
|
+
"common267": {
|
|
3666
3716
|
"additionalProperties": false,
|
|
3667
3717
|
"patternProperties": {
|
|
3668
3718
|
"^[^\\s]+$": {
|
|
@@ -3709,7 +3759,7 @@ const common = {
|
|
|
3709
3759
|
},
|
|
3710
3760
|
"type": "object"
|
|
3711
3761
|
},
|
|
3712
|
-
"
|
|
3762
|
+
"common268": {
|
|
3713
3763
|
"^[^\\s]+$": {
|
|
3714
3764
|
"additionalProperties": false,
|
|
3715
3765
|
"properties": {
|
|
@@ -3752,7 +3802,7 @@ const common = {
|
|
|
3752
3802
|
"type": "object"
|
|
3753
3803
|
}
|
|
3754
3804
|
},
|
|
3755
|
-
"
|
|
3805
|
+
"common269": {
|
|
3756
3806
|
"additionalProperties": false,
|
|
3757
3807
|
"properties": {
|
|
3758
3808
|
"countryCode": {
|
|
@@ -3793,7 +3843,7 @@ const common = {
|
|
|
3793
3843
|
],
|
|
3794
3844
|
"type": "object"
|
|
3795
3845
|
},
|
|
3796
|
-
"
|
|
3846
|
+
"common270": {
|
|
3797
3847
|
"countryCode": {
|
|
3798
3848
|
"type": "string"
|
|
3799
3849
|
},
|
|
@@ -3826,7 +3876,7 @@ const common = {
|
|
|
3826
3876
|
"type": "string"
|
|
3827
3877
|
}
|
|
3828
3878
|
},
|
|
3829
|
-
"
|
|
3879
|
+
"common271": {
|
|
3830
3880
|
"enum": [
|
|
3831
3881
|
"cities",
|
|
3832
3882
|
"cp",
|
|
@@ -3839,7 +3889,7 @@ const common = {
|
|
|
3839
3889
|
],
|
|
3840
3890
|
"type": "string"
|
|
3841
3891
|
},
|
|
3842
|
-
"
|
|
3892
|
+
"common272": {
|
|
3843
3893
|
"items": {
|
|
3844
3894
|
"additionalProperties": false,
|
|
3845
3895
|
"properties": {
|
|
@@ -3883,7 +3933,7 @@ const common = {
|
|
|
3883
3933
|
},
|
|
3884
3934
|
"type": "array"
|
|
3885
3935
|
},
|
|
3886
|
-
"
|
|
3936
|
+
"common273": {
|
|
3887
3937
|
"additionalProperties": true,
|
|
3888
3938
|
"properties": {
|
|
3889
3939
|
"tags": {
|
|
@@ -3898,7 +3948,7 @@ const common = {
|
|
|
3898
3948
|
},
|
|
3899
3949
|
"type": "object"
|
|
3900
3950
|
},
|
|
3901
|
-
"
|
|
3951
|
+
"common274": {
|
|
3902
3952
|
"tags": {
|
|
3903
3953
|
"additionalProperties": true,
|
|
3904
3954
|
"properties": {
|
|
@@ -3909,7 +3959,7 @@ const common = {
|
|
|
3909
3959
|
"type": "object"
|
|
3910
3960
|
}
|
|
3911
3961
|
},
|
|
3912
|
-
"
|
|
3962
|
+
"common275": {
|
|
3913
3963
|
"additionalProperties": true,
|
|
3914
3964
|
"properties": {
|
|
3915
3965
|
"verb": {
|
|
@@ -3918,12 +3968,12 @@ const common = {
|
|
|
3918
3968
|
},
|
|
3919
3969
|
"type": "object"
|
|
3920
3970
|
},
|
|
3921
|
-
"
|
|
3971
|
+
"common276": {
|
|
3922
3972
|
"verb": {
|
|
3923
3973
|
"type": "string"
|
|
3924
3974
|
}
|
|
3925
3975
|
},
|
|
3926
|
-
"
|
|
3976
|
+
"common277": {
|
|
3927
3977
|
"additionalProperties": {
|
|
3928
3978
|
"enum": [
|
|
3929
3979
|
1,
|
|
@@ -3933,14 +3983,14 @@ const common = {
|
|
|
3933
3983
|
},
|
|
3934
3984
|
"type": "object"
|
|
3935
3985
|
},
|
|
3936
|
-
"
|
|
3986
|
+
"common278": {
|
|
3937
3987
|
"enum": [
|
|
3938
3988
|
1,
|
|
3939
3989
|
-1
|
|
3940
3990
|
],
|
|
3941
3991
|
"type": "integer"
|
|
3942
3992
|
},
|
|
3943
|
-
"
|
|
3993
|
+
"common279": {
|
|
3944
3994
|
"additionalProperties": false,
|
|
3945
3995
|
"properties": {
|
|
3946
3996
|
"id": {
|
|
@@ -3958,7 +4008,7 @@ const common = {
|
|
|
3958
4008
|
],
|
|
3959
4009
|
"type": "object"
|
|
3960
4010
|
},
|
|
3961
|
-
"
|
|
4011
|
+
"common280": {
|
|
3962
4012
|
"id": {
|
|
3963
4013
|
"pattern": "^[a-f0-9]{24}$",
|
|
3964
4014
|
"type": "string"
|
|
@@ -3968,11 +4018,11 @@ const common = {
|
|
|
3968
4018
|
"type": "string"
|
|
3969
4019
|
}
|
|
3970
4020
|
},
|
|
3971
|
-
"
|
|
4021
|
+
"common281": {
|
|
3972
4022
|
"default": "events",
|
|
3973
4023
|
"type": "string"
|
|
3974
4024
|
},
|
|
3975
|
-
"
|
|
4025
|
+
"common282": {
|
|
3976
4026
|
"items": {
|
|
3977
4027
|
"properties": {
|
|
3978
4028
|
"id": {
|
|
@@ -3986,7 +4036,7 @@ const common = {
|
|
|
3986
4036
|
},
|
|
3987
4037
|
"type": "array"
|
|
3988
4038
|
},
|
|
3989
|
-
"
|
|
4039
|
+
"common283": {
|
|
3990
4040
|
"properties": {
|
|
3991
4041
|
"id": {
|
|
3992
4042
|
"type": "string"
|
|
@@ -3997,12 +4047,12 @@ const common = {
|
|
|
3997
4047
|
],
|
|
3998
4048
|
"type": "object"
|
|
3999
4049
|
},
|
|
4000
|
-
"
|
|
4050
|
+
"common284": {
|
|
4001
4051
|
"id": {
|
|
4002
4052
|
"type": "string"
|
|
4003
4053
|
}
|
|
4004
4054
|
},
|
|
4005
|
-
"
|
|
4055
|
+
"common285": {
|
|
4006
4056
|
"additionalProperties": false,
|
|
4007
4057
|
"properties": {
|
|
4008
4058
|
"contextId": {
|
|
@@ -4046,7 +4096,7 @@ const common = {
|
|
|
4046
4096
|
},
|
|
4047
4097
|
"type": "object"
|
|
4048
4098
|
},
|
|
4049
|
-
"
|
|
4099
|
+
"common286": {
|
|
4050
4100
|
"contextId": {
|
|
4051
4101
|
"pattern": "^[a-f0-9]{24}$",
|
|
4052
4102
|
"type": "string"
|
|
@@ -4086,7 +4136,7 @@ const common = {
|
|
|
4086
4136
|
"type": "array"
|
|
4087
4137
|
}
|
|
4088
4138
|
},
|
|
4089
|
-
"
|
|
4139
|
+
"common287": {
|
|
4090
4140
|
"items": {
|
|
4091
4141
|
"enum": [
|
|
4092
4142
|
"answers"
|
|
@@ -4095,24 +4145,24 @@ const common = {
|
|
|
4095
4145
|
},
|
|
4096
4146
|
"type": "array"
|
|
4097
4147
|
},
|
|
4098
|
-
"
|
|
4148
|
+
"common288": {
|
|
4099
4149
|
"enum": [
|
|
4100
4150
|
"answers"
|
|
4101
4151
|
],
|
|
4102
4152
|
"type": "string"
|
|
4103
4153
|
},
|
|
4104
|
-
"
|
|
4154
|
+
"common289": {
|
|
4105
4155
|
"enum": [
|
|
4106
4156
|
"comments",
|
|
4107
4157
|
"news"
|
|
4108
4158
|
],
|
|
4109
4159
|
"type": "string"
|
|
4110
4160
|
},
|
|
4111
|
-
"
|
|
4161
|
+
"common290": {
|
|
4112
4162
|
"minLength": 1,
|
|
4113
4163
|
"type": "string"
|
|
4114
4164
|
},
|
|
4115
|
-
"
|
|
4165
|
+
"common291": {
|
|
4116
4166
|
"default": "citoyens",
|
|
4117
4167
|
"enum": [
|
|
4118
4168
|
"citoyens",
|
|
@@ -4123,10 +4173,10 @@ const common = {
|
|
|
4123
4173
|
],
|
|
4124
4174
|
"type": "string"
|
|
4125
4175
|
},
|
|
4126
|
-
"
|
|
4176
|
+
"common292": {
|
|
4127
4177
|
"type": "array"
|
|
4128
4178
|
},
|
|
4129
|
-
"
|
|
4179
|
+
"common293": {
|
|
4130
4180
|
"additionalProperties": true,
|
|
4131
4181
|
"properties": {
|
|
4132
4182
|
"costumId": {
|
|
@@ -4150,7 +4200,7 @@ const common = {
|
|
|
4150
4200
|
],
|
|
4151
4201
|
"type": "object"
|
|
4152
4202
|
},
|
|
4153
|
-
"
|
|
4203
|
+
"common294": {
|
|
4154
4204
|
"costumId": {
|
|
4155
4205
|
"type": "string"
|
|
4156
4206
|
},
|
|
@@ -4164,7 +4214,7 @@ const common = {
|
|
|
4164
4214
|
"type": "string"
|
|
4165
4215
|
}
|
|
4166
4216
|
},
|
|
4167
|
-
"
|
|
4217
|
+
"common295": {
|
|
4168
4218
|
"additionalProperties": true,
|
|
4169
4219
|
"properties": {
|
|
4170
4220
|
"costumId": {
|
|
@@ -4184,7 +4234,7 @@ const common = {
|
|
|
4184
4234
|
],
|
|
4185
4235
|
"type": "object"
|
|
4186
4236
|
},
|
|
4187
|
-
"
|
|
4237
|
+
"common296": {
|
|
4188
4238
|
"costumId": {
|
|
4189
4239
|
"type": "string"
|
|
4190
4240
|
},
|
|
@@ -4198,6 +4248,6 @@ const common = {
|
|
|
4198
4248
|
};
|
|
4199
4249
|
|
|
4200
4250
|
// Endpoints avec intégration des définitions communes
|
|
4201
|
-
const endpoints = {"endpoints":[{"auth":"bearer","constant":"DOCUMENT_LIST","contentType":"application/json","method":"GET","path":"/co2/document/list/id/{id}/type/{type}/tpl/json","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"poi","enum":["citoyens","organizations","projects","events","poi"],"type":"string"}},"required":["id","type"],"type":"object"}},{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common2,"email":common.common3,"isInvitation":common.common4,"mode":common.common2,"name":common.common2,"pendingUserId":common.common2,"pwd":common.common2,"username":common.common2},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common3,"password":common.common2},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common2},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common3,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common5},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common2,"newPassword2":common.common2,"oldPassword":common.common2,"scope":{"default":"","type":["string"]},"userId":common.common6},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common7,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common9},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common1}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common6}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common2,"type":common.common2,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common11,"description":common.common2,"id":common.common2,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common2,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common3,"emailNullable":common.common30,"name":common.common2,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common6,"mobile":common.common46,"name":common.common47,"scope":common.common11,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"parent":common.common56,"scope":common.common11,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common11,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common5]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common2,"instagram":common.common69,"mastodon":common.common69,"scope":common.common11,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":common.common79,"geoPosition":{"oneOf":[common.common31,common.common84]},"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"slug":common.common93,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"block":common.common45,"id":common.common2,"slug":common.common93,"type":common.common19},"required":["block","type","id","slug"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common96,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common96,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common87,"cropW":common.common87,"cropX":common.common87,"cropY":common.common87,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common1,"parentType":common.common102},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"id":common.common2,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common2},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common2,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"id":common.common2,"isLive":common.common111,"type":common.common70},"required":["isLive","type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common112,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common11},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common113},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"json":common.common88,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"isLive":common.common130},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"idNews":common.common1,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common126},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common136,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common138},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common11,"contextId":common.common1,"contextType":common.common138,"mentions":common.common139,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common11,"text":common.common2},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common129},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common1,"params":{"properties":{"mentions":common.common139,"text":common.common2},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common2},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common142,"type":"array"},"fediverse":common.common143,"filters":common.common144,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":{"items":common.common142,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common158,"locality":common.common144,"name":common.common2,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common130,"scopeValue":common.common2,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common159,"name":common.common2,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common162,"parent.@userId":common.common162},"links.contributors.@userId":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common162,"parent.@{pathParams.id}":common.common162},"links.contributors.@{pathParams.id}":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common162,"links.members.@userId.isInviting":common.common171,"links.members.@userId.toBeValidated":common.common171},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":true,"default":common.common179,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common111,"countType":common.common180,"fediverse":common.common130,"filters":{"additionalProperties":true,"default":common.common179,"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common11,"locality":common.common11,"name":common.common2,"notSourceKey":common.common111,"ranges":common.common152,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common180},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common162,"links.memberOf.@{pathParams.id}.isInviting":common.common171,"links.memberOf.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common162,"links.friends.@{pathParams.id}.isInviting":common.common171,"links.friends.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@userId":common.common162,"links.followers.@{userId}.isInviting":common.common171,"links.followers.@{userId}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@{pathParams.id}":common.common162,"links.followers.@{pathParams.id}.isInviting":common.common171,"links.followers.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@userId":common.common162,"links.follows.@{userId}.isInviting":common.common171,"links.follows.@{userId}.toBeValidated":common.common171},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common94,"then":common.common90}],"properties":{"id":common.common2,"type":common.common199},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@{pathParams.id}":common.common162},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common162,"links.projects.@{pathParams.id}.isInviting":common.common171,"links.projects.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common200,"fediverse":common.common143,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"isParcours":common.common4,"preferences.private":common.common143},"required":["preferences.private"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common200},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common202,"fediverse":common.common143,"fields":common.common200,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common207,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common207}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common206}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common204}}],"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common211,"GovernmentOrganization":common.common211,"Group":common.common211,"LocalBusiness":common.common211,"NGO":common.common211,"citoyens":common.common211,"projects":common.common211},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common154},"type":"object"},"searchType":common.common202},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common107,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common212,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common107,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common212,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common7},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common87},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common144},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common206,"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common74,"collection":{"const":"organizations","default":"organizations","type":"string"},"description":common.common2,"email":common.common3,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common2,"name":common.common2,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common2,"name":common.common225,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common230,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common144,"shortDescription":common.common2,"socialNetwork":{"additionalProperties":common.common2,"type":"object"},"tags":common.common233,"telephone":common.common2,"thematic":common.common33,"type":common.common66,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common74,"collection":common.common234,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"project","default":"project","type":"string"},"name":common.common2,"parent":common.common235,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common111,"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"scope":common.common144,"shortDescription":common.common2,"tags":common.common233,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common74,"collection":common.common238,"description":common.common2,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":common.common238,"name":common.common2,"parent":common.common235,"scope":common.common144,"source":{"additionalProperties":true,"properties":{"insertOrign":common.common2,"key":common.common2,"keys":common.common33},"type":"object"},"tags":common.common233,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common174}},"properties":{"address":common.common74,"collection":common.common239,"email":common.common30,"endDate":common.common240,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"default":[],"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common235,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"recurrency":common.common130,"scope":common.common144,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common240,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common2,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common2},"required":["type","id"],"type":"object"},"request":common.common9},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common2,"qqtotalfilesize":common.common241,"qquuid":common.common1},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common6,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common2,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"indexMin":common.common112},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common241},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common88},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common129},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common2},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common2,"name":common.common2,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common5},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common1},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common129},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common245,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common2},"required":["narrative"],"type":"object"},"description":common.common2,"id":common.common1,"isParcours":common.common130,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common2,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common246,"name":common.common2,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common2,"type":common.common245},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common230,"public":common.common111,"scope":common.common144,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common1,"collection":common.common245,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common2,"url":common.common5},"required":["narative"],"type":"object"},"type":"array"},"key":common.common246,"narative":common.common2,"scope":common.common144},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common130,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common240,"fediverse":common.common130,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common162,"organizer.@userId":common.common162},"links.attendees.@userId":common.common162},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common112,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common2,"recurrency":common.common111,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common240,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common239},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common136,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common247,"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.common3,"isAdmin":common.common251,"msg":common.common2,"name":common.common2,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common247,"projects":common.common247},"type":"object"},"parentId":common.common2,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common218,"childType":common.common219,"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common2}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common252},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common252},{"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"mode":common.common2,"parent_only":common.common4,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common272,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common2},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"date":{"oneOf":[common.common2,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common4,"mode":common.common2,"regions":common.common275,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common2,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common272,"request":common.common278},{"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.common272,"request":common.common278},{"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"mode":common.common2,"regions":common.common275,"sourceKey":common.common33,"tags":common.common33,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common272,"request":common.common278},{"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"event":common.common2,"mode":common.common2,"sourceKey":common.common33,"tl":common.common2},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"event":common.common1,"mode":common.common2,"search":common.common2,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common2,"type":common.common199},"required":["id","type","docType"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common2,"folderId":common.common2},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common162,"links.events.@{pathParams.id}.isInviting":common.common171,"links.events.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"count":common.common88,"countType":common.common280,"fediverse":common.common130,"fields":common.common33,"filters":common.common257,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"mapUsed":common.common206,"mode":common.common2,"name":common.common2,"notSourceKey":common.common206,"options":common.common266,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":common.common280,"sortBy":common.common270,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common2,"fields":common.common33,"finderPath":common.common11,"formId":common.common2},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"elementId":common.common1,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common1},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common1,"qqfile":common.common258,"qqfilename":common.common2,"qqtotalfilesize":common.common87,"qquuid":common.common2,"subKey":common.common2},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common2},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common1,"inputKeys":common.common2},"required":["formId","inputKeys"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common2,"answerId":common.common1,"answers":common.common2,"formId":common.common1,"links":common.common2},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"stepKey":common.common2},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common2,"formId":common.common1,"inputKey":common.common2},"required":["formId","inputKey","criteriaIds"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common282,"details":{"additionalProperties":false,"properties":{"status":common.common2},"required":["status"],"type":"object"},"id":common.common1},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common282,"details":{"additionalProperties":false,"properties":{"comment":common.common2,"reason":common.common2},"required":["reason"],"type":"object"},"id":common.common1},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common2}}}],"properties":{"arrayForm":common.common4,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common4,"formParentId":common.common1,"id":common.common6,"path":common.common2,"pull":common.common2,"setType":{"anyOf":[common.common283,{"items":{"additionalProperties":false,"properties":{"path":common.common2,"type":common.common2},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common4,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common6,"contextType":common.common284},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common1,"parentId":common.common6,"parentType":common.common284,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common129},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common1,"childType":common.common189,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common143,"parentId":common.common1,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"searchedData":common.common258},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"count":common.common130,"fediverse":common.common130,"fields":common.common33,"filters":{"oneOf":[common.common258,common.common31]},"indexMin":common.common145,"indexStep":{"default":10000,"type":"number"},"initType":common.common11,"locality":{"oneOf":[common.common258,{"items":common.common258,"type":"array"},common.common31]},"notSourceKey":common.common111,"params":{"additionalProperties":false,"properties":{"finderPath":common.common2,"thematicPath":common.common2},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common2,"type":"array"},"sortBy":common.common270,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common4]},"costumId":common.common1,"costumSlug":common.common2,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"countryCode":common.common285,"level":common.common285,"sortBy":common.common2,"upperLevelId":common.common2},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common2},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common1},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common2},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common2,"answer":common.common1,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common2,"financerId":common.common1,"financerType":common.common2,"formId":common.common1,"params":common.common258,"project":common.common1},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common1,"project":common.common1},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common1,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common240,"idParentRoom":common.common1,"importance":{"default":"low","type":"string"},"is_contributor":common.common4,"max":common.common158,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common240,"milestoneId":common.common1,"startDate":common.common240},"required":["milestoneId"],"type":"object"},"min":common.common158,"name":common.common2,"parentId":common.common1,"parentType":common.common234,"startDate":common.common240,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common158,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common1,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common1},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common2,"id":common.common1,"startDate":common.common2},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common1,"contributor":common.common1,"contributors":common.common113,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common129},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common129},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common286},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common288},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common286},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common288},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common288},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common286},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common288},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"limit":common.common241,"username":common.common2},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common2,"addressLocality":common.common2,"codeInsee":common.common2,"level1":common.common2,"level1Name":common.common2,"level2":common.common2,"level2Name":common.common2,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common2,"postalCode":common.common2,"streetAddress":common.common2},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"description":common.common2,"geo":common.common80,"geoPosition":common.common84,"id":common.common1,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common225,"parent":common.common235,"preferences":common.common230,"scope":common.common144,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common283,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}},{"auth":"none","constant":"PERSON_ACTIVATE","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/activate","request":{"properties":{"user":common.common2,"validationKey":common.common2},"required":["user","validationKey"],"type":"object"}}]};
|
|
4251
|
+
const endpoints = {"endpoints":[{"auth":"bearer","constant":"DOCUMENT_LIST","contentType":"application/json","method":"GET","path":"/co2/document/list/id/{id}/type/{type}/tpl/json","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"poi","enum":["citoyens","organizations","projects","events","poi"],"type":"string"}},"required":["id","type"],"type":"object"}},{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common2,"email":common.common3,"isInvitation":common.common4,"mode":common.common2,"name":common.common2,"pendingUserId":common.common2,"pwd":common.common2,"username":common.common2},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common3,"password":common.common2},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common2},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common3,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common5},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common2,"newPassword2":common.common2,"oldPassword":common.common2,"scope":{"default":"","type":["string"]},"userId":common.common6},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common7,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common9},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common1}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common6}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common2,"type":common.common2,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common11,"description":common.common2,"id":common.common2,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common2,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common3,"emailNullable":common.common30,"name":common.common2,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common6,"mobile":common.common46,"name":common.common47,"scope":common.common11,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"parent":common.common56,"scope":common.common11,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common11,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common5]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common2,"instagram":common.common69,"mastodon":common.common69,"scope":common.common11,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":common.common79,"geoPosition":{"oneOf":[common.common31,common.common84]},"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"slug":common.common93,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"block":common.common45,"id":common.common2,"slug":common.common93,"type":common.common19},"required":["block","type","id","slug"],"then":common.common90,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common96,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common96,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common87,"cropW":common.common87,"cropX":common.common87,"cropY":common.common87,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common1,"parentType":common.common102},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"id":common.common2,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common2},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common2,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"id":common.common2,"isLive":common.common111,"type":common.common70},"required":["isLive","type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common112,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common11},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common113},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"json":common.common88,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"isLive":common.common130},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"idNews":common.common1,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common126},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common136,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common138},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common11,"contextId":common.common1,"contextType":common.common138,"mentions":common.common139,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common11,"text":common.common2},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common129},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common1,"params":{"properties":{"mentions":common.common139,"text":common.common2},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common2},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common142,"type":"array"},"fediverse":common.common143,"filters":common.common144,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":{"items":common.common142,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common158,"locality":common.common144,"name":common.common2,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common130,"scopeValue":common.common2,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common159,"name":common.common2,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common162,"parent.@userId":common.common162},"links.contributors.@userId":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common162,"parent.@{pathParams.id}":common.common162},"links.contributors.@{pathParams.id}":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common162,"links.members.@userId.isInviting":common.common171,"links.members.@userId.toBeValidated":common.common171},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":true,"default":common.common179,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common111,"countType":common.common180,"fediverse":common.common130,"filters":{"additionalProperties":true,"default":common.common179,"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common11,"locality":common.common11,"name":common.common2,"notSourceKey":common.common111,"ranges":common.common152,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common180},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common162,"links.memberOf.@{pathParams.id}.isInviting":common.common171,"links.memberOf.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common162,"links.friends.@{pathParams.id}.isInviting":common.common171,"links.friends.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@userId":common.common162,"links.followers.@{userId}.isInviting":common.common171,"links.followers.@{userId}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@{pathParams.id}":common.common162,"links.followers.@{pathParams.id}.isInviting":common.common171,"links.followers.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@userId":common.common162,"links.follows.@{userId}.isInviting":common.common171,"links.follows.@{userId}.toBeValidated":common.common171},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common94,"then":common.common90}],"properties":{"id":common.common2,"type":common.common199},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@{pathParams.id}":common.common162},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common162,"links.projects.@{pathParams.id}.isInviting":common.common171,"links.projects.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common200,"fediverse":common.common143,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"isParcours":common.common4,"preferences.private":common.common143},"required":["preferences.private"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common200},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common202,"fediverse":common.common143,"fields":common.common200,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common207,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common207}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common206}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common204}}],"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common211,"GovernmentOrganization":common.common211,"Group":common.common211,"LocalBusiness":common.common211,"NGO":common.common211,"citoyens":common.common211,"projects":common.common211},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common154},"type":"object"},"searchType":common.common202},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common107,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common212,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common107,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common212,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common7},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common87},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common144},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common206,"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common74,"collection":{"const":"organizations","default":"organizations","type":"string"},"description":common.common2,"email":common.common3,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common2,"name":common.common2,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common2,"name":common.common225,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common230,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common144,"shortDescription":common.common2,"socialNetwork":{"additionalProperties":common.common2,"type":"object"},"tags":common.common233,"telephone":common.common2,"thematic":common.common33,"type":common.common66,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common74,"collection":common.common234,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"project","default":"project","type":"string"},"name":common.common2,"parent":common.common235,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common111,"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"scope":common.common144,"shortDescription":common.common2,"tags":common.common233,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common74,"collection":common.common238,"description":common.common2,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":common.common238,"name":common.common2,"parent":common.common235,"scope":common.common144,"source":{"additionalProperties":true,"properties":{"insertOrign":common.common2,"key":common.common2,"keys":common.common33},"type":"object"},"tags":common.common233,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common174}},"properties":{"address":common.common74,"collection":common.common239,"email":common.common30,"endDate":common.common240,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"default":[],"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common235,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"recurrency":common.common130,"scope":common.common144,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common240,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common2,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common2},"required":["type","id"],"type":"object"},"request":common.common9},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common2,"qqtotalfilesize":common.common241,"qquuid":common.common1},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common6,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common2,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"indexMin":common.common112},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common241},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common88},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common129},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common2},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common2,"name":common.common2,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common5},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common1},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common129},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common245,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common2},"required":["narrative"],"type":"object"},"description":common.common2,"id":common.common1,"isParcours":common.common130,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common2,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common246,"name":common.common2,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common2,"type":common.common245},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common230,"public":common.common111,"scope":common.common144,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common1,"collection":common.common245,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common2,"url":common.common5},"required":["narative"],"type":"object"},"type":"array"},"key":common.common246,"narative":common.common2,"scope":common.common144},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common130,"countType":common.common247,"endDateUTC":common.common240,"fediverse":common.common130,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common162,"organizer.@userId":common.common162},"links.attendees.@userId":common.common162},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common112,"indexStep":common.common248,"locality":common.common249,"name":common.common2,"recurrency":common.common209,"searchType":common.common252,"startDateUTC":common.common240,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"none","constant":"SEARCH_EVENTS_COSTUM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"category":common.common2,"contextId":common.common2,"contextType":common.common2,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"count":common.common130,"countType":common.common247,"endDateUTC":common.common240,"fediverse":common.common130,"filters":common.common254,"indexMin":common.common112,"indexStep":common.common248,"links":{"items":{"properties":{"id":common.common2,"type":common.common2},"required":["type","id"],"type":"object"},"type":"array"},"locality":common.common249,"name":common.common2,"recurrency":common.common209,"searchTags":common.common33,"searchType":common.common252,"section":{"anyOf":[common.common2,common.common33]},"sourceKey":common.common33,"startDateUTC":common.common240,"subType":common.common2,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common239},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common136,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common255,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common3,"isAdmin":common.common259,"msg":common.common2,"name":common.common2,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common255,"projects":common.common255},"type":"object"},"parentId":common.common2,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common218,"childType":common.common219,"parentId":common.common1,"parentType":common.common220},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common2}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common260},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common260},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"mode":common.common2,"parent_only":common.common4,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common2},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"date":{"oneOf":[common.common2,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common4,"mode":common.common2,"regions":common.common282,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common2,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common279,"request":common.common285},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common279,"request":common.common285},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"mode":common.common2,"regions":common.common282,"sourceKey":common.common33,"tags":common.common33,"type":common.common2},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common279,"request":common.common285},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"event":common.common2,"mode":common.common2,"sourceKey":common.common33,"tl":common.common2},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common279,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"event":common.common1,"mode":common.common2,"search":common.common2,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common94,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common2,"type":common.common199},"required":["id","type","docType"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common2,"folderId":common.common2},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common162,"links.events.@{pathParams.id}.isInviting":common.common171,"links.events.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"count":common.common88,"countType":common.common287,"fediverse":common.common130,"fields":common.common33,"filters":common.common265,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"mapUsed":common.common206,"mode":common.common2,"name":common.common2,"notSourceKey":common.common206,"options":common.common273,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":common.common287,"sortBy":common.common277,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common2,"fields":common.common33,"finderPath":common.common11,"formId":common.common2},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"elementId":common.common1,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common1},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common1,"qqfile":common.common254,"qqfilename":common.common2,"qqtotalfilesize":common.common87,"qquuid":common.common2,"subKey":common.common2},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common2},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common1,"inputKeys":common.common2},"required":["formId","inputKeys"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common2,"answerId":common.common1,"answers":common.common2,"formId":common.common1,"links":common.common2},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"stepKey":common.common2},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common2,"formId":common.common1,"inputKey":common.common2},"required":["formId","inputKey","criteriaIds"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common289,"details":{"additionalProperties":false,"properties":{"status":common.common2},"required":["status"],"type":"object"},"id":common.common1},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common289,"details":{"additionalProperties":false,"properties":{"comment":common.common2,"reason":common.common2},"required":["reason"],"type":"object"},"id":common.common1},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common2}}}],"properties":{"arrayForm":common.common4,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common4,"formParentId":common.common1,"id":common.common6,"path":common.common2,"pull":common.common2,"setType":{"anyOf":[common.common290,{"items":{"additionalProperties":false,"properties":{"path":common.common2,"type":common.common2},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common4,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common6,"contextType":common.common291},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common1,"parentId":common.common6,"parentType":common.common291,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common129},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common1,"childType":common.common189,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common143,"parentId":common.common1,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"searchedData":common.common254},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common1,"contextType":common.common262,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common262,"count":common.common130,"fediverse":common.common130,"fields":common.common33,"filters":{"oneOf":[common.common254,common.common31]},"indexMin":common.common145,"indexStep":{"default":10000,"type":"number"},"initType":common.common11,"locality":{"oneOf":[common.common254,{"items":common.common254,"type":"array"},common.common31]},"notSourceKey":common.common111,"params":{"additionalProperties":false,"properties":{"finderPath":common.common2,"thematicPath":common.common2},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common2,"type":"array"},"sortBy":common.common277,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common4]},"costumId":common.common1,"costumSlug":common.common2,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"countryCode":common.common292,"level":common.common292,"sortBy":common.common2,"upperLevelId":common.common2},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common2},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common1},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common2},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common2,"answer":common.common1,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common2,"financerId":common.common1,"financerType":common.common2,"formId":common.common1,"params":common.common254,"project":common.common1},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common1,"project":common.common1},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common1,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common240,"idParentRoom":common.common1,"importance":{"default":"low","type":"string"},"is_contributor":common.common4,"max":common.common158,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common240,"milestoneId":common.common1,"startDate":common.common240},"required":["milestoneId"],"type":"object"},"min":common.common158,"name":common.common2,"parentId":common.common1,"parentType":common.common234,"startDate":common.common240,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common158,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common1,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common1},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common2,"id":common.common1,"startDate":common.common2},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common1,"contributor":common.common1,"contributors":common.common113,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common129},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common129},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common293},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common295},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common293},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common295},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common295},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common293},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common295},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"limit":common.common241,"username":common.common2},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common2,"addressLocality":common.common2,"codeInsee":common.common2,"level1":common.common2,"level1Name":common.common2,"level2":common.common2,"level2Name":common.common2,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common2,"postalCode":common.common2,"streetAddress":common.common2},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"description":common.common2,"geo":common.common80,"geoPosition":common.common84,"id":common.common1,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common225,"parent":common.common235,"preferences":common.common230,"scope":common.common144,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common290,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}},{"auth":"none","constant":"PERSON_ACTIVATE","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/activate","request":{"properties":{"user":common.common2,"validationKey":common.common2},"required":["user","validationKey"],"type":"object"}}]};
|
|
4202
4252
|
|
|
4203
4253
|
export default endpoints;
|