-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync website after commit (sha: 3a2cdf)
- Loading branch information
1 parent
366dee9
commit 36316e5
Showing
2 changed files
with
106 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> | ||
<xs:element name="documentation"> | ||
<xs:complexType> | ||
<xs:sequence maxOccurs="unbounded"> | ||
<xs:group ref="rulegroup"/> | ||
</xs:sequence> | ||
<xs:attribute name="title" use="required" type="titleType"/> | ||
<xs:anyAttribute processContents="lax"/> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:group name="rulegroup"> | ||
<xs:sequence> | ||
<xs:element name="standard" type="standardType"/> | ||
<xs:element name="code_comparison" type="code_comparisonType" maxOccurs="unbounded" minOccurs="0"/> | ||
<xs:any minOccurs="0"/> | ||
</xs:sequence> | ||
</xs:group> | ||
|
||
<xs:simpleType name="titleType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
<xs:maxLength value="58"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
|
||
<xs:complexType name="code_comparisonType"> | ||
<xs:sequence> | ||
<xs:element name="code" type="codeType" maxOccurs="2" minOccurs="2"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="codeType"> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:attribute name="title" use="required" type="codeTitleType"/> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
|
||
<xs:complexType name="standardType"> | ||
<xs:simpleContent> | ||
<xs:extension base="xs:string"> | ||
<xs:anyAttribute processContents="lax"/> | ||
</xs:extension> | ||
</xs:simpleContent> | ||
</xs:complexType> | ||
|
||
<xs:simpleType name="codeTitleType"> | ||
<xs:restriction base="xs:string"> | ||
<xs:minLength value="1"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
</xs:schema> |