forked from dustin10/VichUploaderBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vich_uploader.xsd
32 lines (28 loc) · 1.38 KB
/
vich_uploader.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
32
<xs:schema
attributeFormDefault="unqualified"
elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://vich-uploader-bundle/schema/"
>
<xs:element name="vich_uploader">
<xs:complexType>
<xs:sequence>
<xs:element name="field">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="name" use="required"/>
<xs:attribute type="xs:string" name="mapping" use="required"/>
<xs:attribute type="xs:string" name="filename_property" use="required"/>
<xs:attribute type="xs:string" name="size"/>
<xs:attribute type="xs:string" name="dimensions"/>
<xs:attribute type="xs:string" name="mime_type"/>
<xs:attribute type="xs:string" name="original_name"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" name="class" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>