@communecter/cocolight-api-client 1.0.130 → 1.0.132

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.
Files changed (48) hide show
  1. package/dist/cocolight-api-client.browser.js +3 -3
  2. package/dist/cocolight-api-client.cjs +1 -1
  3. package/dist/cocolight-api-client.mjs.js +1 -1
  4. package/dist/cocolight-api-client.vite.mjs.js +1 -1
  5. package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
  6. package/package.json +1 -1
  7. package/src/Api.ts +4 -4
  8. package/src/ApiClient.ts +3 -1
  9. package/src/api/Action.ts +535 -4
  10. package/src/api/Answer.ts +4 -1
  11. package/src/api/Badge.ts +5 -0
  12. package/src/api/BaseEntity.ts +118 -7
  13. package/src/api/Classified.ts +4 -0
  14. package/src/api/Comment.ts +3 -0
  15. package/src/api/EndpointApi.ts +96 -1
  16. package/src/api/EndpointApi.types.ts +448 -44
  17. package/src/api/Event.ts +5 -0
  18. package/src/api/Form.ts +64 -2
  19. package/src/api/News.ts +3 -0
  20. package/src/api/Organization.ts +47 -3
  21. package/src/api/Poi.ts +4 -0
  22. package/src/api/Project.ts +61 -0
  23. package/src/api/User.ts +10 -0
  24. package/src/api/serverDataType/Answer.ts +25 -0
  25. package/src/api/serverDataType/Form.ts +84 -4
  26. package/src/api/serverDataType/Organization.ts +13 -0
  27. package/src/api/serverDataType/Project.ts +15 -0
  28. package/src/endpoints.module.ts +1252 -268
  29. package/types/api/Action.d.ts +276 -2
  30. package/types/api/Answer.d.ts +1 -0
  31. package/types/api/Badge.d.ts +1 -0
  32. package/types/api/BaseEntity.d.ts +62 -0
  33. package/types/api/Classified.d.ts +1 -0
  34. package/types/api/Comment.d.ts +1 -0
  35. package/types/api/EndpointApi.d.ts +60 -1
  36. package/types/api/EndpointApi.types.d.ts +397 -41
  37. package/types/api/Event.d.ts +1 -0
  38. package/types/api/Form.d.ts +34 -0
  39. package/types/api/News.d.ts +1 -0
  40. package/types/api/Organization.d.ts +20 -1
  41. package/types/api/Poi.d.ts +1 -0
  42. package/types/api/Project.d.ts +29 -0
  43. package/types/api/User.d.ts +7 -0
  44. package/types/api/serverDataType/Answer.d.ts +22 -0
  45. package/types/api/serverDataType/Form.d.ts +89 -4
  46. package/types/api/serverDataType/Organization.d.ts +13 -0
  47. package/types/api/serverDataType/Project.d.ts +15 -0
  48. package/types/endpoints.module.d.ts +2825 -1491
@@ -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,37 @@ const common = {
1709
1716
  "type": "number"
1710
1717
  }
1711
1718
  },
1712
- "common154": {
1713
- "enum": [
1714
- "ALL"
1715
- ],
1716
- "type": "string"
1717
- },
1718
1719
  "common155": {
1720
+ "anyOf": [
1721
+ {
1722
+ "type": "string"
1723
+ },
1724
+ {
1725
+ "items": {
1726
+ "type": "string"
1727
+ },
1728
+ "minItems": 1,
1729
+ "type": "array"
1730
+ }
1731
+ ]
1732
+ },
1733
+ "common156": {
1734
+ "items": {
1735
+ "type": "string"
1736
+ },
1737
+ "minItems": 1,
1738
+ "type": "array"
1739
+ },
1740
+ "common157": {
1719
1741
  "minimum": 0,
1720
1742
  "type": "integer"
1721
1743
  },
