@communecter/cocolight-api-client 1.0.54 → 1.0.56
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/401.cocolight-api-client.browser.js +1 -0
- package/dist/401.cocolight-api-client.cjs +1 -0
- package/dist/401.cocolight-api-client.mjs.js +1 -0
- package/dist/588.cocolight-api-client.browser.js +1 -0
- package/dist/588.cocolight-api-client.cjs +1 -0
- package/dist/588.cocolight-api-client.mjs.js +1 -0
- package/dist/593.cocolight-api-client.browser.js +1 -0
- package/dist/593.cocolight-api-client.cjs +1 -0
- package/dist/593.cocolight-api-client.mjs.js +1 -0
- package/dist/839.cocolight-api-client.browser.js +1 -0
- package/dist/839.cocolight-api-client.cjs +1 -0
- package/dist/839.cocolight-api-client.mjs.js +1 -0
- package/dist/cocolight-api-client.browser.js +3 -3
- 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 +29 -17
- package/src/{Api.js → Api.ts} +85 -95
- package/src/{ApiClient.js → ApiClient.ts} +436 -247
- package/src/EJSONType.ts +103 -0
- package/src/api/{Badge.js → Badge.ts} +56 -45
- package/src/api/BaseEntity.ts +3890 -0
- package/src/api/Comment.ts +200 -0
- package/src/api/{EndpointApi.js → EndpointApi.ts} +363 -297
- package/src/api/EndpointApi.types.ts +4609 -0
- package/src/api/EntityRegistry.ts +203 -0
- package/src/api/Event.ts +332 -0
- package/src/api/News.ts +331 -0
- package/src/api/{Organization.js → Organization.ts} +155 -119
- package/src/api/{Poi.js → Poi.ts} +68 -60
- package/src/api/{Project.js → Project.ts} +150 -127
- package/src/api/{User.js → User.ts} +321 -256
- package/src/api/UserApi.ts +148 -0
- package/src/api/serverDataType/Comment.ts +88 -0
- package/src/api/serverDataType/Event.ts +80 -0
- package/src/api/serverDataType/News.ts +138 -0
- package/src/api/serverDataType/Organization.ts +80 -0
- package/src/api/serverDataType/Project.ts +71 -0
- package/src/api/serverDataType/User.ts +103 -0
- package/src/api/serverDataType/common.ts +80 -0
- package/src/endpoints.module.ts +2621 -0
- package/src/error.ts +86 -0
- package/src/index.ts +86 -0
- package/src/mixin/UserMixin.ts +4 -0
- package/src/types/api-responses.ts +217 -0
- package/src/types/entities.ts +22 -0
- package/src/types/error-guards.ts +230 -0
- package/src/types/index.ts +39 -0
- package/src/types/payloads.ts +21 -0
- package/src/types/transforms.ts +110 -0
- package/src/utils/{FileOfflineStorageStrategy.node.js → FileOfflineStorageStrategy.node.ts} +15 -12
- package/src/utils/{FileStorageStrategy.node.js → FileStorageStrategy.node.ts} +16 -39
- package/src/utils/MultiServerFileStorageStrategy.node.ts +67 -0
- package/src/utils/MultiServerTokenStorageStrategy.ts +139 -0
- package/src/utils/{OfflineClientManager.js → OfflineClientManager.ts} +82 -86
- package/src/utils/OfflineQueueStorageStrategy.ts +47 -0
- package/src/utils/TokenStorage.ts +77 -0
- package/src/utils/compat.ts +12 -0
- package/src/utils/createDefaultMultiServerTokenStorageStrategy.ts +35 -0
- package/src/utils/{createDefaultOfflineStrategy.js → createDefaultOfflineStrategy.ts} +8 -3
- package/src/utils/createDefaultTokenStorageStrategy.ts +33 -0
- package/src/utils/{reactive.js → reactive.ts} +49 -40
- package/src/utils/stream-utils.node.ts +12 -0
- package/types/Api.d.ts +38 -82
- package/types/Api.d.ts.map +1 -0
- package/types/ApiClient.d.ts +244 -184
- package/types/ApiClient.d.ts.map +1 -0
- package/types/EJSONType.d.ts +48 -22
- package/types/EJSONType.d.ts.map +1 -0
- package/types/api/Badge.d.ts +20 -20
- package/types/api/Badge.d.ts.map +1 -0
- package/types/api/BaseEntity.d.ts +751 -446
- package/types/api/BaseEntity.d.ts.map +1 -0
- package/types/api/Comment.d.ts +36 -0
- package/types/api/EndpointApi.d.ts +347 -295
- package/types/api/EndpointApi.d.ts.map +1 -0
- package/types/api/EndpointApi.types.d.ts +3914 -4133
- package/types/api/EntityRegistry.d.ts +18 -16
- package/types/api/EntityRegistry.d.ts.map +1 -0
- package/types/api/Event.d.ts +119 -35
- package/types/api/Event.d.ts.map +1 -0
- package/types/api/News.d.ts +52 -20
- package/types/api/News.d.ts.map +1 -0
- package/types/api/Organization.d.ts +165 -49
- package/types/api/Organization.d.ts.map +1 -0
- package/types/api/Poi.d.ts +51 -22
- package/types/api/Poi.d.ts.map +1 -0
- package/types/api/Project.d.ts +151 -52
- package/types/api/Project.d.ts.map +1 -0
- package/types/api/User.d.ts +222 -93
- package/types/api/User.d.ts.map +1 -0
- package/types/api/UserApi.d.ts +60 -9
- package/types/api/UserApi.d.ts.map +1 -0
- package/types/api/serverDataType/Comment.d.ts +83 -0
- package/types/api/serverDataType/Event.d.ts +67 -0
- package/types/api/serverDataType/News.d.ts +130 -0
- package/types/api/serverDataType/Organization.d.ts +65 -0
- package/types/api/serverDataType/Organization.d.ts.map +1 -0
- package/types/api/serverDataType/Project.d.ts +58 -0
- package/types/api/serverDataType/Project.d.ts.map +1 -0
- package/types/api/serverDataType/User.d.ts +86 -0
- package/types/api/serverDataType/User.d.ts.map +1 -0
- package/types/api/serverDataType/common.d.ts +71 -0
- package/types/api/serverDataType/common.d.ts.map +1 -0
- package/types/endpoints.module.d.ts +6922 -1215
- package/types/endpoints.module.d.ts.map +1 -0
- package/types/error.d.ts +25 -51
- package/types/error.d.ts.map +1 -0
- package/types/index.d.ts +55 -48
- package/types/index.d.ts.map +1 -0
- package/types/mixin/UserMixin.d.ts +1 -1
- package/types/mixin/UserMixin.d.ts.map +1 -0
- package/types/types/api-responses.d.ts +190 -0
- package/types/types/api-responses.d.ts.map +1 -0
- package/types/types/entities.d.ts +17 -0
- package/types/types/entities.d.ts.map +1 -0
- package/types/types/error-guards.d.ts +99 -0
- package/types/types/error-guards.d.ts.map +1 -0
- package/types/types/index.d.ts +7 -0
- package/types/types/payloads.d.ts +17 -0
- package/types/types/payloads.d.ts.map +1 -0
- package/types/types/transforms.d.ts +79 -0
- package/types/types/transforms.d.ts.map +1 -0
- package/types/utils/FileOfflineStorageStrategy.node.d.ts +10 -9
- package/types/utils/FileOfflineStorageStrategy.node.d.ts.map +1 -0
- package/types/utils/FileStorageStrategy.node.d.ts +9 -20
- package/types/utils/FileStorageStrategy.node.d.ts.map +1 -0
- package/types/utils/MultiServerFileStorageStrategy.node.d.ts +13 -18
- package/types/utils/MultiServerFileStorageStrategy.node.d.ts.map +1 -0
- package/types/utils/MultiServerTokenStorageStrategy.d.ts +30 -51
- package/types/utils/MultiServerTokenStorageStrategy.d.ts.map +1 -0
- package/types/utils/OfflineClientManager.d.ts +52 -88
- package/types/utils/OfflineClientManager.d.ts.map +1 -0
- package/types/utils/OfflineQueueStorageStrategy.d.ts +12 -9
- package/types/utils/OfflineQueueStorageStrategy.d.ts.map +1 -0
- package/types/utils/TokenStorage.d.ts +20 -70
- package/types/utils/TokenStorage.d.ts.map +1 -0
- package/types/utils/compat.d.ts +4 -0
- package/types/utils/compat.d.ts.map +1 -0
- package/types/utils/createDefaultMultiServerTokenStorageStrategy.d.ts +2 -11
- package/types/utils/createDefaultMultiServerTokenStorageStrategy.d.ts.map +1 -0
- package/types/utils/createDefaultOfflineStrategy.d.ts +2 -3
- package/types/utils/createDefaultOfflineStrategy.d.ts.map +1 -0
- package/types/utils/createDefaultTokenStorageStrategy.d.ts +2 -12
- package/types/utils/createDefaultTokenStorageStrategy.d.ts.map +1 -0
- package/types/utils/reactive.d.ts +10 -16
- package/types/utils/reactive.d.ts.map +1 -0
- package/types/utils/stream-utils.node.d.ts +3 -2
- package/types/utils/stream-utils.node.d.ts.map +1 -0
- package/dist/123.cocolight-api-client.browser.js +0 -1
- package/dist/123.cocolight-api-client.cjs +0 -1
- package/dist/22.cocolight-api-client.mjs.js +0 -1
- package/dist/339.cocolight-api-client.mjs.js +0 -1
- package/dist/394.cocolight-api-client.browser.js +0 -1
- package/dist/394.cocolight-api-client.cjs +0 -1
- package/dist/405.cocolight-api-client.browser.js +0 -1
- package/dist/405.cocolight-api-client.cjs +0 -1
- package/dist/774.cocolight-api-client.mjs.js +0 -1
- package/dist/790.cocolight-api-client.mjs.js +0 -1
- package/dist/931.cocolight-api-client.browser.js +0 -1
- package/dist/931.cocolight-api-client.cjs +0 -1
- package/src/EJSONType.js +0 -53
- package/src/api/BaseEntity.js +0 -2828
- package/src/api/EntityRegistry.js +0 -152
- package/src/api/Event.js +0 -226
- package/src/api/News.js +0 -244
- package/src/api/UserApi.js +0 -81
- package/src/endpoints.module.js +0 -5
- package/src/error.js +0 -121
- package/src/index.js +0 -97
- package/src/mixin/UserMixin.js +0 -8
- package/src/utils/MultiServerFileStorageStrategy.node.js +0 -87
- package/src/utils/MultiServerTokenStorageStrategy.js +0 -188
- package/src/utils/OfflineQueueStorageStrategy.js +0 -51
- package/src/utils/TokenStorage.js +0 -153
- package/src/utils/createDefaultMultiServerTokenStorageStrategy.js +0 -51
- package/src/utils/createDefaultTokenStorageStrategy.js +0 -49
- package/src/utils/stream-utils.node.js +0 -10
|
@@ -0,0 +1,2621 @@
|
|
|
1
|
+
// Définitions communes extraites automatiquement
|
|
2
|
+
const common = {
|
|
3
|
+
"common1": {
|
|
4
|
+
"type": "string"
|
|
5
|
+
},
|
|
6
|
+
"common2": {
|
|
7
|
+
"format": "email",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"common3": {
|
|
11
|
+
"type": "boolean"
|
|
12
|
+
},
|
|
13
|
+
"common4": {
|
|
14
|
+
"format": "uri",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"common5": {
|
|
18
|
+
"default": "@userId",
|
|
19
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"common6": {
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"properties": {
|
|
25
|
+
"id": {
|
|
26
|
+
"default": "@userId",
|
|
27
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"id"
|
|
33
|
+
],
|
|
34
|
+
"type": "object"
|
|
35
|
+
},
|
|
36
|
+
"common7": {
|
|
37
|
+
"id": {
|
|
38
|
+
"default": "@userId",
|
|
39
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"common8": {
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"properties": {
|
|
46
|
+
"reason": {
|
|
47
|
+
"default": "",
|
|
48
|
+
"type": "string"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"required": [
|
|
52
|
+
"reason"
|
|
53
|
+
],
|
|
54
|
+
"type": "object"
|
|
55
|
+
},
|
|
56
|
+
"common9": {
|
|
57
|
+
"reason": {
|
|
58
|
+
"default": "",
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"common10": {
|
|
63
|
+
"default": "",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"common11": {
|
|
67
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"common12": {
|
|
71
|
+
"const": "citoyens"
|
|
72
|
+
},
|
|
73
|
+
"common13": {
|
|
74
|
+
"properties": {
|
|
75
|
+
"value": {
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"common14": {
|
|
81
|
+
"value": {
|
|
82
|
+
"type": "boolean"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"common15": {
|
|
86
|
+
"enum": [
|
|
87
|
+
"isOpenData",
|
|
88
|
+
"isOpenEdition",
|
|
89
|
+
"private",
|
|
90
|
+
"feedback"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"common16": {
|
|
94
|
+
"const": "organizations"
|
|
95
|
+
},
|
|
96
|
+
"common17": {
|
|
97
|
+
"const": "projects"
|
|
98
|
+
},
|
|
99
|
+
"common18": {
|
|
100
|
+
"const": "events"
|
|
101
|
+
},
|
|
102
|
+
"common19": {
|
|
103
|
+
"default": "citoyens",
|
|
104
|
+
"enum": [
|
|
105
|
+
"citoyens",
|
|
106
|
+
"projects",
|
|
107
|
+
"organizations",
|
|
108
|
+
"events"
|
|
109
|
+
],
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"common20": {},
|
|
113
|
+
"common21": {
|
|
114
|
+
"else": {
|
|
115
|
+
"properties": {
|
|
116
|
+
"id": {
|
|
117
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"if": {
|
|
123
|
+
"properties": {
|
|
124
|
+
"typeElement": {
|
|
125
|
+
"const": "citoyens"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"then": {
|
|
130
|
+
"properties": {
|
|
131
|
+
"id": {
|
|
132
|
+
"default": "@userId",
|
|
133
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"common22": {
|
|
140
|
+
"properties": {
|
|
141
|
+
"id": {
|
|
142
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
143
|
+
"type": "string"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"common23": {
|
|
148
|
+
"id": {
|
|
149
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"common24": {
|
|
154
|
+
"properties": {
|
|
155
|
+
"typeElement": {
|
|
156
|
+
"const": "citoyens"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"common25": {
|
|
161
|
+
"typeElement": {
|
|
162
|
+
"const": "citoyens"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"common26": {
|
|
166
|
+
"properties": {
|
|
167
|
+
"id": {
|
|
168
|
+
"default": "@userId",
|
|
169
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"common27": {
|
|
175
|
+
"not": {
|
|
176
|
+
"type": "null"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"common28": {
|
|
180
|
+
"type": "null"
|
|
181
|
+
},
|
|
182
|
+
"common29": {
|
|
183
|
+
"default": "citoyens",
|
|
184
|
+
"enum": [
|
|
185
|
+
"citoyens",
|
|
186
|
+
"projects",
|
|
187
|
+
"organizations",
|
|
188
|
+
"poi",
|
|
189
|
+
"events"
|
|
190
|
+
],
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"common30": {
|
|
194
|
+
"anyOf": [
|
|
195
|
+
{
|
|
196
|
+
"items": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"type": "array"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"enum": [
|
|
203
|
+
""
|
|
204
|
+
],
|
|
205
|
+
"type": "string"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"common31": {
|
|
210
|
+
"items": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"type": "array"
|
|
214
|
+
},
|
|
215
|
+
"common32": {
|
|
216
|
+
"enum": [
|
|
217
|
+
""
|
|
218
|
+
],
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"common33": {
|
|
222
|
+
"properties": {
|
|
223
|
+
"name": {
|
|
224
|
+
"not": {
|
|
225
|
+
"type": "null"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": [
|
|
230
|
+
"name"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"common34": {
|
|
234
|
+
"name": {
|
|
235
|
+
"not": {
|
|
236
|
+
"type": "null"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"common35": {
|
|
241
|
+
"properties": {
|
|
242
|
+
"url": {
|
|
243
|
+
"not": {
|
|
244
|
+
"type": "null"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"required": [
|
|
249
|
+
"url"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"common36": {
|
|
253
|
+
"url": {
|
|
254
|
+
"not": {
|
|
255
|
+
"type": "null"
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"common37": {
|
|
260
|
+
"properties": {
|
|
261
|
+
"tags": {
|
|
262
|
+
"not": {
|
|
263
|
+
"type": "null"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"tags"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"common38": {
|
|
272
|
+
"tags": {
|
|
273
|
+
"not": {
|
|
274
|
+
"type": "null"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"common39": {
|
|
279
|
+
"properties": {
|
|
280
|
+
"email": {
|
|
281
|
+
"not": {
|
|
282
|
+
"type": "null"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"required": [
|
|
287
|
+
"email"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"common40": {
|
|
291
|
+
"email": {
|
|
292
|
+
"not": {
|
|
293
|
+
"type": "null"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"common41": {
|
|
298
|
+
"format": "date",
|
|
299
|
+
"type": "string"
|
|
300
|
+
},
|
|
301
|
+
"common42": {
|
|
302
|
+
"const": "info",
|
|
303
|
+
"default": "info",
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
"common43": {
|
|
307
|
+
"$ref": "#/$defs/sharedFields/email"
|
|
308
|
+
},
|
|
309
|
+
"common44": {
|
|
310
|
+
"$ref": "#/$defs/sharedFields/name"
|
|
311
|
+
},
|
|
312
|
+
"common45": {
|
|
313
|
+
"$ref": "#/$defs/sharedFields/tags"
|
|
314
|
+
},
|
|
315
|
+
"common46": {
|
|
316
|
+
"default": "citoyens",
|
|
317
|
+
"enum": [
|
|
318
|
+
"citoyens"
|
|
319
|
+
],
|
|
320
|
+
"type": "string"
|
|
321
|
+
},
|
|
322
|
+
"common47": {
|
|
323
|
+
"$ref": "#/$defs/sharedFields/url"
|
|
324
|
+
},
|
|
325
|
+
"common48": {
|
|
326
|
+
"properties": {
|
|
327
|
+
"avancement": {
|
|
328
|
+
"not": {
|
|
329
|
+
"type": "null"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"required": [
|
|
334
|
+
"avancement"
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
"common49": {
|
|
338
|
+
"avancement": {
|
|
339
|
+
"not": {
|
|
340
|
+
"type": "null"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"common50": {
|
|
345
|
+
"properties": {
|
|
346
|
+
"parent": {
|
|
347
|
+
"not": {
|
|
348
|
+
"type": "null"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"parent"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
"common51": {
|
|
357
|
+
"parent": {
|
|
358
|
+
"not": {
|
|
359
|
+
"type": "null"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"common52": {
|
|
364
|
+
"additionalProperties": false,
|
|
365
|
+
"patternProperties": {
|
|
366
|
+
"^[a-fA-F0-9]{24}$": {
|
|
367
|
+
"additionalProperties": false,
|
|
368
|
+
"properties": {
|
|
369
|
+
"name": {
|
|
370
|
+
"type": "string"
|
|
371
|
+
},
|
|
372
|
+
"type": {
|
|
373
|
+
"type": "string"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"required": [
|
|
377
|
+
"type",
|
|
378
|
+
"name"
|
|
379
|
+
],
|
|
380
|
+
"type": "object"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"type": "object"
|
|
384
|
+
},
|
|
385
|
+
"common53": {
|
|
386
|
+
"^[a-fA-F0-9]{24}$": {
|
|
387
|
+
"additionalProperties": false,
|
|
388
|
+
"properties": {
|
|
389
|
+
"name": {
|
|
390
|
+
"type": "string"
|
|
391
|
+
},
|
|
392
|
+
"type": {
|
|
393
|
+
"type": "string"
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"required": [
|
|
397
|
+
"type",
|
|
398
|
+
"name"
|
|
399
|
+
],
|
|
400
|
+
"type": "object"
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"common54": {
|
|
404
|
+
"additionalProperties": false,
|
|
405
|
+
"properties": {
|
|
406
|
+
"name": {
|
|
407
|
+
"type": "string"
|
|
408
|
+
},
|
|
409
|
+
"type": {
|
|
410
|
+
"type": "string"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"required": [
|
|
414
|
+
"type",
|
|
415
|
+
"name"
|
|
416
|
+
],
|
|
417
|
+
"type": "object"
|
|
418
|
+
},
|
|
419
|
+
"common55": {
|
|
420
|
+
"name": {
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
"type": {
|
|
424
|
+
"type": "string"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"common56": {
|
|
428
|
+
"properties": {
|
|
429
|
+
"type": {
|
|
430
|
+
"not": {
|
|
431
|
+
"type": "null"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"required": [
|
|
436
|
+
"type"
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
"common57": {
|
|
440
|
+
"type": {
|
|
441
|
+
"not": {
|
|
442
|
+
"type": "null"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"common58": {
|
|
447
|
+
"additionalProperties": false,
|
|
448
|
+
"patternProperties": {
|
|
449
|
+
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
450
|
+
"additionalProperties": false,
|
|
451
|
+
"properties": {
|
|
452
|
+
"name": {
|
|
453
|
+
"type": "string"
|
|
454
|
+
},
|
|
455
|
+
"type": {
|
|
456
|
+
"type": "string"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"required": [
|
|
460
|
+
"type"
|
|
461
|
+
],
|
|
462
|
+
"type": "object"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"type": "object"
|
|
466
|
+
},
|
|
467
|
+
"common59": {
|
|
468
|
+
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
469
|
+
"additionalProperties": false,
|
|
470
|
+
"properties": {
|
|
471
|
+
"name": {
|
|
472
|
+
"type": "string"
|
|
473
|
+
},
|
|
474
|
+
"type": {
|
|
475
|
+
"type": "string"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"required": [
|
|
479
|
+
"type"
|
|
480
|
+
],
|
|
481
|
+
"type": "object"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"common60": {
|
|
485
|
+
"additionalProperties": false,
|
|
486
|
+
"properties": {
|
|
487
|
+
"name": {
|
|
488
|
+
"type": "string"
|
|
489
|
+
},
|
|
490
|
+
"type": {
|
|
491
|
+
"type": "string"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"required": [
|
|
495
|
+
"type"
|
|
496
|
+
],
|
|
497
|
+
"type": "object"
|
|
498
|
+
},
|
|
499
|
+
"common61": {
|
|
500
|
+
"enum": [
|
|
501
|
+
"workshop",
|
|
502
|
+
"competition",
|
|
503
|
+
"concert",
|
|
504
|
+
"contest",
|
|
505
|
+
"conference",
|
|
506
|
+
"debate",
|
|
507
|
+
"exhibition",
|
|
508
|
+
"festival",
|
|
509
|
+
"crowdfunding",
|
|
510
|
+
"fair",
|
|
511
|
+
"course",
|
|
512
|
+
"protest",
|
|
513
|
+
"market",
|
|
514
|
+
"film",
|
|
515
|
+
"getTogether",
|
|
516
|
+
"meeting",
|
|
517
|
+
"spectacle",
|
|
518
|
+
"internship",
|
|
519
|
+
"stand",
|
|
520
|
+
"others"
|
|
521
|
+
],
|
|
522
|
+
"type": "string"
|
|
523
|
+
},
|
|
524
|
+
"common62": {
|
|
525
|
+
"enum": [
|
|
526
|
+
"NGO",
|
|
527
|
+
"LocalBusiness",
|
|
528
|
+
"Group",
|
|
529
|
+
"GovernmentOrganization",
|
|
530
|
+
"Cooperative"
|
|
531
|
+
],
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
"common63": {
|
|
535
|
+
"enum": [
|
|
536
|
+
"link",
|
|
537
|
+
"tool",
|
|
538
|
+
"machine",
|
|
539
|
+
"software",
|
|
540
|
+
"rh",
|
|
541
|
+
"Resource material",
|
|
542
|
+
"Financial Ressource",
|
|
543
|
+
"ficheBlanche",
|
|
544
|
+
"geoJson",
|
|
545
|
+
"compostPickup",
|
|
546
|
+
"video",
|
|
547
|
+
"sharedLibrary",
|
|
548
|
+
"recoveryCenter",
|
|
549
|
+
"trash",
|
|
550
|
+
"history",
|
|
551
|
+
"something2See",
|
|
552
|
+
"funPlace",
|
|
553
|
+
"place",
|
|
554
|
+
"artPiece",
|
|
555
|
+
"streetArts",
|
|
556
|
+
"openScene",
|
|
557
|
+
"stand",
|
|
558
|
+
"parking",
|
|
559
|
+
"other"
|
|
560
|
+
],
|
|
561
|
+
"type": "string"
|
|
562
|
+
},
|
|
563
|
+
"common64": {
|
|
564
|
+
"enum": [
|
|
565
|
+
"poi"
|
|
566
|
+
],
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"common65": {
|
|
570
|
+
"$ref": "#/$defs/socialField"
|
|
571
|
+
},
|
|
572
|
+
"common66": {
|
|
573
|
+
"default": "citoyens",
|
|
574
|
+
"enum": [
|
|
575
|
+
"citoyens",
|
|
576
|
+
"projects",
|
|
577
|
+
"organizations"
|
|
578
|
+
],
|
|
579
|
+
"type": "string"
|
|
580
|
+
},
|
|
581
|
+
"common67": {
|
|
582
|
+
"properties": {
|
|
583
|
+
"id": {
|
|
584
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
"common68": {
|
|
589
|
+
"id": {
|
|
590
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"common69": {
|
|
594
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
595
|
+
},
|
|
596
|
+
"common70": {
|
|
597
|
+
"const": "",
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
"common71": {
|
|
601
|
+
"additionalProperties": false,
|
|
602
|
+
"properties": {
|
|
603
|
+
"@type": {
|
|
604
|
+
"const": "PostalAddress",
|
|
605
|
+
"type": "string"
|
|
606
|
+
},
|
|
607
|
+
"addressCountry": {
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"addressLocality": {
|
|
611
|
+
"type": "string"
|
|
612
|
+
},
|
|
613
|
+
"codeInsee": {
|
|
614
|
+
"type": "string"
|
|
615
|
+
},
|
|
616
|
+
"level1": {
|
|
617
|
+
"type": "string"
|
|
618
|
+
},
|
|
619
|
+
"level1Name": {
|
|
620
|
+
"type": "string"
|
|
621
|
+
},
|
|
622
|
+
"level3": {
|
|
623
|
+
"minLength": 0,
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
"level3Name": {
|
|
627
|
+
"minLength": 0,
|
|
628
|
+
"type": "string"
|
|
629
|
+
},
|
|
630
|
+
"level4": {
|
|
631
|
+
"minLength": 0,
|
|
632
|
+
"type": "string"
|
|
633
|
+
},
|
|
634
|
+
"level4Name": {
|
|
635
|
+
"minLength": 0,
|
|
636
|
+
"type": "string"
|
|
637
|
+
},
|
|
638
|
+
"localityId": {
|
|
639
|
+
"type": "string"
|
|
640
|
+
},
|
|
641
|
+
"postalCode": {
|
|
642
|
+
"type": "string"
|
|
643
|
+
},
|
|
644
|
+
"streetAddress": {
|
|
645
|
+
"type": "string"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
"required": [
|
|
649
|
+
"@type",
|
|
650
|
+
"addressCountry",
|
|
651
|
+
"codeInsee",
|
|
652
|
+
"addressLocality",
|
|
653
|
+
"localityId",
|
|
654
|
+
"level1",
|
|
655
|
+
"level1Name"
|
|
656
|
+
],
|
|
657
|
+
"type": "object"
|
|
658
|
+
},
|
|
659
|
+
"common72": {
|
|
660
|
+
"@type": {
|
|
661
|
+
"const": "PostalAddress",
|
|
662
|
+
"type": "string"
|
|
663
|
+
},
|
|
664
|
+
"addressCountry": {
|
|
665
|
+
"type": "string"
|
|
666
|
+
},
|
|
667
|
+
"addressLocality": {
|
|
668
|
+
"type": "string"
|
|
669
|
+
},
|
|
670
|
+
"codeInsee": {
|
|
671
|
+
"type": "string"
|
|
672
|
+
},
|
|
673
|
+
"level1": {
|
|
674
|
+
"type": "string"
|
|
675
|
+
},
|
|
676
|
+
"level1Name": {
|
|
677
|
+
"type": "string"
|
|
678
|
+
},
|
|
679
|
+
"level3": {
|
|
680
|
+
"minLength": 0,
|
|
681
|
+
"type": "string"
|
|
682
|
+
},
|
|
683
|
+
"level3Name": {
|
|
684
|
+
"minLength": 0,
|
|
685
|
+
"type": "string"
|
|
686
|
+
},
|
|
687
|
+
"level4": {
|
|
688
|
+
"minLength": 0,
|
|
689
|
+
"type": "string"
|
|
690
|
+
},
|
|
691
|
+
"level4Name": {
|
|
692
|
+
"minLength": 0,
|
|
693
|
+
"type": "string"
|
|
694
|
+
},
|
|
695
|
+
"localityId": {
|
|
696
|
+
"type": "string"
|
|
697
|
+
},
|
|
698
|
+
"postalCode": {
|
|
699
|
+
"type": "string"
|
|
700
|
+
},
|
|
701
|
+
"streetAddress": {
|
|
702
|
+
"type": "string"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"common73": {
|
|
706
|
+
"const": "PostalAddress",
|
|
707
|
+
"type": "string"
|
|
708
|
+
},
|
|
709
|
+
"common74": {
|
|
710
|
+
"minLength": 0,
|
|
711
|
+
"type": "string"
|
|
712
|
+
},
|
|
713
|
+
"common75": {
|
|
714
|
+
"additionalProperties": false,
|
|
715
|
+
"properties": {
|
|
716
|
+
"@type": {
|
|
717
|
+
"const": "GeoCoordinates",
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
720
|
+
"latitude": {
|
|
721
|
+
"type": [
|
|
722
|
+
"string",
|
|
723
|
+
"number"
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
"longitude": {
|
|
727
|
+
"type": [
|
|
728
|
+
"string",
|
|
729
|
+
"number"
|
|
730
|
+
]
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
"required": [
|
|
734
|
+
"latitude",
|
|
735
|
+
"longitude"
|
|
736
|
+
],
|
|
737
|
+
"type": "object"
|
|
738
|
+
},
|
|
739
|
+
"common76": {
|
|
740
|
+
"@type": {
|
|
741
|
+
"const": "GeoCoordinates",
|
|
742
|
+
"type": "string"
|
|
743
|
+
},
|
|
744
|
+
"latitude": {
|
|
745
|
+
"type": [
|
|
746
|
+
"string",
|
|
747
|
+
"number"
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"longitude": {
|
|
751
|
+
"type": [
|
|
752
|
+
"string",
|
|
753
|
+
"number"
|
|
754
|
+
]
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"common77": {
|
|
758
|
+
"const": "GeoCoordinates",
|
|
759
|
+
"type": "string"
|
|
760
|
+
},
|
|
761
|
+
"common78": {
|
|
762
|
+
"type": [
|
|
763
|
+
"string",
|
|
764
|
+
"number"
|
|
765
|
+
]
|
|
766
|
+
},
|
|
767
|
+
"common79": {
|
|
768
|
+
"additionalProperties": true,
|
|
769
|
+
"properties": {
|
|
770
|
+
"coordinates": {
|
|
771
|
+
"items": {
|
|
772
|
+
"type": "number"
|
|
773
|
+
},
|
|
774
|
+
"maxItems": 2,
|
|
775
|
+
"minItems": 2,
|
|
776
|
+
"type": "array"
|
|
777
|
+
},
|
|
778
|
+
"float": {
|
|
779
|
+
"const": true,
|
|
780
|
+
"default": true,
|
|
781
|
+
"type": "boolean"
|
|
782
|
+
},
|
|
783
|
+
"type": {
|
|
784
|
+
"const": "Point",
|
|
785
|
+
"type": "string"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"required": [
|
|
789
|
+
"type",
|
|
790
|
+
"coordinates",
|
|
791
|
+
"float"
|
|
792
|
+
],
|
|
793
|
+
"type": "object"
|
|
794
|
+
},
|
|
795
|
+
"common80": {
|
|
796
|
+
"coordinates": {
|
|
797
|
+
"items": {
|
|
798
|
+
"type": "number"
|
|
799
|
+
},
|
|
800
|
+
"maxItems": 2,
|
|
801
|
+
"minItems": 2,
|
|
802
|
+
"type": "array"
|
|
803
|
+
},
|
|
804
|
+
"float": {
|
|
805
|
+
"const": true,
|
|
806
|
+
"default": true,
|
|
807
|
+
"type": "boolean"
|
|
808
|
+
},
|
|
809
|
+
"type": {
|
|
810
|
+
"const": "Point",
|
|
811
|
+
"type": "string"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"common81": {
|
|
815
|
+
"items": {
|
|
816
|
+
"type": "number"
|
|
817
|
+
},
|
|
818
|
+
"maxItems": 2,
|
|
819
|
+
"minItems": 2,
|
|
820
|
+
"type": "array"
|
|
821
|
+
},
|
|
822
|
+
"common82": {
|
|
823
|
+
"type": "number"
|
|
824
|
+
},
|
|
825
|
+
"common83": {
|
|
826
|
+
"const": true,
|
|
827
|
+
"default": true,
|
|
828
|
+
"type": "boolean"
|
|
829
|
+
},
|
|
830
|
+
"common84": {
|
|
831
|
+
"const": "Point",
|
|
832
|
+
"type": "string"
|
|
833
|
+
},
|
|
834
|
+
"common85": {
|
|
835
|
+
"properties": {
|
|
836
|
+
"id": {
|
|
837
|
+
"default": "@userId",
|
|
838
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
"common86": {
|
|
843
|
+
"id": {
|
|
844
|
+
"default": "@userId",
|
|
845
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"common87": {
|
|
849
|
+
"default": "@userId",
|
|
850
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
851
|
+
},
|
|
852
|
+
"common88": {
|
|
853
|
+
"maxLength": 100,
|
|
854
|
+
"minLength": 3,
|
|
855
|
+
"pattern": "^[a-zA-Z0-9]+$",
|
|
856
|
+
"type": "string"
|
|
857
|
+
},
|
|
858
|
+
"common89": {
|
|
859
|
+
"properties": {
|
|
860
|
+
"type": {
|
|
861
|
+
"const": "citoyens"
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
"common90": {
|
|
866
|
+
"type": {
|
|
867
|
+
"const": "citoyens"
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
"common91": {
|
|
871
|
+
"properties": {
|
|
872
|
+
"ownerId": {
|
|
873
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"common92": {
|
|
878
|
+
"ownerId": {
|
|
879
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
"common93": {
|
|
883
|
+
"properties": {
|
|
884
|
+
"folder": {
|
|
885
|
+
"const": "citoyens"
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
"common94": {
|
|
890
|
+
"folder": {
|
|
891
|
+
"const": "citoyens"
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
"common95": {
|
|
895
|
+
"properties": {
|
|
896
|
+
"ownerId": {
|
|
897
|
+
"default": "@userId",
|
|
898
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"common96": {
|
|
903
|
+
"ownerId": {
|
|
904
|
+
"default": "@userId",
|
|
905
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"common97": {
|
|
909
|
+
"properties": {
|
|
910
|
+
"parentId": {
|
|
911
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"common98": {
|
|
916
|
+
"parentId": {
|
|
917
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
918
|
+
}
|
|
919
|
+
},
|
|
920
|
+
"common99": {
|
|
921
|
+
"properties": {
|
|
922
|
+
"parentType": {
|
|
923
|
+
"const": "citoyens"
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
"common100": {
|
|
928
|
+
"parentType": {
|
|
929
|
+
"const": "citoyens"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"common101": {
|
|
933
|
+
"properties": {
|
|
934
|
+
"parentId": {
|
|
935
|
+
"default": "@userId",
|
|
936
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"common102": {
|
|
941
|
+
"parentId": {
|
|
942
|
+
"default": "@userId",
|
|
943
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
"common103": {
|
|
947
|
+
"default": true,
|
|
948
|
+
"type": "boolean"
|
|
949
|
+
},
|
|
950
|
+
"common104": {
|
|
951
|
+
"default": 0,
|
|
952
|
+
"type": "integer"
|
|
953
|
+
},
|
|
954
|
+
"common105": {
|
|
955
|
+
"required": [
|
|
956
|
+
"text"
|
|
957
|
+
]
|
|
958
|
+
},
|
|
959
|
+
"common106": {
|
|
960
|
+
"required": [
|
|
961
|
+
"mediaImg"
|
|
962
|
+
]
|
|
963
|
+
},
|
|
964
|
+
"common107": {
|
|
965
|
+
"required": [
|
|
966
|
+
"mediaFile"
|
|
967
|
+
]
|
|
968
|
+
},
|
|
969
|
+
"common108": {
|
|
970
|
+
"additionalProperties": false,
|
|
971
|
+
"properties": {
|
|
972
|
+
"countFiles": {
|
|
973
|
+
"type": "number"
|
|
974
|
+
},
|
|
975
|
+
"files": {
|
|
976
|
+
"items": {
|
|
977
|
+
"type": "string"
|
|
978
|
+
},
|
|
979
|
+
"type": "array"
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
"required": [
|
|
983
|
+
"countFiles",
|
|
984
|
+
"files"
|
|
985
|
+
],
|
|
986
|
+
"type": "object"
|
|
987
|
+
},
|
|
988
|
+
"common109": {
|
|
989
|
+
"countFiles": {
|
|
990
|
+
"type": "number"
|
|
991
|
+
},
|
|
992
|
+
"files": {
|
|
993
|
+
"items": {
|
|
994
|
+
"type": "string"
|
|
995
|
+
},
|
|
996
|
+
"type": "array"
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
"common110": {
|
|
1000
|
+
"additionalProperties": false,
|
|
1001
|
+
"properties": {
|
|
1002
|
+
"countImages": {
|
|
1003
|
+
"type": "number"
|
|
1004
|
+
},
|
|
1005
|
+
"images": {
|
|
1006
|
+
"items": {
|
|
1007
|
+
"type": "string"
|
|
1008
|
+
},
|
|
1009
|
+
"type": "array"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
"required": [
|
|
1013
|
+
"countImages",
|
|
1014
|
+
"images"
|
|
1015
|
+
],
|
|
1016
|
+
"type": "object"
|
|
1017
|
+
},
|
|
1018
|
+
"common111": {
|
|
1019
|
+
"countImages": {
|
|
1020
|
+
"type": "number"
|
|
1021
|
+
},
|
|
1022
|
+
"images": {
|
|
1023
|
+
"items": {
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"type": "array"
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"common112": {
|
|
1030
|
+
"items": {
|
|
1031
|
+
"properties": {
|
|
1032
|
+
"count": {
|
|
1033
|
+
"minimum": 1,
|
|
1034
|
+
"type": "integer"
|
|
1035
|
+
},
|
|
1036
|
+
"id": {
|
|
1037
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1038
|
+
"type": "string"
|
|
1039
|
+
},
|
|
1040
|
+
"name": {
|
|
1041
|
+
"type": "string"
|
|
1042
|
+
},
|
|
1043
|
+
"slug": {
|
|
1044
|
+
"type": "string"
|
|
1045
|
+
},
|
|
1046
|
+
"type": {
|
|
1047
|
+
"type": "string"
|
|
1048
|
+
},
|
|
1049
|
+
"value": {
|
|
1050
|
+
"type": "string"
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"required": [
|
|
1054
|
+
"id",
|
|
1055
|
+
"name",
|
|
1056
|
+
"slug",
|
|
1057
|
+
"type",
|
|
1058
|
+
"value",
|
|
1059
|
+
"count"
|
|
1060
|
+
],
|
|
1061
|
+
"type": "object"
|
|
1062
|
+
},
|
|
1063
|
+
"type": "array"
|
|
1064
|
+
},
|
|
1065
|
+
"common113": {
|
|
1066
|
+
"properties": {
|
|
1067
|
+
"count": {
|
|
1068
|
+
"minimum": 1,
|
|
1069
|
+
"type": "integer"
|
|
1070
|
+
},
|
|
1071
|
+
"id": {
|
|
1072
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1073
|
+
"type": "string"
|
|
1074
|
+
},
|
|
1075
|
+
"name": {
|
|
1076
|
+
"type": "string"
|
|
1077
|
+
},
|
|
1078
|
+
"slug": {
|
|
1079
|
+
"type": "string"
|
|
1080
|
+
},
|
|
1081
|
+
"type": {
|
|
1082
|
+
"type": "string"
|
|
1083
|
+
},
|
|
1084
|
+
"value": {
|
|
1085
|
+
"type": "string"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"required": [
|
|
1089
|
+
"id",
|
|
1090
|
+
"name",
|
|
1091
|
+
"slug",
|
|
1092
|
+
"type",
|
|
1093
|
+
"value",
|
|
1094
|
+
"count"
|
|
1095
|
+
],
|
|
1096
|
+
"type": "object"
|
|
1097
|
+
},
|
|
1098
|
+
"common114": {
|
|
1099
|
+
"count": {
|
|
1100
|
+
"minimum": 1,
|
|
1101
|
+
"type": "integer"
|
|
1102
|
+
},
|
|
1103
|
+
"id": {
|
|
1104
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1105
|
+
"type": "string"
|
|
1106
|
+
},
|
|
1107
|
+
"name": {
|
|
1108
|
+
"type": "string"
|
|
1109
|
+
},
|
|
1110
|
+
"slug": {
|
|
1111
|
+
"type": "string"
|
|
1112
|
+
},
|
|
1113
|
+
"type": {
|
|
1114
|
+
"type": "string"
|
|
1115
|
+
},
|
|
1116
|
+
"value": {
|
|
1117
|
+
"type": "string"
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"common115": {
|
|
1121
|
+
"minimum": 1,
|
|
1122
|
+
"type": "integer"
|
|
1123
|
+
},
|
|
1124
|
+
"common116": {
|
|
1125
|
+
"default": "public",
|
|
1126
|
+
"enum": [
|
|
1127
|
+
"public",
|
|
1128
|
+
"private",
|
|
1129
|
+
"restricted"
|
|
1130
|
+
],
|
|
1131
|
+
"type": "string"
|
|
1132
|
+
},
|
|
1133
|
+
"common117": {
|
|
1134
|
+
"const": "news",
|
|
1135
|
+
"default": "news",
|
|
1136
|
+
"type": "string"
|
|
1137
|
+
},
|
|
1138
|
+
"common118": {
|
|
1139
|
+
"additionalProperties": false,
|
|
1140
|
+
"else": {
|
|
1141
|
+
"properties": {
|
|
1142
|
+
"ownerId": {
|
|
1143
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
"if": {
|
|
1148
|
+
"properties": {
|
|
1149
|
+
"folder": {
|
|
1150
|
+
"const": "citoyens"
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
"properties": {
|
|
1155
|
+
"folder": {
|
|
1156
|
+
"default": "citoyens",
|
|
1157
|
+
"enum": [
|
|
1158
|
+
"citoyens",
|
|
1159
|
+
"projects",
|
|
1160
|
+
"organizations"
|
|
1161
|
+
],
|
|
1162
|
+
"type": "string"
|
|
1163
|
+
},
|
|
1164
|
+
"ownerId": {
|
|
1165
|
+
"type": "string"
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
"required": [
|
|
1169
|
+
"folder",
|
|
1170
|
+
"ownerId"
|
|
1171
|
+
],
|
|
1172
|
+
"then": {
|
|
1173
|
+
"properties": {
|
|
1174
|
+
"ownerId": {
|
|
1175
|
+
"default": "@userId",
|
|
1176
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"type": "object"
|
|
1181
|
+
},
|
|
1182
|
+
"common119": {
|
|
1183
|
+
"folder": {
|
|
1184
|
+
"default": "citoyens",
|
|
1185
|
+
"enum": [
|
|
1186
|
+
"citoyens",
|
|
1187
|
+
"projects",
|
|
1188
|
+
"organizations"
|
|
1189
|
+
],
|
|
1190
|
+
"type": "string"
|
|
1191
|
+
},
|
|
1192
|
+
"ownerId": {
|
|
1193
|
+
"type": "string"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"common120": {
|
|
1197
|
+
"additionalProperties": false,
|
|
1198
|
+
"properties": {
|
|
1199
|
+
"id": {
|
|
1200
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1201
|
+
"type": "string"
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
"required": [
|
|
1205
|
+
"id"
|
|
1206
|
+
],
|
|
1207
|
+
"type": "object"
|
|
1208
|
+
},
|
|
1209
|
+
"common121": {
|
|
1210
|
+
"default": false,
|
|
1211
|
+
"type": "boolean"
|
|
1212
|
+
},
|
|
1213
|
+
"common122": {
|
|
1214
|
+
"properties": {
|
|
1215
|
+
"childId": {
|
|
1216
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
"common123": {
|
|
1221
|
+
"childId": {
|
|
1222
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"common124": {
|
|
1226
|
+
"properties": {
|
|
1227
|
+
"childType": {
|
|
1228
|
+
"const": "citoyens"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
"common125": {
|
|
1233
|
+
"childType": {
|
|
1234
|
+
"const": "citoyens"
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"common126": {
|
|
1238
|
+
"const": "share",
|
|
1239
|
+
"default": "share",
|
|
1240
|
+
"type": "string"
|
|
1241
|
+
},
|
|
1242
|
+
"common127": {
|
|
1243
|
+
"properties": {
|
|
1244
|
+
"childId": {
|
|
1245
|
+
"default": "@userId",
|
|
1246
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
},
|
|
1250
|
+
"common128": {
|
|
1251
|
+
"childId": {
|
|
1252
|
+
"default": "@userId",
|
|
1253
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1254
|
+
}
|
|
1255
|
+
},
|
|
1256
|
+
"common129": {
|
|
1257
|
+
"additionalProperties": false,
|
|
1258
|
+
"properties": {
|
|
1259
|
+
"id": {
|
|
1260
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1261
|
+
"type": "string"
|
|
1262
|
+
},
|
|
1263
|
+
"type": {
|
|
1264
|
+
"default": "news",
|
|
1265
|
+
"enum": [
|
|
1266
|
+
"news"
|
|
1267
|
+
],
|
|
1268
|
+
"type": "string"
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
"required": [
|
|
1272
|
+
"type",
|
|
1273
|
+
"id"
|
|
1274
|
+
],
|
|
1275
|
+
"type": "object"
|
|
1276
|
+
},
|
|
1277
|
+
"common130": {
|
|
1278
|
+
"id": {
|
|
1279
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1280
|
+
"type": "string"
|
|
1281
|
+
},
|
|
1282
|
+
"type": {
|
|
1283
|
+
"default": "news",
|
|
1284
|
+
"enum": [
|
|
1285
|
+
"news"
|
|
1286
|
+
],
|
|
1287
|
+
"type": "string"
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
"common131": {
|
|
1291
|
+
"default": "news",
|
|
1292
|
+
"enum": [
|
|
1293
|
+
"news"
|
|
1294
|
+
],
|
|
1295
|
+
"type": "string"
|
|
1296
|
+
},
|
|
1297
|
+
"common132": {
|
|
1298
|
+
"items": {
|
|
1299
|
+
"additionalProperties": false,
|
|
1300
|
+
"properties": {
|
|
1301
|
+
"count": {
|
|
1302
|
+
"type": "number"
|
|
1303
|
+
},
|
|
1304
|
+
"id": {
|
|
1305
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1306
|
+
"type": "string"
|
|
1307
|
+
},
|
|
1308
|
+
"name": {
|
|
1309
|
+
"type": "string"
|
|
1310
|
+
},
|
|
1311
|
+
"slug": {
|
|
1312
|
+
"type": "string"
|
|
1313
|
+
},
|
|
1314
|
+
"type": {
|
|
1315
|
+
"type": "string"
|
|
1316
|
+
},
|
|
1317
|
+
"value": {
|
|
1318
|
+
"type": "string"
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
"required": [
|
|
1322
|
+
"id",
|
|
1323
|
+
"name",
|
|
1324
|
+
"slug",
|
|
1325
|
+
"type",
|
|
1326
|
+
"value",
|
|
1327
|
+
"count"
|
|
1328
|
+
],
|
|
1329
|
+
"type": "object"
|
|
1330
|
+
},
|
|
1331
|
+
"type": "array"
|
|
1332
|
+
},
|
|
1333
|
+
"common133": {
|
|
1334
|
+
"additionalProperties": false,
|
|
1335
|
+
"properties": {
|
|
1336
|
+
"count": {
|
|
1337
|
+
"type": "number"
|
|
1338
|
+
},
|
|
1339
|
+
"id": {
|
|
1340
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1341
|
+
"type": "string"
|
|
1342
|
+
},
|
|
1343
|
+
"name": {
|
|
1344
|
+
"type": "string"
|
|
1345
|
+
},
|
|
1346
|
+
"slug": {
|
|
1347
|
+
"type": "string"
|
|
1348
|
+
},
|
|
1349
|
+
"type": {
|
|
1350
|
+
"type": "string"
|
|
1351
|
+
},
|
|
1352
|
+
"value": {
|
|
1353
|
+
"type": "string"
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
"required": [
|
|
1357
|
+
"id",
|
|
1358
|
+
"name",
|
|
1359
|
+
"slug",
|
|
1360
|
+
"type",
|
|
1361
|
+
"value",
|
|
1362
|
+
"count"
|
|
1363
|
+
],
|
|
1364
|
+
"type": "object"
|
|
1365
|
+
},
|
|
1366
|
+
"common134": {
|
|
1367
|
+
"count": {
|
|
1368
|
+
"type": "number"
|
|
1369
|
+
},
|
|
1370
|
+
"id": {
|
|
1371
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
1372
|
+
"type": "string"
|
|
1373
|
+
},
|
|
1374
|
+
"name": {
|
|
1375
|
+
"type": "string"
|
|
1376
|
+
},
|
|
1377
|
+
"slug": {
|
|
1378
|
+
"type": "string"
|
|
1379
|
+
},
|
|
1380
|
+
"type": {
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
},
|
|
1383
|
+
"value": {
|
|
1384
|
+
"type": "string"
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
"common135": {
|
|
1388
|
+
"enum": [
|
|
1389
|
+
"NGO",
|
|
1390
|
+
"LocalBusiness",
|
|
1391
|
+
"Group",
|
|
1392
|
+
"GovernmentOrganization",
|
|
1393
|
+
"Cooperative",
|
|
1394
|
+
"projects",
|
|
1395
|
+
"citoyens",
|
|
1396
|
+
"poi"
|
|
1397
|
+
],
|
|
1398
|
+
"type": "string"
|
|
1399
|
+
},
|
|
1400
|
+
"common136": {
|
|
1401
|
+
"const": false,
|
|
1402
|
+
"default": false,
|
|
1403
|
+
"type": "boolean"
|
|
1404
|
+
},
|
|
1405
|
+
"common137": {
|
|
1406
|
+
"const": "",
|
|
1407
|
+
"default": "",
|
|
1408
|
+
"type": "string"
|
|
1409
|
+
},
|
|
1410
|
+
"common138": {
|
|
1411
|
+
"default": 0,
|
|
1412
|
+
"type": "number"
|
|
1413
|
+
},
|
|
1414
|
+
"common139": {
|
|
1415
|
+
"default": 30,
|
|
1416
|
+
"type": "number"
|
|
1417
|
+
},
|
|
1418
|
+
"common140": {
|
|
1419
|
+
"additionalProperties": false,
|
|
1420
|
+
"patternProperties": {
|
|
1421
|
+
"^[^\\s]+$": {
|
|
1422
|
+
"additionalProperties": false,
|
|
1423
|
+
"properties": {
|
|
1424
|
+
"id": {
|
|
1425
|
+
"type": "string"
|
|
1426
|
+
},
|
|
1427
|
+
"type": {
|
|
1428
|
+
"enum": [
|
|
1429
|
+
"cities",
|
|
1430
|
+
"level1"
|
|
1431
|
+
],
|
|
1432
|
+
"type": "string"
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
"required": [
|
|
1436
|
+
"id",
|
|
1437
|
+
"type"
|
|
1438
|
+
],
|
|
1439
|
+
"type": "object"
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
"type": "object"
|
|
1443
|
+
},
|
|
1444
|
+
"common141": {
|
|
1445
|
+
"^[^\\s]+$": {
|
|
1446
|
+
"additionalProperties": false,
|
|
1447
|
+
"properties": {
|
|
1448
|
+
"id": {
|
|
1449
|
+
"type": "string"
|
|
1450
|
+
},
|
|
1451
|
+
"type": {
|
|
1452
|
+
"enum": [
|
|
1453
|
+
"cities",
|
|
1454
|
+
"level1"
|
|
1455
|
+
],
|
|
1456
|
+
"type": "string"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
"required": [
|
|
1460
|
+
"id",
|
|
1461
|
+
"type"
|
|
1462
|
+
],
|
|
1463
|
+
"type": "object"
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
"common142": {
|
|
1467
|
+
"additionalProperties": false,
|
|
1468
|
+
"properties": {
|
|
1469
|
+
"id": {
|
|
1470
|
+
"type": "string"
|
|
1471
|
+
},
|
|
1472
|
+
"type": {
|
|
1473
|
+
"enum": [
|
|
1474
|
+
"cities",
|
|
1475
|
+
"level1"
|
|
1476
|
+
],
|
|
1477
|
+
"type": "string"
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
"required": [
|
|
1481
|
+
"id",
|
|
1482
|
+
"type"
|
|
1483
|
+
],
|
|
1484
|
+
"type": "object"
|
|
1485
|
+
},
|
|
1486
|
+
"common143": {
|
|
1487
|
+
"id": {
|
|
1488
|
+
"type": "string"
|
|
1489
|
+
},
|
|
1490
|
+
"type": {
|
|
1491
|
+
"enum": [
|
|
1492
|
+
"cities",
|
|
1493
|
+
"level1"
|
|
1494
|
+
],
|
|
1495
|
+
"type": "string"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
"common144": {
|
|
1499
|
+
"enum": [
|
|
1500
|
+
"cities",
|
|
1501
|
+
"level1"
|
|
1502
|
+
],
|
|
1503
|
+
"type": "string"
|
|
1504
|
+
},
|
|
1505
|
+
"common145": {
|
|
1506
|
+
"additionalProperties": false,
|
|
1507
|
+
"patternProperties": {
|
|
1508
|
+
"^[^\\s]+$": {
|
|
1509
|
+
"additionalProperties": false,
|
|
1510
|
+
"properties": {
|
|
1511
|
+
"indexMax": {
|
|
1512
|
+
"type": "number"
|
|
1513
|
+
},
|
|
1514
|
+
"indexMin": {
|
|
1515
|
+
"type": "number"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"required": [
|
|
1519
|
+
"indexMin",
|
|
1520
|
+
"indexMax"
|
|
1521
|
+
],
|
|
1522
|
+
"type": "object"
|
|
1523
|
+
}
|
|
1524
|
+
},
|
|
1525
|
+
"type": "object"
|
|
1526
|
+
},
|
|
1527
|
+
"common146": {
|
|
1528
|
+
"^[^\\s]+$": {
|
|
1529
|
+
"additionalProperties": false,
|
|
1530
|
+
"properties": {
|
|
1531
|
+
"indexMax": {
|
|
1532
|
+
"type": "number"
|
|
1533
|
+
},
|
|
1534
|
+
"indexMin": {
|
|
1535
|
+
"type": "number"
|
|
1536
|
+
}
|
|
1537
|
+
},
|
|
1538
|
+
"required": [
|
|
1539
|
+
"indexMin",
|
|
1540
|
+
"indexMax"
|
|
1541
|
+
],
|
|
1542
|
+
"type": "object"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
"common147": {
|
|
1546
|
+
"additionalProperties": false,
|
|
1547
|
+
"properties": {
|
|
1548
|
+
"indexMax": {
|
|
1549
|
+
"type": "number"
|
|
1550
|
+
},
|
|
1551
|
+
"indexMin": {
|
|
1552
|
+
"type": "number"
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
"required": [
|
|
1556
|
+
"indexMin",
|
|
1557
|
+
"indexMax"
|
|
1558
|
+
],
|
|
1559
|
+
"type": "object"
|
|
1560
|
+
},
|
|
1561
|
+
"common148": {
|
|
1562
|
+
"indexMax": {
|
|
1563
|
+
"type": "number"
|
|
1564
|
+
},
|
|
1565
|
+
"indexMin": {
|
|
1566
|
+
"type": "number"
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
"common149": {
|
|
1570
|
+
"enum": [
|
|
1571
|
+
"ALL"
|
|
1572
|
+
],
|
|
1573
|
+
"type": "string"
|
|
1574
|
+
},
|
|
1575
|
+
"common150": {
|
|
1576
|
+
"default": 0,
|
|
1577
|
+
"minimum": 0,
|
|
1578
|
+
"type": "integer"
|
|
1579
|
+
},
|
|
1580
|
+
"common151": {
|
|
1581
|
+
"const": [
|
|
1582
|
+
"projects"
|
|
1583
|
+
],
|
|
1584
|
+
"default": [
|
|
1585
|
+
"projects"
|
|
1586
|
+
],
|
|
1587
|
+
"items": {
|
|
1588
|
+
"enum": [
|
|
1589
|
+
"projects"
|
|
1590
|
+
],
|
|
1591
|
+
"type": "string"
|
|
1592
|
+
},
|
|
1593
|
+
"type": "array"
|
|
1594
|
+
},
|
|
1595
|
+
"common152": {
|
|
1596
|
+
"enum": [
|
|
1597
|
+
"projects"
|
|
1598
|
+
],
|
|
1599
|
+
"type": "string"
|
|
1600
|
+
},
|
|
1601
|
+
"common153": {
|
|
1602
|
+
"$exists": true
|
|
1603
|
+
},
|
|
1604
|
+
"common154": {
|
|
1605
|
+
"additionalProperties": false,
|
|
1606
|
+
"properties": {
|
|
1607
|
+
"$exists": {
|
|
1608
|
+
"const": true
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
"required": [
|
|
1612
|
+
"$exists"
|
|
1613
|
+
],
|
|
1614
|
+
"type": "object"
|
|
1615
|
+
},
|
|
1616
|
+
"common155": {
|
|
1617
|
+
"$exists": {
|
|
1618
|
+
"const": true
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
"common156": {
|
|
1622
|
+
"const": true
|
|
1623
|
+
},
|
|
1624
|
+
"common157": {
|
|
1625
|
+
"additionalProperties": false,
|
|
1626
|
+
"else": {
|
|
1627
|
+
"properties": {
|
|
1628
|
+
"id": {
|
|
1629
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
"if": {
|
|
1634
|
+
"properties": {
|
|
1635
|
+
"type": {
|
|
1636
|
+
"const": "citoyens"
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
},
|
|
1640
|
+
"properties": {
|
|
1641
|
+
"id": {
|
|
1642
|
+
"type": "string"
|
|
1643
|
+
},
|
|
1644
|
+
"type": {
|
|
1645
|
+
"default": "citoyens",
|
|
1646
|
+
"enum": [
|
|
1647
|
+
"citoyens",
|
|
1648
|
+
"projects",
|
|
1649
|
+
"organizations"
|
|
1650
|
+
],
|
|
1651
|
+
"type": "string"
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
"required": [
|
|
1655
|
+
"type",
|
|
1656
|
+
"id"
|
|
1657
|
+
],
|
|
1658
|
+
"then": {
|
|
1659
|
+
"properties": {
|
|
1660
|
+
"id": {
|
|
1661
|
+
"default": "@userId",
|
|
1662
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
"type": "object"
|
|
1667
|
+
},
|
|
1668
|
+
"common158": {
|
|
1669
|
+
"id": {
|
|
1670
|
+
"type": "string"
|
|
1671
|
+
},
|
|
1672
|
+
"type": {
|
|
1673
|
+
"default": "citoyens",
|
|
1674
|
+
"enum": [
|
|
1675
|
+
"citoyens",
|
|
1676
|
+
"projects",
|
|
1677
|
+
"organizations"
|
|
1678
|
+
],
|
|
1679
|
+
"type": "string"
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1682
|
+
"common159": {
|
|
1683
|
+
"const": [
|
|
1684
|
+
"poi"
|
|
1685
|
+
],
|
|
1686
|
+
"default": [
|
|
1687
|
+
"poi"
|
|
1688
|
+
],
|
|
1689
|
+
"items": {
|
|
1690
|
+
"enum": [
|
|
1691
|
+
"poi"
|
|
1692
|
+
],
|
|
1693
|
+
"type": "string"
|
|
1694
|
+
},
|
|
1695
|
+
"type": "array"
|
|
1696
|
+
},
|
|
1697
|
+
"common160": {
|
|
1698
|
+
"const": [
|
|
1699
|
+
"NGO",
|
|
1700
|
+
"Cooperative",
|
|
1701
|
+
"LocalBusiness",
|
|
1702
|
+
"Group",
|
|
1703
|
+
"GovernmentOrganization"
|
|
1704
|
+
],
|
|
1705
|
+
"default": [
|
|
1706
|
+
"NGO",
|
|
1707
|
+
"Cooperative",
|
|
1708
|
+
"LocalBusiness",
|
|
1709
|
+
"Group",
|
|
1710
|
+
"GovernmentOrganization"
|
|
1711
|
+
],
|
|
1712
|
+
"items": {
|
|
1713
|
+
"enum": [
|
|
1714
|
+
"NGO",
|
|
1715
|
+
"Cooperative",
|
|
1716
|
+
"LocalBusiness",
|
|
1717
|
+
"Group",
|
|
1718
|
+
"GovernmentOrganization"
|
|
1719
|
+
],
|
|
1720
|
+
"type": "string"
|
|
1721
|
+
},
|
|
1722
|
+
"type": "array"
|
|
1723
|
+
},
|
|
1724
|
+
"common161": {
|
|
1725
|
+
"enum": [
|
|
1726
|
+
"NGO",
|
|
1727
|
+
"Cooperative",
|
|
1728
|
+
"LocalBusiness",
|
|
1729
|
+
"Group",
|
|
1730
|
+
"GovernmentOrganization"
|
|
1731
|
+
],
|
|
1732
|
+
"type": "string"
|
|
1733
|
+
},
|
|
1734
|
+
"common162": {
|
|
1735
|
+
"$exists": false
|
|
1736
|
+
},
|
|
1737
|
+
"common163": {
|
|
1738
|
+
"additionalProperties": false,
|
|
1739
|
+
"properties": {
|
|
1740
|
+
"$exists": {
|
|
1741
|
+
"const": false
|
|
1742
|
+
}
|
|
1743
|
+
},
|
|
1744
|
+
"required": [
|
|
1745
|
+
"$exists"
|
|
1746
|
+
],
|
|
1747
|
+
"type": "object"
|
|
1748
|
+
},
|
|
1749
|
+
"common164": {
|
|
1750
|
+
"$exists": {
|
|
1751
|
+
"const": false
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
"common165": {
|
|
1755
|
+
"const": false
|
|
1756
|
+
},
|
|
1757
|
+
"common166": {
|
|
1758
|
+
"default": 30,
|
|
1759
|
+
"type": "integer"
|
|
1760
|
+
},
|
|
1761
|
+
"common167": {
|
|
1762
|
+
"const": [
|
|
1763
|
+
"citoyens",
|
|
1764
|
+
"NGO",
|
|
1765
|
+
"LocalBusiness",
|
|
1766
|
+
"Group",
|
|
1767
|
+
"GovernmentOrganization",
|
|
1768
|
+
"Cooperative"
|
|
1769
|
+
],
|
|
1770
|
+
"default": [
|
|
1771
|
+
"citoyens",
|
|
1772
|
+
"NGO",
|
|
1773
|
+
"LocalBusiness",
|
|
1774
|
+
"Group",
|
|
1775
|
+
"GovernmentOrganization",
|
|
1776
|
+
"Cooperative"
|
|
1777
|
+
],
|
|
1778
|
+
"items": {
|
|
1779
|
+
"enum": [
|
|
1780
|
+
"citoyens",
|
|
1781
|
+
"NGO",
|
|
1782
|
+
"LocalBusiness",
|
|
1783
|
+
"Group",
|
|
1784
|
+
"GovernmentOrganization",
|
|
1785
|
+
"Cooperative"
|
|
1786
|
+
],
|
|
1787
|
+
"type": "string"
|
|
1788
|
+
},
|
|
1789
|
+
"type": "array"
|
|
1790
|
+
},
|
|
1791
|
+
"common168": {
|
|
1792
|
+
"enum": [
|
|
1793
|
+
"citoyens",
|
|
1794
|
+
"NGO",
|
|
1795
|
+
"LocalBusiness",
|
|
1796
|
+
"Group",
|
|
1797
|
+
"GovernmentOrganization",
|
|
1798
|
+
"Cooperative"
|
|
1799
|
+
],
|
|
1800
|
+
"type": "string"
|
|
1801
|
+
},
|
|
1802
|
+
"common169": {
|
|
1803
|
+
"additionalProperties": false,
|
|
1804
|
+
"properties": {
|
|
1805
|
+
"$exists": {
|
|
1806
|
+
"default": false,
|
|
1807
|
+
"type": "boolean"
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
"required": [
|
|
1811
|
+
"$exists"
|
|
1812
|
+
],
|
|
1813
|
+
"type": "object"
|
|
1814
|
+
},
|
|
1815
|
+
"common170": {
|
|
1816
|
+
"$exists": {
|
|
1817
|
+
"default": false,
|
|
1818
|
+
"type": "boolean"
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
"common171": {
|
|
1822
|
+
"additionalProperties": false,
|
|
1823
|
+
"properties": {
|
|
1824
|
+
"$in": {
|
|
1825
|
+
"items": {
|
|
1826
|
+
"type": "string"
|
|
1827
|
+
},
|
|
1828
|
+
"minItems": 1,
|
|
1829
|
+
"type": "array"
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
"required": [
|
|
1833
|
+
"$in"
|
|
1834
|
+
],
|
|
1835
|
+
"type": "object"
|
|
1836
|
+
},
|
|
1837
|
+
"common172": {
|
|
1838
|
+
"$in": {
|
|
1839
|
+
"items": {
|
|
1840
|
+
"type": "string"
|
|
1841
|
+
},
|
|
1842
|
+
"minItems": 1,
|
|
1843
|
+
"type": "array"
|
|
1844
|
+
}
|
|
1845
|
+
},
|
|
1846
|
+
"common173": {
|
|
1847
|
+
"items": {
|
|
1848
|
+
"type": "string"
|
|
1849
|
+
},
|
|
1850
|
+
"minItems": 1,
|
|
1851
|
+
"type": "array"
|
|
1852
|
+
},
|
|
1853
|
+
"common174": {
|
|
1854
|
+
"const": [
|
|
1855
|
+
"citoyens"
|
|
1856
|
+
],
|
|
1857
|
+
"default": [
|
|
1858
|
+
"citoyens"
|
|
1859
|
+
],
|
|
1860
|
+
"items": {
|
|
1861
|
+
"enum": [
|
|
1862
|
+
"citoyens"
|
|
1863
|
+
],
|
|
1864
|
+
"type": "string"
|
|
1865
|
+
},
|
|
1866
|
+
"type": "array"
|
|
1867
|
+
},
|
|
1868
|
+
"common175": {
|
|
1869
|
+
"enum": [
|
|
1870
|
+
"citoyens"
|
|
1871
|
+
],
|
|
1872
|
+
"type": "string"
|
|
1873
|
+
},
|
|
1874
|
+
"common176": {
|
|
1875
|
+
"const": [
|
|
1876
|
+
"citoyens",
|
|
1877
|
+
"NGO",
|
|
1878
|
+
"LocalBusiness",
|
|
1879
|
+
"Group",
|
|
1880
|
+
"GovernmentOrganization",
|
|
1881
|
+
"Cooperative",
|
|
1882
|
+
"projects"
|
|
1883
|
+
],
|
|
1884
|
+
"default": [
|
|
1885
|
+
"citoyens",
|
|
1886
|
+
"NGO",
|
|
1887
|
+
"LocalBusiness",
|
|
1888
|
+
"Group",
|
|
1889
|
+
"GovernmentOrganization",
|
|
1890
|
+
"Cooperative",
|
|
1891
|
+
"projects"
|
|
1892
|
+
],
|
|
1893
|
+
"items": {
|
|
1894
|
+
"enum": [
|
|
1895
|
+
"citoyens",
|
|
1896
|
+
"NGO",
|
|
1897
|
+
"LocalBusiness",
|
|
1898
|
+
"Group",
|
|
1899
|
+
"GovernmentOrganization",
|
|
1900
|
+
"Cooperative",
|
|
1901
|
+
"projects"
|
|
1902
|
+
],
|
|
1903
|
+
"type": "string"
|
|
1904
|
+
},
|
|
1905
|
+
"type": "array"
|
|
1906
|
+
},
|
|
1907
|
+
"common177": {
|
|
1908
|
+
"enum": [
|
|
1909
|
+
"citoyens",
|
|
1910
|
+
"NGO",
|
|
1911
|
+
"LocalBusiness",
|
|
1912
|
+
"Group",
|
|
1913
|
+
"GovernmentOrganization",
|
|
1914
|
+
"Cooperative",
|
|
1915
|
+
"projects"
|
|
1916
|
+
],
|
|
1917
|
+
"type": "string"
|
|
1918
|
+
},
|
|
1919
|
+
"common178": {
|
|
1920
|
+
"not": {
|
|
1921
|
+
"propertyNames": {
|
|
1922
|
+
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
},
|
|
1926
|
+
"common179": {
|
|
1927
|
+
"propertyNames": {
|
|
1928
|
+
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1929
|
+
}
|
|
1930
|
+
},
|
|
1931
|
+
"common180": {
|
|
1932
|
+
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1933
|
+
},
|
|
1934
|
+
"common181": {
|
|
1935
|
+
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
1936
|
+
"additionalProperties": false,
|
|
1937
|
+
"properties": {
|
|
1938
|
+
"$exists": {
|
|
1939
|
+
"const": true
|
|
1940
|
+
}
|
|
1941
|
+
},
|
|
1942
|
+
"required": [
|
|
1943
|
+
"$exists"
|
|
1944
|
+
],
|
|
1945
|
+
"type": "object"
|
|
1946
|
+
},
|
|
1947
|
+
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$": {
|
|
1948
|
+
"additionalProperties": false,
|
|
1949
|
+
"properties": {
|
|
1950
|
+
"$exists": {
|
|
1951
|
+
"const": false
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"required": [
|
|
1955
|
+
"$exists"
|
|
1956
|
+
],
|
|
1957
|
+
"type": "object"
|
|
1958
|
+
},
|
|
1959
|
+
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$": {
|
|
1960
|
+
"additionalProperties": false,
|
|
1961
|
+
"properties": {
|
|
1962
|
+
"$exists": {
|
|
1963
|
+
"const": false
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
"required": [
|
|
1967
|
+
"$exists"
|
|
1968
|
+
],
|
|
1969
|
+
"type": "object"
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1972
|
+
"common182": {
|
|
1973
|
+
"not": {
|
|
1974
|
+
"propertyNames": {
|
|
1975
|
+
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
"common183": {
|
|
1980
|
+
"propertyNames": {
|
|
1981
|
+
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
"common184": {
|
|
1985
|
+
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1986
|
+
},
|
|
1987
|
+
"common185": {
|
|
1988
|
+
"default": "citoyens",
|
|
1989
|
+
"enum": [
|
|
1990
|
+
"citoyens",
|
|
1991
|
+
"organizations",
|
|
1992
|
+
"projects"
|
|
1993
|
+
],
|
|
1994
|
+
"type": "string"
|
|
1995
|
+
},
|
|
1996
|
+
"common186": {
|
|
1997
|
+
"const": [
|
|
1998
|
+
"badges"
|
|
1999
|
+
],
|
|
2000
|
+
"default": [
|
|
2001
|
+
"badges"
|
|
2002
|
+
],
|
|
2003
|
+
"items": {
|
|
2004
|
+
"enum": [
|
|
2005
|
+
"badges"
|
|
2006
|
+
],
|
|
2007
|
+
"type": "string"
|
|
2008
|
+
},
|
|
2009
|
+
"type": "array"
|
|
2010
|
+
},
|
|
2011
|
+
"common187": {
|
|
2012
|
+
"enum": [
|
|
2013
|
+
"badges"
|
|
2014
|
+
],
|
|
2015
|
+
"type": "string"
|
|
2016
|
+
},
|
|
2017
|
+
"common188": {
|
|
2018
|
+
"const": [
|
|
2019
|
+
"citoyens",
|
|
2020
|
+
"projects",
|
|
2021
|
+
"NGO",
|
|
2022
|
+
"LocalBusiness",
|
|
2023
|
+
"Group",
|
|
2024
|
+
"GovernmentOrganization",
|
|
2025
|
+
"Cooperative"
|
|
2026
|
+
],
|
|
2027
|
+
"default": [
|
|
2028
|
+
"citoyens",
|
|
2029
|
+
"projects",
|
|
2030
|
+
"NGO",
|
|
2031
|
+
"LocalBusiness",
|
|
2032
|
+
"Group",
|
|
2033
|
+
"GovernmentOrganization",
|
|
2034
|
+
"Cooperative"
|
|
2035
|
+
],
|
|
2036
|
+
"items": {
|
|
2037
|
+
"enum": [
|
|
2038
|
+
"citoyens",
|
|
2039
|
+
"projects",
|
|
2040
|
+
"NGO",
|
|
2041
|
+
"LocalBusiness",
|
|
2042
|
+
"Group",
|
|
2043
|
+
"GovernmentOrganization",
|
|
2044
|
+
"Cooperative"
|
|
2045
|
+
],
|
|
2046
|
+
"type": "string"
|
|
2047
|
+
},
|
|
2048
|
+
"type": "array"
|
|
2049
|
+
},
|
|
2050
|
+
"common189": {
|
|
2051
|
+
"enum": [
|
|
2052
|
+
"citoyens",
|
|
2053
|
+
"projects",
|
|
2054
|
+
"NGO",
|
|
2055
|
+
"LocalBusiness",
|
|
2056
|
+
"Group",
|
|
2057
|
+
"GovernmentOrganization",
|
|
2058
|
+
"Cooperative"
|
|
2059
|
+
],
|
|
2060
|
+
"type": "string"
|
|
2061
|
+
},
|
|
2062
|
+
"common190": {
|
|
2063
|
+
"additionalProperties": false,
|
|
2064
|
+
"properties": {
|
|
2065
|
+
"$exists": {
|
|
2066
|
+
"const": true,
|
|
2067
|
+
"type": "boolean"
|
|
2068
|
+
}
|
|
2069
|
+
},
|
|
2070
|
+
"required": [
|
|
2071
|
+
"$exists"
|
|
2072
|
+
],
|
|
2073
|
+
"type": "object"
|
|
2074
|
+
},
|
|
2075
|
+
"common191": {
|
|
2076
|
+
"$exists": {
|
|
2077
|
+
"const": true,
|
|
2078
|
+
"type": "boolean"
|
|
2079
|
+
}
|
|
2080
|
+
},
|
|
2081
|
+
"common192": {
|
|
2082
|
+
"const": true,
|
|
2083
|
+
"type": "boolean"
|
|
2084
|
+
},
|
|
2085
|
+
"common193": {
|
|
2086
|
+
"additionalProperties": false,
|
|
2087
|
+
"properties": {
|
|
2088
|
+
"$exists": {
|
|
2089
|
+
"const": false,
|
|
2090
|
+
"type": "boolean"
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
"required": [
|
|
2094
|
+
"$exists"
|
|
2095
|
+
],
|
|
2096
|
+
"type": "object"
|
|
2097
|
+
},
|
|
2098
|
+
"common194": {
|
|
2099
|
+
"$exists": {
|
|
2100
|
+
"const": false,
|
|
2101
|
+
"type": "boolean"
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
"common195": {
|
|
2105
|
+
"const": false,
|
|
2106
|
+
"type": "boolean"
|
|
2107
|
+
},
|
|
2108
|
+
"common196": {
|
|
2109
|
+
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2110
|
+
"additionalProperties": false,
|
|
2111
|
+
"properties": {
|
|
2112
|
+
"$exists": {
|
|
2113
|
+
"const": false,
|
|
2114
|
+
"type": "boolean"
|
|
2115
|
+
}
|
|
2116
|
+
},
|
|
2117
|
+
"required": [
|
|
2118
|
+
"$exists"
|
|
2119
|
+
],
|
|
2120
|
+
"type": "object"
|
|
2121
|
+
},
|
|
2122
|
+
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$": {
|
|
2123
|
+
"additionalProperties": false,
|
|
2124
|
+
"properties": {
|
|
2125
|
+
"$exists": {
|
|
2126
|
+
"const": true,
|
|
2127
|
+
"type": "boolean"
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
"required": [
|
|
2131
|
+
"$exists"
|
|
2132
|
+
],
|
|
2133
|
+
"type": "object"
|
|
2134
|
+
}
|
|
2135
|
+
},
|
|
2136
|
+
"common197": {
|
|
2137
|
+
"indexMax": 30,
|
|
2138
|
+
"indexMin": 0
|
|
2139
|
+
},
|
|
2140
|
+
"common198": {
|
|
2141
|
+
"properties": {
|
|
2142
|
+
"parentType": {
|
|
2143
|
+
"const": "organizations"
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
},
|
|
2147
|
+
"common199": {
|
|
2148
|
+
"parentType": {
|
|
2149
|
+
"const": "organizations"
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
"common200": {
|
|
2153
|
+
"properties": {
|
|
2154
|
+
"parentType": {
|
|
2155
|
+
"const": "projects"
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
},
|
|
2159
|
+
"common201": {
|
|
2160
|
+
"parentType": {
|
|
2161
|
+
"const": "projects"
|
|
2162
|
+
}
|
|
2163
|
+
},
|
|
2164
|
+
"common202": {
|
|
2165
|
+
"properties": {
|
|
2166
|
+
"parentType": {
|
|
2167
|
+
"const": "events"
|
|
2168
|
+
}
|
|
2169
|
+
}
|
|
2170
|
+
},
|
|
2171
|
+
"common203": {
|
|
2172
|
+
"parentType": {
|
|
2173
|
+
"const": "events"
|
|
2174
|
+
}
|
|
2175
|
+
},
|
|
2176
|
+
"common204": {
|
|
2177
|
+
"default": "@userId",
|
|
2178
|
+
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2179
|
+
"type": "string"
|
|
2180
|
+
},
|
|
2181
|
+
"common205": {
|
|
2182
|
+
"const": "citoyens",
|
|
2183
|
+
"default": "citoyens",
|
|
2184
|
+
"enum": [
|
|
2185
|
+
"citoyens"
|
|
2186
|
+
],
|
|
2187
|
+
"type": "string"
|
|
2188
|
+
},
|
|
2189
|
+
"common206": {
|
|
2190
|
+
"enum": [
|
|
2191
|
+
"citoyens",
|
|
2192
|
+
"organizations",
|
|
2193
|
+
"projects",
|
|
2194
|
+
"events"
|
|
2195
|
+
],
|
|
2196
|
+
"type": "string"
|
|
2197
|
+
},
|
|
2198
|
+
"common207": {
|
|
2199
|
+
"const": "citoyens",
|
|
2200
|
+
"default": "citoyens",
|
|
2201
|
+
"type": "string"
|
|
2202
|
+
},
|
|
2203
|
+
"common208": {
|
|
2204
|
+
"const": "@userId",
|
|
2205
|
+
"default": "@userId",
|
|
2206
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2207
|
+
"type": "string"
|
|
2208
|
+
},
|
|
2209
|
+
"common209": {
|
|
2210
|
+
"default": {
|
|
2211
|
+
"isOpenData": true,
|
|
2212
|
+
"isOpenEdition": true
|
|
2213
|
+
},
|
|
2214
|
+
"properties": {
|
|
2215
|
+
"isOpenData": {
|
|
2216
|
+
"default": true,
|
|
2217
|
+
"type": "boolean"
|
|
2218
|
+
},
|
|
2219
|
+
"isOpenEdition": {
|
|
2220
|
+
"default": true,
|
|
2221
|
+
"type": "boolean"
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
"required": [
|
|
2225
|
+
"isOpenData",
|
|
2226
|
+
"isOpenEdition"
|
|
2227
|
+
],
|
|
2228
|
+
"type": "object"
|
|
2229
|
+
},
|
|
2230
|
+
"common210": {
|
|
2231
|
+
"isOpenData": true,
|
|
2232
|
+
"isOpenEdition": true
|
|
2233
|
+
},
|
|
2234
|
+
"common211": {
|
|
2235
|
+
"isOpenData": {
|
|
2236
|
+
"default": true,
|
|
2237
|
+
"type": "boolean"
|
|
2238
|
+
},
|
|
2239
|
+
"isOpenEdition": {
|
|
2240
|
+
"default": true,
|
|
2241
|
+
"type": "boolean"
|
|
2242
|
+
}
|
|
2243
|
+
},
|
|
2244
|
+
"common212": {
|
|
2245
|
+
"additionalProperties": false,
|
|
2246
|
+
"default": {
|
|
2247
|
+
"@userId": {
|
|
2248
|
+
"type": "citoyens"
|
|
2249
|
+
}
|
|
2250
|
+
},
|
|
2251
|
+
"patternProperties": {
|
|
2252
|
+
"^(?:[a-f0-9]{24}|@userId)$": {
|
|
2253
|
+
"additionalProperties": false,
|
|
2254
|
+
"properties": {
|
|
2255
|
+
"name": {
|
|
2256
|
+
"type": "string"
|
|
2257
|
+
},
|
|
2258
|
+
"type": {
|
|
2259
|
+
"type": "string"
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
"required": [
|
|
2263
|
+
"type"
|
|
2264
|
+
],
|
|
2265
|
+
"type": "object"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"type": "object"
|
|
2269
|
+
},
|
|
2270
|
+
"common213": {
|
|
2271
|
+
"@userId": {
|
|
2272
|
+
"type": "citoyens"
|
|
2273
|
+
}
|
|
2274
|
+
},
|
|
2275
|
+
"common214": {
|
|
2276
|
+
"type": "citoyens"
|
|
2277
|
+
},
|
|
2278
|
+
"common215": {
|
|
2279
|
+
"const": "poi",
|
|
2280
|
+
"default": "poi",
|
|
2281
|
+
"type": "string"
|
|
2282
|
+
},
|
|
2283
|
+
"common216": {
|
|
2284
|
+
"const": "events",
|
|
2285
|
+
"default": "events",
|
|
2286
|
+
"type": "string"
|
|
2287
|
+
},
|
|
2288
|
+
"common217": {
|
|
2289
|
+
"format": "date-time",
|
|
2290
|
+
"type": "string"
|
|
2291
|
+
},
|
|
2292
|
+
"common218": {
|
|
2293
|
+
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2294
|
+
"type": "string"
|
|
2295
|
+
},
|
|
2296
|
+
"common219": {
|
|
2297
|
+
"type": "integer"
|
|
2298
|
+
},
|
|
2299
|
+
"common220": {
|
|
2300
|
+
"additionalProperties": false,
|
|
2301
|
+
"properties": {
|
|
2302
|
+
"id": {
|
|
2303
|
+
"default": "@userId",
|
|
2304
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2305
|
+
"type": "string"
|
|
2306
|
+
},
|
|
2307
|
+
"type": {
|
|
2308
|
+
"const": "citoyens",
|
|
2309
|
+
"default": "citoyens",
|
|
2310
|
+
"type": "string"
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
2313
|
+
"required": [
|
|
2314
|
+
"type",
|
|
2315
|
+
"id"
|
|
2316
|
+
],
|
|
2317
|
+
"type": "object"
|
|
2318
|
+
},
|
|
2319
|
+
"common221": {
|
|
2320
|
+
"id": {
|
|
2321
|
+
"default": "@userId",
|
|
2322
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2323
|
+
"type": "string"
|
|
2324
|
+
},
|
|
2325
|
+
"type": {
|
|
2326
|
+
"const": "citoyens",
|
|
2327
|
+
"default": "citoyens",
|
|
2328
|
+
"type": "string"
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
"common222": {
|
|
2332
|
+
"default": "@userId",
|
|
2333
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2334
|
+
"type": "string"
|
|
2335
|
+
},
|
|
2336
|
+
"common223": {
|
|
2337
|
+
"const": "badges",
|
|
2338
|
+
"default": "badges",
|
|
2339
|
+
"type": "string"
|
|
2340
|
+
},
|
|
2341
|
+
"common224": {
|
|
2342
|
+
"const": "badge",
|
|
2343
|
+
"default": "badge",
|
|
2344
|
+
"type": "string"
|
|
2345
|
+
},
|
|
2346
|
+
"common225": {
|
|
2347
|
+
"patternProperties": {
|
|
2348
|
+
"^[0-9a-f]{24}$": {
|
|
2349
|
+
"additionalProperties": false,
|
|
2350
|
+
"properties": {
|
|
2351
|
+
"isAdmin": {
|
|
2352
|
+
"default": "",
|
|
2353
|
+
"enum": [
|
|
2354
|
+
"",
|
|
2355
|
+
"admin"
|
|
2356
|
+
],
|
|
2357
|
+
"type": "string"
|
|
2358
|
+
},
|
|
2359
|
+
"name": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"roles": {
|
|
2363
|
+
"items": {
|
|
2364
|
+
"type": "string"
|
|
2365
|
+
},
|
|
2366
|
+
"type": "array"
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
"required": [
|
|
2370
|
+
"name"
|
|
2371
|
+
],
|
|
2372
|
+
"type": "object"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"type": "object"
|
|
2376
|
+
},
|
|
2377
|
+
"common226": {
|
|
2378
|
+
"^[0-9a-f]{24}$": {
|
|
2379
|
+
"additionalProperties": false,
|
|
2380
|
+
"properties": {
|
|
2381
|
+
"isAdmin": {
|
|
2382
|
+
"default": "",
|
|
2383
|
+
"enum": [
|
|
2384
|
+
"",
|
|
2385
|
+
"admin"
|
|
2386
|
+
],
|
|
2387
|
+
"type": "string"
|
|
2388
|
+
},
|
|
2389
|
+
"name": {
|
|
2390
|
+
"type": "string"
|
|
2391
|
+
},
|
|
2392
|
+
"roles": {
|
|
2393
|
+
"items": {
|
|
2394
|
+
"type": "string"
|
|
2395
|
+
},
|
|
2396
|
+
"type": "array"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
"required": [
|
|
2400
|
+
"name"
|
|
2401
|
+
],
|
|
2402
|
+
"type": "object"
|
|
2403
|
+
}
|
|
2404
|
+
},
|
|
2405
|
+
"common227": {
|
|
2406
|
+
"additionalProperties": false,
|
|
2407
|
+
"properties": {
|
|
2408
|
+
"isAdmin": {
|
|
2409
|
+
"default": "",
|
|
2410
|
+
"enum": [
|
|
2411
|
+
"",
|
|
2412
|
+
"admin"
|
|
2413
|
+
],
|
|
2414
|
+
"type": "string"
|
|
2415
|
+
},
|
|
2416
|
+
"name": {
|
|
2417
|
+
"type": "string"
|
|
2418
|
+
},
|
|
2419
|
+
"roles": {
|
|
2420
|
+
"items": {
|
|
2421
|
+
"type": "string"
|
|
2422
|
+
},
|
|
2423
|
+
"type": "array"
|
|
2424
|
+
}
|
|
2425
|
+
},
|
|
2426
|
+
"required": [
|
|
2427
|
+
"name"
|
|
2428
|
+
],
|
|
2429
|
+
"type": "object"
|
|
2430
|
+
},
|
|
2431
|
+
"common228": {
|
|
2432
|
+
"isAdmin": {
|
|
2433
|
+
"default": "",
|
|
2434
|
+
"enum": [
|
|
2435
|
+
"",
|
|
2436
|
+
"admin"
|
|
2437
|
+
],
|
|
2438
|
+
"type": "string"
|
|
2439
|
+
},
|
|
2440
|
+
"name": {
|
|
2441
|
+
"type": "string"
|
|
2442
|
+
},
|
|
2443
|
+
"roles": {
|
|
2444
|
+
"items": {
|
|
2445
|
+
"type": "string"
|
|
2446
|
+
},
|
|
2447
|
+
"type": "array"
|
|
2448
|
+
}
|
|
2449
|
+
},
|
|
2450
|
+
"common229": {
|
|
2451
|
+
"default": "",
|
|
2452
|
+
"enum": [
|
|
2453
|
+
"",
|
|
2454
|
+
"admin"
|
|
2455
|
+
],
|
|
2456
|
+
"type": "string"
|
|
2457
|
+
},
|
|
2458
|
+
"common230": {
|
|
2459
|
+
"enum": [
|
|
2460
|
+
"projects",
|
|
2461
|
+
"organizations"
|
|
2462
|
+
],
|
|
2463
|
+
"type": "string"
|
|
2464
|
+
},
|
|
2465
|
+
"common231": {
|
|
2466
|
+
"items": {
|
|
2467
|
+
"enum": [
|
|
2468
|
+
"NGO",
|
|
2469
|
+
"LocalBusiness",
|
|
2470
|
+
"Group",
|
|
2471
|
+
"GovernmentOrganization",
|
|
2472
|
+
"Cooperative",
|
|
2473
|
+
"organizations",
|
|
2474
|
+
"projects",
|
|
2475
|
+
"events",
|
|
2476
|
+
"citoyens",
|
|
2477
|
+
"poi"
|
|
2478
|
+
],
|
|
2479
|
+
"type": "string"
|
|
2480
|
+
},
|
|
2481
|
+
"type": "array"
|
|
2482
|
+
},
|
|
2483
|
+
"common232": {
|
|
2484
|
+
"enum": [
|
|
2485
|
+
"NGO",
|
|
2486
|
+
"LocalBusiness",
|
|
2487
|
+
"Group",
|
|
2488
|
+
"GovernmentOrganization",
|
|
2489
|
+
"Cooperative",
|
|
2490
|
+
"organizations",
|
|
2491
|
+
"projects",
|
|
2492
|
+
"events",
|
|
2493
|
+
"citoyens",
|
|
2494
|
+
"poi"
|
|
2495
|
+
],
|
|
2496
|
+
"type": "string"
|
|
2497
|
+
},
|
|
2498
|
+
"common233": {
|
|
2499
|
+
"additionalProperties": false,
|
|
2500
|
+
"properties": {
|
|
2501
|
+
"id": {
|
|
2502
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2503
|
+
"type": "string"
|
|
2504
|
+
},
|
|
2505
|
+
"type": {
|
|
2506
|
+
"default": "events",
|
|
2507
|
+
"type": "string"
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2510
|
+
"required": [
|
|
2511
|
+
"id",
|
|
2512
|
+
"type"
|
|
2513
|
+
],
|
|
2514
|
+
"type": "object"
|
|
2515
|
+
},
|
|
2516
|
+
"common234": {
|
|
2517
|
+
"id": {
|
|
2518
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2519
|
+
"type": "string"
|
|
2520
|
+
},
|
|
2521
|
+
"type": {
|
|
2522
|
+
"default": "events",
|
|
2523
|
+
"type": "string"
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
"common235": {
|
|
2527
|
+
"default": "events",
|
|
2528
|
+
"type": "string"
|
|
2529
|
+
},
|
|
2530
|
+
"common236": {
|
|
2531
|
+
"items": {
|
|
2532
|
+
"properties": {
|
|
2533
|
+
"id": {
|
|
2534
|
+
"type": "string"
|
|
2535
|
+
}
|
|
2536
|
+
},
|
|
2537
|
+
"required": [
|
|
2538
|
+
"id"
|
|
2539
|
+
],
|
|
2540
|
+
"type": "object"
|
|
2541
|
+
},
|
|
2542
|
+
"type": "array"
|
|
2543
|
+
},
|
|
2544
|
+
"common237": {
|
|
2545
|
+
"properties": {
|
|
2546
|
+
"id": {
|
|
2547
|
+
"type": "string"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
"required": [
|
|
2551
|
+
"id"
|
|
2552
|
+
],
|
|
2553
|
+
"type": "object"
|
|
2554
|
+
},
|
|
2555
|
+
"common238": {
|
|
2556
|
+
"id": {
|
|
2557
|
+
"type": "string"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
"common239": {
|
|
2561
|
+
"additionalProperties": false,
|
|
2562
|
+
"properties": {
|
|
2563
|
+
"contextId": {
|
|
2564
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2565
|
+
"type": "string"
|
|
2566
|
+
},
|
|
2567
|
+
"contextType": {
|
|
2568
|
+
"enum": [
|
|
2569
|
+
"projects",
|
|
2570
|
+
"organizations"
|
|
2571
|
+
],
|
|
2572
|
+
"type": "string"
|
|
2573
|
+
},
|
|
2574
|
+
"costumEditMode": {
|
|
2575
|
+
"default": false,
|
|
2576
|
+
"type": "boolean"
|
|
2577
|
+
},
|
|
2578
|
+
"costumSlug": {
|
|
2579
|
+
"type": "string"
|
|
2580
|
+
},
|
|
2581
|
+
"sourceKey": {
|
|
2582
|
+
"items": {
|
|
2583
|
+
"type": "string"
|
|
2584
|
+
},
|
|
2585
|
+
"type": "array"
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2588
|
+
"type": "object"
|
|
2589
|
+
},
|
|
2590
|
+
"common240": {
|
|
2591
|
+
"contextId": {
|
|
2592
|
+
"pattern": "^[a-f0-9]{24}$",
|
|
2593
|
+
"type": "string"
|
|
2594
|
+
},
|
|
2595
|
+
"contextType": {
|
|
2596
|
+
"enum": [
|
|
2597
|
+
"projects",
|
|
2598
|
+
"organizations"
|
|
2599
|
+
],
|
|
2600
|
+
"type": "string"
|
|
2601
|
+
},
|
|
2602
|
+
"costumEditMode": {
|
|
2603
|
+
"default": false,
|
|
2604
|
+
"type": "boolean"
|
|
2605
|
+
},
|
|
2606
|
+
"costumSlug": {
|
|
2607
|
+
"type": "string"
|
|
2608
|
+
},
|
|
2609
|
+
"sourceKey": {
|
|
2610
|
+
"items": {
|
|
2611
|
+
"type": "string"
|
|
2612
|
+
},
|
|
2613
|
+
"type": "array"
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
// Endpoints avec intégration des définitions communes
|
|
2619
|
+
const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"name":common.common1,"tags":common.common30,"url":common.common4}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common33,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common35,common.common37,common.common39],"properties":{"birthDate":common.common41,"block":common.common42,"email":common.common43,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common44,"scope":common.common10,"tags":common.common45,"typeElement":common.common46,"url":common.common47}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common48,common.common50],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"parent":common.common52,"scope":common.common10,"tags":common.common45,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common47}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common48,common.common56,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common50],"properties":{"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"organizer":common.common58,"parent":common.common52,"scope":common.common10,"tags":common.common45,"type":common.common61,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common47}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common56],"properties":{"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"scope":common.common10,"tags":common.common45,"type":common.common62,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common47}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common33,common.common35,common.common37,common.common39,common.common56,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common42,"email":common.common43,"id":common.common1,"name":common.common44,"scope":common.common10,"tags":common.common45,"type":common.common63,"typeElement":common.common64,"url":common.common47,"urls":common.common31}}}],"properties":{"block":common.common42,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common32,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common65,"facebook":common.common65,"github":common.common65,"gitlab":common.common65,"id":common.common1,"instagram":common.common65,"mastodon":common.common65,"scope":common.common10,"signal":common.common65,"telegram":common.common65,"twitter":common.common65,"typeElement":common.common66},"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.common67,"if":common.common24,"properties":{"address":{"oneOf":[common.common70,common.common71]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common70,common.common75]},"geoPosition":{"oneOf":[common.common70,common.common79]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common85,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common67,"if":common.common24,"properties":{"block":common.common42,"id":common.common1,"scope":common.common10,"slug":common.common88,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common85,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common67,"if":common.common89,"properties":{"block":common.common42,"id":common.common1,"slug":common.common88,"type":common.common19},"required":["block","type","id","slug"],"then":common.common85,"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":{"additionalProperties":false,"else":common.common91,"if":common.common93,"properties":{"folder":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"then":common.common95,"type":"object"},"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"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.common67,"if":common.common89,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges"],"type":"string"}},"required":["type","id"],"then":common.common85,"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.common97,"if":common.common99,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common66},"required":["parentId","parentType","listInvite"],"then":common.common101,"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.common67,"if":common.common89,"properties":{"id":common.common1,"isLive":common.common103,"type":common.common66},"required":["isLive","type","id"],"then":common.common85,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common104,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common105,common.common106,common.common107],"else":common.common97,"if":common.common99,"properties":{"json":common.common83,"markdownActive":common.common103,"mediaFile":common.common108,"mediaImg":common.common110,"mentions":common.common112,"parentId":common.common1,"parentType":common.common66,"scope":common.common116,"tags":common.common30,"text":common.common1,"type":common.common117},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common101,"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.common118,"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.common118,"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.common120,"request":{"additionalProperties":false,"properties":{"isLive":common.common121},"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.common105,common.common106,common.common107],"else":common.common97,"if":common.common99,"properties":{"idNews":common.common11,"markdownActive":common.common103,"mediaFile":common.common108,"mediaImg":common.common110,"mentions":common.common112,"parentId":common.common1,"parentType":common.common66,"scope":common.common116,"tags":common.common30,"text":common.common1,"type":common.common117},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common101,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common122,"if":common.common124,"properties":{"childId":common.common11,"childType":common.common66,"comment":common.common1,"connectType":common.common126,"parentId":common.common11,"parentType":common.common117},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common127,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":common.common129},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common131,"mentions":common.common132,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common120},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common132,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":common.common129},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common135,"type":"array"},"fediverse":common.common136,"filters":common.common137,"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common140,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchTags":common.common31,"searchType":{"items":common.common135,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common137,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common121,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common150,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common151,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common153,"parent.@userId":common.common153},"links.contributors.@userId":common.common153},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common151},"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.common157,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common151,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common153,"parent.@{pathParams.id}":common.common153},"links.contributors.@{pathParams.id}":common.common153},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common151},"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.common83,"countType":common.common159,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common153},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common159},"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.common157,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common159,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common153},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common159},"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.common83,"countType":common.common160,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common153,"links.members.@userId.isInviting":common.common162,"links.members.@userId.toBeValidated":common.common162},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common67,"if":common.common89,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common85,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common160,"fediverse":common.common136,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common153,"links.members.@{pathParams.id}.isInviting":common.common162,"links.members.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common163,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common167,"fediverse":common.common136,"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.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common120,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common167,"fediverse":common.common136,"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.common153,"links.memberOf.@{pathParams.id}.isInviting":common.common162,"links.memberOf.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common154,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common171,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common174,"fediverse":common.common136,"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.common153,"links.friends.@{pathParams.id}.isInviting":common.common162,"links.friends.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"searchType":common.common174},"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.common83,"countType":common.common176,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common178],"default":{"links.followers.@userId":common.common153,"links.followers.@{userId}.isInviting":common.common162,"links.followers.@{userId}.toBeValidated":common.common162},"patternProperties":common.common181,"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common176},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common176,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common178],"default":{"links.followers.@{pathParams.id}":common.common153,"links.followers.@{pathParams.id}.isInviting":common.common162,"links.followers.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":common.common181,"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common176},"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.common83,"countType":common.common174,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.follows.@userId":common.common153,"links.follows.@{userId}.isInviting":common.common162,"links.follows.@{userId}.toBeValidated":common.common162},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common163,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common174},"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.common67,"if":common.common89,"then":common.common85}],"properties":{"id":common.common1,"type":common.common185},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common174,"fediverse":common.common136,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.follows.@{pathParams.id}":common.common153},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154},"type":"object"},"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"searchType":common.common174},"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.common83,"countType":common.common167,"fediverse":common.common136,"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.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common120,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common167,"fediverse":common.common136,"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.common153,"links.projects.@{pathParams.id}.isInviting":common.common162,"links.projects.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common154,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common171,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common167},"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.common83,"countType":common.common186,"fediverse":common.common136,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common154},"type":"object"},"isParcours":common.common3,"preferences.private":common.common136},"required":["preferences.private"],"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common186},"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.common83,"countType":common.common188,"fediverse":common.common136,"fields":common.common186,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common190}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common190,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common193,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common193}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common196},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common196,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common192}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common190}}],"type":"object"},"indexMin":common.common150,"indexStep":common.common166,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common197,"GovernmentOrganization":common.common197,"Group":common.common197,"LocalBusiness":common.common197,"NGO":common.common197,"citoyens":common.common197,"projects":common.common197},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common147},"type":"object"},"searchType":common.common188},"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.common99,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common198,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common204,"childType":common.common205,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common206},"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.common99,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common198,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common200,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common204,"childType":common.common205,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common206},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common82},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common207,"id":common.common208,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common137},"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.common192,"collection":common.common207,"id":common.common208,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common55,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common71,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common209,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common137,"shortDescription":common.common1,"tags":common.common31,"type":common.common62,"url":common.common4},"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.common71,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common212,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common103,"isOpenData":common.common121,"isOpenEdition":common.common121},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common103,"scope":common.common137,"shortDescription":common.common1,"tags":common.common31,"url":common.common4},"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.common71,"collection":common.common215,"description":common.common1,"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":common.common215,"name":common.common1,"parent":common.common212,"scope":common.common137,"tags":common.common31,"type":common.common63,"urls":common.common31},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common165}},"properties":{"address":common.common71,"collection":common.common216,"email":common.common2,"endDate":common.common217,"geo":common.common75,"geoPosition":common.common79,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common70,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common218,"opens":common.common218},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common212,"parent":common.common58,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common121,"isOpenEdition":common.common121},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common103,"recurrency":common.common121,"scope":common.common137,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common217,"tags":common.common31,"timeZone":common.common1,"type":common.common61,"url":common.common4},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common120,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common120,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common219,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common46,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common206},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common220,"request":{"additionalProperties":false,"properties":{"indexMin":common.common104},"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.common220,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common219},"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.common83},"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.common120},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common120},{"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.common223,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common121,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common224,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common223},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common209,"public":common.common103,"scope":common.common137,"tags":common.common31},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common54},"type":"object"},"badgeId":common.common11,"collection":common.common223,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common224,"narative":common.common1,"scope":common.common137},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":false,"properties":{"count":common.common121,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common217,"fediverse":common.common121,"indexMin":common.common104,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"searchType":{"const":["events"],"default":["events"],"items":common.common1,"type":"array"},"startDate":common.common82,"startDateUTC":common.common217,"type":common.common61},"required":["searchType","indexMin","indexStep","startDate","startDateUTC","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common122,"if":common.common124,"properties":{"childId":common.common11,"childType":common.common66,"comment":common.common1,"connectType":common.common126,"parentId":common.common11,"parentType":common.common216},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common127,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common97,"if":common.common99,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common225,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common229,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common225,"projects":common.common225},"type":"object"},"parentId":common.common1,"parentType":common.common66},"required":["parentId","parentType","listInvite"],"then":common.common101,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common204,"childType":common.common205,"parentId":common.common11,"parentType":common.common206},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"count":common.common83,"countType":common.common231,"fediverse":common.common121,"fields":common.common31,"filters":{"default":"","oneOf":[{"additionalProperties":true,"type":"object"},common.common70]},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common140,"mapUsed":common.common192,"name":common.common1,"notSourceKey":common.common192,"options":{"additionalProperties":true,"properties":{"tags":{"additionalProperties":true,"properties":{"verb":common.common1},"type":"object"}},"type":"object"},"ranges":common.common145,"searchBy":common.common149,"searchTags":common.common31,"searchType":common.common231,"sortBy":{"additionalProperties":{"enum":[1,-1],"type":"integer"},"type":"object"},"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common233,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common233,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common41,"start":common.common41},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common236,"sourceKey":common.common31,"tags":common.common31,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common233,"request":common.common239},{"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.common233,"request":common.common239},{"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.common233,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"regions":common.common236,"sourceKey":common.common31,"tags":common.common31,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common233,"request":common.common239},{"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.common233,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common233,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common230,"costumEditMode":common.common121,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common67,"if":common.common89,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common185},"required":["id","type","docType"],"then":common.common85,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common174,"fediverse":common.common136,"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.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common163},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common174},"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.common120,"request":{"additionalProperties":false,"properties":{"count":common.common83,"countType":common.common174,"fediverse":common.common136,"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.common153,"links.events.@{pathParams.id}.isInviting":common.common162,"links.events.@{pathParams.id}.toBeValidated":common.common162},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common154,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common171,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common82,"indexMin":common.common138,"indexStep":common.common139,"initType":common.common137,"locality":common.common137,"name":common.common1,"notSourceKey":common.common83,"ranges":common.common145,"searchBy":common.common149,"searchType":common.common174},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}}]};
|
|
2620
|
+
|
|
2621
|
+
export default endpoints;
|