Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 8ce534a

Browse files
committed
Created XML Schema
1 parent fc900c1 commit 8ce534a

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<xsd:schema xmlns="http://cmf.symfony.com/schema/dic/routing_auto"
4+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
5+
targetNamespace="http://cmf.symfony.com/schema/dic/routing_auto"
6+
elementFormDefault="qualified">
7+
8+
<xsd:element name="config" type="config" />
9+
10+
<xsd:complexType name="config">
11+
<xsd:sequence>
12+
<xsd:element name="mappings" type="mappings" minOccurs="0" />
13+
</xsd:sequence>
14+
</xsd:complexType>
15+
16+
<xsd:complexType name="mappings">
17+
<xsd:sequence>
18+
<xsd:element name="content-path" type="content-path" minOccurs="0" />
19+
<xsd:element name="content-name" type="content-name" />
20+
</xsd:sequence>
21+
</xsd:complexType>
22+
23+
<xsd:complexType name="content-path">
24+
<xsd:sequence>
25+
<xsd:element name="path-unit" type="content-identity" minOccurs="0" maxOccurs="unbounded" />
26+
</xsd:sequence>
27+
28+
<xsd:attribute name="name" type="xsd:string" />
29+
</xsd:complexType>
30+
31+
<xsd:complexType name="path-unit">
32+
<xsd:sequence>
33+
<xsd:element name="provider" type="provider" minOccurs="0" />
34+
<xsd:element name="exists-action" type="action" minOccurs="0" />
35+
<xsd:element name="not-exists-action" type="action" minOccurs="0" />
36+
</xsd:sequence>
37+
</xsd:complexType>
38+
39+
<xsd:complexType name="content-name">
40+
<xsd:sequence>
41+
<xsd:element name="provider" type="provider" minOccurs="0" />
42+
<xsd:element name="exists-action" type="action" minOccurs="0" />
43+
<xsd:element name="not-exists-action" type="action" minOccurs="0" />
44+
</xsd:sequence>
45+
</xsd:complexType>
46+
47+
<xsd:complexType name="provider">
48+
<xsd:sequence>
49+
<xsd:element name="option" type="option" minOccurs="0" maxOccurs="unbounded" />
50+
</xsd:sequence>
51+
52+
<xsd:attribute name="name" type="xsd:string" />
53+
</xsd:complexType>
54+
55+
<xsd:complexType name="action">
56+
<xsd:sequence>
57+
<xsd:element name="option" type="option" minOccurs="0" maxOccurs="unbounded" />
58+
</xsd:sequence>
59+
60+
<xsd:attribute name="strategy" type="xsd:string" />
61+
</xsd:complexType>
62+
63+
<xsd:complexType name="option">
64+
<xsd:simpleContent>
65+
<xsd:extension base="xs:string">
66+
<xsd:attribute name="name" type="xsd:string" />
67+
<xsd:attribute name="value" type="xsd:string" />
68+
</xsd:extension>
69+
</xsd:simpleContent>
70+
</xsd:complexType>
71+
</xsd:schema>

0 commit comments

Comments
 (0)