@communecter/cocolight-api-client 1.0.130 → 1.0.131

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.
@@ -1127,21 +1127,28 @@ const common = {
1127
1127
  "type": "integer"
1128
1128
  },
1129
1129
  "common112": {
1130
+ "items": {
1131
+ "pattern": "^[a-f0-9]{24}$",
1132
+ "type": "string"
1133
+ },
1134
+ "type": "array"
1135
+ },
1136
+ "common113": {
1130
1137
  "required": [
1131
1138
  "text"
1132
1139
  ]
1133
1140
  },
1134
- "common113": {
1141
+ "common114": {
1135
1142
  "required": [
1136
1143
  "mediaImg"
1137
1144
  ]
1138
1145
  },
1139
- "common114": {
1146
+ "common115": {
1140
1147
  "required": [
1141
1148
  "mediaFile"
1142
1149
  ]
1143
1150
  },
1144
- "common115": {
1151
+ "common116": {
1145
1152
  "additionalProperties": false,
1146
1153
  "properties": {
1147
1154
  "countFiles": {
@@ -1160,7 +1167,7 @@ const common = {
1160
1167
  ],
1161
1168
  "type": "object"
1162
1169
  },
1163
- "common116": {
1170
+ "common117": {
1164
1171
  "countFiles": {
1165
1172
  "type": "number"
1166
1173
  },
@@ -1171,7 +1178,7 @@ const common = {
1171
1178
  "type": "array"
1172
1179
  }
1173
1180
  },
1174
- "common117": {
1181
+ "common118": {
1175
1182
  "additionalProperties": false,
1176
1183
  "properties": {
1177
1184
  "countImages": {
@@ -1190,7 +1197,7 @@ const common = {
1190
1197
  ],
1191
1198
  "type": "object"
1192
1199
  },
1193
- "common118": {
1200
+ "common119": {
1194
1201
  "countImages": {
1195
1202
  "type": "number"
1196
1203
  },
@@ -1201,7 +1208,7 @@ const common = {
1201
1208
  "type": "array"
1202
1209
  }
1203
1210
  },
1204
- "common119": {
1211
+ "common120": {
1205
1212
  "items": {
1206
1213
  "properties": {
1207
1214
  "count": {
@@ -1237,7 +1244,7 @@ const common = {
1237
1244
  },
1238
1245
  "type": "array"
1239
1246
  },
1240
- "common120": {
1247
+ "common121": {
1241
1248
  "properties": {
1242
1249
  "count": {
1243
1250
  "minimum": 1,
@@ -1270,7 +1277,7 @@ const common = {
1270
1277
  ],
1271
1278
  "type": "object"
1272
1279
  },
1273
- "common121": {
1280
+ "common122": {
1274
1281
  "count": {
1275
1282
  "minimum": 1,
1276
1283
  "type": "integer"
@@ -1292,11 +1299,11 @@ const common = {
1292
1299
  "type": "string"
1293
1300
  }
1294
1301
  },
1295
- "common122": {
1302
+ "common123": {
1296
1303
  "minimum": 1,
1297
1304
  "type": "integer"
1298
1305
  },
1299
- "common123": {
1306
+ "common124": {
1300
1307
  "default": "public",
1301
1308
  "enum": [
1302
1309
  "public",
@@ -1305,12 +1312,12 @@ const common = {
1305
1312
  ],
1306
1313
  "type": "string"
1307
1314
  },
1308
- "common124": {
1315
+ "common125": {
1309
1316
  "const": "news",
1310
1317
  "default": "news",
1311
1318
  "type": "string"
1312
1319
  },
1313
- "common125": {
1320
+ "common126": {
1314
1321
  "additionalProperties": false,
1315
1322
  "else": {
1316
1323
  "properties": {
@@ -1354,7 +1361,7 @@ const common = {
1354
1361
  },
1355
1362
  "type": "object"
1356
1363
  },
1357
- "common126": {
1364
+ "common127": {
1358
1365
  "folder": {
1359
1366
  "default": "citoyens",
1360
1367
  "enum": [
@@ -1368,7 +1375,7 @@ const common = {
1368
1375
  "type": "string"
1369
1376
  }
1370
1377
  },
1371
- "common127": {
1378
+ "common128": {
1372
1379
  "additionalProperties": false,
1373
1380
  "properties": {
1374
1381
  "id": {
@@ -1381,40 +1388,40 @@ const common = {
1381
1388
  ],
1382
1389
  "type": "object"
1383
1390
  },
1384
- "common128": {
1391
+ "common129": {
1385
1392
  "default": false,
1386
1393
  "type": "boolean"
1387
1394
  },
1388
- "common129": {
1395
+ "common130": {
1389
1396
  "properties": {
1390
1397
  "childId": {
1391
1398
  "pattern": "^[a-f0-9]{24}$"
1392
1399
  }
1393
1400
  }
1394
1401
  },
1395
- "common130": {
1402
+ "common131": {
1396
1403
  "childId": {
1397
1404
  "pattern": "^[a-f0-9]{24}$"
1398
1405
  }
1399
1406
  },
1400
- "common131": {
1407
+ "common132": {
1401
1408
  "properties": {
1402
1409
  "childType": {
1403
1410
  "const": "citoyens"
1404
1411
  }
1405
1412
  }
1406
1413
  },
1407
- "common132": {
1414
+ "common133": {
1408
1415
  "childType": {
1409
1416
  "const": "citoyens"
1410
1417
  }
1411
1418
  },
1412
- "common133": {
1419
+ "common134": {
1413
1420
  "const": "share",
1414
1421
  "default": "share",
1415
1422
  "type": "string"
1416
1423
  },
1417
- "common134": {
1424
+ "common135": {
1418
1425
  "properties": {
1419
1426
  "childId": {
1420
1427
  "default": "@userId",
@@ -1422,20 +1429,20 @@ const common = {
1422
1429
  }
1423
1430
  }
1424
1431
  },
1425
- "common135": {
1432
+ "common136": {
1426
1433
  "childId": {
1427
1434
  "default": "@userId",
1428
1435
  "pattern": "^(?:[a-f0-9]{24}|@userId)$"
1429
1436
  }
1430
1437
  },
1431
- "common136": {
1438
+ "common137": {
1432
1439
  "default": "news",
1433
1440
  "enum": [
1434
1441
  "news"
1435
1442
  ],
1436
1443
  "type": "string"
1437
1444
  },
1438
- "common137": {
1445
+ "common138": {
1439
1446
  "items": {
1440
1447
  "additionalProperties": false,
1441
1448
  "properties": {
@@ -1471,7 +1478,7 @@ const common = {
1471
1478
  },
1472
1479
  "type": "array"
1473
1480
  },
1474
- "common138": {
1481
+ "common139": {
1475
1482
  "additionalProperties": false,
1476
1483
  "properties": {
1477
1484
  "count": {
@@ -1504,7 +1511,7 @@ const common = {
1504
1511
  ],
1505
1512
  "type": "object"
1506
1513
  },
1507
- "common139": {
1514
+ "common140": {
1508
1515
  "count": {
1509
1516
  "type": "number"
1510
1517
  },
@@ -1525,7 +1532,7 @@ const common = {
1525
1532
  "type": "string"
1526
1533
  }
1527
1534
  },
1528
- "common140": {
1535
+ "common141": {
1529
1536
  "enum": [
1530
1537
  "NGO",
1531
1538
  "LocalBusiness",
@@ -1540,25 +1547,25 @@ const common = {
1540
1547
  ],
1541
1548
  "type": "string"
1542
1549
  },
1543
- "common141": {
1550
+ "common142": {
1544
1551
  "const": false,
1545
1552
  "default": false,
1546
1553
  "type": "boolean"
1547
1554
  },
1548
- "common142": {
1555
+ "common143": {
1549
1556
  "const": "",
1550
1557
  "default": "",
1551
1558
  "type": "string"
1552
1559
  },
1553
- "common143": {
1560
+ "common144": {
1554
1561
  "default": 0,
1555
1562
  "type": "number"
1556
1563
  },
1557
- "common144": {
1564
+ "common145": {
1558
1565
  "default": 30,
1559
1566
  "type": "number"
1560
1567
  },
1561
- "common145": {
1568
+ "common146": {
1562
1569
  "additionalProperties": false,
1563
1570
  "patternProperties": {
1564
1571
  "^[^\\s]+$": {
@@ -1584,7 +1591,7 @@ const common = {
1584
1591
  },
1585
1592
  "type": "object"
1586
1593
  },
1587
- "common146": {
1594
+ "common147": {
1588
1595
  "^[^\\s]+$": {
1589
1596
  "additionalProperties": false,
1590
1597
  "properties": {
@@ -1606,7 +1613,7 @@ const common = {
1606
1613
  "type": "object"
1607
1614
  }
1608
1615
  },
1609
- "common147": {
1616
+ "common148": {
1610
1617
  "additionalProperties": false,
1611
1618
  "properties": {
1612
1619
  "id": {
@@ -1626,7 +1633,7 @@ const common = {
1626
1633
  ],
1627
1634
  "type": "object"
1628
1635
  },
1629
- "common148": {
1636
+ "common149": {
1630
1637
  "id": {
1631
1638
  "type": "string"
1632
1639
  },
@@ -1638,14 +1645,14 @@ const common = {
1638
1645
  "type": "string"
1639
1646
  }
1640
1647
  },
1641
- "common149": {
1648
+ "common150": {
1642
1649
  "enum": [
1643
1650
  "cities",
1644
1651
  "level1"
1645
1652
  ],
1646
1653
  "type": "string"
1647
1654
  },
1648
- "common150": {
1655
+ "common151": {
1649
1656
  "additionalProperties": false,
1650
1657
  "patternProperties": {
1651
1658
  "^[^\\s]+$": {
@@ -1667,7 +1674,7 @@ const common = {
1667
1674
  },
1668
1675
  "type": "object"
1669
1676
  },
1670
- "common151": {
1677
+ "common152": {
1671
1678
  "^[^\\s]+$": {
1672
1679
  "additionalProperties": false,
1673
1680
  "properties": {
@@ -1685,7 +1692,7 @@ const common = {
1685
1692
  "type": "object"
1686
1693
  }
1687
1694
  },
1688
- "common152": {
1695
+ "common153": {
1689
1696
  "additionalProperties": false,
1690
1697
  "properties": {
1691
1698
  "indexMax": {
@@ -1701,7 +1708,7 @@ const common = {
1701
1708
  ],
1702
1709
  "type": "object"
1703
1710
  },
1704
- "common153": {
1711
+ "common154": {
1705
1712
  "indexMax": {
1706
1713
  "type": "number"
1707
1714
  },
@@ -1709,22 +1716,22 @@ const common = {
1709
1716
  "type": "number"
1710
1717
  }
1711
1718
  },
1712
- "common154": {
1719
+ "common155": {
1713
1720
  "enum": [
1714
1721
  "ALL"
1715
1722
  ],
1716
1723
  "type": "string"
1717
1724
  },
1718
- "common155": {
1725
+ "common156": {
1719
1726
  "minimum": 0,
1720
1727
  "type": "integer"
1721
1728
  },
1722
- "common156": {
1729
+ "common157": {
1723
1730
  "default": 0,
1724
1731
  "minimum": 0,
1725
1732
  "type": "integer"
1726
1733
  },
1727
- "common157": {
1734
+ "common158": {
1728
1735
  "const": [
1729
1736
  "projects"
1730
1737
  ],
@@ -1739,16 +1746,16 @@ const common = {
1739
1746
  },
1740
1747
  "type": "array"
1741
1748
  },
1742
- "common158": {
1749
+ "common159": {
1743
1750
  "enum": [
1744
1751
  "projects"
1745
1752
  ],
1746
1753
  "type": "string"
1747
1754
  },
1748
- "common159": {
1755
+ "common160": {
1749
1756
  "$exists": true
1750
1757
  },
1751
- "common160": {
1758
+ "common161": {
1752
1759
  "additionalProperties": false,
1753
1760
  "properties": {
1754
1761
  "$exists": {
@@ -1760,15 +1767,15 @@ const common = {
1760
1767
  ],
1761
1768
  "type": "object"
1762
1769
  },
1763
- "common161": {
1770
+ "common162": {
1764
1771
  "$exists": {
1765
1772
  "const": true
1766
1773
  }
1767
1774
  },
1768
- "common162": {
1775
+ "common163": {
1769
1776
  "const": true
1770
1777
  },
1771
- "common163": {
1778
+ "common164": {
1772
1779
  "additionalProperties": false,
1773
1780
  "else": {
1774
1781
  "properties": {
@@ -1812,7 +1819,7 @@ const common = {
1812
1819
  },
1813
1820
  "type": "object"
1814
1821
  },
1815
- "common164": {
1822
+ "common165": {
1816
1823
  "id": {
1817
1824
  "type": "string"
1818
1825
  },
@@ -1826,7 +1833,7 @@ const common = {
1826
1833
  "type": "string"
1827
1834
  }
1828
1835
  },
1829
- "common165": {
1836
+ "common166": {
1830
1837
  "const": [
1831
1838
  "poi"
1832
1839
  ],
@@ -1841,7 +1848,7 @@ const common = {
1841
1848
  },
1842
1849
  "type": "array"
1843
1850
  },
1844
- "common166": {
1851
+ "common167": {
1845
1852
  "const": [
1846
1853
  "NGO",
1847
1854
  "Cooperative",
@@ -1868,7 +1875,7 @@ const common = {
1868
1875
  },
1869
1876
  "type": "array"
1870
1877
  },
1871
- "common167": {
1878
+ "common168": {
1872
1879
  "enum": [
1873
1880
  "NGO",
1874
1881
  "Cooperative",
@@ -1878,10 +1885,10 @@ const common = {
1878
1885
  ],
1879
1886
  "type": "string"
1880
1887
  },
1881
- "common168": {
1888
+ "common169": {
1882
1889
  "$exists": false
1883
1890
  },
1884
- "common169": {
1891
+ "common170": {
1885
1892
  "additionalProperties": false,
1886
1893
  "properties": {
1887
1894
  "$exists": {
@@ -1893,19 +1900,19 @@ const common = {
1893
1900
  ],
1894
1901
  "type": "object"
1895
1902
  },
1896
- "common170": {
1903
+ "common171": {
1897
1904
  "$exists": {
1898
1905
  "const": false
1899
1906
  }
1900
1907
  },
1901
- "common171": {
1908
+ "common172": {
1902
1909
  "const": false
1903
1910
  },
1904
- "common172": {
1911
+ "common173": {
1905
1912
  "default": 30,
1906
1913
  "type": "integer"
1907
1914
  },
1908
- "common173": {
1915
+ "common174": {
1909
1916
  "default": [
1910
1917
  "citoyens",
1911
1918
  "NGO",
@@ -1927,7 +1934,7 @@ const common = {
1927
1934
  },
1928
1935
  "type": "array"
1929
1936
  },
1930
- "common174": {
1937
+ "common175": {
1931
1938
  "enum": [
1932
1939
  "citoyens",
1933
1940
  "NGO",
@@ -1938,7 +1945,7 @@ const common = {
1938
1945
  ],
1939
1946
  "type": "string"
1940
1947
  },
1941
- "common175": {
1948
+ "common176": {
1942
1949
  "additionalProperties": false,
1943
1950
  "properties": {
1944
1951
  "$exists": {
@@ -1951,13 +1958,13 @@ const common = {
1951
1958
  ],
1952
1959
  "type": "object"
1953
1960
  },
1954
- "common176": {
1961
+ "common177": {
1955
1962
  "$exists": {
1956
1963
  "default": false,
1957
1964
  "type": "boolean"
1958
1965
  }
1959
1966
  },
1960
- "common177": {
1967
+ "common178": {
1961
1968
  "additionalProperties": false,
1962
1969
  "properties": {
1963
1970
  "$in": {
@@ -1973,7 +1980,7 @@ const common = {
1973
1980
  ],
1974
1981
  "type": "object"
1975
1982
  },
1976
- "common178": {
1983
+ "common179": {
1977
1984
  "$in": {
1978
1985
  "items": {
1979
1986
  "type": "string"
@@ -1982,14 +1989,14 @@ const common = {
1982
1989
  "type": "array"
1983
1990
  }
1984
1991
  },
1985
- "common179": {
1992
+ "common180": {
1986
1993
  "items": {
1987
1994
  "type": "string"
1988
1995
  },
1989
1996
  "minItems": 1,
1990
1997
  "type": "array"
1991
1998
  },
1992
- "common180": {
1999
+ "common181": {
1993
2000
  "default": [
1994
2001
  "citoyens",
1995
2002
  "NGO",
@@ -2012,7 +2019,7 @@ const common = {
2012
2019
  "minItems": 1,
2013
2020
  "type": "array"
2014
2021
  },
2015
- "common181": {
2022
+ "common182": {
2016
2023
  "const": [
2017
2024
  "citoyens"
2018
2025
  ],
@@ -2027,13 +2034,13 @@ const common = {
2027
2034
  },
2028
2035
  "type": "array"
2029
2036
  },
2030
- "common182": {
2037
+ "common183": {
2031
2038
  "enum": [
2032
2039
  "citoyens"
2033
2040
  ],
2034
2041
  "type": "string"
2035
2042
  },
2036
- "common183": {
2043
+ "common184": {
2037
2044
  "const": [
2038
2045
  "citoyens",
2039
2046
  "NGO",
@@ -2066,7 +2073,7 @@ const common = {
2066
2073
  },
2067
2074
  "type": "array"
2068
2075
  },
2069
- "common184": {
2076
+ "common185": {
2070
2077
  "enum": [
2071
2078
  "citoyens",
2072
2079
  "NGO",
@@ -2078,22 +2085,22 @@ const common = {
2078
2085
  ],
2079
2086
  "type": "string"
2080
2087
  },
2081
- "common185": {
2088
+ "common186": {
2082
2089
  "not": {
2083
2090
  "propertyNames": {
2084
2091
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2085
2092
  }
2086
2093
  }
2087
2094
  },
2088
- "common186": {
2095
+ "common187": {
2089
2096
  "propertyNames": {
2090
2097
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2091
2098
  }
2092
2099
  },
2093
- "common187": {
2100
+ "common188": {
2094
2101
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2095
2102
  },
2096
- "common188": {
2103
+ "common189": {
2097
2104
  "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
2098
2105
  "additionalProperties": false,
2099
2106
  "properties": {
@@ -2131,22 +2138,22 @@ const common = {
2131
2138
  "type": "object"
2132
2139
  }
2133
2140
  },
2134
- "common189": {
2141
+ "common190": {
2135
2142
  "not": {
2136
2143
  "propertyNames": {
2137
2144
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2138
2145
  }
2139
2146
  }
2140
2147
  },
2141
- "common190": {
2148
+ "common191": {
2142
2149
  "propertyNames": {
2143
2150
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2144
2151
  }
2145
2152
  },
2146
- "common191": {
2153
+ "common192": {
2147
2154
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2148
2155
  },
2149
- "common192": {
2156
+ "common193": {
2150
2157
  "default": "citoyens",
2151
2158
  "enum": [
2152
2159
  "citoyens",
@@ -2155,7 +2162,7 @@ const common = {
2155
2162
  ],
2156
2163
  "type": "string"
2157
2164
  },
2158
- "common193": {
2165
+ "common194": {
2159
2166
  "const": [
2160
2167
  "badges"
2161
2168
  ],
@@ -2170,13 +2177,13 @@ const common = {
2170
2177
  },
2171
2178
  "type": "array"
2172
2179
  },
2173
- "common194": {
2180
+ "common195": {
2174
2181
  "enum": [
2175
2182
  "badges"
2176
2183
  ],
2177
2184
  "type": "string"
2178
2185
  },
2179
- "common195": {
2186
+ "common196": {
2180
2187
  "const": [
2181
2188
  "citoyens",
2182
2189
  "projects",
@@ -2209,7 +2216,7 @@ const common = {
2209
2216
  },
2210
2217
  "type": "array"
2211
2218
  },
2212
- "common196": {
2219
+ "common197": {
2213
2220
  "enum": [
2214
2221
  "citoyens",
2215
2222
  "projects",
@@ -2221,7 +2228,7 @@ const common = {
2221
2228
  ],
2222
2229
  "type": "string"
2223
2230
  },
2224
- "common197": {
2231
+ "common198": {
2225
2232
  "additionalProperties": false,
2226
2233
  "properties": {
2227
2234
  "$exists": {
@@ -2234,17 +2241,17 @@ const common = {
2234
2241
  ],
2235
2242
  "type": "object"
2236
2243
  },
2237
- "common198": {
2244
+ "common199": {
2238
2245
  "$exists": {
2239
2246
  "const": true,
2240
2247
  "type": "boolean"
2241
2248
  }
2242
2249
  },
2243
- "common199": {
2250
+ "common200": {
2244
2251
  "const": true,
2245
2252
  "type": "boolean"
2246
2253
  },
2247
- "common200": {
2254
+ "common201": {
2248
2255
  "additionalProperties": false,
2249
2256
  "properties": {
2250
2257
  "$exists": {
@@ -2257,17 +2264,17 @@ const common = {
2257
2264
  ],
2258
2265
  "type": "object"
2259
2266
  },
2260
- "common201": {
2267
+ "common202": {
2261
2268
  "$exists": {
2262
2269
  "const": false,
2263
2270
  "type": "boolean"
2264
2271
  }
2265
2272
  },
2266
- "common202": {
2273
+ "common203": {
2267
2274
  "const": false,
2268
2275
  "type": "boolean"
2269
2276
  },
2270
- "common203": {
2277
+ "common204": {
2271
2278
  "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2272
2279
  "additionalProperties": false,
2273
2280
  "properties": {
@@ -2295,52 +2302,52 @@ const common = {
2295
2302
  "type": "object"
2296
2303
  }
2297
2304
  },
2298
- "common204": {
2305
+ "common205": {
2299
2306
  "indexMax": 30,
2300
2307
  "indexMin": 0
2301
2308
  },
2302
- "common205": {
2309
+ "common206": {
2303
2310
  "properties": {
2304
2311
  "parentType": {
2305
2312
  "const": "organizations"
2306
2313
  }
2307
2314
  }
2308
2315
  },
2309
- "common206": {
2316
+ "common207": {
2310
2317
  "parentType": {
2311
2318
  "const": "organizations"
2312
2319
  }
2313
2320
  },
2314
- "common207": {
2321
+ "common208": {
2315
2322
  "properties": {
2316
2323
  "parentType": {
2317
2324
  "const": "projects"
2318
2325
  }
2319
2326
  }
2320
2327
  },
2321
- "common208": {
2328
+ "common209": {
2322
2329
  "parentType": {
2323
2330
  "const": "projects"
2324
2331
  }
2325
2332
  },
2326
- "common209": {
2333
+ "common210": {
2327
2334
  "properties": {
2328
2335
  "parentType": {
2329
2336
  "const": "events"
2330
2337
  }
2331
2338
  }
2332
2339
  },
2333
- "common210": {
2340
+ "common211": {
2334
2341
  "parentType": {
2335
2342
  "const": "events"
2336
2343
  }
2337
2344
  },
2338
- "common211": {
2345
+ "common212": {
2339
2346
  "default": "@userId",
2340
2347
  "pattern": "^([a-f0-9]{24}|@\\w+)$",
2341
2348
  "type": "string"
2342
2349
  },
2343
- "common212": {
2350
+ "common213": {
2344
2351
  "const": "citoyens",
2345
2352
  "default": "citoyens",
2346
2353
  "enum": [
@@ -2348,7 +2355,7 @@ const common = {
2348
2355
  ],
2349
2356
  "type": "string"
2350
2357
  },
2351
- "common213": {
2358
+ "common214": {
2352
2359
  "enum": [
2353
2360
  "citoyens",
2354
2361
  "organizations",
@@ -2357,22 +2364,22 @@ const common = {
2357
2364
  ],
2358
2365
  "type": "string"
2359
2366
  },
2360
- "common214": {
2367
+ "common215": {
2361
2368
  "const": "citoyens",
2362
2369
  "default": "citoyens",
2363
2370
  "type": "string"
2364
2371
  },
2365
- "common215": {
2372
+ "common216": {
2366
2373
  "const": "@userId",
2367
2374
  "default": "@userId",
2368
2375
  "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2369
2376
  "type": "string"
2370
2377
  },
2371
- "common216": {
2378
+ "common217": {
2372
2379
  "minLength": 3,
2373
2380
  "type": "string"
2374
2381
  },
2375
- "common217": {
2382
+ "common218": {
2376
2383
  "enum": [
2377
2384
  "Mo",
2378
2385
  "Tu",
@@ -2384,7 +2391,7 @@ const common = {
2384
2391
  ],
2385
2392
  "type": "string"
2386
2393
  },
2387
- "common218": {
2394
+ "common219": {
2388
2395
  "additionalProperties": false,
2389
2396
  "properties": {
2390
2397
  "closes": {
@@ -2402,7 +2409,7 @@ const common = {
2402
2409
  ],
2403
2410
  "type": "object"
2404
2411
  },
2405
- "common219": {
2412
+ "common220": {
2406
2413
  "closes": {
2407
2414
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2408
2415
  "type": "string"
@@ -2412,11 +2419,11 @@ const common = {
2412
2419
  "type": "string"
2413
2420
  }
2414
2421
  },
2415
- "common220": {
2422
+ "common221": {
2416
2423
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2417
2424
  "type": "string"
2418
2425
  },
2419
- "common221": {
2426
+ "common222": {
2420
2427
  "default": {
2421
2428
  "isOpenData": true,
2422
2429
  "isOpenEdition": true
@@ -2437,11 +2444,11 @@ const common = {
2437
2444
  ],
2438
2445
  "type": "object"
2439
2446
  },
2440
- "common222": {
2447
+ "common223": {
2441
2448
  "isOpenData": true,
2442
2449
  "isOpenEdition": true
2443
2450
  },
2444
- "common223": {
2451
+ "common224": {
2445
2452
  "isOpenData": {
2446
2453
  "default": true,
2447
2454
  "type": "boolean"
@@ -2451,12 +2458,12 @@ const common = {
2451
2458
  "type": "boolean"
2452
2459
  }
2453
2460
  },
2454
- "common224": {
2461
+ "common225": {
2455
2462
  "const": "projects",
2456
2463
  "default": "projects",
2457
2464
  "type": "string"
2458
2465
  },
2459
- "common225": {
2466
+ "common226": {
2460
2467
  "additionalProperties": false,
2461
2468
  "default": {
2462
2469
  "@userId": {
@@ -2482,32 +2489,32 @@ const common = {
2482
2489
  },
2483
2490
  "type": "object"
2484
2491
  },
2485
- "common226": {
2492
+ "common227": {
2486
2493
  "@userId": {
2487
2494
  "type": "citoyens"
2488
2495
  }
2489
2496
  },
2490
- "common227": {
2497
+ "common228": {
2491
2498
  "type": "citoyens"
2492
2499
  },
2493
- "common228": {
2500
+ "common229": {
2494
2501
  "const": "poi",
2495
2502
  "default": "poi",
2496
2503
  "type": "string"
2497
2504
  },
2498
- "common229": {
2505
+ "common230": {
2499
2506
  "const": "events",
2500
2507
  "default": "events",
2501
2508
  "type": "string"
2502
2509
  },
2503
- "common230": {
2510
+ "common231": {
2504
2511
  "format": "date-time",
2505
2512
  "type": "string"
2506
2513
  },
2507
- "common231": {
2514
+ "common232": {
2508
2515
  "type": "integer"
2509
2516
  },
2510
- "common232": {
2517
+ "common233": {
2511
2518
  "additionalProperties": false,
2512
2519
  "properties": {
2513
2520
  "id": {
@@ -2527,7 +2534,7 @@ const common = {
2527
2534
  ],
2528
2535
  "type": "object"
2529
2536
  },
2530
- "common233": {
2537
+ "common234": {
2531
2538
  "id": {
2532
2539
  "default": "@userId",
2533
2540
  "pattern": "^[a-f0-9]{24}$",
@@ -2539,22 +2546,22 @@ const common = {
2539
2546
  "type": "string"
2540
2547
  }
2541
2548
  },
2542
- "common234": {
2549
+ "common235": {
2543
2550
  "default": "@userId",
2544
2551
  "pattern": "^[a-f0-9]{24}$",
2545
2552
  "type": "string"
2546
2553
  },
2547
- "common235": {
2554
+ "common236": {
2548
2555
  "const": "badges",
2549
2556
  "default": "badges",
2550
2557
  "type": "string"
2551
2558
  },
2552
- "common236": {
2559
+ "common237": {
2553
2560
  "const": "badge",
2554
2561
  "default": "badge",
2555
2562
  "type": "string"
2556
2563
  },
2557
- "common237": {
2564
+ "common238": {
2558
2565
  "patternProperties": {
2559
2566
  "^[0-9a-f]{24}$": {
2560
2567
  "additionalProperties": false,
@@ -2585,7 +2592,7 @@ const common = {
2585
2592
  },
2586
2593
  "type": "object"
2587
2594
  },
2588
- "common238": {
2595
+ "common239": {
2589
2596
  "^[0-9a-f]{24}$": {
2590
2597
  "additionalProperties": false,
2591
2598
  "properties": {
@@ -2613,7 +2620,7 @@ const common = {
2613
2620
  "type": "object"
2614
2621
  }
2615
2622
  },
2616
- "common239": {
2623
+ "common240": {
2617
2624
  "additionalProperties": false,
2618
2625
  "properties": {
2619
2626
  "isAdmin": {
@@ -2639,7 +2646,7 @@ const common = {
2639
2646
  ],
2640
2647
  "type": "object"
2641
2648
  },
2642
- "common240": {
2649
+ "common241": {
2643
2650
  "isAdmin": {
2644
2651
  "default": "",
2645
2652
  "enum": [
@@ -2658,7 +2665,7 @@ const common = {
2658
2665
  "type": "array"
2659
2666
  }
2660
2667
  },
2661
- "common241": {
2668
+ "common242": {
2662
2669
  "default": "",
2663
2670
  "enum": [
2664
2671
  "",
@@ -2666,14 +2673,14 @@ const common = {
2666
2673
  ],
2667
2674
  "type": "string"
2668
2675
  },
2669
- "common242": {
2676
+ "common243": {
2670
2677
  "enum": [
2671
2678
  "projects",
2672
2679
  "organizations"
2673
2680
  ],
2674
2681
  "type": "string"
2675
2682
  },
2676
- "common243": {
2683
+ "common244": {
2677
2684
  "items": {
2678
2685
  "enum": [
2679
2686
  "NGO",
@@ -2694,7 +2701,7 @@ const common = {
2694
2701
  },
2695
2702
  "type": "array"
2696
2703
  },
2697
- "common244": {
2704
+ "common245": {
2698
2705
  "enum": [
2699
2706
  "NGO",
2700
2707
  "LocalBusiness",
@@ -2712,7 +2719,7 @@ const common = {
2712
2719
  ],
2713
2720
  "type": "string"
2714
2721
  },
2715
- "common245": {
2722
+ "common246": {
2716
2723
  "default": "",
2717
2724
  "oneOf": [
2718
2725
  {
@@ -2725,11 +2732,11 @@ const common = {
2725
2732
  }
2726
2733
  ]
2727
2734
  },
2728
- "common246": {
2735
+ "common247": {
2729
2736
  "additionalProperties": true,
2730
2737
  "type": "object"
2731
2738
  },
2732
- "common247": {
2739
+ "common248": {
2733
2740
  "additionalProperties": true,
2734
2741
  "properties": {
2735
2742
  "tags": {
@@ -2744,7 +2751,7 @@ const common = {
2744
2751
  },
2745
2752
  "type": "object"
2746
2753
  },
2747
- "common248": {
2754
+ "common249": {
2748
2755
  "tags": {
2749
2756
  "additionalProperties": true,
2750
2757
  "properties": {
@@ -2755,7 +2762,7 @@ const common = {
2755
2762
  "type": "object"
2756
2763
  }
2757
2764
  },
2758
- "common249": {
2765
+ "common250": {
2759
2766
  "additionalProperties": true,
2760
2767
  "properties": {
2761
2768
  "verb": {
@@ -2764,12 +2771,12 @@ const common = {
2764
2771
  },
2765
2772
  "type": "object"
2766
2773
  },
2767
- "common250": {
2774
+ "common251": {
2768
2775
  "verb": {
2769
2776
  "type": "string"
2770
2777
  }
2771
2778
  },
2772
- "common251": {
2779
+ "common252": {
2773
2780
  "additionalProperties": {
2774
2781
  "enum": [
2775
2782
  1,
@@ -2779,14 +2786,14 @@ const common = {
2779
2786
  },
2780
2787
  "type": "object"
2781
2788
  },
2782
- "common252": {
2789
+ "common253": {
2783
2790
  "enum": [
2784
2791
  1,
2785
2792
  -1
2786
2793
  ],
2787
2794
  "type": "integer"
2788
2795
  },
2789
- "common253": {
2796
+ "common254": {
2790
2797
  "additionalProperties": false,
2791
2798
  "properties": {
2792
2799
  "id": {
@@ -2804,7 +2811,7 @@ const common = {
2804
2811
  ],
2805
2812
  "type": "object"
2806
2813
  },
2807
- "common254": {
2814
+ "common255": {
2808
2815
  "id": {
2809
2816
  "pattern": "^[a-f0-9]{24}$",
2810
2817
  "type": "string"
@@ -2814,11 +2821,11 @@ const common = {
2814
2821
  "type": "string"
2815
2822
  }
2816
2823
  },
2817
- "common255": {
2824
+ "common256": {
2818
2825
  "default": "events",
2819
2826
  "type": "string"
2820
2827
  },
2821
- "common256": {
2828
+ "common257": {
2822
2829
  "items": {
2823
2830
  "properties": {
2824
2831
  "id": {
@@ -2832,7 +2839,7 @@ const common = {
2832
2839
  },
2833
2840
  "type": "array"
2834
2841
  },
2835
- "common257": {
2842
+ "common258": {
2836
2843
  "properties": {
2837
2844
  "id": {
2838
2845
  "type": "string"
@@ -2843,12 +2850,12 @@ const common = {
2843
2850
  ],
2844
2851
  "type": "object"
2845
2852
  },
2846
- "common258": {
2853
+ "common259": {
2847
2854
  "id": {
2848
2855
  "type": "string"
2849
2856
  }
2850
2857
  },
2851
- "common259": {
2858
+ "common260": {
2852
2859
  "additionalProperties": false,
2853
2860
  "properties": {
2854
2861
  "contextId": {
@@ -2878,7 +2885,7 @@ const common = {
2878
2885
  },
2879
2886
  "type": "object"
2880
2887
  },
2881
- "common260": {
2888
+ "common261": {
2882
2889
  "contextId": {
2883
2890
  "pattern": "^[a-f0-9]{24}$",
2884
2891
  "type": "string"
@@ -2904,7 +2911,7 @@ const common = {
2904
2911
  "type": "array"
2905
2912
  }
2906
2913
  },
2907
- "common261": {
2914
+ "common262": {
2908
2915
  "items": {
2909
2916
  "enum": [
2910
2917
  "answers"
@@ -2913,24 +2920,24 @@ const common = {
2913
2920
  },
2914
2921
  "type": "array"
2915
2922
  },
2916
- "common262": {
2923
+ "common263": {
2917
2924
  "enum": [
2918
2925
  "answers"
2919
2926
  ],
2920
2927
  "type": "string"
2921
2928
  },
2922
- "common263": {
2929
+ "common264": {
2923
2930
  "enum": [
2924
2931
  "comments",
2925
2932
  "news"
2926
2933
  ],
2927
2934
  "type": "string"
2928
2935
  },
2929
- "common264": {
2936
+ "common265": {
2930
2937
  "minLength": 1,
2931
2938
  "type": "string"
2932
2939
  },
2933
- "common265": {
2940
+ "common266": {
2934
2941
  "default": "citoyens",
2935
2942
  "enum": [
2936
2943
  "citoyens",
@@ -2941,10 +2948,10 @@ const common = {
2941
2948
  ],
2942
2949
  "type": "string"
2943
2950
  },
2944
- "common266": {
2951
+ "common267": {
2945
2952
  "type": "array"
2946
2953
  },
2947
- "common267": {
2954
+ "common268": {
2948
2955
  "additionalProperties": true,
2949
2956
  "properties": {
2950
2957
  "costumId": {
@@ -2968,7 +2975,7 @@ const common = {
2968
2975
  ],
2969
2976
  "type": "object"
2970
2977
  },
2971
- "common268": {
2978
+ "common269": {
2972
2979
  "costumId": {
2973
2980
  "type": "string"
2974
2981
  },
@@ -2982,7 +2989,7 @@ const common = {
2982
2989
  "type": "string"
2983
2990
  }
2984
2991
  },
2985
- "common269": {
2992
+ "common270": {
2986
2993
  "additionalProperties": true,
2987
2994
  "properties": {
2988
2995
  "costumId": {
@@ -3002,7 +3009,7 @@ const common = {
3002
3009
  ],
3003
3010
  "type": "object"
3004
3011
  },
3005
- "common270": {
3012
+ "common271": {
3006
3013
  "costumId": {
3007
3014
  "type": "string"
3008
3015
  },
@@ -3016,6 +3023,6 @@ const common = {
3016
3023
  };
3017
3024
 
3018
3025
  // Endpoints avec intégration des définitions communes
3019
- const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common125,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"isLive":common.common128},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common124},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common134,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common136},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common136,"mentions":common.common137,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common127},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common137,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common140,"type":"array"},"fediverse":common.common141,"filters":common.common142,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":{"items":common.common140,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common155,"locality":common.common142,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common128,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common156,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common159,"parent.@userId":common.common159},"links.contributors.@userId":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common159,"parent.@{pathParams.id}":common.common159},"links.contributors.@{pathParams.id}":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common159,"links.members.@userId.isInviting":common.common168,"links.members.@userId.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common141,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common159,"links.members.@{pathParams.id}.isInviting":common.common168,"links.members.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common159,"links.memberOf.@{pathParams.id}.isInviting":common.common168,"links.memberOf.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common159,"links.friends.@{pathParams.id}.isInviting":common.common168,"links.friends.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common183,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.followers.@userId":common.common159,"links.followers.@{userId}.isInviting":common.common168,"links.followers.@{userId}.toBeValidated":common.common168},"patternProperties":common.common188,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common183},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common183,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common185],"default":{"links.followers.@{pathParams.id}":common.common159,"links.followers.@{pathParams.id}.isInviting":common.common168,"links.followers.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":common.common188,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common183},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common189],"default":{"links.follows.@userId":common.common159,"links.follows.@{userId}.isInviting":common.common168,"links.follows.@{userId}.toBeValidated":common.common168},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common192},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common189],"default":{"links.follows.@{pathParams.id}":common.common159},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common159,"links.projects.@{pathParams.id}.isInviting":common.common168,"links.projects.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common193,"fediverse":common.common141,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"isParcours":common.common3,"preferences.private":common.common141},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common193},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common195,"fediverse":common.common141,"fields":common.common193,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common197}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common197,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common200,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common200}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common203},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common203,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common199}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common197}}],"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common204,"GovernmentOrganization":common.common204,"Group":common.common204,"LocalBusiness":common.common204,"NGO":common.common204,"citoyens":common.common204,"projects":common.common204},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common152},"type":"object"},"searchType":common.common195},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common205,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common209,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common211,"childType":common.common212,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common209,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common211,"childType":common.common212,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common214,"id":common.common215,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common142},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common199,"collection":common.common214,"id":common.common215,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common128,"slug":common.common1,"transparentCommune":common.common128,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common216,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common217,"hours":{"items":common.common218,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common221,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common224,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common225,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common228,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common228,"name":common.common1,"parent":common.common225,"scope":common.common142,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common171}},"properties":{"address":common.common74,"collection":common.common229,"email":common.common30,"endDate":common.common230,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common217,"hours":{"default":[],"items":common.common218,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common225,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common128,"scope":common.common142,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common230,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common127,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common231,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common232,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common232,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common231},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common127},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common127},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common235,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common128,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common236,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common235},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common221,"public":common.common110,"scope":common.common142,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common235,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common236,"narative":common.common1,"scope":common.common142},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common128,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common230,"fediverse":common.common128,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common159,"organizer.@userId":common.common159},"links.attendees.@userId":common.common159},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common230,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common229},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common134,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common237,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common241,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common237,"projects":common.common237},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common211,"childType":common.common212,"parentId":common.common11,"parentType":common.common213},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common243,"fediverse":common.common128,"fields":common.common33,"filters":common.common245,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common199,"name":common.common1,"notSourceKey":common.common199,"options":common.common247,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common243,"sortBy":common.common251,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common256,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common253,"request":common.common259},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common253,"request":common.common259},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common256,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common253,"request":common.common259},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common253,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common192},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common159,"links.events.@{pathParams.id}.isInviting":common.common168,"links.events.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common242,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common261,"fediverse":common.common128,"fields":common.common33,"filters":common.common245,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common199,"name":common.common1,"notSourceKey":common.common199,"options":common.common247,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common261,"sortBy":common.common251,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common246,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common263,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common263,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common264,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common265},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common265,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common127},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common182,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common141,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common246},"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common266,"level":common.common266,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common1},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common246,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common230,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common155,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common230,"milestoneId":common.common11,"startDate":common.common230},"required":["milestoneId"],"type":"object"},"min":common.common155,"name":common.common1,"parentId":common.common11,"parentType":common.common224,"startDate":common.common230,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common155,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common267},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common269},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common267},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common269},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common269},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common267},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common269},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common231,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common216,"parent":common.common225,"preferences":common.common221,"scope":common.common142,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common264,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
3026
+ const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common112},"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.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common126,"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.common126,"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.common128,"request":{"additionalProperties":false,"properties":{"isLive":common.common129},"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.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common125},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common135,"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.common137},"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.common137,"mentions":common.common138,"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.common128},{"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.common138,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common141,"type":"array"},"fediverse":common.common142,"filters":common.common143,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":{"items":common.common141,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common156,"locality":common.common143,"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.common129,"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.common157,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common158,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common160,"parent.@userId":common.common160},"links.contributors.@userId":common.common160},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common158},"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.common164,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common158,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common160,"parent.@{pathParams.id}":common.common160},"links.contributors.@{pathParams.id}":common.common160},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common158},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common160},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common166},"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.common164,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common160},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common160,"links.members.@userId.isInviting":common.common169,"links.members.@userId.toBeValidated":common.common169},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common160,"links.members.@{pathParams.id}.isInviting":common.common169,"links.members.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"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.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common178,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"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.common160,"links.memberOf.@{pathParams.id}.isInviting":common.common169,"links.memberOf.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common178,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"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.common160,"links.friends.@{pathParams.id}.isInviting":common.common169,"links.friends.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common184,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.followers.@userId":common.common160,"links.followers.@{userId}.isInviting":common.common169,"links.followers.@{userId}.toBeValidated":common.common169},"patternProperties":common.common189,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common184},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common184,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.followers.@{pathParams.id}":common.common160,"links.followers.@{pathParams.id}.isInviting":common.common169,"links.followers.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":common.common189,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common184},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common190],"default":{"links.follows.@userId":common.common160,"links.follows.@{userId}.isInviting":common.common169,"links.follows.@{userId}.toBeValidated":common.common169},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common193},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common190],"default":{"links.follows.@{pathParams.id}":common.common160},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"type":"object"},"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"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.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common178,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"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.common160,"links.projects.@{pathParams.id}.isInviting":common.common169,"links.projects.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common178,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common194,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"},"isParcours":common.common3,"preferences.private":common.common142},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common194},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common196,"fediverse":common.common142,"fields":common.common194,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common198}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common198,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common201,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common201}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common204},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common204,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common200}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common198}}],"type":"object"},"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common205,"GovernmentOrganization":common.common205,"Group":common.common205,"LocalBusiness":common.common205,"NGO":common.common205,"citoyens":common.common205,"projects":common.common205},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common196},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common206,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common210,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common212,"childType":common.common213,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common210,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common212,"childType":common.common213,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common215,"id":common.common216,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common143},"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.common200,"collection":common.common215,"id":common.common216,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common129,"slug":common.common1,"transparentCommune":common.common129,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common217,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common218,"hours":{"items":common.common219,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common222,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common225,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common226,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common143,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common229,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common229,"name":common.common1,"parent":common.common226,"scope":common.common143,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common172}},"properties":{"address":common.common74,"collection":common.common230,"email":common.common30,"endDate":common.common231,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common218,"hours":{"default":[],"items":common.common219,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common226,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common129,"scope":common.common143,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common231,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common128,"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.common128,"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.common232,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"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.common233,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common233,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common232},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common128},{"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.common128},{"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.common236,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common129,"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.common237,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common236},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common222,"public":common.common110,"scope":common.common143,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common236,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common237,"narative":common.common1,"scope":common.common143},"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.common129,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common231,"fediverse":common.common129,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common160,"organizer.@userId":common.common160},"links.attendees.@userId":common.common160},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common231,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common230},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common135,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common238,"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.common242,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common238,"projects":common.common238},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common212,"childType":common.common213,"parentId":common.common11,"parentType":common.common214},"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.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"count":common.common87,"countType":common.common244,"fediverse":common.common129,"fields":common.common33,"filters":common.common246,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common200,"name":common.common1,"notSourceKey":common.common200,"options":common.common248,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common244,"sortBy":common.common252,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common257,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common254,"request":common.common260},{"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.common254,"request":common.common260},{"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.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"regions":common.common257,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common254,"request":common.common260},{"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.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common193},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"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.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common178,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"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.common160,"links.events.@{pathParams.id}.isInviting":common.common169,"links.events.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common178,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"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.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"count":common.common87,"countType":common.common262,"fediverse":common.common129,"fields":common.common33,"filters":common.common246,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common200,"name":common.common1,"notSourceKey":common.common200,"options":common.common248,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common262,"sortBy":common.common252,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common247,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common264,"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.common264,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common265,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common266},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common266,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common128},{"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.common183,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common247},"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common267,"level":common.common267,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common1},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common247,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common231,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common156,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common231,"milestoneId":common.common11,"startDate":common.common231},"required":["milestoneId"],"type":"object"},"min":common.common156,"name":common.common1,"parentId":common.common11,"parentType":common.common225,"startDate":common.common231,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common156,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common11,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common11},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common1,"id":common.common11,"startDate":common.common1},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common11,"contributor":common.common11,"contributors":common.common112,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common128},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common128},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common268},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common270},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common268},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common270},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common270},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common268},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common270},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common232,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common217,"parent":common.common226,"preferences":common.common222,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common265,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
3020
3027
 
3021
3028
  export default endpoints;