-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpdeps.xsd
96 lines (91 loc) · 3.68 KB
/
phpdeps.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="PHPDeps" type="PHPDepsType"/>
<xs:complexType name="ModuleType">
<xs:annotation>
<xs:documentation>
Defines and describes a single module
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element type="xs:string" name="Name">
<xs:annotation>
<xs:documentation>
Module name, used for display purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Namespace">
<xs:annotation>
<xs:documentation>
Namespace prefix, to check whether any other module depends on it.
If module is a file then this needs to be fully qualified name of that module.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Path">
<xs:annotation>
<xs:documentation>
Module path allows PHPDeps to find and analyze your module, this can be either filepath or
dirpath.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ModulesType">
<xs:annotation>
<xs:documentation>
Grouping tag for all kinds of module definitions.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element type="ModuleType" name="Module" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ModuleDetectorType">
<xs:annotation>
<xs:documentation>
Defines and describes a single basic module detector.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element type="xs:string" name="Namespace">
<xs:annotation>
<xs:documentation>
Namespace prefix, directory name of found modules are appended to this to create actual
module namespaces.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element type="xs:string" name="Path">
<xs:annotation>
<xs:documentation>
Directory where modules are to be searched for.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DetectorsType">
<xs:annotation>
<xs:documentation>
Grouping tag for all kinds of detector definitions.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element type="ModuleDetectorType" name="ModuleDetector" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PHPDepsType">
<xs:annotation>
<xs:documentation>
Configuration root element.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element type="ModulesType" name="Modules" minOccurs="0"/>
<xs:element type="DetectorsType" name="Detectors" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>