@communecter/cocolight-api-client 1.0.131 → 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 +4 -0
  10. package/src/api/Answer.ts +4 -1
  11. package/src/api/Badge.ts +5 -0
  12. package/src/api/BaseEntity.ts +96 -7
  13. package/src/api/Classified.ts +4 -0
  14. package/src/api/Comment.ts +3 -0
  15. package/src/api/EndpointApi.ts +16 -1
  16. package/src/api/EndpointApi.types.ts +375 -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 +44 -2
  21. package/src/api/Poi.ts +4 -0
  22. package/src/api/Project.ts +47 -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 +1185 -208
  29. package/types/api/Action.d.ts +1 -0
  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 +45 -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 +10 -1
  36. package/types/api/EndpointApi.types.d.ts +334 -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 +21 -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 +1222 -1005
@@ -1717,21 +1717,36 @@ const common = {
1717
1717
  }
1718
1718
  },
1719
1719
  "common155": {
1720
- "enum": [
1721
- "ALL"
1722
- ],
1723
- "type": "string"
1720
+ "anyOf": [
1721
+ {
1722
+ "type": "string"
1723
+ },
1724
+ {
1725
+ "items": {
1726
+ "type": "string"
1727
+ },
1728
+ "minItems": 1,
1729
+ "type": "array"
1730
+ }
1731
+ ]
1724
1732
  },
1725
1733
  "common156": {
1734
+ "items": {
1735
+ "type": "string"
1736
+ },
1737
+ "minItems": 1,
1738
+ "type": "array"
1739
+ },
1740
+ "common157": {
1726
1741
  "minimum": 0,
1727
1742
  "type": "integer"
1728
1743
  },
