10
|
1 <?xml version="1.0" encoding="UTF-8"?>
|
|
2 <schema>
|
|
3 <Include src="forms.schema"/>
|
|
4 <Form
|
15
|
5 type="Form"
|
10
|
6 dataPolicy="AddOrUpdate"
|
15
|
7 dataType="App::Data::User"
|
|
8 messageMin="Вы не заполнили %Node.formLabel_blame%"
|
10
|
9 >
|
15
|
10 <Name
|
10
|
11 formLabel="Имя"
|
15
|
12 formLabel_blame="имя"
|
|
13 formLabel_no="имени"
|
|
14 type="EditBox"
|
10
|
15 />
|
15
|
16 <!-- Опциональный элемент -->
|
|
17 <Nick
|
10
|
18 formLabel="Прозвище"
|
15
|
19 formLabel_no="прозвища"
|
10
|
20 minOccur="0"
|
15
|
21 type="EditBox"
|
10
|
22 >
|
|
23 <RegExp>\w{4,10}</RegExp>
|
15
|
24 </Nick>
|
|
25 <Role
|
|
26 dataType="App::Data::Role"
|
10
|
27 dataSource="roles"
|
|
28 formLabel="Роль"
|
15
|
29 formLabel_blame="роль"
|
|
30 type="MultiSelect"
|
|
31 maxOccur="unbounded"
|
10
|
32 />
|
15
|
33 <Contacts
|
|
34 minOccur="0"
|
|
35 maxOccur="unbounded"
|
|
36 formLabel="Контакты"
|
|
37 dataType="App::Data::Contacts"
|
|
38 type="Container"
|
|
39 >
|
|
40 <NodeSet>
|
|
41 <EMail
|
|
42 type="EditBox"
|
|
43 minOccur="0"
|
|
44 formLabel="Эл. почта"
|
|
45 formLabel_no="эл. почты"
|
|
46 />
|
|
47 <Phone
|
|
48 type="EditBox"
|
|
49 minOccur="0"
|
|
50 formLabel="Телефон"
|
|
51 formLabel_no="телефона"
|
|
52 />
|
|
53 </NodeSet>
|
|
54 </Contacts>
|
10
|
55 </Form>
|
15
|
56
|
10
|
57 </schema>
|
|
58
|