@communecter/cocolight-api-client 1.0.127 → 1.0.129

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.
@@ -1906,14 +1906,6 @@ const common = {
1906
1906
  "type": "integer"
1907
1907
  },
1908
1908
  "common173": {
1909
- "const": [
1910
- "citoyens",
1911
- "NGO",
1912
- "LocalBusiness",
1913
- "Group",
1914
- "GovernmentOrganization",
1915
- "Cooperative"
1916
- ],
1917
1909
  "default": [
1918
1910
  "citoyens",
1919
1911
  "NGO",
@@ -1998,6 +1990,29 @@ const common = {
1998
1990
  "type": "array"
1999
1991
  },
2000
1992
  "common180": {
1993
+ "default": [
1994
+ "citoyens",
1995
+ "NGO",
1996
+ "LocalBusiness",
1997
+ "Group",
1998
+ "GovernmentOrganization",
1999
+ "Cooperative"
2000
+ ],
2001
+ "items": {
2002
+ "enum": [
2003
+ "citoyens",
2004
+ "NGO",
2005
+ "LocalBusiness",
2006
+ "Group",
2007
+ "GovernmentOrganization",
2008
+ "Cooperative"
2009
+ ],
2010
+ "type": "string"
2011
+ },
2012
+ "minItems": 1,
2013
+ "type": "array"
2014
+ },
2015
+ "common181": {
2001
2016
  "const": [
2002
2017
  "citoyens"
2003
2018
  ],
@@ -2012,13 +2027,13 @@ const common = {
2012
2027
  },
2013
2028
  "type": "array"
2014
2029
  },
2015
- "common181": {
2030
+ "common182": {
2016
2031
  "enum": [
2017
2032
  "citoyens"
2018
2033
  ],
2019
2034
  "type": "string"
2020
2035
  },
2021
- "common182": {
2036
+ "common183": {
2022
2037
  "const": [
2023
2038
  "citoyens",
2024
2039
  "NGO",
@@ -2051,7 +2066,7 @@ const common = {
2051
2066
  },
2052
2067
  "type": "array"
2053
2068
  },
2054
- "common183": {
2069
+ "common184": {
2055
2070
  "enum": [
2056
2071
  "citoyens",
2057
2072
  "NGO",
@@ -2063,22 +2078,22 @@ const common = {
2063
2078
  ],
2064
2079
  "type": "string"
2065
2080
  },
2066
- "common184": {
2081
+ "common185": {
2067
2082
  "not": {
2068
2083
  "propertyNames": {
2069
2084
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2070
2085
  }
2071
2086
  }
2072
2087
  },
2073
- "common185": {
2088
+ "common186": {
2074
2089
  "propertyNames": {
2075
2090
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2076
2091
  }
2077
2092
  },
2078
- "common186": {
2093
+ "common187": {
2079
2094
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2080
2095
  },
2081
- "common187": {
2096
+ "common188": {
2082
2097
  "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
2083
2098
  "additionalProperties": false,
2084
2099
  "properties": {
@@ -2116,22 +2131,22 @@ const common = {
2116
2131
  "type": "object"
2117
2132
  }
2118
2133
  },
2119
- "common188": {
2134
+ "common189": {
2120
2135
  "not": {
2121
2136
  "propertyNames": {
2122
2137
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2123
2138
  }
2124
2139
  }
2125
2140
  },
2126
- "common189": {
2141
+ "common190": {
2127
2142
  "propertyNames": {
2128
2143
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2129
2144
  }
2130
2145
  },
2131
- "common190": {
2146
+ "common191": {
2132
2147
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2133
2148
  },
2134
- "common191": {
2149
+ "common192": {
2135
2150
  "default": "citoyens",
2136
2151
  "enum": [
2137
2152
  "citoyens",
@@ -2140,7 +2155,7 @@ const common = {
2140
2155
  ],
2141
2156
  "type": "string"
2142
2157
  },
2143
- "common192": {
2158
+ "common193": {
2144
2159
  "const": [
2145
2160
  "badges"
2146
2161
  ],
@@ -2155,13 +2170,13 @@ const common = {
2155
2170
  },
2156
2171
  "type": "array"
2157
2172
  },
2158
- "common193": {
2173
+ "common194": {
2159
2174
  "enum": [
2160
2175
  "badges"
2161
2176
  ],
2162
2177
  "type": "string"
2163
2178
  },
2164
- "common194": {
2179
+ "common195": {
2165
2180
  "const": [
2166
2181
  "citoyens",
2167
2182
  "projects",
@@ -2194,7 +2209,7 @@ const common = {
2194
2209
  },
2195
2210
  "type": "array"
2196
2211
  },
2197
- "common195": {
2212
+ "common196": {
2198
2213
  "enum": [
2199
2214
  "citoyens",
2200
2215
  "projects",
@@ -2206,7 +2221,7 @@ const common = {
2206
2221
  ],
2207
2222
  "type": "string"
2208
2223
  },
2209
- "common196": {
2224
+ "common197": {
2210
2225
  "additionalProperties": false,
2211
2226
  "properties": {
2212
2227
  "$exists": {
@@ -2219,17 +2234,17 @@ const common = {
2219
2234
  ],
2220
2235
  "type": "object"
2221
2236
  },
2222
- "common197": {
2237
+ "common198": {
2223
2238
  "$exists": {
2224
2239
  "const": true,
2225
2240
  "type": "boolean"
2226
2241
  }
2227
2242
  },
2228
- "common198": {
2243
+ "common199": {
2229
2244
  "const": true,
2230
2245
  "type": "boolean"
2231
2246
  },
2232
- "common199": {
2247
+ "common200": {
2233
2248
  "additionalProperties": false,
2234
2249
  "properties": {
2235
2250
  "$exists": {
@@ -2242,17 +2257,17 @@ const common = {
2242
2257
  ],
2243
2258
  "type": "object"
2244
2259
  },
2245
- "common200": {
2260
+ "common201": {
2246
2261
  "$exists": {
2247
2262
  "const": false,
2248
2263
  "type": "boolean"
2249
2264
  }
2250
2265
  },
2251
- "common201": {
2266
+ "common202": {
2252
2267
  "const": false,
2253
2268
  "type": "boolean"
2254
2269
  },
2255
- "common202": {
2270
+ "common203": {
2256
2271
  "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2257
2272
  "additionalProperties": false,
2258
2273
  "properties": {
@@ -2280,52 +2295,52 @@ const common = {
2280
2295
  "type": "object"
2281
2296
  }
2282
2297
  },
2283
- "common203": {
2298
+ "common204": {
2284
2299
  "indexMax": 30,
2285
2300
  "indexMin": 0
2286
2301
  },
2287
- "common204": {
2302
+ "common205": {
2288
2303
  "properties": {
2289
2304
  "parentType": {
2290
2305
  "const": "organizations"
2291
2306
  }
2292
2307
  }
2293
2308
  },
2294
- "common205": {
2309
+ "common206": {
2295
2310
  "parentType": {
2296
2311
  "const": "organizations"
2297
2312
  }
2298
2313
  },
2299
- "common206": {
2314
+ "common207": {
2300
2315
  "properties": {
2301
2316
  "parentType": {
2302
2317
  "const": "projects"
2303
2318
  }
2304
2319
  }
2305
2320
  },
2306
- "common207": {
2321
+ "common208": {
2307
2322
  "parentType": {
2308
2323
  "const": "projects"
2309
2324
  }
2310
2325
  },
2311
- "common208": {
2326
+ "common209": {
2312
2327
  "properties": {
2313
2328
  "parentType": {
2314
2329
  "const": "events"
2315
2330
  }
2316
2331
  }
2317
2332
  },
2318
- "common209": {
2333
+ "common210": {
2319
2334
  "parentType": {
2320
2335
  "const": "events"
2321
2336
  }
2322
2337
  },
2323
- "common210": {
2338
+ "common211": {
2324
2339
  "default": "@userId",
2325
2340
  "pattern": "^([a-f0-9]{24}|@\\w+)$",
2326
2341
  "type": "string"
2327
2342
  },
2328
- "common211": {
2343
+ "common212": {
2329
2344
  "const": "citoyens",
2330
2345
  "default": "citoyens",
2331
2346
  "enum": [
@@ -2333,7 +2348,7 @@ const common = {
2333
2348
  ],
2334
2349
  "type": "string"
2335
2350
  },
2336
- "common212": {
2351
+ "common213": {
2337
2352
  "enum": [
2338
2353
  "citoyens",
2339
2354
  "organizations",
@@ -2342,22 +2357,22 @@ const common = {
2342
2357
  ],
2343
2358
  "type": "string"
2344
2359
  },
2345
- "common213": {
2360
+ "common214": {
2346
2361
  "const": "citoyens",
2347
2362
  "default": "citoyens",
2348
2363
  "type": "string"
2349
2364
  },
2350
- "common214": {
2365
+ "common215": {
2351
2366
  "const": "@userId",
2352
2367
  "default": "@userId",
2353
2368
  "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2354
2369
  "type": "string"
2355
2370
  },
2356
- "common215": {
2371
+ "common216": {
2357
2372
  "minLength": 3,
2358
2373
  "type": "string"
2359
2374
  },
2360
- "common216": {
2375
+ "common217": {
2361
2376
  "enum": [
2362
2377
  "Mo",
2363
2378
  "Tu",
@@ -2369,7 +2384,7 @@ const common = {
2369
2384
  ],
2370
2385
  "type": "string"
2371
2386
  },
2372
- "common217": {
2387
+ "common218": {
2373
2388
  "additionalProperties": false,
2374
2389
  "properties": {
2375
2390
  "closes": {
@@ -2387,7 +2402,7 @@ const common = {
2387
2402
  ],
2388
2403
  "type": "object"
2389
2404
  },
2390
- "common218": {
2405
+ "common219": {
2391
2406
  "closes": {
2392
2407
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2393
2408
  "type": "string"
@@ -2397,11 +2412,11 @@ const common = {
2397
2412
  "type": "string"
2398
2413
  }
2399
2414
  },
2400
- "common219": {
2415
+ "common220": {
2401
2416
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2402
2417
  "type": "string"
2403
2418
  },
2404
- "common220": {
2419
+ "common221": {
2405
2420
  "default": {
2406
2421
  "isOpenData": true,
2407
2422
  "isOpenEdition": true
@@ -2422,11 +2437,11 @@ const common = {
2422
2437
  ],
2423
2438
  "type": "object"
2424
2439
  },
2425
- "common221": {
2440
+ "common222": {
2426
2441
  "isOpenData": true,
2427
2442
  "isOpenEdition": true
2428
2443
  },
2429
- "common222": {
2444
+ "common223": {
2430
2445
  "isOpenData": {
2431
2446
  "default": true,
2432
2447
  "type": "boolean"
@@ -2436,12 +2451,12 @@ const common = {
2436
2451
  "type": "boolean"
2437
2452
  }
2438
2453
  },
2439
- "common223": {
2454
+ "common224": {
2440
2455
  "const": "projects",
2441
2456
  "default": "projects",
2442
2457
  "type": "string"
2443
2458
  },
2444
- "common224": {
2459
+ "common225": {
2445
2460
  "additionalProperties": false,
2446
2461
  "default": {
2447
2462
  "@userId": {
@@ -2467,32 +2482,32 @@ const common = {
2467
2482
  },
2468
2483
  "type": "object"
2469
2484
  },
2470
- "common225": {
2485
+ "common226": {
2471
2486
  "@userId": {
2472
2487
  "type": "citoyens"
2473
2488
  }
2474
2489
  },
2475
- "common226": {
2490
+ "common227": {
2476
2491
  "type": "citoyens"
2477
2492
  },
2478
- "common227": {
2493
+ "common228": {
2479
2494
  "const": "poi",
2480
2495
  "default": "poi",
2481
2496
  "type": "string"
2482
2497
  },
2483
- "common228": {
2498
+ "common229": {
2484
2499
  "const": "events",
2485
2500
  "default": "events",
2486
2501
  "type": "string"
2487
2502
  },
2488
- "common229": {
2503
+ "common230": {
2489
2504
  "format": "date-time",
2490
2505
  "type": "string"
2491
2506
  },
2492
- "common230": {
2507
+ "common231": {
2493
2508
  "type": "integer"
2494
2509
  },
2495
- "common231": {
2510
+ "common232": {
2496
2511
  "additionalProperties": false,
2497
2512
  "properties": {
2498
2513
  "id": {
@@ -2512,7 +2527,7 @@ const common = {
2512
2527
  ],
2513
2528
  "type": "object"
2514
2529
  },
2515
- "common232": {
2530
+ "common233": {
2516
2531
  "id": {
2517
2532
  "default": "@userId",
2518
2533
  "pattern": "^[a-f0-9]{24}$",
@@ -2524,22 +2539,22 @@ const common = {
2524
2539
  "type": "string"
2525
2540
  }
2526
2541
  },
2527
- "common233": {
2542
+ "common234": {
2528
2543
  "default": "@userId",
2529
2544
  "pattern": "^[a-f0-9]{24}$",
2530
2545
  "type": "string"
2531
2546
  },
2532
- "common234": {
2547
+ "common235": {
2533
2548
  "const": "badges",
2534
2549
  "default": "badges",
2535
2550
  "type": "string"
2536
2551
  },
2537
- "common235": {
2552
+ "common236": {
2538
2553
  "const": "badge",
2539
2554
  "default": "badge",
2540
2555
  "type": "string"
2541
2556
  },
2542
- "common236": {
2557
+ "common237": {
2543
2558
  "patternProperties": {
2544
2559
  "^[0-9a-f]{24}$": {
2545
2560
  "additionalProperties": false,
@@ -2570,7 +2585,7 @@ const common = {
2570
2585
  },
2571
2586
  "type": "object"
2572
2587
  },
2573
- "common237": {
2588
+ "common238": {
2574
2589
  "^[0-9a-f]{24}$": {
2575
2590
  "additionalProperties": false,
2576
2591
  "properties": {
@@ -2598,7 +2613,7 @@ const common = {
2598
2613
  "type": "object"
2599
2614
  }
2600
2615
  },
2601
- "common238": {
2616
+ "common239": {
2602
2617
  "additionalProperties": false,
2603
2618
  "properties": {
2604
2619
  "isAdmin": {
@@ -2624,7 +2639,7 @@ const common = {
2624
2639
  ],
2625
2640
  "type": "object"
2626
2641
  },
2627
- "common239": {
2642
+ "common240": {
2628
2643
  "isAdmin": {
2629
2644
  "default": "",
2630
2645
  "enum": [
@@ -2643,7 +2658,7 @@ const common = {
2643
2658
  "type": "array"
2644
2659
  }
2645
2660
  },
2646
- "common240": {
2661
+ "common241": {
2647
2662
  "default": "",
2648
2663
  "enum": [
2649
2664
  "",
@@ -2651,14 +2666,14 @@ const common = {
2651
2666
  ],
2652
2667
  "type": "string"
2653
2668
  },
2654
- "common241": {
2669
+ "common242": {
2655
2670
  "enum": [
2656
2671
  "projects",
2657
2672
  "organizations"
2658
2673
  ],
2659
2674
  "type": "string"
2660
2675
  },
2661
- "common242": {
2676
+ "common243": {
2662
2677
  "items": {
2663
2678
  "enum": [
2664
2679
  "NGO",
@@ -2679,7 +2694,7 @@ const common = {
2679
2694
  },
2680
2695
  "type": "array"
2681
2696
  },
2682
- "common243": {
2697
+ "common244": {
2683
2698
  "enum": [
2684
2699
  "NGO",
2685
2700
  "LocalBusiness",
@@ -2697,7 +2712,7 @@ const common = {
2697
2712
  ],
2698
2713
  "type": "string"
2699
2714
  },
2700
- "common244": {
2715
+ "common245": {
2701
2716
  "default": "",
2702
2717
  "oneOf": [
2703
2718
  {
@@ -2710,11 +2725,11 @@ const common = {
2710
2725
  }
2711
2726
  ]
2712
2727
  },
2713
- "common245": {
2728
+ "common246": {
2714
2729
  "additionalProperties": true,
2715
2730
  "type": "object"
2716
2731
  },
2717
- "common246": {
2732
+ "common247": {
2718
2733
  "additionalProperties": true,
2719
2734
  "properties": {
2720
2735
  "tags": {
@@ -2729,7 +2744,7 @@ const common = {
2729
2744
  },
2730
2745
  "type": "object"
2731
2746
  },
2732
- "common247": {
2747
+ "common248": {
2733
2748
  "tags": {
2734
2749
  "additionalProperties": true,
2735
2750
  "properties": {
@@ -2740,7 +2755,7 @@ const common = {
2740
2755
  "type": "object"
2741
2756
  }
2742
2757
  },
2743
- "common248": {
2758
+ "common249": {
2744
2759
  "additionalProperties": true,
2745
2760
  "properties": {
2746
2761
  "verb": {
@@ -2749,12 +2764,12 @@ const common = {
2749
2764
  },
2750
2765
  "type": "object"
2751
2766
  },
2752
- "common249": {
2767
+ "common250": {
2753
2768
  "verb": {
2754
2769
  "type": "string"
2755
2770
  }
2756
2771
  },
2757
- "common250": {
2772
+ "common251": {
2758
2773
  "additionalProperties": {
2759
2774
  "enum": [
2760
2775
  1,
@@ -2764,14 +2779,14 @@ const common = {
2764
2779
  },
2765
2780
  "type": "object"
2766
2781
  },
2767
- "common251": {
2782
+ "common252": {
2768
2783
  "enum": [
2769
2784
  1,
2770
2785
  -1
2771
2786
  ],
2772
2787
  "type": "integer"
2773
2788
  },
2774
- "common252": {
2789
+ "common253": {
2775
2790
  "additionalProperties": false,
2776
2791
  "properties": {
2777
2792
  "id": {
@@ -2789,7 +2804,7 @@ const common = {
2789
2804
  ],
2790
2805
  "type": "object"
2791
2806
  },
2792
- "common253": {
2807
+ "common254": {
2793
2808
  "id": {
2794
2809
  "pattern": "^[a-f0-9]{24}$",
2795
2810
  "type": "string"
@@ -2799,11 +2814,11 @@ const common = {
2799
2814
  "type": "string"
2800
2815
  }
2801
2816
  },
2802
- "common254": {
2817
+ "common255": {
2803
2818
  "default": "events",
2804
2819
  "type": "string"
2805
2820
  },
2806
- "common255": {
2821
+ "common256": {
2807
2822
  "items": {
2808
2823
  "properties": {
2809
2824
  "id": {
@@ -2817,7 +2832,7 @@ const common = {
2817
2832
  },
2818
2833
  "type": "array"
2819
2834
  },
2820
- "common256": {
2835
+ "common257": {
2821
2836
  "properties": {
2822
2837
  "id": {
2823
2838
  "type": "string"
@@ -2828,12 +2843,12 @@ const common = {
2828
2843
  ],
2829
2844
  "type": "object"
2830
2845
  },
2831
- "common257": {
2846
+ "common258": {
2832
2847
  "id": {
2833
2848
  "type": "string"
2834
2849
  }
2835
2850
  },
2836
- "common258": {
2851
+ "common259": {
2837
2852
  "additionalProperties": false,
2838
2853
  "properties": {
2839
2854
  "contextId": {
@@ -2863,7 +2878,7 @@ const common = {
2863
2878
  },
2864
2879
  "type": "object"
2865
2880
  },
2866
- "common259": {
2881
+ "common260": {
2867
2882
  "contextId": {
2868
2883
  "pattern": "^[a-f0-9]{24}$",
2869
2884
  "type": "string"
@@ -2889,7 +2904,7 @@ const common = {
2889
2904
  "type": "array"
2890
2905
  }
2891
2906
  },
2892
- "common260": {
2907
+ "common261": {
2893
2908
  "items": {
2894
2909
  "enum": [
2895
2910
  "answers"
@@ -2898,24 +2913,24 @@ const common = {
2898
2913
  },
2899
2914
  "type": "array"
2900
2915
  },
2901
- "common261": {
2916
+ "common262": {
2902
2917
  "enum": [
2903
2918
  "answers"
2904
2919
  ],
2905
2920
  "type": "string"
2906
2921
  },
2907
- "common262": {
2922
+ "common263": {
2908
2923
  "enum": [
2909
2924
  "comments",
2910
2925
  "news"
2911
2926
  ],
2912
2927
  "type": "string"
2913
2928
  },
2914
- "common263": {
2929
+ "common264": {
2915
2930
  "minLength": 1,
2916
2931
  "type": "string"
2917
2932
  },
2918
- "common264": {
2933
+ "common265": {
2919
2934
  "default": "citoyens",
2920
2935
  "enum": [
2921
2936
  "citoyens",
@@ -2926,10 +2941,10 @@ const common = {
2926
2941
  ],
2927
2942
  "type": "string"
2928
2943
  },
2929
- "common265": {
2944
+ "common266": {
2930
2945
  "type": "array"
2931
2946
  },
2932
- "common266": {
2947
+ "common267": {
2933
2948
  "additionalProperties": true,
2934
2949
  "properties": {
2935
2950
  "costumId": {
@@ -2953,7 +2968,7 @@ const common = {
2953
2968
  ],
2954
2969
  "type": "object"
2955
2970
  },
2956
- "common267": {
2971
+ "common268": {
2957
2972
  "costumId": {
2958
2973
  "type": "string"
2959
2974
  },
@@ -2967,7 +2982,7 @@ const common = {
2967
2982
  "type": "string"
2968
2983
  }
2969
2984
  },
2970
- "common268": {
2985
+ "common269": {
2971
2986
  "additionalProperties": true,
2972
2987
  "properties": {
2973
2988
  "costumId": {
@@ -2987,7 +3002,7 @@ const common = {
2987
3002
  ],
2988
3003
  "type": "object"
2989
3004
  },
2990
- "common269": {
3005
+ "common270": {
2991
3006
  "costumId": {
2992
3007
  "type": "string"
2993
3008
  },
@@ -3001,6 +3016,6 @@ const common = {
3001
3016
  };
3002
3017
 
3003
3018
  // Endpoints avec intégration des définitions communes
3004
- const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"isLive":common.common128},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common124},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common134,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common136},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common136,"mentions":common.common137,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common127},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common137,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common140,"type":"array"},"fediverse":common.common141,"filters":common.common142,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":{"items":common.common140,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common155,"locality":common.common142,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common128,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common156,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common159,"parent.@userId":common.common159},"links.contributors.@userId":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"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.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common159,"parent.@{pathParams.id}":common.common159},"links.contributors.@{pathParams.id}":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common159,"links.members.@userId.isInviting":common.common168,"links.members.@userId.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common141,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common159,"links.members.@{pathParams.id}.isInviting":common.common168,"links.members.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common159,"links.memberOf.@{pathParams.id}.isInviting":common.common168,"links.memberOf.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common159,"links.friends.@{pathParams.id}.isInviting":common.common168,"links.friends.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.followers.@userId":common.common159,"links.followers.@{userId}.isInviting":common.common168,"links.followers.@{userId}.toBeValidated":common.common168},"patternProperties":common.common187,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.followers.@{pathParams.id}":common.common159,"links.followers.@{pathParams.id}.isInviting":common.common168,"links.followers.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":common.common187,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common188],"default":{"links.follows.@userId":common.common159,"links.follows.@{userId}.isInviting":common.common168,"links.follows.@{userId}.toBeValidated":common.common168},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common191},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common188],"default":{"links.follows.@{pathParams.id}":common.common159},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common159,"links.projects.@{pathParams.id}.isInviting":common.common168,"links.projects.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common192,"fediverse":common.common141,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"isParcours":common.common3,"preferences.private":common.common141},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common192},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common194,"fediverse":common.common141,"fields":common.common192,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common196}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common196,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common199,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common199}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common202},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common202,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common198}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common196}}],"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common203,"GovernmentOrganization":common.common203,"Group":common.common203,"LocalBusiness":common.common203,"NGO":common.common203,"citoyens":common.common203,"projects":common.common203},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common152},"type":"object"},"searchType":common.common194},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common204,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common210,"childType":common.common211,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common212},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common210,"childType":common.common211,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common212},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common213,"id":common.common214,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common142},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common198,"collection":common.common213,"id":common.common214,"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.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common128,"slug":common.common1,"transparentCommune":common.common128,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common215,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common216,"hours":{"items":common.common217,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common220,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"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.common75,"collection":common.common223,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common224,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common227,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common227,"name":common.common1,"parent":common.common224,"scope":common.common142,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common171}},"properties":{"address":common.common74,"collection":common.common228,"email":common.common30,"endDate":common.common229,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common216,"hours":{"default":[],"items":common.common217,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common224,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common128,"scope":common.common142,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common229,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common230,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common212},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common231,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common231,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common230},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common127},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common127},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common234,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common128,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common235,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common234},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common220,"public":common.common110,"scope":common.common142,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common234,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common235,"narative":common.common1,"scope":common.common142},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common128,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common229,"fediverse":common.common128,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common159,"organizer.@userId":common.common159},"links.attendees.@userId":common.common159},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common229,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common228},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common134,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common236,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common240,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common236,"projects":common.common236},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common210,"childType":common.common211,"parentId":common.common11,"parentType":common.common212},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common242,"fediverse":common.common128,"fields":common.common33,"filters":common.common244,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common198,"name":common.common1,"notSourceKey":common.common198,"options":common.common246,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common242,"sortBy":common.common250,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common252,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common255,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common252,"request":common.common258},{"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.common252,"request":common.common258},{"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.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common255,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common252,"request":common.common258},{"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.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common191},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common159,"links.events.@{pathParams.id}.isInviting":common.common168,"links.events.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common260,"fediverse":common.common128,"fields":common.common33,"filters":common.common244,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common198,"name":common.common1,"notSourceKey":common.common198,"options":common.common246,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common260,"sortBy":common.common250,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"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":{"parentFormId":common.common11},"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.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common245,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"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.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"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.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"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.common262,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common262,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common263,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"value":common.common20},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common264},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common264,"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.common127},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common181,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common141,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common245},"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.common3]},"costumId":common.common11,"costumSlug":common.common1,"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.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common265,"level":common.common265,"sortBy":common.common1,"upperLevelId":common.common1},"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.common1},"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.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"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.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common245,"project":common.common11},"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.common11,"project":common.common11},"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.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common229,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common155,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common229,"milestoneId":common.common11,"startDate":common.common229},"required":["milestoneId"],"type":"object"},"min":common.common155,"name":common.common1,"parentId":common.common11,"parentType":common.common223,"startDate":common.common229,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common155,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common266},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common268},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common266},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common268},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common268},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common266},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common268},{"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.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common230,"username":common.common1},"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.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common215,"parent":common.common224,"preferences":common.common220,"scope":common.common142,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common263,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
3019
+ const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"isLive":common.common128},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common124},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common134,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common136},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common136,"mentions":common.common137,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common127},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common137,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common140,"type":"array"},"fediverse":common.common141,"filters":common.common142,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":{"items":common.common140,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common155,"locality":common.common142,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common128,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common156,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common159,"parent.@userId":common.common159},"links.contributors.@userId":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"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.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common159,"parent.@{pathParams.id}":common.common159},"links.contributors.@{pathParams.id}":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common159,"links.members.@userId.isInviting":common.common168,"links.members.@userId.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common141,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common159,"links.members.@{pathParams.id}.isInviting":common.common168,"links.members.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common159,"links.memberOf.@{pathParams.id}.isInviting":common.common168,"links.memberOf.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common159,"links.friends.@{pathParams.id}.isInviting":common.common168,"links.friends.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common183,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.followers.@userId":common.common159,"links.followers.@{userId}.isInviting":common.common168,"links.followers.@{userId}.toBeValidated":common.common168},"patternProperties":common.common188,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common183},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common183,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.followers.@{pathParams.id}":common.common159,"links.followers.@{pathParams.id}.isInviting":common.common168,"links.followers.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":common.common188,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common183},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common189],"default":{"links.follows.@userId":common.common159,"links.follows.@{userId}.isInviting":common.common168,"links.follows.@{userId}.toBeValidated":common.common168},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common192},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common189],"default":{"links.follows.@{pathParams.id}":common.common159},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common159,"links.projects.@{pathParams.id}.isInviting":common.common168,"links.projects.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common193,"fediverse":common.common141,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"isParcours":common.common3,"preferences.private":common.common141},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common193},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common195,"fediverse":common.common141,"fields":common.common193,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common197}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common197,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common200,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common200}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common203},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common203,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common199}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common197}}],"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common204,"GovernmentOrganization":common.common204,"Group":common.common204,"LocalBusiness":common.common204,"NGO":common.common204,"citoyens":common.common204,"projects":common.common204},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common152},"type":"object"},"searchType":common.common195},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common205,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common209,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common211,"childType":common.common212,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common209,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common211,"childType":common.common212,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common214,"id":common.common215,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common142},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common199,"collection":common.common214,"id":common.common215,"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.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common128,"slug":common.common1,"transparentCommune":common.common128,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common216,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common217,"hours":{"items":common.common218,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common221,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"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.common75,"collection":common.common224,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common225,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common228,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common228,"name":common.common1,"parent":common.common225,"scope":common.common142,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common171}},"properties":{"address":common.common74,"collection":common.common229,"email":common.common30,"endDate":common.common230,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common217,"hours":{"default":[],"items":common.common218,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common225,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common128,"scope":common.common142,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common230,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common231,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common232,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common232,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common231},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common127},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common127},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common235,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common128,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common236,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common235},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common221,"public":common.common110,"scope":common.common142,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common235,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common236,"narative":common.common1,"scope":common.common142},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common128,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common230,"fediverse":common.common128,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common159,"organizer.@userId":common.common159},"links.attendees.@userId":common.common159},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common230,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common229},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common134,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common237,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common241,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common237,"projects":common.common237},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common211,"childType":common.common212,"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common243,"fediverse":common.common128,"fields":common.common33,"filters":common.common245,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common199,"name":common.common1,"notSourceKey":common.common199,"options":common.common247,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common243,"sortBy":common.common251,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common256,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common253,"request":common.common259},{"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.common253,"request":common.common259},{"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.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common256,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common253,"request":common.common259},{"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.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common192},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common159,"links.events.@{pathParams.id}.isInviting":common.common168,"links.events.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common261,"fediverse":common.common128,"fields":common.common33,"filters":common.common245,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common199,"name":common.common1,"notSourceKey":common.common199,"options":common.common247,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common261,"sortBy":common.common251,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"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":{"parentFormId":common.common11},"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.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common246,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"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.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"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.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"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.common263,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common263,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common264,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"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.common5,"contextType":common.common265},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common265,"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.common127},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common182,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common141,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common246},"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.common3]},"costumId":common.common11,"costumSlug":common.common1,"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.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common266,"level":common.common266,"sortBy":common.common1,"upperLevelId":common.common1},"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.common1},"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.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"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.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common246,"project":common.common11},"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.common11,"project":common.common11},"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.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common230,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common155,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common230,"milestoneId":common.common11,"startDate":common.common230},"required":["milestoneId"],"type":"object"},"min":common.common155,"name":common.common1,"parentId":common.common11,"parentType":common.common224,"startDate":common.common230,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common155,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common267},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common269},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common267},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common269},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common269},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common267},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common269},{"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.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common231,"username":common.common1},"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.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common216,"parent":common.common225,"preferences":common.common221,"scope":common.common142,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common264,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
3005
3020
 
3006
3021
  export default endpoints;