1729
- "common157": {
1744
+ "common158": {
1730
1745
  "default": 0,
1731
1746
  "minimum": 0,
1732
1747
  "type": "integer"
1733
1748
  },
1734
- "common158": {
1749
+ "common159": {
1735
1750
  "const": [
1736
1751
  "projects"
1737
1752
  ],
@@ -1746,16 +1761,16 @@ const common = {
1746
1761
  },
1747
1762
  "type": "array"
1748
1763
  },
1749
- "common159": {
1764
+ "common160": {
1750
1765
  "enum": [
1751
1766
  "projects"
1752
1767
  ],
1753
1768
  "type": "string"
1754
1769
  },
1755
- "common160": {
1770
+ "common161": {
1756
1771
  "$exists": true
1757
1772
  },
1758
- "common161": {
1773
+ "common162": {
1759
1774
  "additionalProperties": false,
1760
1775
  "properties": {
1761
1776
  "$exists": {
@@ -1767,15 +1782,15 @@ const common = {
1767
1782
  ],
1768
1783
  "type": "object"
1769
1784
  },
1770
- "common162": {
1785
+ "common163": {
1771
1786
  "$exists": {
1772
1787
  "const": true
1773
1788
  }
1774
1789
  },
1775
- "common163": {
1790
+ "common164": {
1776
1791
  "const": true
1777
1792
  },
1778
- "common164": {
1793
+ "common165": {
1779
1794
  "additionalProperties": false,
1780
1795
  "else": {
1781
1796
  "properties": {
@@ -1819,7 +1834,7 @@ const common = {
1819
1834
  },
1820
1835
  "type": "object"
1821
1836
  },
1822
- "common165": {
1837
+ "common166": {
1823
1838
  "id": {
1824
1839
  "type": "string"
1825
1840
  },
@@ -1833,7 +1848,7 @@ const common = {
1833
1848
  "type": "string"
1834
1849
  }
1835
1850
  },
1836
- "common166": {
1851
+ "common167": {
1837
1852
  "const": [
1838
1853
  "poi"
1839
1854
  ],
@@ -1848,7 +1863,7 @@ const common = {
1848
1863
  },
1849
1864
  "type": "array"
1850
1865
  },
1851
- "common167": {
1866
+ "common168": {
1852
1867
  "const": [
1853
1868
  "NGO",
1854
1869
  "Cooperative",
@@ -1875,7 +1890,7 @@ const common = {
1875
1890
  },
1876
1891
  "type": "array"
1877
1892
  },
1878
- "common168": {
1893
+ "common169": {
1879
1894
  "enum": [
1880
1895
  "NGO",
1881
1896
  "Cooperative",
@@ -1885,10 +1900,10 @@ const common = {
1885
1900
  ],
1886
1901
  "type": "string"
1887
1902
  },
1888
- "common169": {
1903
+ "common170": {
1889
1904
  "$exists": false
1890
1905
  },
1891
- "common170": {
1906
+ "common171": {
1892
1907
  "additionalProperties": false,
1893
1908
  "properties": {
1894
1909
  "$exists": {
@@ -1900,19 +1915,19 @@ const common = {
1900
1915
  ],
1901
1916
  "type": "object"
1902
1917
  },
1903
- "common171": {
1918
+ "common172": {
1904
1919
  "$exists": {
1905
1920
  "const": false
1906
1921
  }
1907
1922
  },
1908
- "common172": {
1923
+ "common173": {
1909
1924
  "const": false
1910
1925
  },
1911
- "common173": {
1926
+ "common174": {
1912
1927
  "default": 30,
1913
1928
  "type": "integer"
1914
1929
  },
1915
- "common174": {
1930
+ "common175": {
1916
1931
  "default": [
1917
1932
  "citoyens",
1918
1933
  "NGO",
@@ -1934,7 +1949,7 @@ const common = {
1934
1949
  },
1935
1950
  "type": "array"
1936
1951
  },
1937
- "common175": {
1952
+ "common176": {
1938
1953
  "enum": [
1939
1954
  "citoyens",
1940
1955
  "NGO",
@@ -1945,7 +1960,7 @@ const common = {
1945
1960
  ],
1946
1961
  "type": "string"
1947
1962
  },
1948
- "common176": {
1963
+ "common177": {
1949
1964
  "additionalProperties": false,
1950
1965
  "properties": {
1951
1966
  "$exists": {
@@ -1958,13 +1973,13 @@ const common = {
1958
1973
  ],
1959
1974
  "type": "object"
1960
1975
  },
1961
- "common177": {
1976
+ "common178": {
1962
1977
  "$exists": {
1963
1978
  "default": false,
1964
1979
  "type": "boolean"
1965
1980
  }
1966
1981
  },
1967
- "common178": {
1982
+ "common179": {
1968
1983
  "additionalProperties": false,
1969
1984
  "properties": {
1970
1985
  "$in": {
@@ -1980,7 +1995,7 @@ const common = {
1980
1995
  ],
1981
1996
  "type": "object"
1982
1997
  },
1983
- "common179": {
1998
+ "common180": {
1984
1999
  "$in": {
1985
2000
  "items": {
1986
2001
  "type": "string"
@@ -1989,13 +2004,6 @@ const common = {
1989
2004
  "type": "array"
1990
2005
  }
1991
2006
  },
1992
- "common180": {
1993
- "items": {
1994
- "type": "string"
1995
- },
1996
- "minItems": 1,
1997
- "type": "array"
1998
- },
1999
2007
  "common181": {
2000
2008
  "default": [
2001
2009
  "citoyens",
@@ -2674,188 +2682,1129 @@ const common = {
2674
2682
  "type": "string"
2675
2683
  },
2676
2684
  "common243": {
2677
- "enum": [
2678
- "projects",
2679
- "organizations"
2680
- ],
2681
- "type": "string"
2682
- },
2683
- "common244": {
2684
- "items": {
2685
- "enum": [
2686
- "NGO",
2687
- "LocalBusiness",
2688
- "Group",
2689
- "GovernmentOrganization",
2690
- "Cooperative",
2691
- "organizations",
2692
- "projects",
2693
- "events",
2694
- "citoyens",
2695
- "poi",
2696
- "answers",
2697
- "forms",
2698
- "classifieds"
2699
- ],
2700
- "type": "string"
2701
- },
2702
- "type": "array"
2703
- },
2704
- "common245": {
2705
- "enum": [
2706
- "NGO",
2707
- "LocalBusiness",
2708
- "Group",
2709
- "GovernmentOrganization",
2710
- "Cooperative",
2711
- "organizations",
2712
- "projects",
2713
- "events",
2714
- "citoyens",
2715
- "poi",
2716
- "answers",
2717
- "forms",
2718
- "classifieds"
2719
- ],
2720
- "type": "string"
2721
- },
2722
- "common246": {
2723
- "default": "",
2724
- "oneOf": [
2725
- {
2726
- "additionalProperties": true,
2727
- "type": "object"
2728
- },
2729
- {
2730
- "const": "",
2731
- "type": "string"
2732
- }
2733
- ]
2734
- },
2735
- "common247": {
2736
- "additionalProperties": true,
2737
- "type": "object"
2738
- },
2739
- "common248": {
2740
- "additionalProperties": true,
2685
+ "additionalProperties": false,
2741
2686
  "properties": {
2742
- "tags": {
2743
- "additionalProperties": true,
2744
- "properties": {
2745
- "verb": {
2746
- "type": "string"
2747
- }
2748
- },
2749
- "type": "object"
2750
- }
2751
- },
2752
- "type": "object"
2753
- },
2754
- "common249": {
2755
- "tags": {
2756
- "additionalProperties": true,
2757
- "properties": {
2758
- "verb": {
2759
- "type": "string"
2760
- }
2687
+ "contextId": {
2688
+ "pattern": "^[a-f0-9]{24}$",
2689
+ "type": "string"
2761
2690
  },
2762
- "type": "object"
2763
- }
2764
- },
2765
- "common250": {
2766
- "additionalProperties": true,
2767
- "properties": {
2768
- "verb": {
2691
+ "contextType": {
2692
+ "enum": [
2693
+ "projects",
2694
+ "organizations"
2695
+ ],
2769
2696
  "type": "string"
2770
- }
2771
- },
2772
- "type": "object"
2773
- },
2774
- "common251": {
2775
- "verb": {
2776
- "type": "string"
2777
- }
2778
- },
2779
- "common252": {
2780
- "additionalProperties": {
2781
- "enum": [
2782
- 1,
2783
- -1
2784
- ],
2785
- "type": "integer"
2786
- },
2787
- "type": "object"
2788
- },
2789
- "common253": {
2790
- "enum": [
2791
- 1,
2792
- -1
2793
- ],
2794
- "type": "integer"
2795
- },
2796
- "common254": {
2797
- "additionalProperties": false,
2798
- "properties": {
2799
- "id": {
2697
+ },
2698
+ "costumEditMode": {
2699
+ "default": false,
2700
+ "type": "boolean"
2701
+ },
2702
+ "costumId": {
2800
2703
  "pattern": "^[a-f0-9]{24}$",
2801
2704
  "type": "string"
2802
2705
  },
2803
- "type": {
2804
- "default": "events",
2706
+ "costumSlug": {
2805
2707
  "type": "string"
2806
- }
2807
- },
2808
- "required": [
2809
- "id",
2810
- "type"
2811
- ],
2812
- "type": "object"
2813
- },
2814
- "common255": {
2815
- "id": {
2816
- "pattern": "^[a-f0-9]{24}$",
2817
- "type": "string"
2818
- },
2819
- "type": {
2820
- "default": "events",
2821
- "type": "string"
2822
- }
2823
- },
2824
- "common256": {
2825
- "default": "events",
2826
- "type": "string"
2827
- },
2828
- "common257": {
2829
- "items": {
2830
- "properties": {
2831
- "id": {
2832
- "type": "string"
2833
- }
2834
2708
  },
2835
- "required": [
2836
- "id"
2837
- ],
2838
- "type": "object"
2839
- },
2840
- "type": "array"
2841
- },
2842
- "common258": {
2843
- "properties": {
2844
- "id": {
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"
3503
+ }
3504
+ },
3505
+ "required": [
3506
+ "id",
3507
+ "type"
3508
+ ],
3509
+ "type": "object"
3510
+ }
3511
+ },
3512
+ "type": "object"
3513
+ },
3514
+ "common252": {
3515
+ "^[^\\s]+$": {
3516
+ "additionalProperties": false,
3517
+ "properties": {
3518
+ "countryCode": {
3519
+ "type": "string"
3520
+ },
3521
+ "id": {
3522
+ "type": "string"
3523
+ },
3524
+ "level": {
3525
+ "type": [
3526
+ "string",
3527
+ "number"
3528
+ ]
3529
+ },
3530
+ "name": {
3531
+ "type": "string"
3532
+ },
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"
3548
+ }
3549
+ },
3550
+ "required": [
3551
+ "id",
3552
+ "type"
3553
+ ],
3554
+ "type": "object"
3555
+ }
3556
+ },
3557
+ "common253": {
3558
+ "additionalProperties": false,
3559
+ "properties": {
3560
+ "countryCode": {
3561
+ "type": "string"
3562
+ },
3563
+ "id": {
3564
+ "type": "string"
3565
+ },
3566
+ "level": {
3567
+ "type": [
3568
+ "string",
3569
+ "number"
3570
+ ]
3571
+ },
3572
+ "name": {
3573
+ "type": "string"
3574
+ },
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
+ ],
2845
3589
  "type": "string"
2846
3590
  }
2847
3591
  },
2848
3592
  "required": [
2849
- "id"
3593
+ "id",
3594
+ "type"
2850
3595
  ],
2851
3596
  "type": "object"
2852
3597
  },
2853
- "common259": {
3598
+ "common254": {
3599
+ "countryCode": {
3600
+ "type": "string"
3601
+ },
2854
3602
  "id": {
2855
3603
  "type": "string"
3604
+ },
3605
+ "level": {
3606
+ "type": [
3607
+ "string",
3608
+ "number"
3609
+ ]
3610
+ },
3611
+ "name": {
3612
+ "type": "string"
3613
+ },
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"
3629
+ }
3630
+ },
3631
+ "common255": {
3632
+ "enum": [
3633
+ "cities",
3634
+ "cp",
3635
+ "country",
3636
+ "level1",
3637
+ "level2",
3638
+ "level3",
3639
+ "level4",
3640
+ "level5"
3641
+ ],
3642
+ "type": "string"
3643
+ },
3644
+ "common256": {
3645
+ "items": {
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"
3683
+ ],
3684
+ "type": "object"
3685
+ },
3686
+ "type": "array"
3687
+ },
3688
+ "common257": {
3689
+ "additionalProperties": true,
3690
+ "properties": {
3691
+ "tags": {
3692
+ "additionalProperties": true,
3693
+ "properties": {
3694
+ "verb": {
3695
+ "type": "string"
3696
+ }
3697
+ },
3698
+ "type": "object"
3699
+ }
3700
+ },
3701
+ "type": "object"
3702
+ },
3703
+ "common258": {
3704
+ "tags": {
3705
+ "additionalProperties": true,
3706
+ "properties": {
3707
+ "verb": {
3708
+ "type": "string"
3709
+ }
3710
+ },
3711
+ "type": "object"
2856
3712
  }
2857
3713
  },
3714
+ "common259": {
3715
+ "additionalProperties": true,
3716
+ "properties": {
3717
+ "verb": {
3718
+ "type": "string"
3719
+ }
3720
+ },
3721
+ "type": "object"
3722
+ },
2858
3723
  "common260": {
3724
+ "verb": {
3725
+ "type": "string"
3726
+ }
3727
+ },
3728
+ "common261": {
3729
+ "additionalProperties": {
3730
+ "enum": [
3731
+ 1,
3732
+ -1
3733
+ ],
3734
+ "type": "integer"
3735
+ },
3736
+ "type": "object"
3737
+ },
3738
+ "common262": {
3739
+ "enum": [
3740
+ 1,
3741
+ -1
3742
+ ],
3743
+ "type": "integer"
3744
+ },
3745
+ "common263": {
3746
+ "additionalProperties": false,
3747
+ "properties": {
3748
+ "id": {
3749
+ "pattern": "^[a-f0-9]{24}$",
3750
+ "type": "string"
3751
+ },
3752
+ "type": {
3753
+ "default": "events",
3754
+ "type": "string"
3755
+ }
3756
+ },
3757
+ "required": [
3758
+ "id",
3759
+ "type"
3760
+ ],
3761
+ "type": "object"
3762
+ },
3763
+ "common264": {
3764
+ "id": {
3765
+ "pattern": "^[a-f0-9]{24}$",
3766
+ "type": "string"
3767
+ },
3768
+ "type": {
3769
+ "default": "events",
3770
+ "type": "string"
3771
+ }
3772
+ },
3773
+ "common265": {
3774
+ "default": "events",
3775
+ "type": "string"
3776
+ },
3777
+ "common266": {
3778
+ "items": {
3779
+ "properties": {
3780
+ "id": {
3781
+ "type": "string"
3782
+ }
3783
+ },
3784
+ "required": [
3785
+ "id"
3786
+ ],
3787
+ "type": "object"
3788
+ },
3789
+ "type": "array"
3790
+ },
3791
+ "common267": {
3792
+ "properties": {
3793
+ "id": {
3794
+ "type": "string"
3795
+ }
3796
+ },
3797
+ "required": [
3798
+ "id"
3799
+ ],
3800
+ "type": "object"
3801
+ },
3802
+ "common268": {
3803
+ "id": {
3804
+ "type": "string"
3805
+ }
3806
+ },
3807
+ "common269": {
2859
3808
  "additionalProperties": false,
2860
3809
  "properties": {
2861
3810
  "contextId": {
@@ -2873,9 +3822,23 @@ const common = {
2873
3822
  "default": false,
2874
3823
  "type": "boolean"
2875
3824
  },
3825
+ "costumId": {
3826
+ "pattern": "^[a-f0-9]{24}$",
3827
+ "type": "string"
3828
+ },
2876
3829
  "costumSlug": {
2877
3830
  "type": "string"
2878
3831
  },
3832
+ "costumType": {
3833
+ "enum": [
3834
+ "projects",
3835
+ "organizations"
3836
+ ],
3837
+ "type": "string"
3838
+ },
3839
+ "mode": {
3840
+ "type": "string"
3841
+ },
2879
3842
  "sourceKey": {
2880
3843
  "items": {
2881
3844
  "type": "string"
@@ -2885,7 +3848,7 @@ const common = {
2885
3848
  },
2886
3849
  "type": "object"
2887
3850
  },
2888
- "common261": {
3851
+ "common270": {
2889
3852
  "contextId": {
2890
3853
  "pattern": "^[a-f0-9]{24}$",
2891
3854
  "type": "string"
@@ -2901,9 +3864,23 @@ const common = {
2901
3864
  "default": false,
2902
3865
  "type": "boolean"
2903
3866
  },
3867
+ "costumId": {
3868
+ "pattern": "^[a-f0-9]{24}$",
3869
+ "type": "string"
3870
+ },
2904
3871
  "costumSlug": {
2905
3872
  "type": "string"
2906
3873
  },
3874
+ "costumType": {
3875
+ "enum": [
3876
+ "projects",
3877
+ "organizations"
3878
+ ],
3879
+ "type": "string"
3880
+ },
3881
+ "mode": {
3882
+ "type": "string"
3883
+ },
2907
3884
  "sourceKey": {
2908
3885
  "items": {
2909
3886
  "type": "string"
@@ -2911,7 +3888,7 @@ const common = {
2911
3888
  "type": "array"
2912
3889
  }
2913
3890
  },
2914
- "common262": {
3891
+ "common271": {
2915
3892
  "items": {
2916
3893
  "enum": [
2917
3894
  "answers"
@@ -2920,24 +3897,24 @@ const common = {
2920
3897
  },
2921
3898
  "type": "array"
2922
3899
  },
2923
- "common263": {
3900
+ "common272": {
2924
3901
  "enum": [
2925
3902
  "answers"
2926
3903
  ],
2927
3904
  "type": "string"
2928
3905
  },
2929
- "common264": {
3906
+ "common273": {
2930
3907
  "enum": [
2931
3908
  "comments",
2932
3909
  "news"
2933
3910
  ],
2934
3911
  "type": "string"
2935
3912
  },
2936
- "common265": {
3913
+ "common274": {
2937
3914
  "minLength": 1,
2938
3915
  "type": "string"
2939
3916
  },
2940
- "common266": {
3917
+ "common275": {
2941
3918
  "default": "citoyens",
2942
3919
  "enum": [
2943
3920
  "citoyens",
@@ -2948,10 +3925,10 @@ const common = {
2948
3925
  ],
2949
3926
  "type": "string"
2950
3927
  },
2951
- "common267": {
3928
+ "common276": {
2952
3929
  "type": "array"
2953
3930
  },
2954
- "common268": {
3931
+ "common277": {
2955
3932
  "additionalProperties": true,
2956
3933
  "properties": {
2957
3934
  "costumId": {
@@ -2975,7 +3952,7 @@ const common = {
2975
3952
  ],
2976
3953
  "type": "object"
2977
3954
  },
2978
- "common269": {
3955
+ "common278": {
2979
3956
  "costumId": {
2980
3957
  "type": "string"
2981
3958
  },
@@ -2989,7 +3966,7 @@ const common = {
2989
3966
  "type": "string"
2990
3967
  }
2991
3968
  },
2992
- "common270": {
3969
+ "common279": {
2993
3970
  "additionalProperties": true,
2994
3971
  "properties": {
2995
3972
  "costumId": {
@@ -3009,7 +3986,7 @@ const common = {
3009
3986
  ],
3010
3987
  "type": "object"
3011
3988
  },
3012
- "common271": {
3989
+ "common280": {
3013
3990
  "costumId": {
3014
3991
  "type": "string"
3015
3992
  },
@@ -3023,6 +4000,6 @@ const common = {
3023
4000
  };
3024
4001
 
3025
4002
  // Endpoints avec intégration des définitions communes
3026
- const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common112},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common126,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common126,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"isLive":common.common129},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common125},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common135,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common137},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common137,"mentions":common.common138,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common138,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common141,"type":"array"},"fediverse":common.common142,"filters":common.common143,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":{"items":common.common141,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common156,"locality":common.common143,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common129,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common157,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common158,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common160,"parent.@userId":common.common160},"links.contributors.@userId":common.common160},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common158},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common164,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common158,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common160,"parent.@{pathParams.id}":common.common160},"links.contributors.@{pathParams.id}":common.common160},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common158},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common160},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common164,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common166,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common160},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common166},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common160,"links.members.@userId.isInviting":common.common169,"links.members.@userId.toBeValidated":common.common169},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common160,"links.members.@{pathParams.id}.isInviting":common.common169,"links.members.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common178,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common160,"links.memberOf.@{pathParams.id}.isInviting":common.common169,"links.memberOf.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common161,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common178,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common160,"links.friends.@{pathParams.id}.isInviting":common.common169,"links.friends.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common184,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.followers.@userId":common.common160,"links.followers.@{userId}.isInviting":common.common169,"links.followers.@{userId}.toBeValidated":common.common169},"patternProperties":common.common189,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common184},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common184,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.followers.@{pathParams.id}":common.common160,"links.followers.@{pathParams.id}.isInviting":common.common169,"links.followers.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":common.common189,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common184},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common190],"default":{"links.follows.@userId":common.common160,"links.follows.@{userId}.isInviting":common.common169,"links.follows.@{userId}.toBeValidated":common.common169},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common193},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common190],"default":{"links.follows.@{pathParams.id}":common.common160},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161},"type":"object"},"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common178,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common174,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common160,"links.projects.@{pathParams.id}.isInviting":common.common169,"links.projects.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common161,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common178,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common194,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"},"isParcours":common.common3,"preferences.private":common.common142},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common194},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common196,"fediverse":common.common142,"fields":common.common194,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common198}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common198,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common201,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common201}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common204},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common204,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common200}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common198}}],"type":"object"},"indexMin":common.common157,"indexStep":common.common173,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common205,"GovernmentOrganization":common.common205,"Group":common.common205,"LocalBusiness":common.common205,"NGO":common.common205,"citoyens":common.common205,"projects":common.common205},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common196},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common206,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common210,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common212,"childType":common.common213,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common210,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common212,"childType":common.common213,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common215,"id":common.common216,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common143},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common200,"collection":common.common215,"id":common.common216,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common129,"slug":common.common1,"transparentCommune":common.common129,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common217,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common218,"hours":{"items":common.common219,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common222,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common225,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common226,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common143,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common229,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common229,"name":common.common1,"parent":common.common226,"scope":common.common143,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common172}},"properties":{"address":common.common74,"collection":common.common230,"email":common.common30,"endDate":common.common231,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common218,"hours":{"default":[],"items":common.common219,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common226,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common129,"scope":common.common143,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common231,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common128,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common128,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common232,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common233,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common233,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common232},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common128},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common128},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common236,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common129,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common237,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common236},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common222,"public":common.common110,"scope":common.common143,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common236,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common237,"narative":common.common1,"scope":common.common143},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common129,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common231,"fediverse":common.common129,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common160,"organizer.@userId":common.common160},"links.attendees.@userId":common.common160},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common231,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common230},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common135,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common238,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common242,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common238,"projects":common.common238},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common212,"childType":common.common213,"parentId":common.common11,"parentType":common.common214},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"count":common.common87,"countType":common.common244,"fediverse":common.common129,"fields":common.common33,"filters":common.common246,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common200,"name":common.common1,"notSourceKey":common.common200,"options":common.common248,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common244,"sortBy":common.common252,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common257,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common254,"request":common.common260},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common254,"request":common.common260},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"regions":common.common257,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common254,"request":common.common260},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common254,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common193},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common178,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common160,"links.events.@{pathParams.id}.isInviting":common.common169,"links.events.@{pathParams.id}.toBeValidated":common.common169},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common161,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common178,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common176},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common243,"costumEditMode":common.common129,"costumSlug":common.common1,"count":common.common87,"countType":common.common262,"fediverse":common.common129,"fields":common.common33,"filters":common.common246,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common200,"name":common.common1,"notSourceKey":common.common200,"options":common.common248,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common262,"sortBy":common.common252,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common247,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common264,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common264,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common265,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common266},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common266,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common183,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common247},"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common267,"level":common.common267,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common1},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common247,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common231,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common156,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common231,"milestoneId":common.common11,"startDate":common.common231},"required":["milestoneId"],"type":"object"},"min":common.common156,"name":common.common1,"parentId":common.common11,"parentType":common.common225,"startDate":common.common231,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common156,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common11,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common11},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common1,"id":common.common11,"startDate":common.common1},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common11,"contributor":common.common11,"contributors":common.common112,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common128},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common128},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common268},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common270},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common268},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common270},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common270},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common268},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common270},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common232,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common217,"parent":common.common226,"preferences":common.common222,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common265,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
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"}}]};
3027
4004
 
3028
4005
  export default endpoints;