1 /*
2 * Copyright (c) 2002-2023, City of Paris
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice
10 * and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice
13 * and the following disclaimer in the documentation and/or other materials
14 * provided with the distribution.
15 *
16 * 3. Neither the name of 'Mairie de Paris' nor 'Lutece' nor the names of its
17 * contributors may be used to endorse or promote products derived from
18 * this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * License 1.0
33 */
34
35 package fr.paris.lutece.plugins.referentielbo.v2.rs;
36
37 public class ConstantesIdentite
38 {
39 private ConstantesIdentite()
40 {
41
42 }
43
44 /**
45 * Genre
46 * <br><br>Code :
47 * <ul>
48 * <li>0=Non Precise</li>
49 * <li>1=Mr</li>
50 * <li>2=Mme</li>
51 * </ul>
52 * <br>Fait partie du format pivot FranceConnect
53 */
54 public static final String IDENTITE_GENRE = "gender";
55
56 /**
57 * Nom usuel
58 * <br>Champ optionnel des provider d'identité FranceConnect
59 */
60 public static final String IDENTITE_NOM_USUEL = "preferred_username";
61 /**
62 * Nom de famille de naissance
63 * <br>Fait partie du format pivot FranceConnect
64 */
65 public static final String IDENTITE_NOM_FAMILLE = "family_name";
66 /**
67 * Prénom
68 */
69 public static final String IDENTITE_PRENOM = "first_name";
70 /**
71 * Date de naissance
72 * <br>Fait partie du format pivot FranceConnect
73 */
74 public static final String IDENTITE_DATE_NAISSANCE = "birthdate";
75 /**
76 * Lieu de naissance
77 * <br>Code INSEE de la commune ou vide pour l'étranger.
78 * <br>Fait partie du format pivot FranceConnect
79 */
80 public static final String IDENTITE_LIEU_NAISSANCE = "birthplace";
81 /**
82 * Pays de naissance
83 * <br>Code INSEE du pays de naissance.
84 * <br>Fait partie du format pivot FranceConnect
85 */
86 public static final String IDENTITE_PAYS_NAISSANCE = "birthcountry";
87 /**
88 * Adresse
89 */
90 public static final String IDENTITE_ADRESSE = "address";
91 /**
92 * Complément d'adresse
93 */
94 public static final String IDENTITE_ADRESSE_COMPLEMENT = "address_detail";
95 /**
96 * Code postal
97 */
98 public static final String IDENTITE_ADRESSE_CODE_POSTAL = "address_postal_code";
99 /**
100 * Ville
101 */
102 public static final String IDENTITE_ADRESSE_VILLE = "address_city";
103 /**
104 * Email
105 * <br>Champ optionel des provider d'identité FranceConnect
106 */
107 public static final String IDENTITE_EMAIL = "email";
108 /**
109 * Téléphone portable
110 */
111 public static final String IDENTITE_TELEPHONE_PORTABLE = "mobile_phone";
112
113 /**
114 * Email de connexion
115 */
116 public static final String IDENTITE_LOGIN = "login";
117
118
119 /**
120 * Téléphone fixe
121 */
122 public static final String IDENTITE_TELEPHONE_FIXE = "fixed_phone";
123
124 /**
125 * Simple déclaration
126 * <br>Niveau 100
127 */
128 public static final String CERTIFICAT_MON_PARIS_CODE_SIMPLE_DECLARATION = "DEC";
129 /**
130 * Données validées par circuit de validation via Mail
131 * <br>Niveau 200
132 */
133 public static final String CERTIFICAT_MON_PARIS_CODE_MAIL = "MMP";
134 /**
135 * Validation Agent par un scan de pièce justificative non officielle
136 * <br>Niveau 330
137 */
138 public static final String CERTIFICAT_MON_PARIS_CODE_AGENT_SCAN_PJ_NON_OFFICIELLE = "NUM2";
139 /**
140 * Validation Agent guichet pièce justificative non officielle réelle (originale)
141 * <br>Niveau 360
142 */
143 public static final String CERTIFICAT_MON_PARIS_CODE_AGENT_GUICHET_PJ_NON_OFFICIELLE_REELLE = "ORIG2";
144 /**
145 * Certification Agent par un scan de pièce justificative officielle
146 * <br>Niveau 400
147 */
148 public static final String CERTIFICAT_MON_PARIS_CODE_AGENT_SCAN_PJ_OFFICIELLE = "NUM1";
149 /**
150 * Certification Agent guichet pièce justificative officielle réelle
151 * <br>Niveau 500
152 */
153 public static final String CERTIFICAT_MON_PARIS_CODE_AGENT_GUICHET_PF_OFFICIELLE_REELLE = "ORIG1";
154 /**
155 * Certification par référentiel de confiance – France Connect
156 * <br>Niveau 600
157 */
158 public static final String CERTIFICAT_MON_PARIS_CODE_FRANCE_CONNECT = "FC";
159 /**
160 * Certification par référentiel de confiance – R2P
161 * <br>Niveau 600
162 */
163 public static final String CERTIFICAT_MON_PARIS_CODE_R2P = "R2P";
164
165 //XXX
166 /**
167 * Simple déclaration
168 * <br>Niveau 100
169 */
170 public static final String CERTIFICAT_RSF_CODE_SIMPLE_DECLARATION = "DEC";
171 /**
172 * Données validées par circuit de validation via Mail
173 * <br>Niveau 200
174 */
175 public static final String CERTIFICAT_RSF_CODE_MAIL = "MAIL";
176 /**
177 * Données validées par circuit de validation via SMS
178 * <br>Niveau 200
179 */
180 public static final String CERTIFICAT_RSF_CODE_SMS = "SMS";
181 /**
182 * Déclaration sur l’honneur
183 * <br>Niveau 100
184 */
185 public static final String CERTIFICAT_RSF_DECLARATION_HONNEUR = "DECHO";
186 /**
187 * Validation Agent par un scan de pièce justificative non officielle
188 * <br>Niveau 330
189 */
190 public static final String CERTIFICAT_RSF_CODE_AGENT_SCAN_PJ_NON_OFFICIELLE = "ASPNO";
191 /**
192 * Validation Agent guichet pièce justificative non officielle réelle (originale)
193 * <br>Niveau 360
194 */
195 public static final String CERTIFICAT_RSF_CODE_AGENT_GUICHET_PJ_NON_OFFICIELLE_REELLE = "AGPNO";
196 /**
197 * Certification Agent par un scan de pièce justificative officielle
198 * <br>Niveau 400
199 */
200 public static final String CERTIFICAT_RSF_CODE_AGENT_SCAN_PJ_OFFICIELLE = "CAPJO";
201 /**
202 * Certification Agent guichet pièce justificative officielle réelle
203 * <br>Niveau 500
204 */
205 public static final String CERTIFICAT_RSF_AGENT_GUICHET_PF_OFFICIELLE_REELLE = "CAGPO";
206 /**
207 * Certification par référentiel de confiance – France Connect
208 * <br>Niveau 600
209 */
210 public static final String CERTIFICAT_RSF_CODE_FRANCE_CONNECT = "FC";
211 /**
212 * Certification par référentiel de confiance – R2P
213 * <br>Niveau 600
214 */
215 public static final String CERTIFICAT_RSF_CODE_R2P = "R2P";
216 }