-
Notifications
You must be signed in to change notification settings - Fork 8
/
doctrine-extensions-mapping.xsd
31 lines (24 loc) · 1.34 KB
/
doctrine-extensions-mapping.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://fsi.pl/schemas/orm/doctrine-extensions-mapping"
xmlns:fsi="http://fsi.pl/schemas/orm/doctrine-extensions-mapping"
elementFormDefault="qualified">
<xs:element name="uploadable" type="fsi:uploadable"/>
<xs:complexType name="uploadable">
<xs:attribute name="targetField" type="xs:string" use="required"/>
<xs:attribute name="filesystem" type="xs:string" use="optional"/>
<xs:attribute name="keymaker" type="xs:string" use="optional"/>
<xs:attribute name="keyLength" type="xs:integer" use="optional"/>
<xs:attribute name="keyPattern" type="xs:string" use="optional"/>
</xs:complexType>
<xs:element name="translatable-field" type="fsi:translatable-field"/>
<xs:complexType name="translatable-field">
<xs:attribute name="mappedBy" type="xs:string" use="required"/>
<xs:attribute name="field" type="xs:string" use="required"/>
<xs:attribute name="targetField" type="xs:string" use="optional"/>
</xs:complexType>
<xs:element name="translatable-locale" type="fsi:translatable-locale"/>
<xs:complexType name="translatable-locale">
<xs:attribute name="field" type="xs:string" use="optional" default="locale"/>
</xs:complexType>
</xs:schema>