@communecter/cocolight-api-client 1.0.150 → 1.0.151
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.
- package/dist/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +3 -2
- package/src/api/BaseEntity.ts +5 -1
- package/src/api/EndpointApi.types.ts +198 -200
- package/src/endpoints.module.ts +317 -207
- package/types/api/EndpointApi.types.d.ts +18 -42
- package/types/endpoints.module.d.ts +411 -287
package/src/endpoints.module.ts
CHANGED
|
@@ -813,6 +813,40 @@ const common = {
|
|
|
813
813
|
"type": "string"
|
|
814
814
|
},
|
|
815
815
|
"common79": {
|
|
816
|
+
"oneOf": [
|
|
817
|
+
{
|
|
818
|
+
"const": "",
|
|
819
|
+
"type": "string"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"additionalProperties": false,
|
|
823
|
+
"properties": {
|
|
824
|
+
"@type": {
|
|
825
|
+
"const": "GeoCoordinates",
|
|
826
|
+
"type": "string"
|
|
827
|
+
},
|
|
828
|
+
"latitude": {
|
|
829
|
+
"type": [
|
|
830
|
+
"string",
|
|
831
|
+
"number"
|
|
832
|
+
]
|
|
833
|
+
},
|
|
834
|
+
"longitude": {
|
|
835
|
+
"type": [
|
|
836
|
+
"string",
|
|
837
|
+
"number"
|
|
838
|
+
]
|
|
839
|
+
}
|
|
840
|
+
},
|
|
841
|
+
"required": [
|
|
842
|
+
"latitude",
|
|
843
|
+
"longitude"
|
|
844
|
+
],
|
|
845
|
+
"type": "object"
|
|
846
|
+
}
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
"common80": {
|
|
816
850
|
"additionalProperties": false,
|
|
817
851
|
"properties": {
|
|
818
852
|
"@type": {
|
|
@@ -838,7 +872,7 @@ const common = {
|
|
|
838
872
|
],
|
|
839
873
|
"type": "object"
|
|
840
874
|
},
|
|
841
|
-
"
|
|
875
|
+
"common81": {
|
|
842
876
|
"@type": {
|
|
843
877
|
"const": "GeoCoordinates",
|
|
844
878
|
"type": "string"
|
|
@@ -856,17 +890,17 @@ const common = {
|
|
|
856
890
|
]
|
|
857
891
|
}
|
|
858
892
|
},
|
|
859
|
-
"
|
|
893
|
+
"common82": {
|
|
860
894
|
"const": "GeoCoordinates",
|
|
861
895
|
"type": "string"
|
|
862
896
|
},
|
|
863
|
-
"
|
|
897
|
+
"common83": {
|
|
864
898
|
"type": [
|
|
865
899
|
"string",
|
|
866
900
|
"number"
|
|
867
901
|
]
|
|
868
902
|
},
|
|
869
|
-
"
|
|
903
|
+
"common84": {
|
|
870
904
|
"additionalProperties": true,
|
|
871
905
|
"properties": {
|
|
872
906
|
"coordinates": {
|
|
@@ -894,7 +928,7 @@ const common = {
|
|
|
894
928
|
],
|
|
895
929
|
"type": "object"
|
|
896
930
|
},
|
|
897
|
-
"
|
|
931
|
+
"common85": {
|
|
898
932
|
"coordinates": {
|
|
899
933
|
"items": {
|
|
900
934
|
"type": "number"
|
|
@@ -913,7 +947,7 @@ const common = {
|
|
|
913
947
|
"type": "string"
|
|
914
948
|
}
|
|
915
949
|
},
|
|
916
|
-
"
|
|
950
|
+
"common86": {
|
|
917
951
|
"items": {
|
|
918
952
|
"type": "number"
|
|
919
953
|
},
|
|
@@ -921,19 +955,19 @@ const common = {
|
|
|
921
955
|
"minItems": 2,
|
|
922
956
|
"type": "array"
|
|
923
957
|
},
|
|
924
|
-
"
|
|
958
|
+
"common87": {
|
|
925
959
|
"type": "number"
|
|
926
960
|
},
|
|
927
|
-
"
|
|
961
|
+
"common88": {
|
|
928
962
|
"const": true,
|
|
929
963
|
"default": true,
|
|
930
964
|
"type": "boolean"
|
|
931
965
|
},
|
|
932
|
-
"
|
|
966
|
+
"common89": {
|
|
933
967
|
"const": "Point",
|
|
934
968
|
"type": "string"
|
|
935
969
|
},
|
|
936
|
-
"
|
|
970
|
+
"common90": {
|
|
937
971
|
"properties": {
|
|
938
972
|
"id": {
|
|
939
973
|
"default": "@userId",
|
|
@@ -941,35 +975,35 @@ const common = {
|
|
|
941
975
|
}
|
|
942
976
|
}
|
|
943
977
|
},
|
|
944
|
-
"
|
|
978
|
+
"common91": {
|
|
945
979
|
"id": {
|
|
946
980
|
"default": "@userId",
|
|
947
981
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
948
982
|
}
|
|
949
983
|
},
|
|
950
|
-
"
|
|
984
|
+
"common92": {
|
|
951
985
|
"default": "@userId",
|
|
952
986
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
953
987
|
},
|
|
954
|
-
"
|
|
988
|
+
"common93": {
|
|
955
989
|
"maxLength": 100,
|
|
956
990
|
"minLength": 3,
|
|
957
991
|
"pattern": "^[a-zA-Z0-9]+$",
|
|
958
992
|
"type": "string"
|
|
959
993
|
},
|
|
960
|
-
"
|
|
994
|
+
"common94": {
|
|
961
995
|
"properties": {
|
|
962
996
|
"type": {
|
|
963
997
|
"const": "citoyens"
|
|
964
998
|
}
|
|
965
999
|
}
|
|
966
1000
|
},
|
|
967
|
-
"
|
|
1001
|
+
"common95": {
|
|
968
1002
|
"type": {
|
|
969
1003
|
"const": "citoyens"
|
|
970
1004
|
}
|
|
971
1005
|
},
|
|
972
|
-
"
|
|
1006
|
+
"common96": {
|
|
973
1007
|
"additionalProperties": false,
|
|
974
1008
|
"else": {
|
|
975
1009
|
"properties": {
|
|
@@ -1015,31 +1049,31 @@ const common = {
|
|
|
1015
1049
|
},
|
|
1016
1050
|
"type": "object"
|
|
1017
1051
|
},
|
|
1018
|
-
"
|
|
1052
|
+
"common97": {
|
|
1019
1053
|
"properties": {
|
|
1020
1054
|
"ownerId": {
|
|
1021
1055
|
"pattern": "^[a-f0-9]{24}$"
|
|
1022
1056
|
}
|
|
1023
1057
|
}
|
|
1024
1058
|
},
|
|
1025
|
-
"
|
|
1059
|
+
"common98": {
|
|
1026
1060
|
"ownerId": {
|
|
1027
1061
|
"pattern": "^[a-f0-9]{24}$"
|
|
1028
1062
|
}
|
|
1029
1063
|
},
|
|
1030
|
-
"
|
|
1064
|
+
"common99": {
|
|
1031
1065
|
"properties": {
|
|
1032
1066
|
"folder": {
|
|
1033
1067
|
"const": "citoyens"
|
|
1034
1068
|
}
|
|
1035
1069
|
}
|
|
1036
1070
|
},
|
|
1037
|
-
"
|
|
1071
|
+
"common100": {
|
|
1038
1072
|
"folder": {
|
|
1039
1073
|
"const": "citoyens"
|
|
1040
1074
|
}
|
|
1041
1075
|
},
|
|
1042
|
-
"
|
|
1076
|
+
"common101": {
|
|
1043
1077
|
"folder": {
|
|
1044
1078
|
"default": "citoyens",
|
|
1045
1079
|
"enum": [
|
|
@@ -1055,7 +1089,7 @@ const common = {
|
|
|
1055
1089
|
"type": "string"
|
|
1056
1090
|
}
|
|
1057
1091
|
},
|
|
1058
|
-
"
|
|
1092
|
+
"common102": {
|
|
1059
1093
|
"default": "citoyens",
|
|
1060
1094
|
"enum": [
|
|
1061
1095
|
"citoyens",
|
|
@@ -1066,7 +1100,7 @@ const common = {
|
|
|
1066
1100
|
],
|
|
1067
1101
|
"type": "string"
|
|
1068
1102
|
},
|
|
1069
|
-
"
|
|
1103
|
+
"common103": {
|
|
1070
1104
|
"properties": {
|
|
1071
1105
|
"ownerId": {
|
|
1072
1106
|
"default": "@userId",
|
|
@@ -1074,37 +1108,37 @@ const common = {
|
|
|
1074
1108
|
}
|
|
1075
1109
|
}
|
|
1076
1110
|
},
|
|
1077
|
-
"
|
|
1111
|
+
"common104": {
|
|
1078
1112
|
"ownerId": {
|
|
1079
1113
|
"default": "@userId",
|
|
1080
1114
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1081
1115
|
}
|
|
1082
1116
|
},
|
|
1083
|
-
"
|
|
1117
|
+
"common105": {
|
|
1084
1118
|
"properties": {
|
|
1085
1119
|
"parentId": {
|
|
1086
1120
|
"pattern": "^[a-f0-9]{24}$"
|
|
1087
1121
|
}
|
|
1088
1122
|
}
|
|
1089
1123
|
},
|
|
1090
|
-
"
|
|
1124
|
+
"common106": {
|
|
1091
1125
|
"parentId": {
|
|
1092
1126
|
"pattern": "^[a-f0-9]{24}$"
|
|
1093
1127
|
}
|
|
1094
1128
|
},
|
|
1095
|
-
"
|
|
1129
|
+
"common107": {
|
|
1096
1130
|
"properties": {
|
|
1097
1131
|
"parentType": {
|
|
1098
1132
|
"const": "citoyens"
|
|
1099
1133
|
}
|
|
1100
1134
|
}
|
|
1101
1135
|
},
|
|
1102
|
-
"
|
|
1136
|
+
"common108": {
|
|
1103
1137
|
"parentType": {
|
|
1104
1138
|
"const": "citoyens"
|
|
1105
1139
|
}
|
|
1106
1140
|
},
|
|
1107
|
-
"
|
|
1141
|
+
"common109": {
|
|
1108
1142
|
"properties": {
|
|
1109
1143
|
"parentId": {
|
|
1110
1144
|
"default": "@userId",
|
|
@@ -1112,43 +1146,43 @@ const common = {
|
|
|
1112
1146
|
}
|
|
1113
1147
|
}
|
|
1114
1148
|
},
|
|
1115
|
-
"
|
|
1149
|
+
"common110": {
|
|
1116
1150
|
"parentId": {
|
|
1117
1151
|
"default": "@userId",
|
|
1118
1152
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1119
1153
|
}
|
|
1120
1154
|
},
|
|
1121
|
-
"
|
|
1155
|
+
"common111": {
|
|
1122
1156
|
"default": true,
|
|
1123
1157
|
"type": "boolean"
|
|
1124
1158
|
},
|
|
1125
|
-
"
|
|
1159
|
+
"common112": {
|
|
1126
1160
|
"default": 0,
|
|
1127
1161
|
"type": "integer"
|
|
1128
1162
|
},
|
|
1129
|
-
"
|
|
1163
|
+
"common113": {
|
|
1130
1164
|
"items": {
|
|
1131
1165
|
"pattern": "^[a-f0-9]{24}$",
|
|
1132
1166
|
"type": "string"
|
|
1133
1167
|
},
|
|
1134
1168
|
"type": "array"
|
|
1135
1169
|
},
|
|
1136
|
-
"
|
|
1170
|
+
"common114": {
|
|
1137
1171
|
"required": [
|
|
1138
1172
|
"text"
|
|
1139
1173
|
]
|
|
1140
1174
|
},
|
|
1141
|
-
"
|
|
1175
|
+
"common115": {
|
|
1142
1176
|
"required": [
|
|
1143
1177
|
"mediaImg"
|
|
1144
1178
|
]
|
|
1145
1179
|
},
|
|
1146
|
-
"
|
|
1180
|
+
"common116": {
|
|
1147
1181
|
"required": [
|
|
1148
1182
|
"mediaFile"
|
|
1149
1183
|
]
|
|
1150
1184
|
},
|
|
1151
|
-
"
|
|
1185
|
+
"common117": {
|
|
1152
1186
|
"additionalProperties": false,
|
|
1153
1187
|
"properties": {
|
|
1154
1188
|
"countFiles": {
|
|
@@ -1167,7 +1201,7 @@ const common = {
|
|
|
1167
1201
|
],
|
|
1168
1202
|
"type": "object"
|
|
1169
1203
|
},
|
|
1170
|
-
"
|
|
1204
|
+
"common118": {
|
|
1171
1205
|
"countFiles": {
|
|
1172
1206
|
"type": "number"
|
|
1173
1207
|
},
|
|
@@ -1178,7 +1212,7 @@ const common = {
|
|
|
1178
1212
|
"type": "array"
|
|
1179
1213
|
}
|
|
1180
1214
|
},
|
|
1181
|
-
"
|
|
1215
|
+
"common119": {
|
|
1182
1216
|
"additionalProperties": false,
|
|
1183
1217
|
"properties": {
|
|
1184
1218
|
"countImages": {
|
|
@@ -1197,7 +1231,7 @@ const common = {
|
|
|
1197
1231
|
],
|
|
1198
1232
|
"type": "object"
|
|
1199
1233
|
},
|
|
1200
|
-
"
|
|
1234
|
+
"common120": {
|
|
1201
1235
|
"countImages": {
|
|
1202
1236
|
"type": "number"
|
|
1203
1237
|
},
|
|
@@ -1208,7 +1242,7 @@ const common = {
|
|
|
1208
1242
|
"type": "array"
|
|
1209
1243
|
}
|
|
1210
1244
|
},
|
|
1211
|
-
"
|
|
1245
|
+
"common121": {
|
|
1212
1246
|
"items": {
|
|
1213
1247
|
"properties": {
|
|
1214
1248
|
"count": {
|
|
@@ -1244,7 +1278,7 @@ const common = {
|
|
|
1244
1278
|
},
|
|
1245
1279
|
"type": "array"
|
|
1246
1280
|
},
|
|
1247
|
-
"
|
|
1281
|
+
"common122": {
|
|
1248
1282
|
"properties": {
|
|
1249
1283
|
"count": {
|
|
1250
1284
|
"minimum": 1,
|
|
@@ -1277,7 +1311,7 @@ const common = {
|
|
|
1277
1311
|
],
|
|
1278
1312
|
"type": "object"
|
|
1279
1313
|
},
|
|
1280
|
-
"
|
|
1314
|
+
"common123": {
|
|
1281
1315
|
"count": {
|
|
1282
1316
|
"minimum": 1,
|
|
1283
1317
|
"type": "integer"
|
|
@@ -1299,11 +1333,11 @@ const common = {
|
|
|
1299
1333
|
"type": "string"
|
|
1300
1334
|
}
|
|
1301
1335
|
},
|
|
1302
|
-
"
|
|
1336
|
+
"common124": {
|
|
1303
1337
|
"minimum": 1,
|
|
1304
1338
|
"type": "integer"
|
|
1305
1339
|
},
|
|
1306
|
-
"
|
|
1340
|
+
"common125": {
|
|
1307
1341
|
"default": "public",
|
|
1308
1342
|
"enum": [
|
|
1309
1343
|
"public",
|
|
@@ -1312,12 +1346,12 @@ const common = {
|
|
|
1312
1346
|
],
|
|
1313
1347
|
"type": "string"
|
|
1314
1348
|
},
|
|
1315
|
-
"
|
|
1349
|
+
"common126": {
|
|
1316
1350
|
"const": "news",
|
|
1317
1351
|
"default": "news",
|
|
1318
1352
|
"type": "string"
|
|
1319
1353
|
},
|
|
1320
|
-
"
|
|
1354
|
+
"common127": {
|
|
1321
1355
|
"additionalProperties": false,
|
|
1322
1356
|
"else": {
|
|
1323
1357
|
"properties": {
|
|
@@ -1361,7 +1395,7 @@ const common = {
|
|
|
1361
1395
|
},
|
|
1362
1396
|
"type": "object"
|
|
1363
1397
|
},
|
|
1364
|
-
"
|
|
1398
|
+
"common128": {
|
|
1365
1399
|
"folder": {
|
|
1366
1400
|
"default": "citoyens",
|
|
1367
1401
|
"enum": [
|
|
@@ -1375,7 +1409,7 @@ const common = {
|
|
|
1375
1409
|
"type": "string"
|
|
1376
1410
|
}
|
|
1377
1411
|
},
|
|
1378
|
-
"
|
|
1412
|
+
"common129": {
|
|
1379
1413
|
"additionalProperties": false,
|
|
1380
1414
|
"properties": {
|
|
1381
1415
|
"id": {
|
|
@@ -1388,40 +1422,40 @@ const common = {
|
|
|
1388
1422
|
],
|
|
1389
1423
|
"type": "object"
|
|
1390
1424
|
},
|
|
1391
|
-
"
|
|
1425
|
+
"common130": {
|
|
1392
1426
|
"default": false,
|
|
1393
1427
|
"type": "boolean"
|
|
1394
1428
|
},
|
|
1395
|
-
"
|
|
1429
|
+
"common131": {
|
|
1396
1430
|
"properties": {
|
|
1397
1431
|
"childId": {
|
|
1398
1432
|
"pattern": "^[a-f0-9]{24}$"
|
|
1399
1433
|
}
|
|
1400
1434
|
}
|
|
1401
1435
|
},
|
|
1402
|
-
"
|
|
1436
|
+
"common132": {
|
|
1403
1437
|
"childId": {
|
|
1404
1438
|
"pattern": "^[a-f0-9]{24}$"
|
|
1405
1439
|
}
|
|
1406
1440
|
},
|
|
1407
|
-
"
|
|
1441
|
+
"common133": {
|
|
1408
1442
|
"properties": {
|
|
1409
1443
|
"childType": {
|
|
1410
1444
|
"const": "citoyens"
|
|
1411
1445
|
}
|
|
1412
1446
|
}
|
|
1413
1447
|
},
|
|
1414
|
-
"
|
|
1448
|
+
"common134": {
|
|
1415
1449
|
"childType": {
|
|
1416
1450
|
"const": "citoyens"
|
|
1417
1451
|
}
|
|
1418
1452
|
},
|
|
1419
|
-
"
|
|
1453
|
+
"common135": {
|
|
1420
1454
|
"const": "share",
|
|
1421
1455
|
"default": "share",
|
|
1422
1456
|
"type": "string"
|
|
1423
1457
|
},
|
|
1424
|
-
"
|
|
1458
|
+
"common136": {
|
|
1425
1459
|
"properties": {
|
|
1426
1460
|
"childId": {
|
|
1427
1461
|
"default": "@userId",
|
|
@@ -1429,20 +1463,20 @@ const common = {
|
|
|
1429
1463
|
}
|
|
1430
1464
|
}
|
|
1431
1465
|
},
|
|
1432
|
-
"
|
|
1466
|
+
"common137": {
|
|
1433
1467
|
"childId": {
|
|
1434
1468
|
"default": "@userId",
|
|
1435
1469
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1436
1470
|
}
|
|
1437
1471
|
},
|
|
1438
|
-
"
|
|
1472
|
+
"common138": {
|
|
1439
1473
|
"default": "news",
|
|
1440
1474
|
"enum": [
|
|
1441
1475
|
"news"
|
|
1442
1476
|
],
|
|
1443
1477
|
"type": "string"
|
|
1444
1478
|
},
|
|
1445
|
-
"
|
|
1479
|
+
"common139": {
|
|
1446
1480
|
"items": {
|
|
1447
1481
|
"additionalProperties": false,
|
|
1448
1482
|
"properties": {
|
|
@@ -1478,7 +1512,7 @@ const common = {
|
|
|
1478
1512
|
},
|
|
1479
1513
|
"type": "array"
|
|
1480
1514
|
},
|
|
1481
|
-
"
|
|
1515
|
+
"common140": {
|
|
1482
1516
|
"additionalProperties": false,
|
|
1483
1517
|
"properties": {
|
|
1484
1518
|
"count": {
|
|
@@ -1511,7 +1545,7 @@ const common = {
|
|
|
1511
1545
|
],
|
|
1512
1546
|
"type": "object"
|
|
1513
1547
|
},
|
|
1514
|
-
"
|
|
1548
|
+
"common141": {
|
|
1515
1549
|
"count": {
|
|
1516
1550
|
"type": "number"
|
|
1517
1551
|
},
|
|
@@ -1532,7 +1566,7 @@ const common = {
|
|
|
1532
1566
|
"type": "string"
|
|
1533
1567
|
}
|
|
1534
1568
|
},
|
|
1535
|
-
"
|
|
1569
|
+
"common142": {
|
|
1536
1570
|
"enum": [
|
|
1537
1571
|
"NGO",
|
|
1538
1572
|
"LocalBusiness",
|
|
@@ -1547,25 +1581,25 @@ const common = {
|
|
|
1547
1581
|
],
|
|
1548
1582
|
"type": "string"
|
|
1549
1583
|
},
|
|
1550
|
-
"
|
|
1584
|
+
"common143": {
|
|
1551
1585
|
"const": false,
|
|
1552
1586
|
"default": false,
|
|
1553
1587
|
"type": "boolean"
|
|
1554
1588
|
},
|
|
1555
|
-
"
|
|
1589
|
+
"common144": {
|
|
1556
1590
|
"const": "",
|
|
1557
1591
|
"default": "",
|
|
1558
1592
|
"type": "string"
|
|
1559
1593
|
},
|
|
1560
|
-
"
|
|
1594
|
+
"common145": {
|
|
1561
1595
|
"default": 0,
|
|
1562
1596
|
"type": "number"
|
|
1563
1597
|
},
|
|
1564
|
-
"
|
|
1598
|
+
"common146": {
|
|
1565
1599
|
"default": 30,
|
|
1566
1600
|
"type": "number"
|
|
1567
1601
|
},
|
|
1568
|
-
"
|
|
1602
|
+
"common147": {
|
|
1569
1603
|
"additionalProperties": false,
|
|
1570
1604
|
"patternProperties": {
|
|
1571
1605
|
"^[^\\s]+$": {
|
|
@@ -1591,7 +1625,7 @@ const common = {
|
|
|
1591
1625
|
},
|
|
1592
1626
|
"type": "object"
|
|
1593
1627
|
},
|
|
1594
|
-
"
|
|
1628
|
+
"common148": {
|
|
1595
1629
|
"^[^\\s]+$": {
|
|
1596
1630
|
"additionalProperties": false,
|
|
1597
1631
|
"properties": {
|
|
@@ -1613,7 +1647,7 @@ const common = {
|
|
|
1613
1647
|
"type": "object"
|
|
1614
1648
|
}
|
|
1615
1649
|
},
|
|
1616
|
-
"
|
|
1650
|
+
"common149": {
|
|
1617
1651
|
"additionalProperties": false,
|
|
1618
1652
|
"properties": {
|
|
1619
1653
|
"id": {
|
|
@@ -1633,7 +1667,7 @@ const common = {
|
|
|
1633
1667
|
],
|
|
1634
1668
|
"type": "object"
|
|
1635
1669
|
},
|
|
1636
|
-
"
|
|
1670
|
+
"common150": {
|
|
1637
1671
|
"id": {
|
|
1638
1672
|
"type": "string"
|
|
1639
1673
|
},
|
|
@@ -1645,14 +1679,14 @@ const common = {
|
|
|
1645
1679
|
"type": "string"
|
|
1646
1680
|
}
|
|
1647
1681
|
},
|
|
1648
|
-
"
|
|
1682
|
+
"common151": {
|
|
1649
1683
|
"enum": [
|
|
1650
1684
|
"cities",
|
|
1651
1685
|
"level1"
|
|
1652
1686
|
],
|
|
1653
1687
|
"type": "string"
|
|
1654
1688
|
},
|
|
1655
|
-
"
|
|
1689
|
+
"common152": {
|
|
1656
1690
|
"additionalProperties": false,
|
|
1657
1691
|
"patternProperties": {
|
|
1658
1692
|
"^[^\\s]+$": {
|
|
@@ -1674,7 +1708,7 @@ const common = {
|
|
|
1674
1708
|
},
|
|
1675
1709
|
"type": "object"
|
|
1676
1710
|
},
|
|
1677
|
-
"
|
|
1711
|
+
"common153": {
|
|
1678
1712
|
"^[^\\s]+$": {
|
|
1679
1713
|
"additionalProperties": false,
|
|
1680
1714
|
"properties": {
|
|
@@ -1692,7 +1726,7 @@ const common = {
|
|
|
1692
1726
|
"type": "object"
|
|
1693
1727
|
}
|
|
1694
1728
|
},
|
|
1695
|
-
"
|
|
1729
|
+
"common154": {
|
|
1696
1730
|
"additionalProperties": false,
|
|
1697
1731
|
"properties": {
|
|
1698
1732
|
"indexMax": {
|
|
@@ -1708,7 +1742,7 @@ const common = {
|
|
|
1708
1742
|
],
|
|
1709
1743
|
"type": "object"
|
|
1710
1744
|
},
|
|
1711
|
-
"
|
|
1745
|
+
"common155": {
|
|
1712
1746
|
"indexMax": {
|
|
1713
1747
|
"type": "number"
|
|
1714
1748
|
},
|
|
@@ -1716,7 +1750,7 @@ const common = {
|
|
|
1716
1750
|
"type": "number"
|
|
1717
1751
|
}
|
|
1718
1752
|
},
|
|
1719
|
-
"
|
|
1753
|
+
"common156": {
|
|
1720
1754
|
"anyOf": [
|
|
1721
1755
|
{
|
|
1722
1756
|
"type": "string"
|
|
@@ -1730,23 +1764,23 @@ const common = {
|
|
|
1730
1764
|
}
|
|
1731
1765
|
]
|
|
1732
1766
|
},
|
|
1733
|
-
"
|
|
1767
|
+
"common157": {
|
|
1734
1768
|
"items": {
|
|
1735
1769
|
"type": "string"
|
|
1736
1770
|
},
|
|
1737
1771
|
"minItems": 1,
|
|
1738
1772
|
"type": "array"
|
|
1739
1773
|
},
|
|
1740
|
-
"
|
|
1774
|
+
"common158": {
|
|
1741
1775
|
"minimum": 0,
|
|
1742
1776
|
"type": "integer"
|
|
1743
1777
|
},
|
|
1744
|
-
"
|
|
1778
|
+
"common159": {
|
|
1745
1779
|
"default": 0,
|
|
1746
1780
|
"minimum": 0,
|
|
1747
1781
|
"type": "integer"
|
|
1748
1782
|
},
|
|
1749
|
-
"
|
|
1783
|
+
"common160": {
|
|
1750
1784
|
"const": [
|
|
1751
1785
|
"projects"
|
|
1752
1786
|
],
|
|
@@ -1761,16 +1795,16 @@ const common = {
|
|
|
1761
1795
|
},
|
|
1762
1796
|
"type": "array"
|
|
1763
1797
|
},
|
|
1764
|
-
"
|
|
1798
|
+
"common161": {
|
|
1765
1799
|
"enum": [
|
|
1766
1800
|
"projects"
|
|
1767
1801
|
],
|
|
1768
1802
|
"type": "string"
|
|
1769
1803
|
},
|
|
1770
|
-
"
|
|
1804
|
+
"common162": {
|
|
1771
1805
|
"$exists": true
|
|
1772
1806
|
},
|
|
1773
|
-
"
|
|
1807
|
+
"common163": {
|
|
1774
1808
|
"additionalProperties": false,
|
|
1775
1809
|
"properties": {
|
|
1776
1810
|
"$exists": {
|
|
@@ -1782,15 +1816,15 @@ const common = {
|
|
|
1782
1816
|
],
|
|
1783
1817
|
"type": "object"
|
|
1784
1818
|
},
|
|
1785
|
-
"
|
|
1819
|
+
"common164": {
|
|
1786
1820
|
"$exists": {
|
|
1787
1821
|
"const": true
|
|
1788
1822
|
}
|
|
1789
1823
|
},
|
|
1790
|
-
"
|
|
1824
|
+
"common165": {
|
|
1791
1825
|
"const": true
|
|
1792
1826
|
},
|
|
1793
|
-
"
|
|
1827
|
+
"common166": {
|
|
1794
1828
|
"additionalProperties": false,
|
|
1795
1829
|
"else": {
|
|
1796
1830
|
"properties": {
|
|
@@ -1834,7 +1868,7 @@ const common = {
|
|
|
1834
1868
|
},
|
|
1835
1869
|
"type": "object"
|
|
1836
1870
|
},
|
|
1837
|
-
"
|
|
1871
|
+
"common167": {
|
|
1838
1872
|
"id": {
|
|
1839
1873
|
"type": "string"
|
|
1840
1874
|
},
|
|
@@ -1848,7 +1882,7 @@ const common = {
|
|
|
1848
1882
|
"type": "string"
|
|
1849
1883
|
}
|
|
1850
1884
|
},
|
|
1851
|
-
"
|
|
1885
|
+
"common168": {
|
|
1852
1886
|
"const": [
|
|
1853
1887
|
"poi"
|
|
1854
1888
|
],
|
|
@@ -1863,7 +1897,7 @@ const common = {
|
|
|
1863
1897
|
},
|
|
1864
1898
|
"type": "array"
|
|
1865
1899
|
},
|
|
1866
|
-
"
|
|
1900
|
+
"common169": {
|
|
1867
1901
|
"const": [
|
|
1868
1902
|
"NGO",
|
|
1869
1903
|
"Cooperative",
|
|
@@ -1890,7 +1924,7 @@ const common = {
|
|
|
1890
1924
|
},
|
|
1891
1925
|
"type": "array"
|
|
1892
1926
|
},
|
|
1893
|
-
"
|
|
1927
|
+
"common170": {
|
|
1894
1928
|
"enum": [
|
|
1895
1929
|
"NGO",
|
|
1896
1930
|
"Cooperative",
|
|
@@ -1900,10 +1934,10 @@ const common = {
|
|
|
1900
1934
|
],
|
|
1901
1935
|
"type": "string"
|
|
1902
1936
|
},
|
|
1903
|
-
"
|
|
1937
|
+
"common171": {
|
|
1904
1938
|
"$exists": false
|
|
1905
1939
|
},
|
|
1906
|
-
"
|
|
1940
|
+
"common172": {
|
|
1907
1941
|
"additionalProperties": false,
|
|
1908
1942
|
"properties": {
|
|
1909
1943
|
"$exists": {
|
|
@@ -1915,19 +1949,19 @@ const common = {
|
|
|
1915
1949
|
],
|
|
1916
1950
|
"type": "object"
|
|
1917
1951
|
},
|
|
1918
|
-
"
|
|
1952
|
+
"common173": {
|
|
1919
1953
|
"$exists": {
|
|
1920
1954
|
"const": false
|
|
1921
1955
|
}
|
|
1922
1956
|
},
|
|
1923
|
-
"
|
|
1957
|
+
"common174": {
|
|
1924
1958
|
"const": false
|
|
1925
1959
|
},
|
|
1926
|
-
"
|
|
1960
|
+
"common175": {
|
|
1927
1961
|
"default": 30,
|
|
1928
1962
|
"type": "integer"
|
|
1929
1963
|
},
|
|
1930
|
-
"
|
|
1964
|
+
"common176": {
|
|
1931
1965
|
"additionalProperties": false,
|
|
1932
1966
|
"else": {
|
|
1933
1967
|
"properties": {
|
|
@@ -1970,7 +2004,7 @@ const common = {
|
|
|
1970
2004
|
},
|
|
1971
2005
|
"type": "object"
|
|
1972
2006
|
},
|
|
1973
|
-
"
|
|
2007
|
+
"common177": {
|
|
1974
2008
|
"id": {
|
|
1975
2009
|
"type": "string"
|
|
1976
2010
|
},
|
|
@@ -1983,7 +2017,7 @@ const common = {
|
|
|
1983
2017
|
"type": "string"
|
|
1984
2018
|
}
|
|
1985
2019
|
},
|
|
1986
|
-
"
|
|
2020
|
+
"common178": {
|
|
1987
2021
|
"default": "citoyens",
|
|
1988
2022
|
"enum": [
|
|
1989
2023
|
"citoyens",
|
|
@@ -1991,7 +2025,7 @@ const common = {
|
|
|
1991
2025
|
],
|
|
1992
2026
|
"type": "string"
|
|
1993
2027
|
},
|
|
1994
|
-
"
|
|
2028
|
+
"common179": {
|
|
1995
2029
|
"links.members.@{pathParams.id}": {
|
|
1996
2030
|
"$exists": true
|
|
1997
2031
|
},
|
|
@@ -2002,7 +2036,7 @@ const common = {
|
|
|
2002
2036
|
"$exists": false
|
|
2003
2037
|
}
|
|
2004
2038
|
},
|
|
2005
|
-
"
|
|
2039
|
+
"common180": {
|
|
2006
2040
|
"default": [
|
|
2007
2041
|
"NGO",
|
|
2008
2042
|
"Cooperative",
|
|
@@ -2015,7 +2049,7 @@ const common = {
|
|
|
2015
2049
|
},
|
|
2016
2050
|
"type": "array"
|
|
2017
2051
|
},
|
|
2018
|
-
"
|
|
2052
|
+
"common181": {
|
|
2019
2053
|
"default": [
|
|
2020
2054
|
"citoyens",
|
|
2021
2055
|
"NGO",
|
|
@@ -2037,7 +2071,7 @@ const common = {
|
|
|
2037
2071
|
},
|
|
2038
2072
|
"type": "array"
|
|
2039
2073
|
},
|
|
2040
|
-
"
|
|
2074
|
+
"common182": {
|
|
2041
2075
|
"enum": [
|
|
2042
2076
|
"citoyens",
|
|
2043
2077
|
"NGO",
|
|
@@ -2048,7 +2082,7 @@ const common = {
|
|
|
2048
2082
|
],
|
|
2049
2083
|
"type": "string"
|
|
2050
2084
|
},
|
|
2051
|
-
"
|
|
2085
|
+
"common183": {
|
|
2052
2086
|
"additionalProperties": false,
|
|
2053
2087
|
"properties": {
|
|
2054
2088
|
"$exists": {
|
|
@@ -2061,13 +2095,13 @@ const common = {
|
|
|
2061
2095
|
],
|
|
2062
2096
|
"type": "object"
|
|
2063
2097
|
},
|
|
2064
|
-
"
|
|
2098
|
+
"common184": {
|
|
2065
2099
|
"$exists": {
|
|
2066
2100
|
"default": false,
|
|
2067
2101
|
"type": "boolean"
|
|
2068
2102
|
}
|
|
2069
2103
|
},
|
|
2070
|
-
"
|
|
2104
|
+
"common185": {
|
|
2071
2105
|
"additionalProperties": false,
|
|
2072
2106
|
"properties": {
|
|
2073
2107
|
"$in": {
|
|
@@ -2083,7 +2117,7 @@ const common = {
|
|
|
2083
2117
|
],
|
|
2084
2118
|
"type": "object"
|
|
2085
2119
|
},
|
|
2086
|
-
"
|
|
2120
|
+
"common186": {
|
|
2087
2121
|
"$in": {
|
|
2088
2122
|
"items": {
|
|
2089
2123
|
"type": "string"
|
|
@@ -2092,7 +2126,7 @@ const common = {
|
|
|
2092
2126
|
"type": "array"
|
|
2093
2127
|
}
|
|
2094
2128
|
},
|
|
2095
|
-
"
|
|
2129
|
+
"common187": {
|
|
2096
2130
|
"default": [
|
|
2097
2131
|
"citoyens",
|
|
2098
2132
|
"NGO",
|
|
@@ -2115,7 +2149,7 @@ const common = {
|
|
|
2115
2149
|
"minItems": 1,
|
|
2116
2150
|
"type": "array"
|
|
2117
2151
|
},
|
|
2118
|
-
"
|
|
2152
|
+
"common188": {
|
|
2119
2153
|
"const": [
|
|
2120
2154
|
"citoyens"
|
|
2121
2155
|
],
|
|
@@ -2130,13 +2164,13 @@ const common = {
|
|
|
2130
2164
|
},
|
|
2131
2165
|
"type": "array"
|
|
2132
2166
|
},
|
|
2133
|
-
"
|
|
2167
|
+
"common189": {
|
|
2134
2168
|
"enum": [
|
|
2135
2169
|
"citoyens"
|
|
2136
2170
|
],
|
|
2137
2171
|
"type": "string"
|
|
2138
2172
|
},
|
|
2139
|
-
"
|
|
2173
|
+
"common190": {
|
|
2140
2174
|
"const": [
|
|
2141
2175
|
"citoyens",
|
|
2142
2176
|
"NGO",
|
|
@@ -2169,7 +2203,7 @@ const common = {
|
|
|
2169
2203
|
},
|
|
2170
2204
|
"type": "array"
|
|
2171
2205
|
},
|
|
2172
|
-
"
|
|
2206
|
+
"common191": {
|
|
2173
2207
|
"enum": [
|
|
2174
2208
|
"citoyens",
|
|
2175
2209
|
"NGO",
|
|
@@ -2181,22 +2215,22 @@ const common = {
|
|
|
2181
2215
|
],
|
|
2182
2216
|
"type": "string"
|
|
2183
2217
|
},
|
|
2184
|
-
"
|
|
2218
|
+
"common192": {
|
|
2185
2219
|
"not": {
|
|
2186
2220
|
"propertyNames": {
|
|
2187
2221
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2188
2222
|
}
|
|
2189
2223
|
}
|
|
2190
2224
|
},
|
|
2191
|
-
"
|
|
2225
|
+
"common193": {
|
|
2192
2226
|
"propertyNames": {
|
|
2193
2227
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2194
2228
|
}
|
|
2195
2229
|
},
|
|
2196
|
-
"
|
|
2230
|
+
"common194": {
|
|
2197
2231
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2198
2232
|
},
|
|
2199
|
-
"
|
|
2233
|
+
"common195": {
|
|
2200
2234
|
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
2201
2235
|
"additionalProperties": false,
|
|
2202
2236
|
"properties": {
|
|
@@ -2234,22 +2268,22 @@ const common = {
|
|
|
2234
2268
|
"type": "object"
|
|
2235
2269
|
}
|
|
2236
2270
|
},
|
|
2237
|
-
"
|
|
2271
|
+
"common196": {
|
|
2238
2272
|
"not": {
|
|
2239
2273
|
"propertyNames": {
|
|
2240
2274
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2241
2275
|
}
|
|
2242
2276
|
}
|
|
2243
2277
|
},
|
|
2244
|
-
"
|
|
2278
|
+
"common197": {
|
|
2245
2279
|
"propertyNames": {
|
|
2246
2280
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2247
2281
|
}
|
|
2248
2282
|
},
|
|
2249
|
-
"
|
|
2283
|
+
"common198": {
|
|
2250
2284
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2251
2285
|
},
|
|
2252
|
-
"
|
|
2286
|
+
"common199": {
|
|
2253
2287
|
"default": "citoyens",
|
|
2254
2288
|
"enum": [
|
|
2255
2289
|
"citoyens",
|
|
@@ -2258,7 +2292,7 @@ const common = {
|
|
|
2258
2292
|
],
|
|
2259
2293
|
"type": "string"
|
|
2260
2294
|
},
|
|
2261
|
-
"
|
|
2295
|
+
"common200": {
|
|
2262
2296
|
"const": [
|
|
2263
2297
|
"badges"
|
|
2264
2298
|
],
|
|
@@ -2273,13 +2307,13 @@ const common = {
|
|
|
2273
2307
|
},
|
|
2274
2308
|
"type": "array"
|
|
2275
2309
|
},
|
|
2276
|
-
"
|
|
2310
|
+
"common201": {
|
|
2277
2311
|
"enum": [
|
|
2278
2312
|
"badges"
|
|
2279
2313
|
],
|
|
2280
2314
|
"type": "string"
|
|
2281
2315
|
},
|
|
2282
|
-
"
|
|
2316
|
+
"common202": {
|
|
2283
2317
|
"const": [
|
|
2284
2318
|
"citoyens",
|
|
2285
2319
|
"projects",
|
|
@@ -2312,7 +2346,7 @@ const common = {
|
|
|
2312
2346
|
},
|
|
2313
2347
|
"type": "array"
|
|
2314
2348
|
},
|
|
2315
|
-
"
|
|
2349
|
+
"common203": {
|
|
2316
2350
|
"enum": [
|
|
2317
2351
|
"citoyens",
|
|
2318
2352
|
"projects",
|
|
@@ -2324,7 +2358,7 @@ const common = {
|
|
|
2324
2358
|
],
|
|
2325
2359
|
"type": "string"
|
|
2326
2360
|
},
|
|
2327
|
-
"
|
|
2361
|
+
"common204": {
|
|
2328
2362
|
"additionalProperties": false,
|
|
2329
2363
|
"properties": {
|
|
2330
2364
|
"$exists": {
|
|
@@ -2337,17 +2371,17 @@ const common = {
|
|
|
2337
2371
|
],
|
|
2338
2372
|
"type": "object"
|
|
2339
2373
|
},
|
|
2340
|
-
"
|
|
2374
|
+
"common205": {
|
|
2341
2375
|
"$exists": {
|
|
2342
2376
|
"const": true,
|
|
2343
2377
|
"type": "boolean"
|
|
2344
2378
|
}
|
|
2345
2379
|
},
|
|
2346
|
-
"
|
|
2380
|
+
"common206": {
|
|
2347
2381
|
"const": true,
|
|
2348
2382
|
"type": "boolean"
|
|
2349
2383
|
},
|
|
2350
|
-
"
|
|
2384
|
+
"common207": {
|
|
2351
2385
|
"additionalProperties": false,
|
|
2352
2386
|
"properties": {
|
|
2353
2387
|
"$exists": {
|
|
@@ -2360,17 +2394,17 @@ const common = {
|
|
|
2360
2394
|
],
|
|
2361
2395
|
"type": "object"
|
|
2362
2396
|
},
|
|
2363
|
-
"
|
|
2397
|
+
"common208": {
|
|
2364
2398
|
"$exists": {
|
|
2365
2399
|
"const": false,
|
|
2366
2400
|
"type": "boolean"
|
|
2367
2401
|
}
|
|
2368
2402
|
},
|
|
2369
|
-
"
|
|
2403
|
+
"common209": {
|
|
2370
2404
|
"const": false,
|
|
2371
2405
|
"type": "boolean"
|
|
2372
2406
|
},
|
|
2373
|
-
"
|
|
2407
|
+
"common210": {
|
|
2374
2408
|
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2375
2409
|
"additionalProperties": false,
|
|
2376
2410
|
"properties": {
|
|
@@ -2398,52 +2432,52 @@ const common = {
|
|
|
2398
2432
|
"type": "object"
|
|
2399
2433
|
}
|
|
2400
2434
|
},
|
|
2401
|
-
"
|
|
2435
|
+
"common211": {
|
|
2402
2436
|
"indexMax": 30,
|
|
2403
2437
|
"indexMin": 0
|
|
2404
2438
|
},
|
|
2405
|
-
"
|
|
2439
|
+
"common212": {
|
|
2406
2440
|
"properties": {
|
|
2407
2441
|
"parentType": {
|
|
2408
2442
|
"const": "organizations"
|
|
2409
2443
|
}
|
|
2410
2444
|
}
|
|
2411
2445
|
},
|
|
2412
|
-
"
|
|
2446
|
+
"common213": {
|
|
2413
2447
|
"parentType": {
|
|
2414
2448
|
"const": "organizations"
|
|
2415
2449
|
}
|
|
2416
2450
|
},
|
|
2417
|
-
"
|
|
2451
|
+
"common214": {
|
|
2418
2452
|
"properties": {
|
|
2419
2453
|
"parentType": {
|
|
2420
2454
|
"const": "projects"
|
|
2421
2455
|
}
|
|
2422
2456
|
}
|
|
2423
2457
|
},
|
|
2424
|
-
"
|
|
2458
|
+
"common215": {
|
|
2425
2459
|
"parentType": {
|
|
2426
2460
|
"const": "projects"
|
|
2427
2461
|
}
|
|
2428
2462
|
},
|
|
2429
|
-
"
|
|
2463
|
+
"common216": {
|
|
2430
2464
|
"properties": {
|
|
2431
2465
|
"parentType": {
|
|
2432
2466
|
"const": "events"
|
|
2433
2467
|
}
|
|
2434
2468
|
}
|
|
2435
2469
|
},
|
|
2436
|
-
"
|
|
2470
|
+
"common217": {
|
|
2437
2471
|
"parentType": {
|
|
2438
2472
|
"const": "events"
|
|
2439
2473
|
}
|
|
2440
2474
|
},
|
|
2441
|
-
"
|
|
2475
|
+
"common218": {
|
|
2442
2476
|
"default": "@userId",
|
|
2443
2477
|
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2444
2478
|
"type": "string"
|
|
2445
2479
|
},
|
|
2446
|
-
"
|
|
2480
|
+
"common219": {
|
|
2447
2481
|
"const": "citoyens",
|
|
2448
2482
|
"default": "citoyens",
|
|
2449
2483
|
"enum": [
|
|
@@ -2451,7 +2485,7 @@ const common = {
|
|
|
2451
2485
|
],
|
|
2452
2486
|
"type": "string"
|
|
2453
2487
|
},
|
|
2454
|
-
"
|
|
2488
|
+
"common220": {
|
|
2455
2489
|
"enum": [
|
|
2456
2490
|
"citoyens",
|
|
2457
2491
|
"organizations",
|
|
@@ -2460,22 +2494,84 @@ const common = {
|
|
|
2460
2494
|
],
|
|
2461
2495
|
"type": "string"
|
|
2462
2496
|
},
|
|
2463
|
-
"
|
|
2497
|
+
"common221": {
|
|
2464
2498
|
"const": "citoyens",
|
|
2465
2499
|
"default": "citoyens",
|
|
2466
2500
|
"type": "string"
|
|
2467
2501
|
},
|
|
2468
|
-
"
|
|
2502
|
+
"common222": {
|
|
2469
2503
|
"const": "@userId",
|
|
2470
2504
|
"default": "@userId",
|
|
2471
2505
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2472
2506
|
"type": "string"
|
|
2473
2507
|
},
|
|
2474
|
-
"
|
|
2508
|
+
"common223": {
|
|
2509
|
+
"oneOf": [
|
|
2510
|
+
{
|
|
2511
|
+
"const": "",
|
|
2512
|
+
"type": "string"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"additionalProperties": true,
|
|
2516
|
+
"properties": {
|
|
2517
|
+
"coordinates": {
|
|
2518
|
+
"items": {
|
|
2519
|
+
"type": "number"
|
|
2520
|
+
},
|
|
2521
|
+
"maxItems": 2,
|
|
2522
|
+
"minItems": 2,
|
|
2523
|
+
"type": "array"
|
|
2524
|
+
},
|
|
2525
|
+
"float": {
|
|
2526
|
+
"const": true,
|
|
2527
|
+
"default": true,
|
|
2528
|
+
"type": "boolean"
|
|
2529
|
+
},
|
|
2530
|
+
"type": {
|
|
2531
|
+
"const": "Point",
|
|
2532
|
+
"type": "string"
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2535
|
+
"required": [
|
|
2536
|
+
"type",
|
|
2537
|
+
"coordinates"
|
|
2538
|
+
],
|
|
2539
|
+
"type": "object"
|
|
2540
|
+
}
|
|
2541
|
+
]
|
|
2542
|
+
},
|
|
2543
|
+
"common224": {
|
|
2544
|
+
"additionalProperties": true,
|
|
2545
|
+
"properties": {
|
|
2546
|
+
"coordinates": {
|
|
2547
|
+
"items": {
|
|
2548
|
+
"type": "number"
|
|
2549
|
+
},
|
|
2550
|
+
"maxItems": 2,
|
|
2551
|
+
"minItems": 2,
|
|
2552
|
+
"type": "array"
|
|
2553
|
+
},
|
|
2554
|
+
"float": {
|
|
2555
|
+
"const": true,
|
|
2556
|
+
"default": true,
|
|
2557
|
+
"type": "boolean"
|
|
2558
|
+
},
|
|
2559
|
+
"type": {
|
|
2560
|
+
"const": "Point",
|
|
2561
|
+
"type": "string"
|
|
2562
|
+
}
|
|
2563
|
+
},
|
|
2564
|
+
"required": [
|
|
2565
|
+
"type",
|
|
2566
|
+
"coordinates"
|
|
2567
|
+
],
|
|
2568
|
+
"type": "object"
|
|
2569
|
+
},
|
|
2570
|
+
"common225": {
|
|
2475
2571
|
"minLength": 3,
|
|
2476
2572
|
"type": "string"
|
|
2477
2573
|
},
|
|
2478
|
-
"
|
|
2574
|
+
"common226": {
|
|
2479
2575
|
"enum": [
|
|
2480
2576
|
"Mo",
|
|
2481
2577
|
"Tu",
|
|
@@ -2487,7 +2583,7 @@ const common = {
|
|
|
2487
2583
|
],
|
|
2488
2584
|
"type": "string"
|
|
2489
2585
|
},
|
|
2490
|
-
"
|
|
2586
|
+
"common227": {
|
|
2491
2587
|
"additionalProperties": false,
|
|
2492
2588
|
"properties": {
|
|
2493
2589
|
"closes": {
|
|
@@ -2505,7 +2601,7 @@ const common = {
|
|
|
2505
2601
|
],
|
|
2506
2602
|
"type": "object"
|
|
2507
2603
|
},
|
|
2508
|
-
"
|
|
2604
|
+
"common228": {
|
|
2509
2605
|
"closes": {
|
|
2510
2606
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2511
2607
|
"type": "string"
|
|
@@ -2515,11 +2611,11 @@ const common = {
|
|
|
2515
2611
|
"type": "string"
|
|
2516
2612
|
}
|
|
2517
2613
|
},
|
|
2518
|
-
"
|
|
2614
|
+
"common229": {
|
|
2519
2615
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2520
2616
|
"type": "string"
|
|
2521
2617
|
},
|
|
2522
|
-
"
|
|
2618
|
+
"common230": {
|
|
2523
2619
|
"default": {
|
|
2524
2620
|
"isOpenData": true,
|
|
2525
2621
|
"isOpenEdition": true
|
|
@@ -2540,11 +2636,11 @@ const common = {
|
|
|
2540
2636
|
],
|
|
2541
2637
|
"type": "object"
|
|
2542
2638
|
},
|
|
2543
|
-
"
|
|
2639
|
+
"common231": {
|
|
2544
2640
|
"isOpenData": true,
|
|
2545
2641
|
"isOpenEdition": true
|
|
2546
2642
|
},
|
|
2547
|
-
"
|
|
2643
|
+
"common232": {
|
|
2548
2644
|
"isOpenData": {
|
|
2549
2645
|
"default": true,
|
|
2550
2646
|
"type": "boolean"
|
|
@@ -2554,12 +2650,26 @@ const common = {
|
|
|
2554
2650
|
"type": "boolean"
|
|
2555
2651
|
}
|
|
2556
2652
|
},
|
|
2557
|
-
"
|
|
2653
|
+
"common233": {
|
|
2654
|
+
"oneOf": [
|
|
2655
|
+
{
|
|
2656
|
+
"const": "",
|
|
2657
|
+
"type": "string"
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"items": {
|
|
2661
|
+
"type": "string"
|
|
2662
|
+
},
|
|
2663
|
+
"type": "array"
|
|
2664
|
+
}
|
|
2665
|
+
]
|
|
2666
|
+
},
|
|
2667
|
+
"common234": {
|
|
2558
2668
|
"const": "projects",
|
|
2559
2669
|
"default": "projects",
|
|
2560
2670
|
"type": "string"
|
|
2561
2671
|
},
|
|
2562
|
-
"
|
|
2672
|
+
"common235": {
|
|
2563
2673
|
"additionalProperties": false,
|
|
2564
2674
|
"default": {
|
|
2565
2675
|
"@userId": {
|
|
@@ -2585,32 +2695,32 @@ const common = {
|
|
|
2585
2695
|
},
|
|
2586
2696
|
"type": "object"
|
|
2587
2697
|
},
|
|
2588
|
-
"
|
|
2698
|
+
"common236": {
|
|
2589
2699
|
"@userId": {
|
|
2590
2700
|
"type": "citoyens"
|
|
2591
2701
|
}
|
|
2592
2702
|
},
|
|
2593
|
-
"
|
|
2703
|
+
"common237": {
|
|
2594
2704
|
"type": "citoyens"
|
|
2595
2705
|
},
|
|
2596
|
-
"
|
|
2706
|
+
"common238": {
|
|
2597
2707
|
"const": "poi",
|
|
2598
2708
|
"default": "poi",
|
|
2599
2709
|
"type": "string"
|
|
2600
2710
|
},
|
|
2601
|
-
"
|
|
2711
|
+
"common239": {
|
|
2602
2712
|
"const": "events",
|
|
2603
2713
|
"default": "events",
|
|
2604
2714
|
"type": "string"
|
|
2605
2715
|
},
|
|
2606
|
-
"
|
|
2716
|
+
"common240": {
|
|
2607
2717
|
"format": "date-time",
|
|
2608
2718
|
"type": "string"
|
|
2609
2719
|
},
|
|
2610
|
-
"
|
|
2720
|
+
"common241": {
|
|
2611
2721
|
"type": "integer"
|
|
2612
2722
|
},
|
|
2613
|
-
"
|
|
2723
|
+
"common242": {
|
|
2614
2724
|
"additionalProperties": false,
|
|
2615
2725
|
"properties": {
|
|
2616
2726
|
"id": {
|
|
@@ -2630,7 +2740,7 @@ const common = {
|
|
|
2630
2740
|
],
|
|
2631
2741
|
"type": "object"
|
|
2632
2742
|
},
|
|
2633
|
-
"
|
|
2743
|
+
"common243": {
|
|
2634
2744
|
"id": {
|
|
2635
2745
|
"default": "@userId",
|
|
2636
2746
|
"pattern": "^[a-f0-9]{24}$",
|
|
@@ -2642,22 +2752,22 @@ const common = {
|
|
|
2642
2752
|
"type": "string"
|
|
2643
2753
|
}
|
|
2644
2754
|
},
|
|
2645
|
-
"
|
|
2755
|
+
"common244": {
|
|
2646
2756
|
"default": "@userId",
|
|
2647
2757
|
"pattern": "^[a-f0-9]{24}$",
|
|
2648
2758
|
"type": "string"
|
|
2649
2759
|
},
|
|
2650
|
-
"
|
|
2760
|
+
"common245": {
|
|
2651
2761
|
"const": "badges",
|
|
2652
2762
|
"default": "badges",
|
|
2653
2763
|
"type": "string"
|
|
2654
2764
|
},
|
|
2655
|
-
"
|
|
2765
|
+
"common246": {
|
|
2656
2766
|
"const": "badge",
|
|
2657
2767
|
"default": "badge",
|
|
2658
2768
|
"type": "string"
|
|
2659
2769
|
},
|
|
2660
|
-
"
|
|
2770
|
+
"common247": {
|
|
2661
2771
|
"patternProperties": {
|
|
2662
2772
|
"^[0-9a-f]{24}$": {
|
|
2663
2773
|
"additionalProperties": false,
|
|
@@ -2688,7 +2798,7 @@ const common = {
|
|
|
2688
2798
|
},
|
|
2689
2799
|
"type": "object"
|
|
2690
2800
|
},
|
|
2691
|
-
"
|
|
2801
|
+
"common248": {
|
|
2692
2802
|
"^[0-9a-f]{24}$": {
|
|
2693
2803
|
"additionalProperties": false,
|
|
2694
2804
|
"properties": {
|
|
@@ -2716,7 +2826,7 @@ const common = {
|
|
|
2716
2826
|
"type": "object"
|
|
2717
2827
|
}
|
|
2718
2828
|
},
|
|
2719
|
-
"
|
|
2829
|
+
"common249": {
|
|
2720
2830
|
"additionalProperties": false,
|
|
2721
2831
|
"properties": {
|
|
2722
2832
|
"isAdmin": {
|
|
@@ -2742,7 +2852,7 @@ const common = {
|
|
|
2742
2852
|
],
|
|
2743
2853
|
"type": "object"
|
|
2744
2854
|
},
|
|
2745
|
-
"
|
|
2855
|
+
"common250": {
|
|
2746
2856
|
"isAdmin": {
|
|
2747
2857
|
"default": "",
|
|
2748
2858
|
"enum": [
|
|
@@ -2761,7 +2871,7 @@ const common = {
|
|
|
2761
2871
|
"type": "array"
|
|
2762
2872
|
}
|
|
2763
2873
|
},
|
|
2764
|
-
"
|
|
2874
|
+
"common251": {
|
|
2765
2875
|
"default": "",
|
|
2766
2876
|
"enum": [
|
|
2767
2877
|
"",
|
|
@@ -2769,7 +2879,7 @@ const common = {
|
|
|
2769
2879
|
],
|
|
2770
2880
|
"type": "string"
|
|
2771
2881
|
},
|
|
2772
|
-
"
|
|
2882
|
+
"common252": {
|
|
2773
2883
|
"additionalProperties": false,
|
|
2774
2884
|
"properties": {
|
|
2775
2885
|
"contextId": {
|
|
@@ -3087,7 +3197,7 @@ const common = {
|
|
|
3087
3197
|
],
|
|
3088
3198
|
"type": "object"
|
|
3089
3199
|
},
|
|
3090
|
-
"
|
|
3200
|
+
"common253": {
|
|
3091
3201
|
"contextId": {
|
|
3092
3202
|
"pattern": "^[a-f0-9]{24}$",
|
|
3093
3203
|
"type": "string"
|
|
@@ -3390,14 +3500,14 @@ const common = {
|
|
|
3390
3500
|
"type": "array"
|
|
3391
3501
|
}
|
|
3392
3502
|
},
|
|
3393
|
-
"
|
|
3503
|
+
"common254": {
|
|
3394
3504
|
"enum": [
|
|
3395
3505
|
"projects",
|
|
3396
3506
|
"organizations"
|
|
3397
3507
|
],
|
|
3398
3508
|
"type": "string"
|
|
3399
3509
|
},
|
|
3400
|
-
"
|
|
3510
|
+
"common255": {
|
|
3401
3511
|
"items": {
|
|
3402
3512
|
"enum": [
|
|
3403
3513
|
"NGO",
|
|
@@ -3418,7 +3528,7 @@ const common = {
|
|
|
3418
3528
|
},
|
|
3419
3529
|
"type": "array"
|
|
3420
3530
|
},
|
|
3421
|
-
"
|
|
3531
|
+
"common256": {
|
|
3422
3532
|
"enum": [
|
|
3423
3533
|
"NGO",
|
|
3424
3534
|
"LocalBusiness",
|
|
@@ -3436,7 +3546,7 @@ const common = {
|
|
|
3436
3546
|
],
|
|
3437
3547
|
"type": "string"
|
|
3438
3548
|
},
|
|
3439
|
-
"
|
|
3549
|
+
"common257": {
|
|
3440
3550
|
"default": "",
|
|
3441
3551
|
"oneOf": [
|
|
3442
3552
|
{
|
|
@@ -3449,11 +3559,11 @@ const common = {
|
|
|
3449
3559
|
}
|
|
3450
3560
|
]
|
|
3451
3561
|
},
|
|
3452
|
-
"
|
|
3562
|
+
"common258": {
|
|
3453
3563
|
"additionalProperties": true,
|
|
3454
3564
|
"type": "object"
|
|
3455
3565
|
},
|
|
3456
|
-
"
|
|
3566
|
+
"common259": {
|
|
3457
3567
|
"oneOf": [
|
|
3458
3568
|
{
|
|
3459
3569
|
"additionalProperties": false,
|
|
@@ -3552,7 +3662,7 @@ const common = {
|
|
|
3552
3662
|
}
|
|
3553
3663
|
]
|
|
3554
3664
|
},
|
|
3555
|
-
"
|
|
3665
|
+
"common260": {
|
|
3556
3666
|
"additionalProperties": false,
|
|
3557
3667
|
"patternProperties": {
|
|
3558
3668
|
"^[^\\s]+$": {
|
|
@@ -3599,7 +3709,7 @@ const common = {
|
|
|
3599
3709
|
},
|
|
3600
3710
|
"type": "object"
|
|
3601
3711
|
},
|
|
3602
|
-
"
|
|
3712
|
+
"common261": {
|
|
3603
3713
|
"^[^\\s]+$": {
|
|
3604
3714
|
"additionalProperties": false,
|
|
3605
3715
|
"properties": {
|
|
@@ -3642,7 +3752,7 @@ const common = {
|
|
|
3642
3752
|
"type": "object"
|
|
3643
3753
|
}
|
|
3644
3754
|
},
|
|
3645
|
-
"
|
|
3755
|
+
"common262": {
|
|
3646
3756
|
"additionalProperties": false,
|
|
3647
3757
|
"properties": {
|
|
3648
3758
|
"countryCode": {
|
|
@@ -3683,7 +3793,7 @@ const common = {
|
|
|
3683
3793
|
],
|
|
3684
3794
|
"type": "object"
|
|
3685
3795
|
},
|
|
3686
|
-
"
|
|
3796
|
+
"common263": {
|
|
3687
3797
|
"countryCode": {
|
|
3688
3798
|
"type": "string"
|
|
3689
3799
|
},
|
|
@@ -3716,7 +3826,7 @@ const common = {
|
|
|
3716
3826
|
"type": "string"
|
|
3717
3827
|
}
|
|
3718
3828
|
},
|
|
3719
|
-
"
|
|
3829
|
+
"common264": {
|
|
3720
3830
|
"enum": [
|
|
3721
3831
|
"cities",
|
|
3722
3832
|
"cp",
|
|
@@ -3729,7 +3839,7 @@ const common = {
|
|
|
3729
3839
|
],
|
|
3730
3840
|
"type": "string"
|
|
3731
3841
|
},
|
|
3732
|
-
"
|
|
3842
|
+
"common265": {
|
|
3733
3843
|
"items": {
|
|
3734
3844
|
"additionalProperties": false,
|
|
3735
3845
|
"properties": {
|
|
@@ -3773,7 +3883,7 @@ const common = {
|
|
|
3773
3883
|
},
|
|
3774
3884
|
"type": "array"
|
|
3775
3885
|
},
|
|
3776
|
-
"
|
|
3886
|
+
"common266": {
|
|
3777
3887
|
"additionalProperties": true,
|
|
3778
3888
|
"properties": {
|
|
3779
3889
|
"tags": {
|
|
@@ -3788,7 +3898,7 @@ const common = {
|
|
|
3788
3898
|
},
|
|
3789
3899
|
"type": "object"
|
|
3790
3900
|
},
|
|
3791
|
-
"
|
|
3901
|
+
"common267": {
|
|
3792
3902
|
"tags": {
|
|
3793
3903
|
"additionalProperties": true,
|
|
3794
3904
|
"properties": {
|
|
@@ -3799,7 +3909,7 @@ const common = {
|
|
|
3799
3909
|
"type": "object"
|
|
3800
3910
|
}
|
|
3801
3911
|
},
|
|
3802
|
-
"
|
|
3912
|
+
"common268": {
|
|
3803
3913
|
"additionalProperties": true,
|
|
3804
3914
|
"properties": {
|
|
3805
3915
|
"verb": {
|
|
@@ -3808,12 +3918,12 @@ const common = {
|
|
|
3808
3918
|
},
|
|
3809
3919
|
"type": "object"
|
|
3810
3920
|
},
|
|
3811
|
-
"
|
|
3921
|
+
"common269": {
|
|
3812
3922
|
"verb": {
|
|
3813
3923
|
"type": "string"
|
|
3814
3924
|
}
|
|
3815
3925
|
},
|
|
3816
|
-
"
|
|
3926
|
+
"common270": {
|
|
3817
3927
|
"additionalProperties": {
|
|
3818
3928
|
"enum": [
|
|
3819
3929
|
1,
|
|
@@ -3823,14 +3933,14 @@ const common = {
|
|
|
3823
3933
|
},
|
|
3824
3934
|
"type": "object"
|
|
3825
3935
|
},
|
|
3826
|
-
"
|
|
3936
|
+
"common271": {
|
|
3827
3937
|
"enum": [
|
|
3828
3938
|
1,
|
|
3829
3939
|
-1
|
|
3830
3940
|
],
|
|
3831
3941
|
"type": "integer"
|
|
3832
3942
|
},
|
|
3833
|
-
"
|
|
3943
|
+
"common272": {
|
|
3834
3944
|
"additionalProperties": false,
|
|
3835
3945
|
"properties": {
|
|
3836
3946
|
"id": {
|
|
@@ -3848,7 +3958,7 @@ const common = {
|
|
|
3848
3958
|
],
|
|
3849
3959
|
"type": "object"
|
|
3850
3960
|
},
|
|
3851
|
-
"
|
|
3961
|
+
"common273": {
|
|
3852
3962
|
"id": {
|
|
3853
3963
|
"pattern": "^[a-f0-9]{24}$",
|
|
3854
3964
|
"type": "string"
|
|
@@ -3858,11 +3968,11 @@ const common = {
|
|
|
3858
3968
|
"type": "string"
|
|
3859
3969
|
}
|
|
3860
3970
|
},
|
|
3861
|
-
"
|
|
3971
|
+
"common274": {
|
|
3862
3972
|
"default": "events",
|
|
3863
3973
|
"type": "string"
|
|
3864
3974
|
},
|
|
3865
|
-
"
|
|
3975
|
+
"common275": {
|
|
3866
3976
|
"items": {
|
|
3867
3977
|
"properties": {
|
|
3868
3978
|
"id": {
|
|
@@ -3876,7 +3986,7 @@ const common = {
|
|
|
3876
3986
|
},
|
|
3877
3987
|
"type": "array"
|
|
3878
3988
|
},
|
|
3879
|
-
"
|
|
3989
|
+
"common276": {
|
|
3880
3990
|
"properties": {
|
|
3881
3991
|
"id": {
|
|
3882
3992
|
"type": "string"
|
|
@@ -3887,12 +3997,12 @@ const common = {
|
|
|
3887
3997
|
],
|
|
3888
3998
|
"type": "object"
|
|
3889
3999
|
},
|
|
3890
|
-
"
|
|
4000
|
+
"common277": {
|
|
3891
4001
|
"id": {
|
|
3892
4002
|
"type": "string"
|
|
3893
4003
|
}
|
|
3894
4004
|
},
|
|
3895
|
-
"
|
|
4005
|
+
"common278": {
|
|
3896
4006
|
"additionalProperties": false,
|
|
3897
4007
|
"properties": {
|
|
3898
4008
|
"contextId": {
|
|
@@ -3936,7 +4046,7 @@ const common = {
|
|
|
3936
4046
|
},
|
|
3937
4047
|
"type": "object"
|
|
3938
4048
|
},
|
|
3939
|
-
"
|
|
4049
|
+
"common279": {
|
|
3940
4050
|
"contextId": {
|
|
3941
4051
|
"pattern": "^[a-f0-9]{24}$",
|
|
3942
4052
|
"type": "string"
|
|
@@ -3976,7 +4086,7 @@ const common = {
|
|
|
3976
4086
|
"type": "array"
|
|
3977
4087
|
}
|
|
3978
4088
|
},
|
|
3979
|
-
"
|
|
4089
|
+
"common280": {
|
|
3980
4090
|
"items": {
|
|
3981
4091
|
"enum": [
|
|
3982
4092
|
"answers"
|
|
@@ -3985,24 +4095,24 @@ const common = {
|
|
|
3985
4095
|
},
|
|
3986
4096
|
"type": "array"
|
|
3987
4097
|
},
|
|
3988
|
-
"
|
|
4098
|
+
"common281": {
|
|
3989
4099
|
"enum": [
|
|
3990
4100
|
"answers"
|
|
3991
4101
|
],
|
|
3992
4102
|
"type": "string"
|
|
3993
4103
|
},
|
|
3994
|
-
"
|
|
4104
|
+
"common282": {
|
|
3995
4105
|
"enum": [
|
|
3996
4106
|
"comments",
|
|
3997
4107
|
"news"
|
|
3998
4108
|
],
|
|
3999
4109
|
"type": "string"
|
|
4000
4110
|
},
|
|
4001
|
-
"
|
|
4111
|
+
"common283": {
|
|
4002
4112
|
"minLength": 1,
|
|
4003
4113
|
"type": "string"
|
|
4004
4114
|
},
|
|
4005
|
-
"
|
|
4115
|
+
"common284": {
|
|
4006
4116
|
"default": "citoyens",
|
|
4007
4117
|
"enum": [
|
|
4008
4118
|
"citoyens",
|
|
@@ -4013,10 +4123,10 @@ const common = {
|
|
|
4013
4123
|
],
|
|
4014
4124
|
"type": "string"
|
|
4015
4125
|
},
|
|
4016
|
-
"
|
|
4126
|
+
"common285": {
|
|
4017
4127
|
"type": "array"
|
|
4018
4128
|
},
|
|
4019
|
-
"
|
|
4129
|
+
"common286": {
|
|
4020
4130
|
"additionalProperties": true,
|
|
4021
4131
|
"properties": {
|
|
4022
4132
|
"costumId": {
|
|
@@ -4040,7 +4150,7 @@ const common = {
|
|
|
4040
4150
|
],
|
|
4041
4151
|
"type": "object"
|
|
4042
4152
|
},
|
|
4043
|
-
"
|
|
4153
|
+
"common287": {
|
|
4044
4154
|
"costumId": {
|
|
4045
4155
|
"type": "string"
|
|
4046
4156
|
},
|
|
@@ -4054,7 +4164,7 @@ const common = {
|
|
|
4054
4164
|
"type": "string"
|
|
4055
4165
|
}
|
|
4056
4166
|
},
|
|
4057
|
-
"
|
|
4167
|
+
"common288": {
|
|
4058
4168
|
"additionalProperties": true,
|
|
4059
4169
|
"properties": {
|
|
4060
4170
|
"costumId": {
|
|
@@ -4074,7 +4184,7 @@ const common = {
|
|
|
4074
4184
|
],
|
|
4075
4185
|
"type": "object"
|
|
4076
4186
|
},
|
|
4077
|
-
"
|
|
4187
|
+
"common289": {
|
|
4078
4188
|
"costumId": {
|
|
4079
4189
|
"type": "string"
|
|
4080
4190
|
},
|
|
@@ -4088,6 +4198,6 @@ const common = {
|
|
|
4088
4198
|
};
|
|
4089
4199
|
|
|
4090
4200
|
// Endpoints avec intégration des définitions communes
|
|
4091
|
-
const endpoints = {"endpoints":[{"auth":"bearer","constant":"DOCUMENT_LIST","contentType":"application/json","method":"GET","path":"/co2/document/list/id/{id}/type/{type}/tpl/json","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"poi","enum":["citoyens","organizations","projects","events","poi"],"type":"string"}},"required":["id","type"],"type":"object"}},{"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.common2,"email":common.common3,"isInvitation":common.common4,"mode":common.common2,"name":common.common2,"pendingUserId":common.common2,"pwd":common.common2,"username":common.common2},"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.common3,"password":common.common2},"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.common2},"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.common3,"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.common5},"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.common2,"newPassword2":common.common2,"oldPassword":common.common2,"scope":{"default":"","type":["string"]},"userId":common.common6},"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.common7,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common9},{"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.common1}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common6}}},{"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.common2,"type":common.common2,"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.common11,"description":common.common2,"id":common.common2,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common2,"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.common3,"emailNullable":common.common30,"name":common.common2,"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.common6,"mobile":common.common46,"name":common.common47,"scope":common.common11,"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.common2,"name":common.common47,"parent":common.common56,"scope":common.common11,"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.common2,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common11,"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.common2,"name":common.common47,"scope":common.common11,"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.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"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.common5]}},"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.common2,"instagram":common.common69,"mastodon":common.common69,"scope":common.common11,"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.common2,"scope":common.common11,"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.common2,"scope":common.common11,"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.common2,"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.common1,"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.common2,"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.common2},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common2,"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.common2,"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.common11},"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.common2,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common2,"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.common1,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common2,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common2,"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.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common134,"parentId":common.common1,"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.common1,"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.common11,"contextId":common.common1,"contextType":common.common137,"mentions":common.common138,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common11,"text":common.common2},"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.common1,"params":{"properties":{"mentions":common.common138,"text":common.common2},"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.common2},"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.common1,"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.common2,"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.common2,"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.common2,"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.common2,"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.common2,"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.common2,"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.common2,"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.common2,"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.common2,"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":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":common.common178,"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.common2,"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_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common110,"countType":common.common179,"fediverse":common.common129,"filters":{"additionalProperties":true,"default":common.common178,"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common11,"locality":common.common11,"name":common.common2,"notSourceKey":common.common110,"ranges":common.common151,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common179},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"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.common180,"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.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^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.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common180,"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.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common7,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"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.common182,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common187},"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.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@userId":common.common161,"links.followers.@{userId}.isInviting":common.common170,"links.followers.@{userId}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"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.common7,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@{pathParams.id}":common.common161,"links.followers.@{pathParams.id}.isInviting":common.common170,"links.followers.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"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.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"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.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"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.common2,"type":common.common198},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"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.common2,"notSourceKey":common.common87,"searchType":common.common187},"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.common180,"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.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^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.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common180,"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.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common199,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"isParcours":common.common4,"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.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common199},"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.common201,"fediverse":common.common142,"fields":common.common199,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common206,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common206}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common205}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common203}}],"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common210,"GovernmentOrganization":common.common210,"Group":common.common210,"LocalBusiness":common.common210,"NGO":common.common210,"citoyens":common.common210,"projects":common.common210},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common201},"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.common211,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common1,"parentType":common.common219},"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.common211,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common1,"parentType":common.common219},"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.common7},{"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.common220,"id":common.common221,"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.common205,"collection":common.common220,"id":common.common221,"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,"collection":{"const":"organizations","default":"organizations","type":"string"},"description":common.common2,"email":common.common3,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common2,"name":common.common2,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"id":common.common1,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common2,"name":common.common222,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common227,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common2,"socialNetwork":{"additionalProperties":common.common2,"type":"object"},"tags":common.common33,"telephone":common.common2,"thematic":common.common33,"type":common.common66,"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.common230,"geo":common.common79,"geoPosition":common.common83,"id":common.common1,"key":{"const":"project","default":"project","type":"string"},"name":common.common2,"parent":common.common231,"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.common2,"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.common234,"description":common.common2,"geo":common.common79,"geoPosition":common.common83,"id":common.common1,"key":common.common234,"name":common.common2,"parent":common.common231,"scope":common.common143,"source":{"additionalProperties":true,"properties":{"insertOrign":common.common2,"key":common.common2,"keys":common.common33},"type":"object"},"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.common235,"email":common.common30,"endDate":common.common236,"geo":common.common79,"geoPosition":common.common83,"id":common.common1,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"default":[],"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common231,"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.common236,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common2,"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_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common2},"required":["type","id"],"type":"object"},"request":common.common9},{"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.common1},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common2,"qqtotalfilesize":common.common237,"qquuid":common.common1},"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.common6,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common1,"parentType":common.common219},"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.common2,"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.common238,"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.common238,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common237},"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.common2},"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.common2,"name":common.common2,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common5},"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.common1},"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.common241,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common2},"required":["narrative"],"type":"object"},"description":common.common2,"id":common.common1,"isParcours":common.common129,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common2,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common242,"name":common.common2,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common2,"type":common.common241},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common227,"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.common1,"collection":common.common241,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common2,"url":common.common5},"required":["narative"],"type":"object"},"type":"array"},"key":common.common242,"narative":common.common2,"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.common236,"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.common2,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common236,"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.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common134,"parentId":common.common1,"parentType":common.common235},"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.common243,"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.common3,"isAdmin":common.common247,"msg":common.common2,"name":common.common2,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common243,"projects":common.common243},"type":"object"},"parentId":common.common2,"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.common217,"childType":common.common218,"parentId":common.common1,"parentType":common.common219},"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.common2}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common248},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common248},{"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"mode":common.common2,"parent_only":common.common4,"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.common268,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common2},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"date":{"oneOf":[common.common2,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common4,"mode":common.common2,"regions":common.common271,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common2,"type":common.common2},"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.common268,"request":common.common274},{"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.common268,"request":common.common274},{"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"mode":common.common2,"regions":common.common271,"sourceKey":common.common33,"tags":common.common33,"type":common.common2},"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.common268,"request":common.common274},{"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"event":common.common2,"mode":common.common2,"sourceKey":common.common33,"tl":common.common2},"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"event":common.common1,"mode":common.common2,"search":common.common2,"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.common2,"type":common.common198},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common2,"folderId":common.common2},"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.common187,"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.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^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.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"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.common187,"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.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common2,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"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.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"count":common.common87,"countType":common.common276,"fediverse":common.common129,"fields":common.common33,"filters":common.common253,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common205,"mode":common.common2,"name":common.common2,"notSourceKey":common.common205,"options":common.common262,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common276,"sortBy":common.common266,"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.common2,"fields":common.common33,"finderPath":common.common11,"formId":common.common2},"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":{"elementId":common.common1,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common1},"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.common1,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common1,"qqfile":common.common254,"qqfilename":common.common2,"qqtotalfilesize":common.common86,"qquuid":common.common2,"subKey":common.common2},"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.common1,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common2},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common1,"inputKeys":common.common2},"required":["formId","inputKeys"],"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.common2,"answerId":common.common1,"answers":common.common2,"formId":common.common1,"links":common.common2},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"stepKey":common.common2},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common2,"formId":common.common1,"inputKey":common.common2},"required":["formId","inputKey","criteriaIds"],"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.common278,"details":{"additionalProperties":false,"properties":{"status":common.common2},"required":["status"],"type":"object"},"id":common.common1},"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.common278,"details":{"additionalProperties":false,"properties":{"comment":common.common2,"reason":common.common2},"required":["reason"],"type":"object"},"id":common.common1},"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.common2}}}],"properties":{"arrayForm":common.common4,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common4,"formParentId":common.common1,"id":common.common6,"path":common.common2,"pull":common.common2,"setType":{"anyOf":[common.common279,{"items":{"additionalProperties":false,"properties":{"path":common.common2,"type":common.common2},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common4,"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.common6,"contextType":common.common280},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common1,"parentId":common.common6,"parentType":common.common280,"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.common1,"childType":common.common188,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common1,"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.common2,"costumSlug":common.common2,"costumType":common.common2,"searchedData":common.common254},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common1,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common250,"count":common.common129,"fediverse":common.common129,"fields":common.common33,"filters":{"oneOf":[common.common254,common.common31]},"indexMin":common.common144,"indexStep":{"default":10000,"type":"number"},"initType":common.common11,"locality":{"oneOf":[common.common254,{"items":common.common254,"type":"array"},common.common31]},"notSourceKey":common.common110,"params":{"additionalProperties":false,"properties":{"finderPath":common.common2,"thematicPath":common.common2},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common2,"type":"array"},"sortBy":common.common266,"sourceKey":common.common33},"required":["params"],"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.common4]},"costumId":common.common1,"costumSlug":common.common2,"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.common2,"costumSlug":common.common2,"costumType":common.common2,"countryCode":common.common281,"level":common.common281,"sortBy":common.common2,"upperLevelId":common.common2},"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.common2},"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.common1},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common2},"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.common2,"answer":common.common1,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common2,"financerId":common.common1,"financerType":common.common2,"formId":common.common1,"params":common.common254,"project":common.common1},"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.common1,"project":common.common1},"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.common1,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common236,"idParentRoom":common.common1,"importance":{"default":"low","type":"string"},"is_contributor":common.common4,"max":common.common157,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common236,"milestoneId":common.common1,"startDate":common.common236},"required":["milestoneId"],"type":"object"},"min":common.common157,"name":common.common2,"parentId":common.common1,"parentType":common.common230,"startDate":common.common236,"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.common1,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common1},"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.common2,"id":common.common1,"startDate":common.common2},"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.common1,"contributor":common.common1,"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.common282},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common284},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common282},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common284},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common284},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common282},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common284},{"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.common2,"costumSlug":common.common2,"costumType":common.common2,"limit":common.common237,"username":common.common2},"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.common2,"addressLocality":common.common2,"codeInsee":common.common2,"level1":common.common2,"level1Name":common.common2,"level2":common.common2,"level2Name":common.common2,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common2,"postalCode":common.common2,"streetAddress":common.common2},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"description":common.common2,"geo":common.common79,"geoPosition":common.common83,"id":common.common1,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common222,"parent":common.common231,"preferences":common.common227,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common279,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}},{"auth":"none","constant":"PERSON_ACTIVATE","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/activate","request":{"properties":{"user":common.common2,"validationKey":common.common2},"required":["user","validationKey"],"type":"object"}}]};
|
|
4201
|
+
const endpoints = {"endpoints":[{"auth":"bearer","constant":"DOCUMENT_LIST","contentType":"application/json","method":"GET","path":"/co2/document/list/id/{id}/type/{type}/tpl/json","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"default":"poi","enum":["citoyens","organizations","projects","events","poi"],"type":"string"}},"required":["id","type"],"type":"object"}},{"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.common2,"email":common.common3,"isInvitation":common.common4,"mode":common.common2,"name":common.common2,"pendingUserId":common.common2,"pwd":common.common2,"username":common.common2},"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.common3,"password":common.common2},"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.common2},"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.common3,"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.common5},"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.common2,"newPassword2":common.common2,"oldPassword":common.common2,"scope":{"default":"","type":["string"]},"userId":common.common6},"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.common7,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common9},{"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.common1}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common6}}},{"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.common2,"type":common.common2,"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.common11,"description":common.common2,"id":common.common2,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common2,"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.common3,"emailNullable":common.common30,"name":common.common2,"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.common6,"mobile":common.common46,"name":common.common47,"scope":common.common11,"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.common2,"name":common.common47,"parent":common.common56,"scope":common.common11,"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.common2,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common11,"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.common2,"name":common.common47,"scope":common.common11,"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.common2,"name":common.common47,"scope":common.common11,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common2,"scope":common.common11,"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.common5]}},"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.common2,"instagram":common.common69,"mastodon":common.common69,"scope":common.common11,"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":common.common79,"geoPosition":{"oneOf":[common.common31,common.common84]},"id":common.common2,"scope":common.common11,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common90,"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.common2,"scope":common.common11,"slug":common.common93,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common90,"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.common94,"properties":{"block":common.common45,"id":common.common2,"slug":common.common93,"type":common.common19},"required":["block","type","id","slug"],"then":common.common90,"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.common96,"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.common96,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common87,"cropW":common.common87,"cropX":common.common87,"cropY":common.common87,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common1,"parentType":common.common102},"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.common94,"properties":{"id":common.common2,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common90,"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.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common2},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common2,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common109,"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.common94,"properties":{"id":common.common2,"isLive":common.common111,"type":common.common70},"required":["isLive","type","id"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common112,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common11},"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.common113},"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.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"json":common.common88,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common109,"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.common127,"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.common127,"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.common129,"request":{"additionalProperties":false,"properties":{"isLive":common.common130},"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.common114,common.common115,common.common116],"else":common.common105,"if":common.common107,"properties":{"idNews":common.common1,"markdownActive":common.common111,"mediaFile":common.common117,"mediaImg":common.common119,"mentions":common.common121,"parentId":common.common2,"parentType":common.common70,"scope":common.common125,"tags":common.common32,"text":common.common2,"type":common.common126},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common126},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common136,"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.common1,"type":common.common138},"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.common11,"contextId":common.common1,"contextType":common.common138,"mentions":common.common139,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common11,"text":common.common2},"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.common129},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common1,"params":{"properties":{"mentions":common.common139,"text":common.common2},"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.common2},"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.common1,"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.common88,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common142,"type":"array"},"fediverse":common.common143,"filters":common.common144,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":{"items":common.common142,"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.common158,"locality":common.common144,"name":common.common2,"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.common130,"scopeValue":common.common2,"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.common159,"name":common.common2,"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.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common162,"parent.@userId":common.common162},"links.contributors.@userId":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"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.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common160,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common162,"parent.@{pathParams.id}":common.common162},"links.contributors.@{pathParams.id}":common.common162},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common160},"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.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"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.common166,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common168,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common162},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common168},"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.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common162,"links.members.@userId.isInviting":common.common171,"links.members.@userId.toBeValidated":common.common171},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"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":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common169,"fediverse":common.common143,"filters":{"additionalProperties":true,"default":common.common179,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common169},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common176,"request":{"additionalProperties":false,"properties":{"count":common.common111,"countType":common.common180,"fediverse":common.common130,"filters":{"additionalProperties":true,"default":common.common179,"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common11,"locality":common.common11,"name":common.common2,"notSourceKey":common.common111,"ranges":common.common152,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common180},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"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.common88,"countType":common.common181,"fediverse":common.common143,"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.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"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.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"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.common162,"links.memberOf.@{pathParams.id}.isInviting":common.common171,"links.memberOf.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"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.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"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.common162,"links.friends.@{pathParams.id}.isInviting":common.common171,"links.friends.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchType":common.common188},"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.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@userId":common.common162,"links.followers.@{userId}.isInviting":common.common171,"links.followers.@{userId}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"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.common7,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common190,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common192],"default":{"links.followers.@{pathParams.id}":common.common162,"links.followers.@{pathParams.id}.isInviting":common.common171,"links.followers.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":common.common195,"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common190},"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.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@userId":common.common162,"links.follows.@{userId}.isInviting":common.common171,"links.follows.@{userId}.toBeValidated":common.common171},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common172,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"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.common94,"then":common.common90}],"properties":{"id":common.common2,"type":common.common199},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"filters":{"additionalProperties":false,"allOf":[common.common196],"default":{"links.follows.@{pathParams.id}":common.common162},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163},"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"searchType":common.common188},"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.common88,"countType":common.common181,"fediverse":common.common143,"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.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"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.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common181,"fediverse":common.common143,"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.common162,"links.projects.@{pathParams.id}.isInviting":common.common171,"links.projects.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common187},"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.common88,"countType":common.common200,"fediverse":common.common143,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"},"isParcours":common.common4,"preferences.private":common.common143},"required":["preferences.private"],"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common200},"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.common88,"countType":common.common202,"fediverse":common.common143,"fields":common.common200,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common204,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common207,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common207}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common210,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common206}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common204}}],"type":"object"},"indexMin":common.common159,"indexStep":common.common175,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common211,"GovernmentOrganization":common.common211,"Group":common.common211,"LocalBusiness":common.common211,"NGO":common.common211,"citoyens":common.common211,"projects":common.common211},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common154},"type":"object"},"searchType":common.common202},"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.common107,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common212,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"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.common107,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common212,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common214,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common216,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common218,"childType":common.common219,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"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.common7},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common87},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common221,"id":common.common222,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common144},"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.common206,"collection":common.common221,"id":common.common222,"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.common74,"collection":{"const":"organizations","default":"organizations","type":"string"},"description":common.common2,"email":common.common3,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common2,"name":common.common2,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common2,"name":common.common225,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common230,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common144,"shortDescription":common.common2,"socialNetwork":{"additionalProperties":common.common2,"type":"object"},"tags":common.common233,"telephone":common.common2,"thematic":common.common33,"type":common.common66,"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.common74,"collection":common.common234,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"project","default":"project","type":"string"},"name":common.common2,"parent":common.common235,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common111,"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"scope":common.common144,"shortDescription":common.common2,"tags":common.common233,"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.common74,"collection":common.common238,"description":common.common2,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":common.common238,"name":common.common2,"parent":common.common235,"scope":common.common144,"source":{"additionalProperties":true,"properties":{"insertOrign":common.common2,"key":common.common2,"keys":common.common33},"type":"object"},"tags":common.common233,"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.common174}},"properties":{"address":common.common74,"collection":common.common239,"email":common.common30,"endDate":common.common240,"geo":common.common79,"geoPosition":common.common223,"id":common.common1,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common226,"hours":{"default":[],"items":common.common227,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common235,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common130,"isOpenEdition":common.common130},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common111,"recurrency":common.common130,"scope":common.common144,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common240,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common2,"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_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common1,"type":common.common2},"required":["type","id"],"type":"object"},"request":common.common9},{"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.common1},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common2,"qqtotalfilesize":common.common241,"qquuid":common.common1},"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.common6,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common1,"parentType":common.common220},"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.common2,"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.common242,"request":{"additionalProperties":false,"properties":{"indexMin":common.common112},"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.common242,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common241},"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.common88},"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.common129},{"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.common2},"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.common2,"name":common.common2,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common5},"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.common1},"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.common129},{"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.common245,"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common2},"required":["narrative"],"type":"object"},"description":common.common2,"id":common.common1,"isParcours":common.common130,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common2,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common246,"name":common.common2,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common2,"type":common.common245},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common230,"public":common.common111,"scope":common.common144,"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.common1,"collection":common.common245,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common2,"url":common.common5},"required":["narative"],"type":"object"},"type":"array"},"key":common.common246,"narative":common.common2,"scope":common.common144},"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.common130,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common240,"fediverse":common.common130,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common162,"organizer.@userId":common.common162},"links.attendees.@userId":common.common162},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common163},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common112,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common2,"recurrency":common.common111,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common240,"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.common131,"if":common.common133,"properties":{"childId":common.common1,"childType":common.common70,"comment":common.common2,"connectType":common.common135,"parentId":common.common1,"parentType":common.common239},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common136,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common105,"if":common.common107,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common247,"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.common3,"isAdmin":common.common251,"msg":common.common2,"name":common.common2,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common247,"projects":common.common247},"type":"object"},"parentId":common.common2,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common109,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common218,"childType":common.common219,"parentId":common.common1,"parentType":common.common220},"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.common2}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common252},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common252},{"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"mode":common.common2,"parent_only":common.common4,"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.common272,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common2},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"date":{"oneOf":[common.common2,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common4,"mode":common.common2,"regions":common.common275,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common2,"type":common.common2},"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.common272,"request":common.common278},{"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.common272,"request":common.common278},{"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"mode":common.common2,"regions":common.common275,"sourceKey":common.common33,"tags":common.common33,"type":common.common2},"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.common272,"request":common.common278},{"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"event":common.common2,"mode":common.common2,"sourceKey":common.common33,"tl":common.common2},"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.common272,"request":{"additionalProperties":false,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"event":common.common1,"mode":common.common2,"search":common.common2,"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.common94,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common2,"type":common.common199},"required":["id","type","docType"],"then":common.common90,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common2,"folderId":common.common2},"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.common88,"countType":common.common188,"fediverse":common.common143,"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.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common172},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"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.common129,"request":{"additionalProperties":false,"properties":{"count":common.common88,"countType":common.common188,"fediverse":common.common143,"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.common162,"links.events.@{pathParams.id}.isInviting":common.common171,"links.events.@{pathParams.id}.toBeValidated":common.common171},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common163,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common183,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common185,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common183},"type":"object"},"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common144,"name":common.common2,"notSourceKey":common.common88,"ranges":common.common152,"searchBy":common.common156,"searchType":common.common188},"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.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"count":common.common88,"countType":common.common280,"fediverse":common.common130,"fields":common.common33,"filters":common.common257,"indexMax":common.common87,"indexMin":common.common145,"indexStep":common.common146,"initType":common.common144,"locality":common.common147,"mapUsed":common.common206,"mode":common.common2,"name":common.common2,"notSourceKey":common.common206,"options":common.common266,"ranges":common.common152,"searchBy":common.common156,"searchTags":common.common33,"searchType":common.common280,"sortBy":common.common270,"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.common2,"fields":common.common33,"finderPath":common.common11,"formId":common.common2},"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":{"elementId":common.common1,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common1},"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.common1,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common1,"qqfile":common.common258,"qqfilename":common.common2,"qqtotalfilesize":common.common87,"qquuid":common.common2,"subKey":common.common2},"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.common1,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common2},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common1,"inputKeys":common.common2},"required":["formId","inputKeys"],"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.common2,"answerId":common.common1,"answers":common.common2,"formId":common.common1,"links":common.common2},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"stepKey":common.common2},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common2,"formId":common.common1,"inputKey":common.common2},"required":["formId","inputKey","criteriaIds"],"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.common282,"details":{"additionalProperties":false,"properties":{"status":common.common2},"required":["status"],"type":"object"},"id":common.common1},"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.common282,"details":{"additionalProperties":false,"properties":{"comment":common.common2,"reason":common.common2},"required":["reason"],"type":"object"},"id":common.common1},"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.common2}}}],"properties":{"arrayForm":common.common4,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common4,"formParentId":common.common1,"id":common.common6,"path":common.common2,"pull":common.common2,"setType":{"anyOf":[common.common283,{"items":{"additionalProperties":false,"properties":{"path":common.common2,"type":common.common2},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common4,"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.common6,"contextType":common.common284},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common1,"parentId":common.common6,"parentType":common.common284,"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.common129},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common1,"childType":common.common189,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common143,"parentId":common.common1,"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.common2,"costumSlug":common.common2,"costumType":common.common2,"searchedData":common.common258},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common1,"contextType":common.common254,"costumEditMode":common.common130,"costumId":common.common1,"costumSlug":common.common2,"costumType":common.common254,"count":common.common130,"fediverse":common.common130,"fields":common.common33,"filters":{"oneOf":[common.common258,common.common31]},"indexMin":common.common145,"indexStep":{"default":10000,"type":"number"},"initType":common.common11,"locality":{"oneOf":[common.common258,{"items":common.common258,"type":"array"},common.common31]},"notSourceKey":common.common111,"params":{"additionalProperties":false,"properties":{"finderPath":common.common2,"thematicPath":common.common2},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common2,"type":"array"},"sortBy":common.common270,"sourceKey":common.common33},"required":["params"],"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.common4]},"costumId":common.common1,"costumSlug":common.common2,"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.common2,"costumSlug":common.common2,"costumType":common.common2,"countryCode":common.common285,"level":common.common285,"sortBy":common.common2,"upperLevelId":common.common2},"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.common2},"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.common1},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common2},"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.common2,"answer":common.common1,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common2,"financerId":common.common1,"financerType":common.common2,"formId":common.common1,"params":common.common258,"project":common.common1},"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.common1,"project":common.common1},"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.common1,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common240,"idParentRoom":common.common1,"importance":{"default":"low","type":"string"},"is_contributor":common.common4,"max":common.common158,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common240,"milestoneId":common.common1,"startDate":common.common240},"required":["milestoneId"],"type":"object"},"min":common.common158,"name":common.common2,"parentId":common.common1,"parentType":common.common234,"startDate":common.common240,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common158,"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.common1,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common1},"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.common2,"id":common.common1,"startDate":common.common2},"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.common1,"contributor":common.common1,"contributors":common.common113,"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.common129},{"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.common129},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common286},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common288},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common286},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common288},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common288},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common286},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common288},{"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.common2,"costumSlug":common.common2,"costumType":common.common2,"limit":common.common241,"username":common.common2},"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.common2,"addressLocality":common.common2,"codeInsee":common.common2,"level1":common.common2,"level1Name":common.common2,"level2":common.common2,"level2Name":common.common2,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common2,"postalCode":common.common2,"streetAddress":common.common2},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"costumId":common.common2,"costumSlug":common.common2,"costumType":common.common2,"description":common.common2,"geo":common.common80,"geoPosition":common.common84,"id":common.common1,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common225,"parent":common.common235,"preferences":common.common230,"scope":common.common144,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common283,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}},{"auth":"none","constant":"PERSON_ACTIVATE","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/activate","request":{"properties":{"user":common.common2,"validationKey":common.common2},"required":["user","validationKey"],"type":"object"}}]};
|
|
4092
4202
|
|
|
4093
4203
|
export default endpoints;
|