Skip to content

Commit 7d11b00

Browse files
Mise à jour des types de données dans supann.yml et ajout de fichiers de configuration pour inetorgperson.yml et inetorgperson.ui.yml
1 parent d73d896 commit 7d11b00

File tree

4 files changed

+302
-52
lines changed

4 files changed

+302
-52
lines changed
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"type": "Group",
3+
"label": "inetOrgPerson",
4+
"elements": [
5+
{
6+
"type": "HorizontalLayout",
7+
"elements": [
8+
{
9+
"type": "Control",
10+
"label": "Common Name",
11+
"scope": "#/properties/cn",
12+
"options": {
13+
"required": true
14+
}
15+
},
16+
{
17+
"type": "Control",
18+
"label": "Surname",
19+
"scope": "#/properties/sn",
20+
"options": {
21+
"required": true
22+
}
23+
},
24+
{
25+
"type": "Control",
26+
"label": "UID",
27+
"scope": "#/properties/uid",
28+
"options": {
29+
"required": true
30+
}
31+
}
32+
]
33+
},
34+
{
35+
"type": "HorizontalLayout",
36+
"elements": [
37+
{
38+
"type": "Control",
39+
"label": "Display Name",
40+
"scope": "#/properties/displayName"
41+
},
42+
{
43+
"type": "Control",
44+
"label": "Facsimile Telephone Number",
45+
"scope": "#/properties/facsimileTelephoneNumber"
46+
},
47+
{
48+
"type": "Control",
49+
"label": "Given Name",
50+
"scope": "#/properties/givenName"
51+
}
52+
]
53+
},
54+
{
55+
"type": "HorizontalLayout",
56+
"elements": [
57+
{
58+
"type": "Control",
59+
"label": "Email",
60+
"scope": "#/properties/mail",
61+
"options": {
62+
"format": "email"
63+
}
64+
},
65+
{
66+
"type": "Control",
67+
"label": "Mobile",
68+
"scope": "#/properties/mobile"
69+
},
70+
{
71+
"type": "Control",
72+
"label": "Postal Address",
73+
"scope": "#/properties/postalAddress"
74+
}
75+
]
76+
},
77+
{
78+
"type": "HorizontalLayout",
79+
"elements": [
80+
{
81+
"type": "Control",
82+
"label": "Preferred Language",
83+
"scope": "#/properties/preferredLanguage"
84+
},
85+
{
86+
"type": "Control",
87+
"label": "Telephone Number",
88+
"scope": "#/properties/telephoneNumber"
89+
},
90+
{
91+
"type": "Control",
92+
"label": "Title",
93+
"scope": "#/properties/title"
94+
}
95+
]
96+
},
97+
{
98+
"type": "HorizontalLayout",
99+
"elements": [
100+
{
101+
"type": "Control",
102+
"label": "User Certificate",
103+
"scope": "#/properties/userCertificate"
104+
},
105+
{
106+
"type": "Control",
107+
"label": "User Password",
108+
"scope": "#/properties/userPassword",
109+
"options": {
110+
"type": "password"
111+
}
112+
},
113+
{
114+
"type": "Control",
115+
"label": "Labeled URI",
116+
"scope": "#/properties/labeledURI"
117+
}
118+
]
119+
}
120+
]
121+
}
Lines changed: 112 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,112 @@
1-
form:
2-
type: VerticalLayout
3-
elements:
4-
- type: Control
5-
scope: "#/properties/supannEmpId"
6-
label: "Employee ID"
7-
- type: Control
8-
scope: "#/properties/supannCivilite"
9-
label: "Title (Mr, Ms, etc.)"
10-
- type: Control
11-
scope: "#/properties/supannBirthName"
12-
label: "Birth name"
13-
- type: Control
14-
scope: "#/properties/supannBirthDate"
15-
label: "Date of birth"
16-
- type: Control
17-
scope: "#/properties/supannBirthPlace"
18-
label: "Place of birth"
19-
- type: Control
20-
scope: "#/properties/supannMailPerso"
21-
label: "Personal email"
22-
- type: Control
23-
scope: "#/properties/supannMailPro"
24-
label: "Professional email"
25-
- type: Control
26-
scope: "#/properties/supannTelPerso"
27-
label: "Personal phone number"
28-
- type: Control
29-
scope: "#/properties/supannTelPro"
30-
label: "Professional phone number"
31-
- type: Control
32-
scope: "#/properties/supannPostalAddress"
33-
label: "Postal address"
34-
- type: Control
35-
scope: "#/properties/supannRole"
36-
label: "Role in the organization"
37-
- type: Control
38-
scope: "#/properties/supannStatus"
39-
label: "Employment status"
40-
- type: Control
41-
scope: "#/properties/supannEtablissement"
42-
label: "Institution"
43-
- type: Control
44-
scope: "#/properties/supannAffectationPrincipale"
45-
label: "Primary assignment"
46-
- type: Control
47-
scope: "#/properties/supannAffectationSecondaire"
48-
label: "Secondary assignment"
49-
- type: Control
50-
scope: "#/properties/supannCodeINE"
51-
label: "National Education Identifier"
1+
type: Group
2+
label: supann
3+
elements:
4+
- type: HorizontalLayout
5+
elements:
6+
- type: Control
7+
label: supanncivilite
8+
scope: "#/properties/supanncivilite"
9+
options:
10+
required: true
11+
suggestion:
12+
- M.
13+
- Mme
14+
- Mlle
15+
- type: Control
16+
label: supannNomdeNaissance
17+
scope: "#/properties/supannNomdeNaissance"
18+
options:
19+
required: false
20+
- type: Control
21+
label: supannOIDCDatedeNaissance
22+
scope: "#/properties/supannOIDCDatedeNaissance"
23+
options:
24+
format: date
25+
required: true
26+
dateFormat: "dd/MM/yyyy"
27+
- type: HorizontalLayout
28+
elements:
29+
- type: Control
30+
label: supannOIDCGenre
31+
scope: "#/properties/supannOIDCGenre"
32+
options:
33+
required: true
34+
- type: Control
35+
label: supannPrenomsEtatCivil
36+
scope: "#/properties/supannPrenomsEtatCivil"
37+
options:
38+
required: true
39+
- type: Control
40+
label: supannCodeINSEEPaysDeNaissance
41+
scope: "#/properties/supannCodeINSEEPaysDeNaissance"
42+
options:
43+
required: true
44+
- type: HorizontalLayout
45+
elements:
46+
- type: Control
47+
label: supannCodeINSEEVilleDeNaissance
48+
scope: "#/properties/supannCodeINSEEVilleDeNaissance"
49+
options:
50+
required: false
51+
- type: Control
52+
label: supannAutreMail
53+
scope: "#/properties/supannAutreMail"
54+
options:
55+
required: true
56+
- type: Control
57+
label: supannListeRouge
58+
scope: "#/properties/supannListeRouge"
59+
options:
60+
required: false
61+
- type: HorizontalLayout
62+
elements:
63+
- type: Control
64+
label: mailForwardingAddress
65+
scope: "#/properties/mailForwardingAddress"
66+
options:
67+
required: false
68+
- type: Control
69+
label: supannMailPerso
70+
scope: "#/properties/supannMailPerso"
71+
options:
72+
required: false
73+
- type: Control
74+
label: supannRoleGenerique
75+
scope: "#/properties/supannRoleGenerique"
76+
options:
77+
required: false
78+
- type: HorizontalLayout
79+
elements:
80+
- type: Control
81+
label: supannEmpId
82+
scope: "#/properties/supannEmpId"
83+
options:
84+
format: number
85+
required: false
86+
- type: Control
87+
label: supannParrainDN
88+
scope: "#/properties/supannParrainDN"
89+
options:
90+
required: false
91+
- type: Control
92+
label: supannTypeEntiteAffectation
93+
scope: "#/properties/supannTypeEntiteAffectation"
94+
options:
95+
required: false
96+
readOnly: true
97+
suggestion:
98+
- "adm"
99+
- "etd"
100+
- "esn"
101+
- type: HorizontalLayout
102+
elements:
103+
- type: Control
104+
label: supannActivite
105+
scope: "#/properties/supannActivite"
106+
options:
107+
required: false
108+
- type: Control
109+
label: supannEmpDateFin
110+
scope: "#/properties/supannEmpDateFin"
111+
options:
112+
required: false
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"type": "object",
4+
"properties": {
5+
"cn": {
6+
"type": "string",
7+
"description": "Common name of the inetOrgPerson."
8+
},
9+
"sn": {
10+
"type": "string",
11+
"description": "Surname of the inetOrgPerson."
12+
},
13+
"uid": {
14+
"type": "string",
15+
"description": "UID of the inetOrgPerson."
16+
},
17+
"displayName": {
18+
"type": "string",
19+
"description": "Display name of the inetOrgPerson."
20+
},
21+
"facsimileTelephoneNumber": {
22+
"type": "string",
23+
"description": "Facsimile telephone number of the inetOrgPerson."
24+
},
25+
"givenName": {
26+
"type": "string",
27+
"description": "Given name of the inetOrgPerson."
28+
},
29+
"labeledURI": {
30+
"type": "string",
31+
"description": "URI associated with the inetOrgPerson."
32+
},
33+
"mail": {
34+
"type": "string",
35+
"format": "email",
36+
"description": "Email address of the inetOrgPerson."
37+
},
38+
"mobile": {
39+
"type": "string",
40+
"description": "Mobile number of the inetOrgPerson."
41+
},
42+
"postalAddress": {
43+
"type": "string",
44+
"description": "Postal address of the inetOrgPerson."
45+
},
46+
"preferredLanguage": {
47+
"type": "string",
48+
"description": "Preferred language of the inetOrgPerson."
49+
},
50+
"telephoneNumber": {
51+
"type": "string",
52+
"description": "Telephone number of the inetOrgPerson."
53+
},
54+
"title": {
55+
"type": "string",
56+
"description": "Title of the inetOrgPerson."
57+
},
58+
"userCertificate": {
59+
"type": "string",
60+
"description": "User certificate of the inetOrgPerson."
61+
},
62+
"userPassword": {
63+
"type": "string",
64+
"description": "User password of the inetOrgPerson."
65+
}
66+
},
67+
"required": ["cn", "sn", "uid"]
68+
}

src/management/identities/validations/_config/supann.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ properties:
3838
type: string
3939
description: Field corresponding to supannRoleGenerique
4040
supannEmpId:
41-
type: string
41+
type: number
4242
description: Field corresponding to supannEmpId
4343
supannParrainDN:
4444
type: string

0 commit comments

Comments
 (0)