@communecter/cocolight-api-client 1.0.84 → 1.0.86

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.
@@ -1339,47 +1339,13 @@ const common = {
1339
1339
  }
1340
1340
  },
1341
1341
  "common133": {
1342
- "additionalProperties": false,
1343
- "properties": {
1344
- "id": {
1345
- "pattern": "^[a-f0-9]{24}$",
1346
- "type": "string"
1347
- },
1348
- "type": {
1349
- "default": "news",
1350
- "enum": [
1351
- "news"
1352
- ],
1353
- "type": "string"
1354
- }
1355
- },
1356
- "required": [
1357
- "type",
1358
- "id"
1359
- ],
1360
- "type": "object"
1361
- },
1362
- "common134": {
1363
- "id": {
1364
- "pattern": "^[a-f0-9]{24}$",
1365
- "type": "string"
1366
- },
1367
- "type": {
1368
- "default": "news",
1369
- "enum": [
1370
- "news"
1371
- ],
1372
- "type": "string"
1373
- }
1374
- },
1375
- "common135": {
1376
1342
  "default": "news",
1377
1343
  "enum": [
1378
1344
  "news"
1379
1345
  ],
1380
1346
  "type": "string"
1381
1347
  },
1382
- "common136": {
1348
+ "common134": {
1383
1349
  "items": {
1384
1350
  "additionalProperties": false,
1385
1351
  "properties": {
@@ -1415,7 +1381,7 @@ const common = {
1415
1381
  },
1416
1382
  "type": "array"
1417
1383
  },
1418
- "common137": {
1384
+ "common135": {
1419
1385
  "additionalProperties": false,
1420
1386
  "properties": {
1421
1387
  "count": {
@@ -1448,7 +1414,7 @@ const common = {
1448
1414
  ],
1449
1415
  "type": "object"
1450
1416
  },
1451
- "common138": {
1417
+ "common136": {
1452
1418
  "count": {
1453
1419
  "type": "number"
1454
1420
  },
@@ -1469,7 +1435,7 @@ const common = {
1469
1435
  "type": "string"
1470
1436
  }
1471
1437
  },
1472
- "common139": {
1438
+ "common137": {
1473
1439
  "enum": [
1474
1440
  "NGO",
1475
1441
  "LocalBusiness",
@@ -1482,25 +1448,25 @@ const common = {
1482
1448
  ],
1483
1449
  "type": "string"
1484
1450
  },
1485
- "common140": {
1451
+ "common138": {
1486
1452
  "const": false,
1487
1453
  "default": false,
1488
1454
  "type": "boolean"
1489
1455
  },
1490
- "common141": {
1456
+ "common139": {
1491
1457
  "const": "",
1492
1458
  "default": "",
1493
1459
  "type": "string"
1494
1460
  },
1495
- "common142": {
1461
+ "common140": {
1496
1462
  "default": 0,
1497
1463
  "type": "number"
1498
1464
  },
1499
- "common143": {
1465
+ "common141": {
1500
1466
  "default": 30,
1501
1467
  "type": "number"
1502
1468
  },
1503
- "common144": {
1469
+ "common142": {
1504
1470
  "additionalProperties": false,
1505
1471
  "patternProperties": {
1506
1472
  "^[^\\s]+$": {
@@ -1526,7 +1492,7 @@ const common = {
1526
1492
  },
1527
1493
  "type": "object"
1528
1494
  },
1529
- "common145": {
1495
+ "common143": {
1530
1496
  "^[^\\s]+$": {
1531
1497
  "additionalProperties": false,
1532
1498
  "properties": {
@@ -1548,7 +1514,7 @@ const common = {
1548
1514
  "type": "object"
1549
1515
  }
1550
1516
  },
1551
- "common146": {
1517
+ "common144": {
1552
1518
  "additionalProperties": false,
1553
1519
  "properties": {
1554
1520
  "id": {
@@ -1568,7 +1534,7 @@ const common = {
1568
1534
  ],
1569
1535
  "type": "object"
1570
1536
  },
1571
- "common147": {
1537
+ "common145": {
1572
1538
  "id": {
1573
1539
  "type": "string"
1574
1540
  },
@@ -1580,14 +1546,14 @@ const common = {
1580
1546
  "type": "string"
1581
1547
  }
1582
1548
  },
1583
- "common148": {
1549
+ "common146": {
1584
1550
  "enum": [
1585
1551
  "cities",
1586
1552
  "level1"
1587
1553
  ],
1588
1554
  "type": "string"
1589
1555
  },
1590
- "common149": {
1556
+ "common147": {
1591
1557
  "additionalProperties": false,
1592
1558
  "patternProperties": {
1593
1559
  "^[^\\s]+$": {
@@ -1609,7 +1575,7 @@ const common = {
1609
1575
  },
1610
1576
  "type": "object"
1611
1577
  },
1612
- "common150": {
1578
+ "common148": {
1613
1579
  "^[^\\s]+$": {
1614
1580
  "additionalProperties": false,
1615
1581
  "properties": {
@@ -1627,7 +1593,7 @@ const common = {
1627
1593
  "type": "object"
1628
1594
  }
1629
1595
  },
1630
- "common151": {
1596
+ "common149": {
1631
1597
  "additionalProperties": false,
1632
1598
  "properties": {
1633
1599
  "indexMax": {
@@ -1643,7 +1609,7 @@ const common = {
1643
1609
  ],
1644
1610
  "type": "object"
1645
1611
  },
1646
- "common152": {
1612
+ "common150": {
1647
1613
  "indexMax": {
1648
1614
  "type": "number"
1649
1615
  },
@@ -1651,18 +1617,18 @@ const common = {
1651
1617
  "type": "number"
1652
1618
  }
1653
1619
  },
1654
- "common153": {
1620
+ "common151": {
1655
1621
  "enum": [
1656
1622
  "ALL"
1657
1623
  ],
1658
1624
  "type": "string"
1659
1625
  },
1660
- "common154": {
1626
+ "common152": {
1661
1627
  "default": 0,
1662
1628
  "minimum": 0,
1663
1629
  "type": "integer"
1664
1630
  },
1665
- "common155": {
1631
+ "common153": {
1666
1632
  "const": [
1667
1633
  "projects"
1668
1634
  ],
@@ -1677,16 +1643,16 @@ const common = {
1677
1643
  },
1678
1644
  "type": "array"
1679
1645
  },
1680
- "common156": {
1646
+ "common154": {
1681
1647
  "enum": [
1682
1648
  "projects"
1683
1649
  ],
1684
1650
  "type": "string"
1685
1651
  },
1686
- "common157": {
1652
+ "common155": {
1687
1653
  "$exists": true
1688
1654
  },
1689
- "common158": {
1655
+ "common156": {
1690
1656
  "additionalProperties": false,
1691
1657
  "properties": {
1692
1658
  "$exists": {
@@ -1698,15 +1664,15 @@ const common = {
1698
1664
  ],
1699
1665
  "type": "object"
1700
1666
  },
1701
- "common159": {
1667
+ "common157": {
1702
1668
  "$exists": {
1703
1669
  "const": true
1704
1670
  }
1705
1671
  },
1706
- "common160": {
1672
+ "common158": {
1707
1673
  "const": true
1708
1674
  },
1709
- "common161": {
1675
+ "common159": {
1710
1676
  "additionalProperties": false,
1711
1677
  "else": {
1712
1678
  "properties": {
@@ -1750,7 +1716,7 @@ const common = {
1750
1716
  },
1751
1717
  "type": "object"
1752
1718
  },
1753
- "common162": {
1719
+ "common160": {
1754
1720
  "id": {
1755
1721
  "type": "string"
1756
1722
  },
@@ -1764,7 +1730,7 @@ const common = {
1764
1730
  "type": "string"
1765
1731
  }
1766
1732
  },
1767
- "common163": {
1733
+ "common161": {
1768
1734
  "const": [
1769
1735
  "poi"
1770
1736
  ],
@@ -1779,7 +1745,7 @@ const common = {
1779
1745
  },
1780
1746
  "type": "array"
1781
1747
  },
1782
- "common164": {
1748
+ "common162": {
1783
1749
  "const": [
1784
1750
  "NGO",
1785
1751
  "Cooperative",
@@ -1806,7 +1772,7 @@ const common = {
1806
1772
  },
1807
1773
  "type": "array"
1808
1774
  },
1809
- "common165": {
1775
+ "common163": {
1810
1776
  "enum": [
1811
1777
  "NGO",
1812
1778
  "Cooperative",
@@ -1816,10 +1782,10 @@ const common = {
1816
1782
  ],
1817
1783
  "type": "string"
1818
1784
  },
1819
- "common166": {
1785
+ "common164": {
1820
1786
  "$exists": false
1821
1787
  },
1822
- "common167": {
1788
+ "common165": {
1823
1789
  "additionalProperties": false,
1824
1790
  "properties": {
1825
1791
  "$exists": {
@@ -1831,19 +1797,19 @@ const common = {
1831
1797
  ],
1832
1798
  "type": "object"
1833
1799
  },
1834
- "common168": {
1800
+ "common166": {
1835
1801
  "$exists": {
1836
1802
  "const": false
1837
1803
  }
1838
1804
  },
1839
- "common169": {
1805
+ "common167": {
1840
1806
  "const": false
1841
1807
  },
1842
- "common170": {
1808
+ "common168": {
1843
1809
  "default": 30,
1844
1810
  "type": "integer"
1845
1811
  },
1846
- "common171": {
1812
+ "common169": {
1847
1813
  "const": [
1848
1814
  "citoyens",
1849
1815
  "NGO",
@@ -1873,7 +1839,7 @@ const common = {
1873
1839
  },
1874
1840
  "type": "array"
1875
1841
  },
1876
- "common172": {
1842
+ "common170": {
1877
1843
  "enum": [
1878
1844
  "citoyens",
1879
1845
  "NGO",
@@ -1884,7 +1850,7 @@ const common = {
1884
1850
  ],
1885
1851
  "type": "string"
1886
1852
  },
1887
- "common173": {
1853
+ "common171": {
1888
1854
  "additionalProperties": false,
1889
1855
  "properties": {
1890
1856
  "$exists": {
@@ -1897,13 +1863,13 @@ const common = {
1897
1863
  ],
1898
1864
  "type": "object"
1899
1865
  },
1900
- "common174": {
1866
+ "common172": {
1901
1867
  "$exists": {
1902
1868
  "default": false,
1903
1869
  "type": "boolean"
1904
1870
  }
1905
1871
  },
1906
- "common175": {
1872
+ "common173": {
1907
1873
  "additionalProperties": false,
1908
1874
  "properties": {
1909
1875
  "$in": {
@@ -1919,7 +1885,7 @@ const common = {
1919
1885
  ],
1920
1886
  "type": "object"
1921
1887
  },
1922
- "common176": {
1888
+ "common174": {
1923
1889
  "$in": {
1924
1890
  "items": {
1925
1891
  "type": "string"
@@ -1928,14 +1894,14 @@ const common = {
1928
1894
  "type": "array"
1929
1895
  }
1930
1896
  },
1931
- "common177": {
1897
+ "common175": {
1932
1898
  "items": {
1933
1899
  "type": "string"
1934
1900
  },
1935
1901
  "minItems": 1,
1936
1902
  "type": "array"
1937
1903
  },
1938
- "common178": {
1904
+ "common176": {
1939
1905
  "const": [
1940
1906
  "citoyens"
1941
1907
  ],
@@ -1950,13 +1916,13 @@ const common = {
1950
1916
  },
1951
1917
  "type": "array"
1952
1918
  },
1953
- "common179": {
1919
+ "common177": {
1954
1920
  "enum": [
1955
1921
  "citoyens"
1956
1922
  ],
1957
1923
  "type": "string"
1958
1924
  },
1959
- "common180": {
1925
+ "common178": {
1960
1926
  "const": [
1961
1927
  "citoyens",
1962
1928
  "NGO",
@@ -1989,7 +1955,7 @@ const common = {
1989
1955
  },
1990
1956
  "type": "array"
1991
1957
  },
1992
- "common181": {
1958
+ "common179": {
1993
1959
  "enum": [
1994
1960
  "citoyens",
1995
1961
  "NGO",
@@ -2001,22 +1967,22 @@ const common = {
2001
1967
  ],
2002
1968
  "type": "string"
2003
1969
  },
2004
- "common182": {
1970
+ "common180": {
2005
1971
  "not": {
2006
1972
  "propertyNames": {
2007
1973
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2008
1974
  }
2009
1975
  }
2010
1976
  },
2011
- "common183": {
1977
+ "common181": {
2012
1978
  "propertyNames": {
2013
1979
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2014
1980
  }
2015
1981
  },
2016
- "common184": {
1982
+ "common182": {
2017
1983
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2018
1984
  },
2019
- "common185": {
1985
+ "common183": {
2020
1986
  "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
2021
1987
  "additionalProperties": false,
2022
1988
  "properties": {
@@ -2054,22 +2020,22 @@ const common = {
2054
2020
  "type": "object"
2055
2021
  }
2056
2022
  },
2057
- "common186": {
2023
+ "common184": {
2058
2024
  "not": {
2059
2025
  "propertyNames": {
2060
2026
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2061
2027
  }
2062
2028
  }
2063
2029
  },
2064
- "common187": {
2030
+ "common185": {
2065
2031
  "propertyNames": {
2066
2032
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2067
2033
  }
2068
2034
  },
2069
- "common188": {
2035
+ "common186": {
2070
2036
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2071
2037
  },
2072
- "common189": {
2038
+ "common187": {
2073
2039
  "default": "citoyens",
2074
2040
  "enum": [
2075
2041
  "citoyens",
@@ -2078,7 +2044,7 @@ const common = {
2078
2044
  ],
2079
2045
  "type": "string"
2080
2046
  },
2081
- "common190": {
2047
+ "common188": {
2082
2048
  "const": [
2083
2049
  "badges"
2084
2050
  ],
@@ -2093,13 +2059,13 @@ const common = {
2093
2059
  },
2094
2060
  "type": "array"
2095
2061
  },
2096
- "common191": {
2062
+ "common189": {
2097
2063
  "enum": [
2098
2064
  "badges"
2099
2065
  ],
2100
2066
  "type": "string"
2101
2067
  },
2102
- "common192": {
2068
+ "common190": {
2103
2069
  "const": [
2104
2070
  "citoyens",
2105
2071
  "projects",
@@ -2132,7 +2098,7 @@ const common = {
2132
2098
  },
2133
2099
  "type": "array"
2134
2100
  },
2135
- "common193": {
2101
+ "common191": {
2136
2102
  "enum": [
2137
2103
  "citoyens",
2138
2104
  "projects",
@@ -2144,7 +2110,7 @@ const common = {
2144
2110
  ],
2145
2111
  "type": "string"
2146
2112
  },
2147
- "common194": {
2113
+ "common192": {
2148
2114
  "additionalProperties": false,
2149
2115
  "properties": {
2150
2116
  "$exists": {
@@ -2157,17 +2123,17 @@ const common = {
2157
2123
  ],
2158
2124
  "type": "object"
2159
2125
  },
2160
- "common195": {
2126
+ "common193": {
2161
2127
  "$exists": {
2162
2128
  "const": true,
2163
2129
  "type": "boolean"
2164
2130
  }
2165
2131
  },
2166
- "common196": {
2132
+ "common194": {
2167
2133
  "const": true,
2168
2134
  "type": "boolean"
2169
2135
  },
2170
- "common197": {
2136
+ "common195": {
2171
2137
  "additionalProperties": false,
2172
2138
  "properties": {
2173
2139
  "$exists": {
@@ -2180,17 +2146,17 @@ const common = {
2180
2146
  ],
2181
2147
  "type": "object"
2182
2148
  },
2183
- "common198": {
2149
+ "common196": {
2184
2150
  "$exists": {
2185
2151
  "const": false,
2186
2152
  "type": "boolean"
2187
2153
  }
2188
2154
  },
2189
- "common199": {
2155
+ "common197": {
2190
2156
  "const": false,
2191
2157
  "type": "boolean"
2192
2158
  },
2193
- "common200": {
2159
+ "common198": {
2194
2160
  "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2195
2161
  "additionalProperties": false,
2196
2162
  "properties": {
@@ -2218,52 +2184,52 @@ const common = {
2218
2184
  "type": "object"
2219
2185
  }
2220
2186
  },
2221
- "common201": {
2187
+ "common199": {
2222
2188
  "indexMax": 30,
2223
2189
  "indexMin": 0
2224
2190
  },
2225
- "common202": {
2191
+ "common200": {
2226
2192
  "properties": {
2227
2193
  "parentType": {
2228
2194
  "const": "organizations"
2229
2195
  }
2230
2196
  }
2231
2197
  },
2232
- "common203": {
2198
+ "common201": {
2233
2199
  "parentType": {
2234
2200
  "const": "organizations"
2235
2201
  }
2236
2202
  },
2237
- "common204": {
2203
+ "common202": {
2238
2204
  "properties": {
2239
2205
  "parentType": {
2240
2206
  "const": "projects"
2241
2207
  }
2242
2208
  }
2243
2209
  },
2244
- "common205": {
2210
+ "common203": {
2245
2211
  "parentType": {
2246
2212
  "const": "projects"
2247
2213
  }
2248
2214
  },
2249
- "common206": {
2215
+ "common204": {
2250
2216
  "properties": {
2251
2217
  "parentType": {
2252
2218
  "const": "events"
2253
2219
  }
2254
2220
  }
2255
2221
  },
2256
- "common207": {
2222
+ "common205": {
2257
2223
  "parentType": {
2258
2224
  "const": "events"
2259
2225
  }
2260
2226
  },
2261
- "common208": {
2227
+ "common206": {
2262
2228
  "default": "@userId",
2263
2229
  "pattern": "^([a-f0-9]{24}|@\\w+)$",
2264
2230
  "type": "string"
2265
2231
  },
2266
- "common209": {
2232
+ "common207": {
2267
2233
  "const": "citoyens",
2268
2234
  "default": "citoyens",
2269
2235
  "enum": [
@@ -2271,7 +2237,7 @@ const common = {
2271
2237
  ],
2272
2238
  "type": "string"
2273
2239
  },
2274
- "common210": {
2240
+ "common208": {
2275
2241
  "enum": [
2276
2242
  "citoyens",
2277
2243
  "organizations",
@@ -2280,18 +2246,18 @@ const common = {
2280
2246
  ],
2281
2247
  "type": "string"
2282
2248
  },
2283
- "common211": {
2249
+ "common209": {
2284
2250
  "const": "citoyens",
2285
2251
  "default": "citoyens",
2286
2252
  "type": "string"
2287
2253
  },
2288
- "common212": {
2254
+ "common210": {
2289
2255
  "const": "@userId",
2290
2256
  "default": "@userId",
2291
2257
  "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2292
2258
  "type": "string"
2293
2259
  },
2294
- "common213": {
2260
+ "common211": {
2295
2261
  "default": {
2296
2262
  "isOpenData": true,
2297
2263
  "isOpenEdition": true
@@ -2312,11 +2278,11 @@ const common = {
2312
2278
  ],
2313
2279
  "type": "object"
2314
2280
  },
2315
- "common214": {
2281
+ "common212": {
2316
2282
  "isOpenData": true,
2317
2283
  "isOpenEdition": true
2318
2284
  },
2319
- "common215": {
2285
+ "common213": {
2320
2286
  "isOpenData": {
2321
2287
  "default": true,
2322
2288
  "type": "boolean"
@@ -2326,7 +2292,7 @@ const common = {
2326
2292
  "type": "boolean"
2327
2293
  }
2328
2294
  },
2329
- "common216": {
2295
+ "common214": {
2330
2296
  "additionalProperties": false,
2331
2297
  "default": {
2332
2298
  "@userId": {
@@ -2352,36 +2318,36 @@ const common = {
2352
2318
  },
2353
2319
  "type": "object"
2354
2320
  },
2355
- "common217": {
2321
+ "common215": {
2356
2322
  "@userId": {
2357
2323
  "type": "citoyens"
2358
2324
  }
2359
2325
  },
2360
- "common218": {
2326
+ "common216": {
2361
2327
  "type": "citoyens"
2362
2328
  },
2363
- "common219": {
2329
+ "common217": {
2364
2330
  "const": "poi",
2365
2331
  "default": "poi",
2366
2332
  "type": "string"
2367
2333
  },
2368
- "common220": {
2334
+ "common218": {
2369
2335
  "const": "events",
2370
2336
  "default": "events",
2371
2337
  "type": "string"
2372
2338
  },
2373
- "common221": {
2339
+ "common219": {
2374
2340
  "format": "date-time",
2375
2341
  "type": "string"
2376
2342
  },
2377
- "common222": {
2343
+ "common220": {
2378
2344
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2379
2345
  "type": "string"
2380
2346
  },
2381
- "common223": {
2347
+ "common221": {
2382
2348
  "type": "integer"
2383
2349
  },
2384
- "common224": {
2350
+ "common222": {
2385
2351
  "additionalProperties": false,
2386
2352
  "properties": {
2387
2353
  "id": {
@@ -2401,7 +2367,7 @@ const common = {
2401
2367
  ],
2402
2368
  "type": "object"
2403
2369
  },
2404
- "common225": {
2370
+ "common223": {
2405
2371
  "id": {
2406
2372
  "default": "@userId",
2407
2373
  "pattern": "^[a-f0-9]{24}$",
@@ -2413,22 +2379,22 @@ const common = {
2413
2379
  "type": "string"
2414
2380
  }
2415
2381
  },
2416
- "common226": {
2382
+ "common224": {
2417
2383
  "default": "@userId",
2418
2384
  "pattern": "^[a-f0-9]{24}$",
2419
2385
  "type": "string"
2420
2386
  },
2421
- "common227": {
2387
+ "common225": {
2422
2388
  "const": "badges",
2423
2389
  "default": "badges",
2424
2390
  "type": "string"
2425
2391
  },
2426
- "common228": {
2392
+ "common226": {
2427
2393
  "const": "badge",
2428
2394
  "default": "badge",
2429
2395
  "type": "string"
2430
2396
  },
2431
- "common229": {
2397
+ "common227": {
2432
2398
  "patternProperties": {
2433
2399
  "^[0-9a-f]{24}$": {
2434
2400
  "additionalProperties": false,
@@ -2459,7 +2425,7 @@ const common = {
2459
2425
  },
2460
2426
  "type": "object"
2461
2427
  },
2462
- "common230": {
2428
+ "common228": {
2463
2429
  "^[0-9a-f]{24}$": {
2464
2430
  "additionalProperties": false,
2465
2431
  "properties": {
@@ -2487,7 +2453,7 @@ const common = {
2487
2453
  "type": "object"
2488
2454
  }
2489
2455
  },
2490
- "common231": {
2456
+ "common229": {
2491
2457
  "additionalProperties": false,
2492
2458
  "properties": {
2493
2459
  "isAdmin": {
@@ -2513,7 +2479,7 @@ const common = {
2513
2479
  ],
2514
2480
  "type": "object"
2515
2481
  },
2516
- "common232": {
2482
+ "common230": {
2517
2483
  "isAdmin": {
2518
2484
  "default": "",
2519
2485
  "enum": [
@@ -2532,7 +2498,7 @@ const common = {
2532
2498
  "type": "array"
2533
2499
  }
2534
2500
  },
2535
- "common233": {
2501
+ "common231": {
2536
2502
  "default": "",
2537
2503
  "enum": [
2538
2504
  "",
@@ -2540,14 +2506,14 @@ const common = {
2540
2506
  ],
2541
2507
  "type": "string"
2542
2508
  },
2543
- "common234": {
2509
+ "common232": {
2544
2510
  "enum": [
2545
2511
  "projects",
2546
2512
  "organizations"
2547
2513
  ],
2548
2514
  "type": "string"
2549
2515
  },
2550
- "common235": {
2516
+ "common233": {
2551
2517
  "items": {
2552
2518
  "enum": [
2553
2519
  "NGO",
@@ -2565,7 +2531,7 @@ const common = {
2565
2531
  },
2566
2532
  "type": "array"
2567
2533
  },
2568
- "common236": {
2534
+ "common234": {
2569
2535
  "enum": [
2570
2536
  "NGO",
2571
2537
  "LocalBusiness",
@@ -2580,7 +2546,7 @@ const common = {
2580
2546
  ],
2581
2547
  "type": "string"
2582
2548
  },
2583
- "common237": {
2549
+ "common235": {
2584
2550
  "default": "",
2585
2551
  "oneOf": [
2586
2552
  {
@@ -2593,11 +2559,11 @@ const common = {
2593
2559
  }
2594
2560
  ]
2595
2561
  },
2596
- "common238": {
2562
+ "common236": {
2597
2563
  "additionalProperties": true,
2598
2564
  "type": "object"
2599
2565
  },
2600
- "common239": {
2566
+ "common237": {
2601
2567
  "additionalProperties": true,
2602
2568
  "properties": {
2603
2569
  "tags": {
@@ -2612,7 +2578,7 @@ const common = {
2612
2578
  },
2613
2579
  "type": "object"
2614
2580
  },
2615
- "common240": {
2581
+ "common238": {
2616
2582
  "tags": {
2617
2583
  "additionalProperties": true,
2618
2584
  "properties": {
@@ -2623,7 +2589,7 @@ const common = {
2623
2589
  "type": "object"
2624
2590
  }
2625
2591
  },
2626
- "common241": {
2592
+ "common239": {
2627
2593
  "additionalProperties": true,
2628
2594
  "properties": {
2629
2595
  "verb": {
@@ -2632,12 +2598,12 @@ const common = {
2632
2598
  },
2633
2599
  "type": "object"
2634
2600
  },
2635
- "common242": {
2601
+ "common240": {
2636
2602
  "verb": {
2637
2603
  "type": "string"
2638
2604
  }
2639
2605
  },
2640
- "common243": {
2606
+ "common241": {
2641
2607
  "additionalProperties": {
2642
2608
  "enum": [
2643
2609
  1,
@@ -2647,14 +2613,14 @@ const common = {
2647
2613
  },
2648
2614
  "type": "object"
2649
2615
  },
2650
- "common244": {
2616
+ "common242": {
2651
2617
  "enum": [
2652
2618
  1,
2653
2619
  -1
2654
2620
  ],
2655
2621
  "type": "integer"
2656
2622
  },
2657
- "common245": {
2623
+ "common243": {
2658
2624
  "additionalProperties": false,
2659
2625
  "properties": {
2660
2626
  "id": {
@@ -2672,7 +2638,7 @@ const common = {
2672
2638
  ],
2673
2639
  "type": "object"
2674
2640
  },
2675
- "common246": {
2641
+ "common244": {
2676
2642
  "id": {
2677
2643
  "pattern": "^[a-f0-9]{24}$",
2678
2644
  "type": "string"
@@ -2682,11 +2648,11 @@ const common = {
2682
2648
  "type": "string"
2683
2649
  }
2684
2650
  },
2685
- "common247": {
2651
+ "common245": {
2686
2652
  "default": "events",
2687
2653
  "type": "string"
2688
2654
  },
2689
- "common248": {
2655
+ "common246": {
2690
2656
  "items": {
2691
2657
  "properties": {
2692
2658
  "id": {
@@ -2700,7 +2666,7 @@ const common = {
2700
2666
  },
2701
2667
  "type": "array"
2702
2668
  },
2703
- "common249": {
2669
+ "common247": {
2704
2670
  "properties": {
2705
2671
  "id": {
2706
2672
  "type": "string"
@@ -2711,12 +2677,12 @@ const common = {
2711
2677
  ],
2712
2678
  "type": "object"
2713
2679
  },
2714
- "common250": {
2680
+ "common248": {
2715
2681
  "id": {
2716
2682
  "type": "string"
2717
2683
  }
2718
2684
  },
2719
- "common251": {
2685
+ "common249": {
2720
2686
  "additionalProperties": false,
2721
2687
  "properties": {
2722
2688
  "contextId": {
@@ -2746,7 +2712,7 @@ const common = {
2746
2712
  },
2747
2713
  "type": "object"
2748
2714
  },
2749
- "common252": {
2715
+ "common250": {
2750
2716
  "contextId": {
2751
2717
  "pattern": "^[a-f0-9]{24}$",
2752
2718
  "type": "string"
@@ -2772,7 +2738,7 @@ const common = {
2772
2738
  "type": "array"
2773
2739
  }
2774
2740
  },
2775
- "common253": {
2741
+ "common251": {
2776
2742
  "items": {
2777
2743
  "enum": [
2778
2744
  "answers"
@@ -2781,20 +2747,20 @@ const common = {
2781
2747
  },
2782
2748
  "type": "array"
2783
2749
  },
2784
- "common254": {
2750
+ "common252": {
2785
2751
  "enum": [
2786
2752
  "answers"
2787
2753
  ],
2788
2754
  "type": "string"
2789
2755
  },
2790
- "common255": {
2756
+ "common253": {
2791
2757
  "enum": [
2792
2758
  "comments",
2793
2759
  "news"
2794
2760
  ],
2795
2761
  "type": "string"
2796
2762
  },
2797
- "common256": {
2763
+ "common254": {
2798
2764
  "default": "citoyens",
2799
2765
  "enum": [
2800
2766
  "citoyens",
@@ -2808,6 +2774,6 @@ const common = {
2808
2774
  };
2809
2775
 
2810
2776
  // Endpoints avec intégration des définitions communes
2811
- const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"name":common.common1,"tags":common.common30,"url":common.common33}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":common.common43,"block":common.common44,"email":common.common45,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"typeElement":common.common48,"url":common.common49}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common52],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"parent":common.common54,"scope":common.common10,"tags":common.common47,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common47,"type":common.common63,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common64,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":common.common66,"url":common.common49,"urls":common.common31}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common32,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common34,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common34,common.common76]},"geoPosition":{"oneOf":[common.common34,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common83,"cropW":common.common83,"cropX":common.common83,"cropY":common.common83,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common98},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common107,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common108,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"json":common.common84,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common30,"text":common.common1,"type":common.common121},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"isLive":common.common125},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"idNews":common.common11,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common30,"text":common.common1,"type":common.common121},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common121},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common131,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":common.common133},{"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.common135,"mentions":common.common136,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common124},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common136,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":common.common133},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common139,"type":"array"},"fediverse":common.common140,"filters":common.common141,"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common144,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchTags":common.common31,"searchType":{"items":common.common139,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common141,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common125,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common154,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common155,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common157,"parent.@userId":common.common157},"links.contributors.@userId":common.common157},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common155},"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.common161,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common155,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common157,"parent.@{pathParams.id}":common.common157},"links.contributors.@{pathParams.id}":common.common157},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common155},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common163,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common157},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common163},"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.common161,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common163,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common157},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common163},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common164,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common157,"links.members.@userId.isInviting":common.common166,"links.members.@userId.toBeValidated":common.common166},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common167,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common164},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common164,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common157,"links.members.@{pathParams.id}.isInviting":common.common166,"links.members.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common167,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common164},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"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.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"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.common157,"links.memberOf.@{pathParams.id}.isInviting":common.common166,"links.memberOf.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"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.common157,"links.friends.@{pathParams.id}.isInviting":common.common166,"links.friends.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common180,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.followers.@userId":common.common157,"links.followers.@{userId}.isInviting":common.common166,"links.followers.@{userId}.toBeValidated":common.common166},"patternProperties":common.common185,"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common180,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.followers.@{pathParams.id}":common.common157,"links.followers.@{pathParams.id}.isInviting":common.common166,"links.followers.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":common.common185,"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.follows.@userId":common.common157,"links.follows.@{userId}.isInviting":common.common166,"links.follows.@{userId}.toBeValidated":common.common166},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common167,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common189},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.follows.@{pathParams.id}":common.common157},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"type":"object"},"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"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.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"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.common157,"links.projects.@{pathParams.id}.isInviting":common.common166,"links.projects.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common190,"fediverse":common.common140,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"type":"object"},"isParcours":common.common3,"preferences.private":common.common140},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common192,"fediverse":common.common140,"fields":common.common190,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common194}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common194,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common197,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common197}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common200},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common200,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common196}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common194}}],"type":"object"},"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common201,"GovernmentOrganization":common.common201,"Group":common.common201,"LocalBusiness":common.common201,"NGO":common.common201,"citoyens":common.common201,"projects":common.common201},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common151},"type":"object"},"searchType":common.common192},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common202,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common208,"childType":common.common209,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common210},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common208,"childType":common.common209,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common210},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common211,"id":common.common212,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common141},"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.common196,"collection":common.common211,"id":common.common212,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common213,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common141,"shortDescription":common.common1,"tags":common.common31,"type":common.common64,"url":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common216,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common107,"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"scope":common.common141,"shortDescription":common.common1,"tags":common.common31,"url":common.common33},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":common.common219,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common219,"name":common.common1,"parent":common.common216,"scope":common.common141,"tags":common.common31,"type":common.common65,"urls":common.common31},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common169}},"properties":{"address":common.common72,"collection":common.common220,"email":common.common2,"endDate":common.common221,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common34,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common222,"opens":common.common222},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common216,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"recurrency":common.common125,"scope":common.common141,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common221,"tags":common.common31,"timeZone":common.common1,"type":common.common63,"url":common.common33},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common223,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common48,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common210},"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.common224,"request":{"additionalProperties":false,"properties":{"indexMin":common.common108},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common224,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common223},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common84},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common124},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common124},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common227,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common125,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common228,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common227},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common213,"public":common.common107,"scope":common.common141,"tags":common.common31},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common56},"type":"object"},"badgeId":common.common11,"collection":common.common227,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common228,"narative":common.common1,"scope":common.common141},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":false,"properties":{"count":common.common125,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common221,"fediverse":common.common125,"indexMin":common.common108,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"searchType":{"const":["events"],"default":["events"],"items":common.common1,"type":"array"},"startDate":common.common83,"startDateUTC":common.common221,"type":common.common63},"required":["searchType","indexMin","indexStep","startDate","startDateUTC","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common220},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common131,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common229,"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.common233,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common229,"projects":common.common229},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common208,"childType":common.common209,"parentId":common.common11,"parentType":common.common210},"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.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common235,"fediverse":common.common125,"fields":common.common31,"filters":common.common237,"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common144,"mapUsed":common.common196,"name":common.common1,"notSourceKey":common.common196,"options":common.common239,"ranges":common.common149,"searchBy":common.common153,"searchTags":common.common31,"searchType":common.common235,"sortBy":common.common243,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common248,"sourceKey":common.common31,"tags":common.common31,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common245,"request":common.common251},{"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.common245,"request":common.common251},{"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.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"regions":common.common248,"sourceKey":common.common31,"tags":common.common31,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common245,"request":common.common251},{"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.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common189},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"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.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"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.common157,"links.events.@{pathParams.id}.isInviting":common.common166,"links.events.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common178},"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.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common253,"fediverse":common.common125,"fields":common.common31,"filters":common.common237,"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common144,"mapUsed":common.common196,"name":common.common1,"notSourceKey":common.common196,"options":common.common239,"ranges":common.common149,"searchBy":common.common153,"searchTags":common.common31,"searchType":common.common253,"sortBy":common.common243,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common31,"finderPath":common.common10},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common255,"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.common255,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common3,"collection":common.common256,"id":common.common5,"path":common.common1,"value":common.common20},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common256},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common256,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common179,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common140,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}}]};
2777
+ const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"name":common.common1,"tags":common.common30,"url":common.common33}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":common.common43,"block":common.common44,"email":common.common45,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"typeElement":common.common48,"url":common.common49}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common52],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"parent":common.common54,"scope":common.common10,"tags":common.common47,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common47,"type":common.common63,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common64,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":common.common66,"url":common.common49,"urls":common.common31}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common32,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common34,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common34,common.common76]},"geoPosition":{"oneOf":[common.common34,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common83,"cropW":common.common83,"cropX":common.common83,"cropY":common.common83,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common98},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common107,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common108,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"json":common.common84,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common30,"text":common.common1,"type":common.common121},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"isLive":common.common125},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"idNews":common.common11,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common30,"text":common.common1,"type":common.common121},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common121},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common131,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common133},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common133,"mentions":common.common134,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common124},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common134,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common137,"type":"array"},"fediverse":common.common138,"filters":common.common139,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common31,"searchType":{"items":common.common137,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common139,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common125,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common152,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common153,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common155,"parent.@userId":common.common155},"links.contributors.@userId":common.common155},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common153},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common159,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common153,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common155,"parent.@{pathParams.id}":common.common155},"links.contributors.@{pathParams.id}":common.common155},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common153},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common155},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common159,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common155},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common162,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common155,"links.members.@userId.isInviting":common.common164,"links.members.@userId.toBeValidated":common.common164},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common165,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common162,"fediverse":common.common138,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common155,"links.members.@{pathParams.id}.isInviting":common.common164,"links.members.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common165,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common162},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common155,"links.memberOf.@{pathParams.id}.isInviting":common.common164,"links.memberOf.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common155,"links.friends.@{pathParams.id}.isInviting":common.common164,"links.friends.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common180],"default":{"links.followers.@userId":common.common155,"links.followers.@{userId}.isInviting":common.common164,"links.followers.@{userId}.toBeValidated":common.common164},"patternProperties":common.common183,"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common180],"default":{"links.followers.@{pathParams.id}":common.common155,"links.followers.@{pathParams.id}.isInviting":common.common164,"links.followers.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":common.common183,"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.follows.@userId":common.common155,"links.follows.@{userId}.isInviting":common.common164,"links.follows.@{userId}.toBeValidated":common.common164},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common165,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common187},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.follows.@{pathParams.id}":common.common155},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156},"type":"object"},"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common169,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common155,"links.projects.@{pathParams.id}.isInviting":common.common164,"links.projects.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common188,"fediverse":common.common138,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"},"isParcours":common.common3,"preferences.private":common.common138},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common188},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common190,"fediverse":common.common138,"fields":common.common188,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common192}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common192,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common195,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common195}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common198},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common198,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common194}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common192}}],"type":"object"},"indexMin":common.common152,"indexStep":common.common168,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common199,"GovernmentOrganization":common.common199,"Group":common.common199,"LocalBusiness":common.common199,"NGO":common.common199,"citoyens":common.common199,"projects":common.common199},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common149},"type":"object"},"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common200,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common206,"childType":common.common207,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common206,"childType":common.common207,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common209,"id":common.common210,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common139},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common194,"collection":common.common209,"id":common.common210,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common211,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common139,"shortDescription":common.common1,"tags":common.common31,"type":common.common64,"url":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common214,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common107,"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"scope":common.common139,"shortDescription":common.common1,"tags":common.common31,"url":common.common33},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":common.common217,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common217,"name":common.common1,"parent":common.common214,"scope":common.common139,"tags":common.common31,"type":common.common65,"urls":common.common31},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common167}},"properties":{"address":common.common72,"collection":common.common218,"email":common.common2,"endDate":common.common219,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common34,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common220,"opens":common.common220},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common214,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"recurrency":common.common125,"scope":common.common139,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common219,"tags":common.common31,"timeZone":common.common1,"type":common.common63,"url":common.common33},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common221,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common48,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common222,"request":{"additionalProperties":false,"properties":{"indexMin":common.common108},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common222,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common221},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common84},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common124},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common124},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common225,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common125,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common226,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common225},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common211,"public":common.common107,"scope":common.common139,"tags":common.common31},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common56},"type":"object"},"badgeId":common.common11,"collection":common.common225,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common226,"narative":common.common1,"scope":common.common139},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common125,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common219,"fediverse":common.common125,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common155,"organizer.@userId":common.common155},"links.attendees.@userId":common.common155},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common108,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common107,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common219,"type":common.common63},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common218},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common131,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common227,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common231,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common227,"projects":common.common227},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common206,"childType":common.common207,"parentId":common.common11,"parentType":common.common208},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common233,"fediverse":common.common125,"fields":common.common31,"filters":common.common235,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"mapUsed":common.common194,"name":common.common1,"notSourceKey":common.common194,"options":common.common237,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common31,"searchType":common.common233,"sortBy":common.common241,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common246,"sourceKey":common.common31,"tags":common.common31,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common243,"request":common.common249},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common243,"request":common.common249},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"regions":common.common246,"sourceKey":common.common31,"tags":common.common31,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common243,"request":common.common249},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common243,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common187},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common165},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common176,"fediverse":common.common138,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common155,"links.events.@{pathParams.id}.isInviting":common.common164,"links.events.@{pathParams.id}.toBeValidated":common.common164},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common156,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common139,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common147,"searchBy":common.common151,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common232,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common251,"fediverse":common.common125,"fields":common.common31,"filters":common.common235,"indexMax":common.common83,"indexMin":common.common140,"indexStep":common.common141,"initType":common.common139,"locality":common.common142,"mapUsed":common.common194,"name":common.common1,"notSourceKey":common.common194,"options":common.common237,"ranges":common.common147,"searchBy":common.common151,"searchTags":common.common31,"searchType":common.common251,"sortBy":common.common241,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common31,"finderPath":common.common10},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common253,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common253,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common3,"collection":common.common254,"id":common.common5,"path":common.common1,"value":common.common20},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common254},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common254,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common177,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common138,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}}]};
2812
2778
 
2813
2779
  export default endpoints;