Project

General

Profile

SOLIS » IntegrationDemandeApaAsgDTO.xsd

Mikaël Ates, 14 June 2023 06:52 PM

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSpy v2013 rel. 2 (x64) (http://www.altova.com) by Info.db (private) -->
3
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
4
	<xs:element name="IntegrationDemandeApaAsgDTO">
5
		<xs:annotation>
6
			<xs:documentation>Objet principal</xs:documentation>
7
		</xs:annotation>
8
		<xs:complexType>
9
			<xs:sequence>
10
				<xs:element name="DemandeApa">
11
					<xs:annotation>
12
						<xs:documentation>Demande APA</xs:documentation>
13
					</xs:annotation>
14
					<xs:complexType>
15
						<xs:sequence>
16
							<xs:element name="Beneficiaire">
17
								<xs:annotation>
18
									<xs:documentation>Individu concerné par la demande d'APA</xs:documentation>
19
								</xs:annotation>
20
								<xs:complexType>
21
									<xs:sequence>
22
										<xs:element name="Solis" minOccurs="0">
23
											<xs:complexType>
24
												<xs:sequence>
25
													<xs:element name="indexDossier" type="xs:int" minOccurs="0"/>
26
													<xs:element name="indexIndividu" type="xs:int" minOccurs="0"/>
27
												</xs:sequence>
28
											</xs:complexType>
29
										</xs:element>
30
										<xs:element name="Demande">
31
											<xs:annotation>
32
												<xs:documentation>Demande</xs:documentation>
33
											</xs:annotation>
34
											<xs:complexType>
35
												<xs:sequence>
36
													<xs:element name="aide" type="DemandeEnum">
37
														<xs:annotation>
38
															<xs:documentation>APAD ou APAE</xs:documentation>
39
														</xs:annotation>
40
													</xs:element>
41
													<xs:element name="dateDepot" type="xs:date">
42
														<xs:annotation>
43
															<xs:documentation>Date de validation du formulaire
44
                                                            </xs:documentation>
45
														</xs:annotation>
46
													</xs:element>
47
													<xs:element name="statut" type="xs:int" minOccurs="0"/>
48
													<xs:element name="dateDossierComplet" type="xs:date" minOccurs="0"/>
49
													<xs:element name="identificationInstructeur" type="xs:string" minOccurs="0"/>
50
													<xs:element name="reference" type="xs:string" minOccurs="0"/>
51
												</xs:sequence>
52
											</xs:complexType>
53
										</xs:element>
54
										<xs:element name="EtatCivil" type="IndividuEtatCivil">
55
											<xs:annotation>
56
												<xs:documentation>Etat civil de l'individu concerné par la demande
57
                                                </xs:documentation>
58
											</xs:annotation>
59
										</xs:element>
60
										<xs:element name="ListeAdresse">
61
											<xs:complexType>
62
												<xs:sequence>
63
													<xs:element name="AdresseActuelle">
64
														<xs:complexType>
65
															<xs:sequence>
66
																<xs:element name="Keys" type="AdresseKeys"/>
67
																<xs:element name="Detail" type="AdresseDetail" minOccurs="0"/>
68
																<xs:element name="Logement">
69
																	<xs:complexType>
70
																		<xs:sequence>
71
																			<xs:element name="dateArrivee" type="xs:date">
72
																				<xs:annotation>
73
																					<xs:documentation>Date d'arrivée à
74
                                                                                        l'adresse actuelle
75
                                                                                    </xs:documentation>
76
																				</xs:annotation>
77
																			</xs:element>
78
																			<xs:element name="typeResidence" type="TypeResidenceEnum">
79
																				<xs:annotation>
80
																					<xs:documentation>type de
81
                                                                                        résidence
82
                                                                                    </xs:documentation>
83
																				</xs:annotation>
84
																			</xs:element>
85
																			<xs:element name="statutLogement" type="xs:int" minOccurs="0">
86
																				<xs:annotation>
87
																					<xs:documentation>statut du logement
88
                                                                                        (référentiel)
89
                                                                                    </xs:documentation>
90
																				</xs:annotation>
91
																			</xs:element>
92
																		</xs:sequence>
93
																	</xs:complexType>
94
																</xs:element>
95
															</xs:sequence>
96
														</xs:complexType>
97
													</xs:element>
98
													<xs:element name="AdressePrecedente" minOccurs="0">
99
														<xs:complexType>
100
															<xs:sequence>
101
																<xs:element name="Keys">
102
																	<xs:complexType>
103
																		<xs:complexContent>
104
																			<xs:extension base="AdresseKeys"/>
105
																		</xs:complexContent>
106
																	</xs:complexType>
107
																</xs:element>
108
																<xs:element name="Detail" type="AdresseDetail" minOccurs="0"/>
109
																<xs:element name="Logement">
110
																	<xs:complexType>
111
																		<xs:sequence>
112
																			<xs:element name="dateArrivee" type="xs:date">
113
																				<xs:annotation>
114
																					<xs:documentation>Date d'arrivée à
115
                                                                                        l'adresse précédente
116
                                                                                    </xs:documentation>
117
																				</xs:annotation>
118
																			</xs:element>
119
																		</xs:sequence>
120
																	</xs:complexType>
121
																</xs:element>
122
															</xs:sequence>
123
														</xs:complexType>
124
													</xs:element>
125
												</xs:sequence>
126
											</xs:complexType>
127
										</xs:element>
128
									</xs:sequence>
129
								</xs:complexType>
130
							</xs:element>
131
							<xs:element name="Conjoint" minOccurs="0">
132
								<xs:annotation>
133
									<xs:documentation>Conjoint de l'individu concerné</xs:documentation>
134
								</xs:annotation>
135
								<xs:complexType>
136
									<xs:sequence>
137
										<xs:element name="Solis" minOccurs="0">
138
											<xs:complexType>
139
												<xs:sequence>
140
													<xs:element name="indexDossier" type="xs:int" minOccurs="0"/>
141
													<xs:element name="indexIndividu" type="xs:int" minOccurs="0"/>
142
												</xs:sequence>
143
											</xs:complexType>
144
										</xs:element>
145
										<xs:element name="EtatCivil" type="IndividuEtatCivil">
146
											<xs:annotation>
147
												<xs:documentation>Etat civil du conjoint</xs:documentation>
148
											</xs:annotation>
149
										</xs:element>
150
										<xs:element name="aDomicile" type="xs:boolean"/>
151
										<xs:element name="participeAuxRessources" type="xs:boolean">
152
											<xs:annotation>
153
												<xs:documentation>Le conjoint participe t il aux ressources du ménage
154
                                                </xs:documentation>
155
											</xs:annotation>
156
										</xs:element>
157
									</xs:sequence>
158
								</xs:complexType>
159
							</xs:element>
160
							<xs:element name="Proche" minOccurs="0">
161
								<xs:annotation>
162
									<xs:documentation>Individu proche de l'individu concerné par la demande
163
                                    </xs:documentation>
164
								</xs:annotation>
165
								<xs:complexType>
166
									<xs:sequence>
167
										<xs:element name="EtatCivil" type="IndividuEtatCivil">
168
											<xs:annotation>
169
												<xs:documentation>Etat civil de l'individu proche du bénéficiaire
170
                                                </xs:documentation>
171
											</xs:annotation>
172
										</xs:element>
173
										<xs:element name="lienParente" type="xs:string" minOccurs="0"/>
174
                                        <xs:element name="presenceVisite" type="xs:boolean" minOccurs="0"/>
175
										<xs:element name="Adresse" minOccurs="0">
176
											<xs:complexType>
177
												<xs:sequence>
178
													<xs:element name="Keys" type="AdresseKeys"/>
179
													<xs:element name="Detail" type="AdresseDetail" minOccurs="0"/>
180
												</xs:sequence>
181
											</xs:complexType>
182
										</xs:element>
183
									</xs:sequence>
184
								</xs:complexType>
185
							</xs:element>
186
							<xs:element name="Tuteur" minOccurs="0">
187
								<xs:annotation>
188
									<xs:documentation>Tuteur du demandeur</xs:documentation>
189
								</xs:annotation>
190
								<xs:complexType>
191
									<xs:choice>
192
										<xs:annotation>
193
											<xs:documentation>Le tuteur peut être un individu ou un organisme de tutelle
194
											</xs:documentation>
195
										</xs:annotation>
196
										<xs:element name="IndividuTuteur">
197
											<xs:annotation>
198
												<xs:documentation>Individu tuteur du demandeur
199
												</xs:documentation>
200
											</xs:annotation>
201
											<xs:complexType>
202
												<xs:sequence>
203
													<xs:element name="Tutelle" type="Tutelle"/>
204
													<xs:element name="EtatCivil" type="IndividuEtatCivil"/>
205
													<xs:element name="Adresse" minOccurs="0">
206
														<xs:complexType>
207
															<xs:sequence>
208
																<xs:element name="Keys" type="AdresseKeys"/>
209
																<xs:element name="Detail" type="AdresseDetail" minOccurs="0"/>
210
															</xs:sequence>
211
														</xs:complexType>
212
													</xs:element>
213
												</xs:sequence>
214
											</xs:complexType>
215
										</xs:element>
216
										<xs:element name="OrganismeTuteur">
217
											<xs:annotation>
218
												<xs:documentation>Organisme de tutelle du
219
													demandeur
220
												</xs:documentation>
221
											</xs:annotation>
222
											<xs:complexType>
223
												<xs:sequence>
224
													<xs:element name="codeOrganismeTuteur" type="xs:int">
225
														<xs:annotation>
226
															<xs:documentation>Code organisme tuteur ou -1 si l'organisme
227
																tuteur n'est pas référencé dans le référentiel Salsa
228
															</xs:documentation>
229
														</xs:annotation>
230
													</xs:element>
231
													<xs:element name="Tutelle" type="Tutelle"/>
232
												</xs:sequence>
233
											</xs:complexType>
234
										</xs:element>
235
									</xs:choice>
236
								</xs:complexType>
237
							</xs:element>
238
						</xs:sequence>
239
					</xs:complexType>
240
				</xs:element>
241
				<xs:element name="uidPiecesJointes" type="xs:string" minOccurs="0"/>
242
			</xs:sequence>
243
		</xs:complexType>
244
	</xs:element>
245
	<xs:simpleType name="CiviliteEnum">
246
		<xs:restriction base="xs:string">
247
			<xs:enumeration value="M"/>
248
			<xs:enumeration value="MME"/>
249
		</xs:restriction>
250
	</xs:simpleType>
251
	<xs:simpleType name="DemandeEnum">
252
		<xs:restriction base="xs:string">
253
			<xs:enumeration value="APAD"/>
254
			<xs:enumeration value="APAE"/>
255
		</xs:restriction>
256
	</xs:simpleType>
257
	<xs:simpleType name="TypeResidenceEnum">
258
		<xs:restriction base="xs:string">
259
			<xs:enumeration value="DOM"/>
260
			<xs:enumeration value="DEP"/>
261
			<xs:enumeration value="HORSDEP"/>
262
		</xs:restriction>
263
	</xs:simpleType>
264
	<xs:complexType name="AdresseKeys">
265
		<xs:sequence>
266
			<xs:element name="codeDep" type="xs:int"/>
267
			<xs:element name="codeACom" type="xs:int"/>
268
			<xs:element name="codeLieu" type="xs:string"/>
269
		</xs:sequence>
270
	</xs:complexType>
271
	<xs:complexType name="AdresseDetail">
272
		<xs:sequence minOccurs="0">
273
			<xs:element name="complementDestinataire" minOccurs="0">
274
				<xs:simpleType>
275
					<xs:restriction base="xs:string">
276
						<xs:maxLength value="50"/>
277
					</xs:restriction>
278
				</xs:simpleType>
279
			</xs:element>
280
			<xs:element name="numero" minOccurs="0">
281
				<xs:simpleType>
282
					<xs:restriction base="xs:string">
283
						<xs:maxLength value="10"/>
284
					</xs:restriction>
285
				</xs:simpleType>
286
			</xs:element>
287
			<xs:element name="voie" minOccurs="0">
288
				<xs:simpleType>
289
					<xs:restriction base="xs:string">
290
						<xs:maxLength value="50"/>
291
					</xs:restriction>
292
				</xs:simpleType>
293
			</xs:element>
294
			<xs:element name="complementLieu" minOccurs="0">
295
				<xs:simpleType>
296
					<xs:restriction base="xs:string">
297
						<xs:maxLength value="40"/>
298
					</xs:restriction>
299
				</xs:simpleType>
300
			</xs:element>
301
			<xs:element name="finLieu" minOccurs="0">
302
				<xs:simpleType>
303
					<xs:restriction base="xs:string">
304
						<xs:maxLength value="40"/>
305
					</xs:restriction>
306
				</xs:simpleType>
307
			</xs:element>
308
			<xs:element name="codePostal" type="xs:int" minOccurs="0"/>
309
			<xs:element name="commune" type="xs:string" minOccurs="0"/>
310
		</xs:sequence>
311
	</xs:complexType>
312
	<xs:complexType name="IndividuEtatCivil">
313
		<xs:sequence>
314
			<xs:element name="civilite" type="CiviliteEnum">
315
				<xs:annotation>
316
					<xs:documentation>M ou MME</xs:documentation>
317
				</xs:annotation>
318
			</xs:element>
319
			<xs:element name="nomNaissance" minOccurs="0">
320
				<xs:annotation>
321
					<xs:documentation>Nom de naissance</xs:documentation>
322
				</xs:annotation>
323
				<xs:simpleType>
324
					<xs:restriction base="xs:string">
325
						<xs:maxLength value="60"/>
326
					</xs:restriction>
327
				</xs:simpleType>
328
			</xs:element>
329
			<xs:element name="nomUsuel">
330
				<xs:annotation>
331
					<xs:documentation>Nom d'usage</xs:documentation>
332
				</xs:annotation>
333
				<xs:simpleType>
334
					<xs:restriction base="xs:string">
335
						<xs:minLength value="1"/>
336
						<xs:maxLength value="60"/>
337
					</xs:restriction>
338
				</xs:simpleType>
339
			</xs:element>
340
			<xs:element name="prenom">
341
				<xs:annotation>
342
					<xs:documentation>Prénom</xs:documentation>
343
				</xs:annotation>
344
				<xs:simpleType>
345
					<xs:restriction base="xs:string">
346
						<xs:minLength value="1"/>
347
						<xs:maxLength value="60"/>
348
					</xs:restriction>
349
				</xs:simpleType>
350
			</xs:element>
351
			<xs:element name="dateNaissance" type="xs:date" minOccurs="0">
352
				<xs:annotation>
353
					<xs:documentation>Date de naissance</xs:documentation>
354
				</xs:annotation>
355
			</xs:element>
356
			<xs:element name="lieuNaissance" minOccurs="0">
357
				<xs:annotation>
358
					<xs:documentation>Lieu de naissance</xs:documentation>
359
				</xs:annotation>
360
				<xs:simpleType>
361
					<xs:restriction base="xs:string">
362
						<xs:maxLength value="100"/>
363
					</xs:restriction>
364
				</xs:simpleType>
365
			</xs:element>
366
			<xs:element name="Contact" minOccurs="0">
367
				<xs:complexType>
368
					<xs:sequence>
369
						<xs:element name="courriel" minOccurs="0">
370
							<xs:annotation>
371
								<xs:documentation>Adresse mail
372
                                                                        </xs:documentation>
373
							</xs:annotation>
374
							<xs:simpleType>
375
								<xs:restriction base="xs:string">
376
									<xs:maxLength value="100"/>
377
								</xs:restriction>
378
							</xs:simpleType>
379
						</xs:element>
380
						<xs:element name="telephone" minOccurs="0">
381
							<xs:annotation>
382
								<xs:documentation>Numéro de téléphone
383
                                                                        </xs:documentation>
384
							</xs:annotation>
385
							<xs:simpleType>
386
								<xs:restriction base="xs:string">
387
									<xs:maxLength value="10"/>
388
								</xs:restriction>
389
							</xs:simpleType>
390
						</xs:element>
391
						<xs:element name="mobile" minOccurs="0">
392
							<xs:annotation>
393
								<xs:documentation>Numéro de portable
394
                                                                        </xs:documentation>
395
							</xs:annotation>
396
							<xs:simpleType>
397
								<xs:restriction base="xs:string">
398
									<xs:maxLength value="10"/>
399
								</xs:restriction>
400
							</xs:simpleType>
401
						</xs:element>
402
					</xs:sequence>
403
				</xs:complexType>
404
			</xs:element>
405
			<xs:element name="situationFamiliale" type="xs:int" minOccurs="0">
406
				<xs:annotation>
407
					<xs:documentation>Situation familiale</xs:documentation>
408
				</xs:annotation>
409
			</xs:element>
410
			<xs:element name="nationalite" type="xs:int" minOccurs="0">
411
				<xs:annotation>
412
					<xs:documentation>Nationalité</xs:documentation>
413
				</xs:annotation>
414
			</xs:element>
415
			<xs:element name="CouvertureSociale" minOccurs="0">
416
				<xs:complexType>
417
					<xs:sequence>
418
						<xs:element name="nir" minOccurs="0">
419
							<xs:simpleType>
420
								<xs:restriction base="xs:string">
421
									<xs:maxLength value="20"/>
422
								</xs:restriction>
423
							</xs:simpleType>
424
						</xs:element>
425
                        <xs:element name="regime" type="xs:int" minOccurs="0"/>
426
                        <xs:element name="ayantDroit" type="xs:boolean" minOccurs="0"/>
427
					</xs:sequence>
428
				</xs:complexType>
429
			</xs:element>
430
            <xs:element name="Detail" minOccurs="0">
431
                <xs:complexType>
432
                    <xs:sequence>
433
                        <xs:element name="commentaire" minOccurs="0">
434
                            <xs:annotation>
435
                                <xs:documentation>
436
                                </xs:documentation>
437
                            </xs:annotation>
438
                            <xs:simpleType>
439
                                <xs:restriction base="xs:string">
440
                                    <xs:maxLength value="2000"/>
441
                                </xs:restriction>
442
                            </xs:simpleType>
443
                        </xs:element>
444
                    </xs:sequence>
445
                </xs:complexType>
446
            </xs:element>
447
		</xs:sequence>
448
	</xs:complexType>
449
	<xs:complexType name="Tutelle">
450
		<xs:sequence>
451
			<xs:element name="dateDebut" type="xs:date">
452
				<xs:annotation>
453
					<xs:documentation>Date de début de la tutelle</xs:documentation>
454
				</xs:annotation>
455
			</xs:element>
456
			<xs:element name="codeTypeTutelle" type="xs:int"/>
457
		</xs:sequence>
458
	</xs:complexType>
459
</xs:schema>