Skip to content

Commit

Permalink
build(schema): Add XML schema for the "methods" directive
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca committed Jul 28, 2021
1 parent 73de5b4 commit f2bc234
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions schema/methods.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- Schema used to validate methods directives -->

<xs:element name="methods">
<xs:complexType>
<xs:sequence>
<xs:element name="method" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="method" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:schema>

0 comments on commit f2bc234

Please sign in to comment.