1722
- "common156": {
1744
+ "common158": {
1723
1745
  "default": 0,
1724
1746
  "minimum": 0,
1725
1747
  "type": "integer"
1726
1748
  },
1727
- "common157": {
1749
+ "common159": {
1728
1750
  "const": [
1729
1751
  "projects"
1730
1752
  ],
@@ -1739,16 +1761,16 @@ const common = {
1739
1761
  },
1740
1762
  "type": "array"
1741
1763
  },
1742
- "common158": {
1764
+ "common160": {
1743
1765
  "enum": [
1744
1766
  "projects"
1745
1767
  ],
1746
1768
  "type": "string"
1747
1769
  },
1748
- "common159": {
1770
+ "common161": {
1749
1771
  "$exists": true
1750
1772
  },
1751
- "common160": {
1773
+ "common162": {
1752
1774
  "additionalProperties": false,
1753
1775
  "properties": {
1754
1776
  "$exists": {
@@ -1760,15 +1782,15 @@ const common = {
1760
1782
  ],
1761
1783
  "type": "object"
1762
1784
  },
1763
- "common161": {
1785
+ "common163": {
1764
1786
  "$exists": {
1765
1787
  "const": true
1766
1788
  }
1767
1789
  },
1768
- "common162": {
1790
+ "common164": {
1769
1791
  "const": true
1770
1792
  },
1771
- "common163": {
1793
+ "common165": {
1772
1794
  "additionalProperties": false,
1773
1795
  "else": {
1774
1796
  "properties": {
@@ -1812,7 +1834,7 @@ const common = {
1812
1834
  },
1813
1835
  "type": "object"
1814
1836
  },
1815
- "common164": {
1837
+ "common166": {
1816
1838
  "id": {
1817
1839
  "type": "string"
1818
1840
  },
@@ -1826,7 +1848,7 @@ const common = {
1826
1848
  "type": "string"
1827
1849
  }
1828
1850
  },
1829
- "common165": {
1851
+ "common167": {
1830
1852
  "const": [
1831
1853
  "poi"
1832
1854
  ],
@@ -1841,7 +1863,7 @@ const common = {
1841
1863
  },
1842
1864
  "type": "array"
1843
1865
  },
1844
- "common166": {
1866
+ "common168": {
1845
1867
  "const": [
1846
1868
  "NGO",
1847
1869
  "Cooperative",
@@ -1868,7 +1890,7 @@ const common = {
1868
1890
  },
1869
1891
  "type": "array"
1870
1892
  },
1871
- "common167": {
1893
+ "common169": {
1872
1894
  "enum": [
1873
1895
  "NGO",
1874
1896
  "Cooperative",
@@ -1878,10 +1900,10 @@ const common = {
1878
1900
  ],
1879
1901
  "type": "string"
1880
1902
  },
1881
- "common168": {
1903
+ "common170": {
1882
1904
  "$exists": false
1883
1905
  },
1884
- "common169": {
1906
+ "common171": {
1885
1907
  "additionalProperties": false,
1886
1908
  "properties": {
1887
1909
  "$exists": {
@@ -1893,19 +1915,19 @@ const common = {
1893
1915
  ],
1894
1916
  "type": "object"
1895
1917
  },
1896
- "common170": {
1918
+ "common172": {
1897
1919
  "$exists": {
1898
1920
  "const": false
1899
1921
  }
1900
1922
  },
1901
- "common171": {
1923
+ "common173": {
1902
1924
  "const": false
1903
1925
  },
1904
- "common172": {
1926
+ "common174": {
1905
1927
  "default": 30,
1906
1928
  "type": "integer"
1907
1929
  },
1908
- "common173": {
1930
+ "common175": {
1909
1931
  "default": [
1910
1932
  "citoyens",
1911
1933
  "NGO",
@@ -1927,7 +1949,7 @@ const common = {
1927
1949
  },
1928
1950
  "type": "array"
1929
1951
  },
1930
- "common174": {
1952
+ "common176": {
1931
1953
  "enum": [
1932
1954
  "citoyens",
1933
1955
  "NGO",
@@ -1938,7 +1960,7 @@ const common = {
1938
1960
  ],
1939
1961
  "type": "string"
1940
1962
  },
1941
- "common175": {
1963
+ "common177": {
1942
1964
  "additionalProperties": false,
1943
1965
  "properties": {
1944
1966
  "$exists": {
@@ -1951,13 +1973,13 @@ const common = {
1951
1973
  ],
1952
1974
  "type": "object"
1953
1975
  },
1954
- "common176": {
1976
+ "common178": {
1955
1977
  "$exists": {
1956
1978
  "default": false,
1957
1979
  "type": "boolean"
1958
1980
  }
1959
1981
  },
1960
- "common177": {
1982
+ "common179": {
1961
1983
  "additionalProperties": false,
1962
1984
  "properties": {
1963
1985
  "$in": {
@@ -1973,7 +1995,7 @@ const common = {
1973
1995
  ],
1974
1996
  "type": "object"
1975
1997
  },
1976
- "common178": {
1998
+ "common180": {
1977
1999
  "$in": {
1978
2000
  "items": {
1979
2001
  "type": "string"
@@ -1982,14 +2004,7 @@ const common = {
1982
2004
  "type": "array"
1983
2005
  }
1984
2006
  },
1985
- "common179": {
1986
- "items": {
1987
- "type": "string"
1988
- },
1989
- "minItems": 1,
1990
- "type": "array"
1991
- },
1992
- "common180": {
2007
+ "common181": {
1993
2008
  "default": [
1994
2009
  "citoyens",
1995
2010
  "NGO",
@@ -2012,7 +2027,7 @@ const common = {
2012
2027
  "minItems": 1,
2013
2028
  "type": "array"
2014
2029
  },
2015
- "common181": {
2030
+ "common182": {
2016
2031
  "const": [
2017
2032
  "citoyens"
2018
2033
  ],
@@ -2027,13 +2042,13 @@ const common = {
2027
2042
  },
2028
2043
  "type": "array"
2029
2044
  },
2030
- "common182": {
2045
+ "common183": {
2031
2046
  "enum": [
2032
2047
  "citoyens"
2033
2048
  ],
2034
2049
  "type": "string"
2035
2050
  },
2036
- "common183": {
2051
+ "common184": {
2037
2052
  "const": [
2038
2053
  "citoyens",
2039
2054
  "NGO",
@@ -2066,7 +2081,7 @@ const common = {
2066
2081
  },
2067
2082
  "type": "array"
2068
2083
  },
2069
- "common184": {
2084
+ "common185": {
2070
2085
  "enum": [
2071
2086
  "citoyens",
2072
2087
  "NGO",
@@ -2078,22 +2093,22 @@ const common = {
2078
2093
  ],
2079
2094
  "type": "string"
2080
2095
  },
2081
- "common185": {
2096
+ "common186": {
2082
2097
  "not": {
2083
2098
  "propertyNames": {
2084
2099
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2085
2100
  }
2086
2101
  }
2087
2102
  },
2088
- "common186": {
2103
+ "common187": {
2089
2104
  "propertyNames": {
2090
2105
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2091
2106
  }
2092
2107
  },
2093
- "common187": {
2108
+ "common188": {
2094
2109
  "pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2095
2110
  },
2096
- "common188": {
2111
+ "common189": {
2097
2112
  "^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
2098
2113
  "additionalProperties": false,
2099
2114
  "properties": {
@@ -2131,22 +2146,22 @@ const common = {
2131
2146
  "type": "object"
2132
2147
  }
2133
2148
  },
2134
- "common189": {
2149
+ "common190": {
2135
2150
  "not": {
2136
2151
  "propertyNames": {
2137
2152
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2138
2153
  }
2139
2154
  }
2140
2155
  },
2141
- "common190": {
2156
+ "common191": {
2142
2157
  "propertyNames": {
2143
2158
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2144
2159
  }
2145
2160
  },
2146
- "common191": {
2161
+ "common192": {
2147
2162
  "pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
2148
2163
  },
2149
- "common192": {
2164
+ "common193": {
2150
2165
  "default": "citoyens",
2151
2166
  "enum": [
2152
2167
  "citoyens",
@@ -2155,7 +2170,7 @@ const common = {
2155
2170
  ],
2156
2171
  "type": "string"
2157
2172
  },
2158
- "common193": {
2173
+ "common194": {
2159
2174
  "const": [
2160
2175
  "badges"
2161
2176
  ],
@@ -2170,13 +2185,13 @@ const common = {
2170
2185
  },
2171
2186
  "type": "array"
2172
2187
  },
2173
- "common194": {
2188
+ "common195": {
2174
2189
  "enum": [
2175
2190
  "badges"
2176
2191
  ],
2177
2192
  "type": "string"
2178
2193
  },
2179
- "common195": {
2194
+ "common196": {
2180
2195
  "const": [
2181
2196
  "citoyens",
2182
2197
  "projects",
@@ -2209,7 +2224,7 @@ const common = {
2209
2224
  },
2210
2225
  "type": "array"
2211
2226
  },
2212
- "common196": {
2227
+ "common197": {
2213
2228
  "enum": [
2214
2229
  "citoyens",
2215
2230
  "projects",
@@ -2221,7 +2236,7 @@ const common = {
2221
2236
  ],
2222
2237
  "type": "string"
2223
2238
  },
2224
- "common197": {
2239
+ "common198": {
2225
2240
  "additionalProperties": false,
2226
2241
  "properties": {
2227
2242
  "$exists": {
@@ -2234,17 +2249,17 @@ const common = {
2234
2249
  ],
2235
2250
  "type": "object"
2236
2251
  },
2237
- "common198": {
2252
+ "common199": {
2238
2253
  "$exists": {
2239
2254
  "const": true,
2240
2255
  "type": "boolean"
2241
2256
  }
2242
2257
  },
2243
- "common199": {
2258
+ "common200": {
2244
2259
  "const": true,
2245
2260
  "type": "boolean"
2246
2261
  },
2247
- "common200": {
2262
+ "common201": {
2248
2263
  "additionalProperties": false,
2249
2264
  "properties": {
2250
2265
  "$exists": {
@@ -2257,17 +2272,17 @@ const common = {
2257
2272
  ],
2258
2273
  "type": "object"
2259
2274
  },
2260
- "common201": {
2275
+ "common202": {
2261
2276
  "$exists": {
2262
2277
  "const": false,
2263
2278
  "type": "boolean"
2264
2279
  }
2265
2280
  },
2266
- "common202": {
2281
+ "common203": {
2267
2282
  "const": false,
2268
2283
  "type": "boolean"
2269
2284
  },
2270
- "common203": {
2285
+ "common204": {
2271
2286
  "badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
2272
2287
  "additionalProperties": false,
2273
2288
  "properties": {
@@ -2295,52 +2310,52 @@ const common = {
2295
2310
  "type": "object"
2296
2311
  }
2297
2312
  },
2298
- "common204": {
2313
+ "common205": {
2299
2314
  "indexMax": 30,
2300
2315
  "indexMin": 0
2301
2316
  },
2302
- "common205": {
2317
+ "common206": {
2303
2318
  "properties": {
2304
2319
  "parentType": {
2305
2320
  "const": "organizations"
2306
2321
  }
2307
2322
  }
2308
2323
  },
2309
- "common206": {
2324
+ "common207": {
2310
2325
  "parentType": {
2311
2326
  "const": "organizations"
2312
2327
  }
2313
2328
  },
2314
- "common207": {
2329
+ "common208": {
2315
2330
  "properties": {
2316
2331
  "parentType": {
2317
2332
  "const": "projects"
2318
2333
  }
2319
2334
  }
2320
2335
  },
2321
- "common208": {
2336
+ "common209": {
2322
2337
  "parentType": {
2323
2338
  "const": "projects"
2324
2339
  }
2325
2340
  },
2326
- "common209": {
2341
+ "common210": {
2327
2342
  "properties": {
2328
2343
  "parentType": {
2329
2344
  "const": "events"
2330
2345
  }
2331
2346
  }
2332
2347
  },
2333
- "common210": {
2348
+ "common211": {
2334
2349
  "parentType": {
2335
2350
  "const": "events"
2336
2351
  }
2337
2352
  },
2338
- "common211": {
2353
+ "common212": {
2339
2354
  "default": "@userId",
2340
2355
  "pattern": "^([a-f0-9]{24}|@\\w+)$",
2341
2356
  "type": "string"
2342
2357
  },
2343
- "common212": {
2358
+ "common213": {
2344
2359
  "const": "citoyens",
2345
2360
  "default": "citoyens",
2346
2361
  "enum": [
@@ -2348,7 +2363,7 @@ const common = {
2348
2363
  ],
2349
2364
  "type": "string"
2350
2365
  },
2351
- "common213": {
2366
+ "common214": {
2352
2367
  "enum": [
2353
2368
  "citoyens",
2354
2369
  "organizations",
@@ -2357,22 +2372,22 @@ const common = {
2357
2372
  ],
2358
2373
  "type": "string"
2359
2374
  },
2360
- "common214": {
2375
+ "common215": {
2361
2376
  "const": "citoyens",
2362
2377
  "default": "citoyens",
2363
2378
  "type": "string"
2364
2379
  },
2365
- "common215": {
2380
+ "common216": {
2366
2381
  "const": "@userId",
2367
2382
  "default": "@userId",
2368
2383
  "pattern": "^(?:[a-f0-9]{24}|@userId)$",
2369
2384
  "type": "string"
2370
2385
  },
2371
- "common216": {
2386
+ "common217": {
2372
2387
  "minLength": 3,
2373
2388
  "type": "string"
2374
2389
  },
2375
- "common217": {
2390
+ "common218": {
2376
2391
  "enum": [
2377
2392
  "Mo",
2378
2393
  "Tu",
@@ -2384,7 +2399,7 @@ const common = {
2384
2399
  ],
2385
2400
  "type": "string"
2386
2401
  },
2387
- "common218": {
2402
+ "common219": {
2388
2403
  "additionalProperties": false,
2389
2404
  "properties": {
2390
2405
  "closes": {
@@ -2402,7 +2417,7 @@ const common = {
2402
2417
  ],
2403
2418
  "type": "object"
2404
2419
  },
2405
- "common219": {
2420
+ "common220": {
2406
2421
  "closes": {
2407
2422
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2408
2423
  "type": "string"
@@ -2412,11 +2427,11 @@ const common = {
2412
2427
  "type": "string"
2413
2428
  }
2414
2429
  },
2415
- "common220": {
2430
+ "common221": {
2416
2431
  "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
2417
2432
  "type": "string"
2418
2433
  },
2419
- "common221": {
2434
+ "common222": {
2420
2435
  "default": {
2421
2436
  "isOpenData": true,
2422
2437
  "isOpenEdition": true
@@ -2437,11 +2452,11 @@ const common = {
2437
2452
  ],
2438
2453
  "type": "object"
2439
2454
  },
2440
- "common222": {
2455
+ "common223": {
2441
2456
  "isOpenData": true,
2442
2457
  "isOpenEdition": true
2443
2458
  },
2444
- "common223": {
2459
+ "common224": {
2445
2460
  "isOpenData": {
2446
2461
  "default": true,
2447
2462
  "type": "boolean"
@@ -2451,12 +2466,12 @@ const common = {
2451
2466
  "type": "boolean"
2452
2467
  }
2453
2468
  },
2454
- "common224": {
2469
+ "common225": {
2455
2470
  "const": "projects",
2456
2471
  "default": "projects",
2457
2472
  "type": "string"
2458
2473
  },
2459
- "common225": {
2474
+ "common226": {
2460
2475
  "additionalProperties": false,
2461
2476
  "default": {
2462
2477
  "@userId": {
@@ -2482,32 +2497,32 @@ const common = {
2482
2497
  },
2483
2498
  "type": "object"
2484
2499
  },
2485
- "common226": {
2500
+ "common227": {
2486
2501
  "@userId": {
2487
2502
  "type": "citoyens"
2488
2503
  }
2489
2504
  },
2490
- "common227": {
2505
+ "common228": {
2491
2506
  "type": "citoyens"
2492
2507
  },
2493
- "common228": {
2508
+ "common229": {
2494
2509
  "const": "poi",
2495
2510
  "default": "poi",
2496
2511
  "type": "string"
2497
2512
  },
2498
- "common229": {
2513
+ "common230": {
2499
2514
  "const": "events",
2500
2515
  "default": "events",
2501
2516
  "type": "string"
2502
2517
  },
2503
- "common230": {
2518
+ "common231": {
2504
2519
  "format": "date-time",
2505
2520
  "type": "string"
2506
2521
  },
2507
- "common231": {
2522
+ "common232": {
2508
2523
  "type": "integer"
2509
2524
  },
2510
- "common232": {
2525
+ "common233": {
2511
2526
  "additionalProperties": false,
2512
2527
  "properties": {
2513
2528
  "id": {
@@ -2527,7 +2542,7 @@ const common = {
2527
2542
  ],
2528
2543
  "type": "object"
2529
2544
  },
2530
- "common233": {
2545
+ "common234": {
2531
2546
  "id": {
2532
2547
  "default": "@userId",
2533
2548
  "pattern": "^[a-f0-9]{24}$",
@@ -2539,22 +2554,22 @@ const common = {
2539
2554
  "type": "string"
2540
2555
  }
2541
2556
  },
2542
- "common234": {
2557
+ "common235": {
2543
2558
  "default": "@userId",
2544
2559
  "pattern": "^[a-f0-9]{24}$",
2545
2560
  "type": "string"
2546
2561
  },
2547
- "common235": {
2562
+ "common236": {
2548
2563
  "const": "badges",
2549
2564
  "default": "badges",
2550
2565
  "type": "string"
2551
2566
  },
2552
- "common236": {
2567
+ "common237": {
2553
2568
  "const": "badge",
2554
2569
  "default": "badge",
2555
2570
  "type": "string"
2556
2571
  },
2557
- "common237": {
2572
+ "common238": {
2558
2573
  "patternProperties": {
2559
2574
  "^[0-9a-f]{24}$": {
2560
2575
  "additionalProperties": false,
@@ -2569,167 +2584,1108 @@ const common = {
2569
2584
  },
2570
2585
  "name": {
2571
2586
  "type": "string"
2572
- },
2573
- "roles": {
2574
- "items": {
2575
- "type": "string"
2576
- },
2577
- "type": "array"
2587
+ },
2588
+ "roles": {
2589
+ "items": {
2590
+ "type": "string"
2591
+ },
2592
+ "type": "array"
2593
+ }
2594
+ },
2595
+ "required": [
2596
+ "name"
2597
+ ],
2598
+ "type": "object"
2599
+ }
2600
+ },
2601
+ "type": "object"
2602
+ },
2603
+ "common239": {
2604
+ "^[0-9a-f]{24}$": {
2605
+ "additionalProperties": false,
2606
+ "properties": {
2607
+ "isAdmin": {
2608
+ "default": "",
2609
+ "enum": [
2610
+ "",
2611
+ "admin"
2612
+ ],
2613
+ "type": "string"
2614
+ },
2615
+ "name": {
2616
+ "type": "string"
2617
+ },
2618
+ "roles": {
2619
+ "items": {
2620
+ "type": "string"
2621
+ },
2622
+ "type": "array"
2623
+ }
2624
+ },
2625
+ "required": [
2626
+ "name"
2627
+ ],
2628
+ "type": "object"
2629
+ }
2630
+ },
2631
+ "common240": {
2632
+ "additionalProperties": false,
2633
+ "properties": {
2634
+ "isAdmin": {
2635
+ "default": "",
2636
+ "enum": [
2637
+ "",
2638
+ "admin"
2639
+ ],
2640
+ "type": "string"
2641
+ },
2642
+ "name": {
2643
+ "type": "string"
2644
+ },
2645
+ "roles": {
2646
+ "items": {
2647
+ "type": "string"
2648
+ },
2649
+ "type": "array"
2650
+ }
2651
+ },
2652
+ "required": [
2653
+ "name"
2654
+ ],
2655
+ "type": "object"
2656
+ },
2657
+ "common241": {
2658
+ "isAdmin": {
2659
+ "default": "",
2660
+ "enum": [
2661
+ "",
2662
+ "admin"
2663
+ ],
2664
+ "type": "string"
2665
+ },
2666
+ "name": {
2667
+ "type": "string"
2668
+ },
2669
+ "roles": {
2670
+ "items": {
2671
+ "type": "string"
2672
+ },
2673
+ "type": "array"
2674
+ }
2675
+ },
2676
+ "common242": {
2677
+ "default": "",
2678
+ "enum": [
2679
+ "",
2680
+ "admin"
2681
+ ],
2682
+ "type": "string"
2683
+ },
2684
+ "common243": {
2685
+ "additionalProperties": false,
2686
+ "properties": {
2687
+ "contextId": {
2688
+ "pattern": "^[a-f0-9]{24}$",
2689
+ "type": "string"
2690
+ },
2691
+ "contextType": {
2692
+ "enum": [
2693
+ "projects",
2694
+ "organizations"
2695
+ ],
2696
+ "type": "string"
2697
+ },
2698
+ "costumEditMode": {
2699
+ "default": false,
2700
+ "type": "boolean"
2701
+ },
2702
+ "costumId": {
2703
+ "pattern": "^[a-f0-9]{24}$",
2704
+ "type": "string"
2705
+ },
2706
+ "costumSlug": {
2707
+ "type": "string"
2708
+ },
2709
+ "costumType": {
2710
+ "enum": [
2711
+ "projects",
2712
+ "organizations"
2713
+ ],
2714
+ "type": "string"
2715
+ },
2716
+ "count": {
2717
+ "const": true,
2718
+ "default": true,
2719
+ "type": "boolean"
2720
+ },
2721
+ "countType": {
2722
+ "items": {
2723
+ "enum": [
2724
+ "NGO",
2725
+ "LocalBusiness",
2726
+ "Group",
2727
+ "GovernmentOrganization",
2728
+ "Cooperative",
2729
+ "organizations",
2730
+ "projects",
2731
+ "events",
2732
+ "citoyens",
2733
+ "poi",
2734
+ "answers",
2735
+ "forms",
2736
+ "classifieds"
2737
+ ],
2738
+ "type": "string"
2739
+ },
2740
+ "type": "array"
2741
+ },
2742
+ "fediverse": {
2743
+ "default": false,
2744
+ "type": "boolean"
2745
+ },
2746
+ "fields": {
2747
+ "items": {
2748
+ "type": "string"
2749
+ },
2750
+ "type": "array"
2751
+ },
2752
+ "filters": {
2753
+ "default": "",
2754
+ "oneOf": [
2755
+ {
2756
+ "additionalProperties": true,
2757
+ "type": "object"
2758
+ },
2759
+ {
2760
+ "const": "",
2761
+ "type": "string"
2762
+ }
2763
+ ]
2764
+ },
2765
+ "indexMax": {
2766
+ "type": "number"
2767
+ },
2768
+ "indexMin": {
2769
+ "default": 0,
2770
+ "type": "number"
2771
+ },
2772
+ "indexStep": {
2773
+ "default": 30,
2774
+ "type": "number"
2775
+ },
2776
+ "initType": {
2777
+ "const": "",
2778
+ "default": "",
2779
+ "type": "string"
2780
+ },
2781
+ "locality": {
2782
+ "oneOf": [
2783
+ {
2784
+ "additionalProperties": false,
2785
+ "patternProperties": {
2786
+ "^[^\\s]+$": {
2787
+ "additionalProperties": false,
2788
+ "properties": {
2789
+ "countryCode": {
2790
+ "type": "string"
2791
+ },
2792
+ "id": {
2793
+ "type": "string"
2794
+ },
2795
+ "level": {
2796
+ "type": [
2797
+ "string",
2798
+ "number"
2799
+ ]
2800
+ },
2801
+ "name": {
2802
+ "type": "string"
2803
+ },
2804
+ "postalCode": {
2805
+ "type": "string"
2806
+ },
2807
+ "type": {
2808
+ "enum": [
2809
+ "cities",
2810
+ "cp",
2811
+ "country",
2812
+ "level1",
2813
+ "level2",
2814
+ "level3",
2815
+ "level4",
2816
+ "level5"
2817
+ ],
2818
+ "type": "string"
2819
+ }
2820
+ },
2821
+ "required": [
2822
+ "id",
2823
+ "type"
2824
+ ],
2825
+ "type": "object"
2826
+ }
2827
+ },
2828
+ "type": "object"
2829
+ },
2830
+ {
2831
+ "items": {
2832
+ "additionalProperties": false,
2833
+ "properties": {
2834
+ "countryCode": {
2835
+ "type": "string"
2836
+ },
2837
+ "id": {
2838
+ "type": "string"
2839
+ },
2840
+ "level": {
2841
+ "type": [
2842
+ "string",
2843
+ "number"
2844
+ ]
2845
+ },
2846
+ "name": {
2847
+ "type": "string"
2848
+ },
2849
+ "postalCode": {
2850
+ "type": "string"
2851
+ },
2852
+ "type": {
2853
+ "enum": [
2854
+ "cities",
2855
+ "cp",
2856
+ "country",
2857
+ "level1",
2858
+ "level2",
2859
+ "level3",
2860
+ "level4",
2861
+ "level5"
2862
+ ],
2863
+ "type": "string"
2864
+ }
2865
+ },
2866
+ "required": [
2867
+ "id",
2868
+ "type"
2869
+ ],
2870
+ "type": "object"
2871
+ },
2872
+ "type": "array"
2873
+ },
2874
+ {
2875
+ "const": "",
2876
+ "type": "string"
2877
+ }
2878
+ ]
2879
+ },
2880
+ "mapUsed": {
2881
+ "const": true,
2882
+ "type": "boolean"
2883
+ },
2884
+ "mode": {
2885
+ "type": "string"
2886
+ },
2887
+ "name": {
2888
+ "type": "string"
2889
+ },
2890
+ "notSourceKey": {
2891
+ "const": true,
2892
+ "type": "boolean"
2893
+ },
2894
+ "options": {
2895
+ "additionalProperties": true,
2896
+ "properties": {
2897
+ "tags": {
2898
+ "additionalProperties": true,
2899
+ "properties": {
2900
+ "verb": {
2901
+ "type": "string"
2902
+ }
2903
+ },
2904
+ "type": "object"
2905
+ }
2906
+ },
2907
+ "type": "object"
2908
+ },
2909
+ "ranges": {
2910
+ "additionalProperties": false,
2911
+ "patternProperties": {
2912
+ "^[^\\s]+$": {
2913
+ "additionalProperties": false,
2914
+ "properties": {
2915
+ "indexMax": {
2916
+ "type": "number"
2917
+ },
2918
+ "indexMin": {
2919
+ "type": "number"
2920
+ }
2921
+ },
2922
+ "required": [
2923
+ "indexMin",
2924
+ "indexMax"
2925
+ ],
2926
+ "type": "object"
2927
+ }
2928
+ },
2929
+ "type": "object"
2930
+ },
2931
+ "searchBy": {
2932
+ "anyOf": [
2933
+ {
2934
+ "type": "string"
2935
+ },
2936
+ {
2937
+ "items": {
2938
+ "type": "string"
2939
+ },
2940
+ "minItems": 1,
2941
+ "type": "array"
2942
+ }
2943
+ ]
2944
+ },
2945
+ "searchTags": {
2946
+ "items": {
2947
+ "type": "string"
2948
+ },
2949
+ "type": "array"
2950
+ },
2951
+ "searchType": {
2952
+ "items": {
2953
+ "enum": [
2954
+ "NGO",
2955
+ "LocalBusiness",
2956
+ "Group",
2957
+ "GovernmentOrganization",
2958
+ "Cooperative",
2959
+ "organizations",
2960
+ "projects",
2961
+ "events",
2962
+ "citoyens",
2963
+ "poi",
2964
+ "answers",
2965
+ "forms",
2966
+ "classifieds"
2967
+ ],
2968
+ "type": "string"
2969
+ },
2970
+ "type": "array"
2971
+ },
2972
+ "sortBy": {
2973
+ "additionalProperties": {
2974
+ "enum": [
2975
+ 1,
2976
+ -1
2977
+ ],
2978
+ "type": "integer"
2979
+ },
2980
+ "type": "object"
2981
+ },
2982
+ "sourceKey": {
2983
+ "items": {
2984
+ "type": "string"
2985
+ },
2986
+ "type": "array"
2987
+ }
2988
+ },
2989
+ "required": [
2990
+ "searchType",
2991
+ "countType",
2992
+ "indexMin",
2993
+ "indexStep",
2994
+ "initType",
2995
+ "count",
2996
+ "fediverse",
2997
+ "costumSlug",
2998
+ "costumEditMode"
2999
+ ],
3000
+ "type": "object"
3001
+ },
3002
+ "common244": {
3003
+ "contextId": {
3004
+ "pattern": "^[a-f0-9]{24}$",
3005
+ "type": "string"
3006
+ },
3007
+ "contextType": {
3008
+ "enum": [
3009
+ "projects",
3010
+ "organizations"
3011
+ ],
3012
+ "type": "string"
3013
+ },
3014
+ "costumEditMode": {
3015
+ "default": false,
3016
+ "type": "boolean"
3017
+ },
3018
+ "costumId": {
3019
+ "pattern": "^[a-f0-9]{24}$",
3020
+ "type": "string"
3021
+ },
3022
+ "costumSlug": {
3023
+ "type": "string"
3024
+ },
3025
+ "costumType": {
3026
+ "enum": [
3027
+ "projects",
3028
+ "organizations"
3029
+ ],
3030
+ "type": "string"
3031
+ },
3032
+ "count": {
3033
+ "const": true,
3034
+ "default": true,
3035
+ "type": "boolean"
3036
+ },
3037
+ "countType": {
3038
+ "items": {
3039
+ "enum": [
3040
+ "NGO",
3041
+ "LocalBusiness",
3042
+ "Group",
3043
+ "GovernmentOrganization",
3044
+ "Cooperative",
3045
+ "organizations",
3046
+ "projects",
3047
+ "events",
3048
+ "citoyens",
3049
+ "poi",
3050
+ "answers",
3051
+ "forms",
3052
+ "classifieds"
3053
+ ],
3054
+ "type": "string"
3055
+ },
3056
+ "type": "array"
3057
+ },
3058
+ "fediverse": {
3059
+ "default": false,
3060
+ "type": "boolean"
3061
+ },
3062
+ "fields": {
3063
+ "items": {
3064
+ "type": "string"
3065
+ },
3066
+ "type": "array"
3067
+ },
3068
+ "filters": {
3069
+ "default": "",
3070
+ "oneOf": [
3071
+ {
3072
+ "additionalProperties": true,
3073
+ "type": "object"
3074
+ },
3075
+ {
3076
+ "const": "",
3077
+ "type": "string"
3078
+ }
3079
+ ]
3080
+ },
3081
+ "indexMax": {
3082
+ "type": "number"
3083
+ },
3084
+ "indexMin": {
3085
+ "default": 0,
3086
+ "type": "number"
3087
+ },
3088
+ "indexStep": {
3089
+ "default": 30,
3090
+ "type": "number"
3091
+ },
3092
+ "initType": {
3093
+ "const": "",
3094
+ "default": "",
3095
+ "type": "string"
3096
+ },
3097
+ "locality": {
3098
+ "oneOf": [
3099
+ {
3100
+ "additionalProperties": false,
3101
+ "patternProperties": {
3102
+ "^[^\\s]+$": {
3103
+ "additionalProperties": false,
3104
+ "properties": {
3105
+ "countryCode": {
3106
+ "type": "string"
3107
+ },
3108
+ "id": {
3109
+ "type": "string"
3110
+ },
3111
+ "level": {
3112
+ "type": [
3113
+ "string",
3114
+ "number"
3115
+ ]
3116
+ },
3117
+ "name": {
3118
+ "type": "string"
3119
+ },
3120
+ "postalCode": {
3121
+ "type": "string"
3122
+ },
3123
+ "type": {
3124
+ "enum": [
3125
+ "cities",
3126
+ "cp",
3127
+ "country",
3128
+ "level1",
3129
+ "level2",
3130
+ "level3",
3131
+ "level4",
3132
+ "level5"
3133
+ ],
3134
+ "type": "string"
3135
+ }
3136
+ },
3137
+ "required": [
3138
+ "id",
3139
+ "type"
3140
+ ],
3141
+ "type": "object"
3142
+ }
3143
+ },
3144
+ "type": "object"
3145
+ },
3146
+ {
3147
+ "items": {
3148
+ "additionalProperties": false,
3149
+ "properties": {
3150
+ "countryCode": {
3151
+ "type": "string"
3152
+ },
3153
+ "id": {
3154
+ "type": "string"
3155
+ },
3156
+ "level": {
3157
+ "type": [
3158
+ "string",
3159
+ "number"
3160
+ ]
3161
+ },
3162
+ "name": {
3163
+ "type": "string"
3164
+ },
3165
+ "postalCode": {
3166
+ "type": "string"
3167
+ },
3168
+ "type": {
3169
+ "enum": [
3170
+ "cities",
3171
+ "cp",
3172
+ "country",
3173
+ "level1",
3174
+ "level2",
3175
+ "level3",
3176
+ "level4",
3177
+ "level5"
3178
+ ],
3179
+ "type": "string"
3180
+ }
3181
+ },
3182
+ "required": [
3183
+ "id",
3184
+ "type"
3185
+ ],
3186
+ "type": "object"
3187
+ },
3188
+ "type": "array"
3189
+ },
3190
+ {
3191
+ "const": "",
3192
+ "type": "string"
3193
+ }
3194
+ ]
3195
+ },
3196
+ "mapUsed": {
3197
+ "const": true,
3198
+ "type": "boolean"
3199
+ },
3200
+ "mode": {
3201
+ "type": "string"
3202
+ },
3203
+ "name": {
3204
+ "type": "string"
3205
+ },
3206
+ "notSourceKey": {
3207
+ "const": true,
3208
+ "type": "boolean"
3209
+ },
3210
+ "options": {
3211
+ "additionalProperties": true,
3212
+ "properties": {
3213
+ "tags": {
3214
+ "additionalProperties": true,
3215
+ "properties": {
3216
+ "verb": {
3217
+ "type": "string"
3218
+ }
3219
+ },
3220
+ "type": "object"
3221
+ }
3222
+ },
3223
+ "type": "object"
3224
+ },
3225
+ "ranges": {
3226
+ "additionalProperties": false,
3227
+ "patternProperties": {
3228
+ "^[^\\s]+$": {
3229
+ "additionalProperties": false,
3230
+ "properties": {
3231
+ "indexMax": {
3232
+ "type": "number"
3233
+ },
3234
+ "indexMin": {
3235
+ "type": "number"
3236
+ }
3237
+ },
3238
+ "required": [
3239
+ "indexMin",
3240
+ "indexMax"
3241
+ ],
3242
+ "type": "object"
3243
+ }
3244
+ },
3245
+ "type": "object"
3246
+ },
3247
+ "searchBy": {
3248
+ "anyOf": [
3249
+ {
3250
+ "type": "string"
3251
+ },
3252
+ {
3253
+ "items": {
3254
+ "type": "string"
3255
+ },
3256
+ "minItems": 1,
3257
+ "type": "array"
3258
+ }
3259
+ ]
3260
+ },
3261
+ "searchTags": {
3262
+ "items": {
3263
+ "type": "string"
3264
+ },
3265
+ "type": "array"
3266
+ },
3267
+ "searchType": {
3268
+ "items": {
3269
+ "enum": [
3270
+ "NGO",
3271
+ "LocalBusiness",
3272
+ "Group",
3273
+ "GovernmentOrganization",
3274
+ "Cooperative",
3275
+ "organizations",
3276
+ "projects",
3277
+ "events",
3278
+ "citoyens",
3279
+ "poi",
3280
+ "answers",
3281
+ "forms",
3282
+ "classifieds"
3283
+ ],
3284
+ "type": "string"
3285
+ },
3286
+ "type": "array"
3287
+ },
3288
+ "sortBy": {
3289
+ "additionalProperties": {
3290
+ "enum": [
3291
+ 1,
3292
+ -1
3293
+ ],
3294
+ "type": "integer"
3295
+ },
3296
+ "type": "object"
3297
+ },
3298
+ "sourceKey": {
3299
+ "items": {
3300
+ "type": "string"
3301
+ },
3302
+ "type": "array"
3303
+ }
3304
+ },
3305
+ "common245": {
3306
+ "enum": [
3307
+ "projects",
3308
+ "organizations"
3309
+ ],
3310
+ "type": "string"
3311
+ },
3312
+ "common246": {
3313
+ "items": {
3314
+ "enum": [
3315
+ "NGO",
3316
+ "LocalBusiness",
3317
+ "Group",
3318
+ "GovernmentOrganization",
3319
+ "Cooperative",
3320
+ "organizations",
3321
+ "projects",
3322
+ "events",
3323
+ "citoyens",
3324
+ "poi",
3325
+ "answers",
3326
+ "forms",
3327
+ "classifieds"
3328
+ ],
3329
+ "type": "string"
3330
+ },
3331
+ "type": "array"
3332
+ },
3333
+ "common247": {
3334
+ "enum": [
3335
+ "NGO",
3336
+ "LocalBusiness",
3337
+ "Group",
3338
+ "GovernmentOrganization",
3339
+ "Cooperative",
3340
+ "organizations",
3341
+ "projects",
3342
+ "events",
3343
+ "citoyens",
3344
+ "poi",
3345
+ "answers",
3346
+ "forms",
3347
+ "classifieds"
3348
+ ],
3349
+ "type": "string"
3350
+ },
3351
+ "common248": {
3352
+ "default": "",
3353
+ "oneOf": [
3354
+ {
3355
+ "additionalProperties": true,
3356
+ "type": "object"
3357
+ },
3358
+ {
3359
+ "const": "",
3360
+ "type": "string"
3361
+ }
3362
+ ]
3363
+ },
3364
+ "common249": {
3365
+ "additionalProperties": true,
3366
+ "type": "object"
3367
+ },
3368
+ "common250": {
3369
+ "oneOf": [
3370
+ {
3371
+ "additionalProperties": false,
3372
+ "patternProperties": {
3373
+ "^[^\\s]+$": {
3374
+ "additionalProperties": false,
3375
+ "properties": {
3376
+ "countryCode": {
3377
+ "type": "string"
3378
+ },
3379
+ "id": {
3380
+ "type": "string"
3381
+ },
3382
+ "level": {
3383
+ "type": [
3384
+ "string",
3385
+ "number"
3386
+ ]
3387
+ },
3388
+ "name": {
3389
+ "type": "string"
3390
+ },
3391
+ "postalCode": {
3392
+ "type": "string"
3393
+ },
3394
+ "type": {
3395
+ "enum": [
3396
+ "cities",
3397
+ "cp",
3398
+ "country",
3399
+ "level1",
3400
+ "level2",
3401
+ "level3",
3402
+ "level4",
3403
+ "level5"
3404
+ ],
3405
+ "type": "string"
3406
+ }
3407
+ },
3408
+ "required": [
3409
+ "id",
3410
+ "type"
3411
+ ],
3412
+ "type": "object"
3413
+ }
3414
+ },
3415
+ "type": "object"
3416
+ },
3417
+ {
3418
+ "items": {
3419
+ "additionalProperties": false,
3420
+ "properties": {
3421
+ "countryCode": {
3422
+ "type": "string"
3423
+ },
3424
+ "id": {
3425
+ "type": "string"
3426
+ },
3427
+ "level": {
3428
+ "type": [
3429
+ "string",
3430
+ "number"
3431
+ ]
3432
+ },
3433
+ "name": {
3434
+ "type": "string"
3435
+ },
3436
+ "postalCode": {
3437
+ "type": "string"
3438
+ },
3439
+ "type": {
3440
+ "enum": [
3441
+ "cities",
3442
+ "cp",
3443
+ "country",
3444
+ "level1",
3445
+ "level2",
3446
+ "level3",
3447
+ "level4",
3448
+ "level5"
3449
+ ],
3450
+ "type": "string"
3451
+ }
3452
+ },
3453
+ "required": [
3454
+ "id",
3455
+ "type"
3456
+ ],
3457
+ "type": "object"
3458
+ },
3459
+ "type": "array"
3460
+ },
3461
+ {
3462
+ "const": "",
3463
+ "type": "string"
3464
+ }
3465
+ ]
3466
+ },
3467
+ "common251": {
3468
+ "additionalProperties": false,
3469
+ "patternProperties": {
3470
+ "^[^\\s]+$": {
3471
+ "additionalProperties": false,
3472
+ "properties": {
3473
+ "countryCode": {
3474
+ "type": "string"
3475
+ },
3476
+ "id": {
3477
+ "type": "string"
3478
+ },
3479
+ "level": {
3480
+ "type": [
3481
+ "string",
3482
+ "number"
3483
+ ]
3484
+ },
3485
+ "name": {
3486
+ "type": "string"
3487
+ },
3488
+ "postalCode": {
3489
+ "type": "string"
3490
+ },
3491
+ "type": {
3492
+ "enum": [
3493
+ "cities",
3494
+ "cp",
3495
+ "country",
3496
+ "level1",
3497
+ "level2",
3498
+ "level3",
3499
+ "level4",
3500
+ "level5"
3501
+ ],
3502
+ "type": "string"
2578
3503
  }
2579
3504
  },
2580
3505
  "required": [
2581
- "name"
3506
+ "id",
3507
+ "type"
2582
3508
  ],
2583
3509
  "type": "object"
2584
3510
  }
2585
3511
  },
2586
3512
  "type": "object"
2587
3513
  },
2588
- "common238": {
2589
- "^[0-9a-f]{24}$": {
3514
+ "common252": {
3515
+ "^[^\\s]+$": {
2590
3516
  "additionalProperties": false,
2591
3517
  "properties": {
2592
- "isAdmin": {
2593
- "default": "",
2594
- "enum": [
2595
- "",
2596
- "admin"
2597
- ],
3518
+ "countryCode": {
3519
+ "type": "string"
3520
+ },
3521
+ "id": {
2598
3522
  "type": "string"
2599
3523
  },
3524
+ "level": {
3525
+ "type": [
3526
+ "string",
3527
+ "number"
3528
+ ]
3529
+ },
2600
3530
  "name": {
2601
3531
  "type": "string"
2602
3532
  },
2603
- "roles": {
2604
- "items": {
2605
- "type": "string"
2606
- },
2607
- "type": "array"
3533
+ "postalCode": {
3534
+ "type": "string"
3535
+ },
3536
+ "type": {
3537
+ "enum": [
3538
+ "cities",
3539
+ "cp",
3540
+ "country",
3541
+ "level1",
3542
+ "level2",
3543
+ "level3",
3544
+ "level4",
3545
+ "level5"
3546
+ ],
3547
+ "type": "string"
2608
3548
  }
2609
3549
  },
2610
3550
  "required": [
2611
- "name"
3551
+ "id",
3552
+ "type"
2612
3553
  ],
2613
3554
  "type": "object"
2614
3555
  }
2615
3556
  },
2616
- "common239": {
3557
+ "common253": {
2617
3558
  "additionalProperties": false,
2618
3559
  "properties": {
2619
- "isAdmin": {
2620
- "default": "",
2621
- "enum": [
2622
- "",
2623
- "admin"
2624
- ],
3560
+ "countryCode": {
2625
3561
  "type": "string"
2626
3562
  },
3563
+ "id": {
3564
+ "type": "string"
3565
+ },
3566
+ "level": {
3567
+ "type": [
3568
+ "string",
3569
+ "number"
3570
+ ]
3571
+ },
2627
3572
  "name": {
2628
3573
  "type": "string"
2629
3574
  },
2630
- "roles": {
2631
- "items": {
2632
- "type": "string"
2633
- },
2634
- "type": "array"
3575
+ "postalCode": {
3576
+ "type": "string"
3577
+ },
3578
+ "type": {
3579
+ "enum": [
3580
+ "cities",
3581
+ "cp",
3582
+ "country",
3583
+ "level1",
3584
+ "level2",
3585
+ "level3",
3586
+ "level4",
3587
+ "level5"
3588
+ ],
3589
+ "type": "string"
2635
3590
  }
2636
3591
  },
2637
3592
  "required": [
2638
- "name"
3593
+ "id",
3594
+ "type"
2639
3595
  ],
2640
3596
  "type": "object"
2641
3597
  },
2642
- "common240": {
2643
- "isAdmin": {
2644
- "default": "",
2645
- "enum": [
2646
- "",
2647
- "admin"
2648
- ],
3598
+ "common254": {
3599
+ "countryCode": {
3600
+ "type": "string"
3601
+ },
3602
+ "id": {
2649
3603
  "type": "string"
2650
3604
  },
3605
+ "level": {
3606
+ "type": [
3607
+ "string",
3608
+ "number"
3609
+ ]
3610
+ },
2651
3611
  "name": {
2652
3612
  "type": "string"
2653
3613
  },
2654
- "roles": {
2655
- "items": {
2656
- "type": "string"
2657
- },
2658
- "type": "array"
3614
+ "postalCode": {
3615
+ "type": "string"
3616
+ },
3617
+ "type": {
3618
+ "enum": [
3619
+ "cities",
3620
+ "cp",
3621
+ "country",
3622
+ "level1",
3623
+ "level2",
3624
+ "level3",
3625
+ "level4",
3626
+ "level5"
3627
+ ],
3628
+ "type": "string"
2659
3629
  }
2660
3630
  },
2661
- "common241": {
2662
- "default": "",
2663
- "enum": [
2664
- "",
2665
- "admin"
2666
- ],
2667
- "type": "string"
2668
- },
2669
- "common242": {
3631
+ "common255": {
2670
3632
  "enum": [
2671
- "projects",
2672
- "organizations"
3633
+ "cities",
3634
+ "cp",
3635
+ "country",
3636
+ "level1",
3637
+ "level2",
3638
+ "level3",
3639
+ "level4",
3640
+ "level5"
2673
3641
  ],
2674
3642
  "type": "string"
2675
3643
  },
2676
- "common243": {
3644
+ "common256": {
2677
3645
  "items": {
2678
- "enum": [
2679
- "NGO",
2680
- "LocalBusiness",
2681
- "Group",
2682
- "GovernmentOrganization",
2683
- "Cooperative",
2684
- "organizations",
2685
- "projects",
2686
- "events",
2687
- "citoyens",
2688
- "poi",
2689
- "answers",
2690
- "forms",
2691
- "classifieds"
3646
+ "additionalProperties": false,
3647
+ "properties": {
3648
+ "countryCode": {
3649
+ "type": "string"
3650
+ },
3651
+ "id": {
3652
+ "type": "string"
3653
+ },
3654
+ "level": {
3655
+ "type": [
3656
+ "string",
3657
+ "number"
3658
+ ]
3659
+ },
3660
+ "name": {
3661
+ "type": "string"
3662
+ },
3663
+ "postalCode": {
3664
+ "type": "string"
3665
+ },
3666
+ "type": {
3667
+ "enum": [
3668
+ "cities",
3669
+ "cp",
3670
+ "country",
3671
+ "level1",
3672
+ "level2",
3673
+ "level3",
3674
+ "level4",
3675
+ "level5"
3676
+ ],
3677
+ "type": "string"
3678
+ }
3679
+ },
3680
+ "required": [
3681
+ "id",
3682
+ "type"
2692
3683
  ],
2693
- "type": "string"
3684
+ "type": "object"
2694
3685
  },
2695
3686
  "type": "array"
2696
3687
  },
2697
- "common244": {
2698
- "enum": [
2699
- "NGO",
2700
- "LocalBusiness",
2701
- "Group",
2702
- "GovernmentOrganization",
2703
- "Cooperative",
2704
- "organizations",
2705
- "projects",
2706
- "events",
2707
- "citoyens",
2708
- "poi",
2709
- "answers",
2710
- "forms",
2711
- "classifieds"
2712
- ],
2713
- "type": "string"
2714
- },
2715
- "common245": {
2716
- "default": "",
2717
- "oneOf": [
2718
- {
2719
- "additionalProperties": true,
2720
- "type": "object"
2721
- },
2722
- {
2723
- "const": "",
2724
- "type": "string"
2725
- }
2726
- ]
2727
- },
2728
- "common246": {
2729
- "additionalProperties": true,
2730
- "type": "object"
2731
- },
2732
- "common247": {
3688
+ "common257": {
2733
3689
  "additionalProperties": true,
2734
3690
  "properties": {
2735
3691
  "tags": {
@@ -2744,7 +3700,7 @@ const common = {
2744
3700
  },
2745
3701
  "type": "object"
2746
3702
  },
2747
- "common248": {
3703
+ "common258": {
2748
3704
  "tags": {
2749
3705
  "additionalProperties": true,
2750
3706
  "properties": {
@@ -2755,7 +3711,7 @@ const common = {
2755
3711
  "type": "object"
2756
3712
  }
2757
3713
  },
2758
- "common249": {
3714
+ "common259": {
2759
3715
  "additionalProperties": true,
2760
3716
  "properties": {
2761
3717
  "verb": {
@@ -2764,12 +3720,12 @@ const common = {
2764
3720
  },
2765
3721
  "type": "object"
2766
3722
  },
2767
- "common250": {
3723
+ "common260": {
2768
3724
  "verb": {
2769
3725
  "type": "string"
2770
3726
  }
2771
3727
  },
2772
- "common251": {
3728
+ "common261": {
2773
3729
  "additionalProperties": {
2774
3730
  "enum": [
2775
3731
  1,
@@ -2779,14 +3735,14 @@ const common = {
2779
3735
  },
2780
3736
  "type": "object"
2781
3737
  },
2782
- "common252": {
3738
+ "common262": {
2783
3739
  "enum": [
2784
3740
  1,
2785
3741
  -1
2786
3742
  ],
2787
3743
  "type": "integer"
2788
3744
  },
2789
- "common253": {
3745
+ "common263": {
2790
3746
  "additionalProperties": false,
2791
3747
  "properties": {
2792
3748
  "id": {
@@ -2804,7 +3760,7 @@ const common = {
2804
3760
  ],
2805
3761
  "type": "object"
2806
3762
  },
2807
- "common254": {
3763
+ "common264": {
2808
3764
  "id": {
2809
3765
  "pattern": "^[a-f0-9]{24}$",
2810
3766
  "type": "string"
@@ -2814,11 +3770,11 @@ const common = {
2814
3770
  "type": "string"
2815
3771
  }
2816
3772
  },
2817
- "common255": {
3773
+ "common265": {
2818
3774
  "default": "events",
2819
3775
  "type": "string"
2820
3776
  },
2821
- "common256": {
3777
+ "common266": {
2822
3778
  "items": {
2823
3779
  "properties": {
2824
3780
  "id": {
@@ -2832,7 +3788,7 @@ const common = {
2832
3788
  },
2833
3789
  "type": "array"
2834
3790
  },
2835
- "common257": {
3791
+ "common267": {
2836
3792
  "properties": {
2837
3793
  "id": {
2838
3794
  "type": "string"
@@ -2843,12 +3799,12 @@ const common = {
2843
3799
  ],
2844
3800
  "type": "object"
2845
3801
  },
2846
- "common258": {
3802
+ "common268": {
2847
3803
  "id": {
2848
3804
  "type": "string"
2849
3805
  }
2850
3806
  },
2851
- "common259": {
3807
+ "common269": {
2852
3808
  "additionalProperties": false,
2853
3809
  "properties": {
2854
3810
  "contextId": {
@@ -2866,9 +3822,23 @@ const common = {
2866
3822
  "default": false,
2867
3823
  "type": "boolean"
2868
3824
  },
3825
+ "costumId": {
3826
+ "pattern": "^[a-f0-9]{24}$",
3827
+ "type": "string"
3828
+ },
2869
3829
  "costumSlug": {
2870
3830
  "type": "string"
2871
3831
  },
3832
+ "costumType": {
3833
+ "enum": [
3834
+ "projects",
3835
+ "organizations"
3836
+ ],
3837
+ "type": "string"
3838
+ },
3839
+ "mode": {
3840
+ "type": "string"
3841
+ },
2872
3842
  "sourceKey": {
2873
3843
  "items": {
2874
3844
  "type": "string"
@@ -2878,7 +3848,7 @@ const common = {
2878
3848
  },
2879
3849
  "type": "object"
2880
3850
  },
2881
- "common260": {
3851
+ "common270": {
2882
3852
  "contextId": {
2883
3853
  "pattern": "^[a-f0-9]{24}$",
2884
3854
  "type": "string"
@@ -2894,9 +3864,23 @@ const common = {
2894
3864
  "default": false,
2895
3865
  "type": "boolean"
2896
3866
  },
3867
+ "costumId": {
3868
+ "pattern": "^[a-f0-9]{24}$",
3869
+ "type": "string"
3870
+ },
2897
3871
  "costumSlug": {
2898
3872
  "type": "string"
2899
3873
  },
3874
+ "costumType": {
3875
+ "enum": [
3876
+ "projects",
3877
+ "organizations"
3878
+ ],
3879
+ "type": "string"
3880
+ },
3881
+ "mode": {
3882
+ "type": "string"
3883
+ },
2900
3884
  "sourceKey": {
2901
3885
  "items": {
2902
3886
  "type": "string"
@@ -2904,7 +3888,7 @@ const common = {
2904
3888
  "type": "array"
2905
3889
  }
2906
3890
  },
2907
- "common261": {
3891
+ "common271": {
2908
3892
  "items": {
2909
3893
  "enum": [
2910
3894
  "answers"
@@ -2913,24 +3897,24 @@ const common = {
2913
3897
  },
2914
3898
  "type": "array"
2915
3899
  },
2916
- "common262": {
3900
+ "common272": {
2917
3901
  "enum": [
2918
3902
  "answers"
2919
3903
  ],
2920
3904
  "type": "string"
2921
3905
  },
2922
- "common263": {
3906
+ "common273": {
2923
3907
  "enum": [
2924
3908
  "comments",
2925
3909
  "news"
2926
3910
  ],
2927
3911
  "type": "string"
2928
3912
  },
2929
- "common264": {
3913
+ "common274": {
2930
3914
  "minLength": 1,
2931
3915
  "type": "string"
2932
3916
  },
2933
- "common265": {
3917
+ "common275": {
2934
3918
  "default": "citoyens",
2935
3919
  "enum": [
2936
3920
  "citoyens",
@@ -2941,10 +3925,10 @@ const common = {
2941
3925
  ],
2942
3926
  "type": "string"
2943
3927
  },
2944
- "common266": {
3928
+ "common276": {
2945
3929
  "type": "array"
2946
3930
  },
2947
- "common267": {
3931
+ "common277": {
2948
3932
  "additionalProperties": true,
2949
3933
  "properties": {
2950
3934
  "costumId": {
@@ -2968,7 +3952,7 @@ const common = {
2968
3952
  ],
2969
3953
  "type": "object"
2970
3954
  },
2971
- "common268": {
3955
+ "common278": {
2972
3956
  "costumId": {
2973
3957
  "type": "string"
2974
3958
  },
@@ -2982,7 +3966,7 @@ const common = {
2982
3966
  "type": "string"
2983
3967
  }
2984
3968
  },
2985
- "common269": {
3969
+ "common279": {
2986
3970
  "additionalProperties": true,
2987
3971
  "properties": {
2988
3972
  "costumId": {
@@ -3002,7 +3986,7 @@ const common = {
3002
3986
  ],
3003
3987
  "type": "object"
3004
3988
  },
3005
- "common270": {
3989
+ "common280": {
3006
3990
  "costumId": {
3007
3991
  "type": "string"
3008
3992
  },
@@ -3016,6 +4000,6 @@ const common = {
3016
4000
  };
3017
4001
 
3018
4002
  // 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"}}]};
4003
+ 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.common157,"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.common158,"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.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common161,"parent.@userId":common.common161},"links.contributors.@userId":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"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.common159},"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.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common161,"parent.@{pathParams.id}":common.common161},"links.contributors.@{pathParams.id}":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"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.common159},"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.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"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.common167},"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.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"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.common167},"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.common168,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common161,"links.members.@userId.isInviting":common.common170,"links.members.@userId.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"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.common168,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common161,"links.members.@{pathParams.id}.isInviting":common.common170,"links.members.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"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.common175,"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.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common179,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"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.common175,"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.common161,"links.memberOf.@{pathParams.id}.isInviting":common.common170,"links.memberOf.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common179,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"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.common161,"links.friends.@{pathParams.id}.isInviting":common.common170,"links.friends.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"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.common161,"links.followers.@{userId}.isInviting":common.common170,"links.followers.@{userId}.toBeValidated":common.common170},"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.common161,"links.followers.@{pathParams.id}.isInviting":common.common170,"links.followers.@{pathParams.id}.toBeValidated":common.common170},"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.common161,"links.follows.@{userId}.isInviting":common.common170,"links.follows.@{userId}.toBeValidated":common.common170},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"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.common161},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"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.common175,"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.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common179,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"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.common175,"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.common161,"links.projects.@{pathParams.id}.isInviting":common.common170,"links.projects.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common179,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"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.common162},"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.common158,"indexStep":common.common174,"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.common173}},"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.common161,"organizer.@userId":common.common161},"links.attendees.@userId":common.common161},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"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":common.common243},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common243},{"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"mode":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.common263,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"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,"mode":common.common1,"regions":common.common266,"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.common263,"request":common.common269},{"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.common263,"request":common.common269},{"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"mode":common.common1,"regions":common.common266,"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.common263,"request":common.common269},{"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"event":common.common1,"mode":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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"event":common.common11,"mode":common.common1,"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.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common179,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"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.common161,"links.events.@{pathParams.id}.isInviting":common.common170,"links.events.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common179,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"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.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"count":common.common87,"countType":common.common271,"fediverse":common.common129,"fields":common.common33,"filters":common.common248,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common200,"mode":common.common1,"name":common.common1,"notSourceKey":common.common200,"options":common.common257,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common271,"sortBy":common.common261,"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.common249,"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.common273,"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.common273,"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.common274,{"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.common275},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common275,"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.common249},"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.common276,"level":common.common276,"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.common249,"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.common157,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common231,"milestoneId":common.common11,"startDate":common.common231},"required":["milestoneId"],"type":"object"},"min":common.common157,"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.common157,"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.common277},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common279},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common277},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common279},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common279},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common277},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common279},{"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.common274,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
3020
4004
 
3021
4005
  export default endpoints;