Last active
December 20, 2015 00:38
-
-
Save faizalpribadi/6042707 to your computer and use it in GitHub Desktop.
DTD XML Schema Service Mozart PHP Framework !
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://mozart.com/xml/schema" | |
targetNamespace="http://mozart.com/xml/schema" elementFormDefault="qualified"> | |
<xs:annotation> | |
<xs:documentation><![CDATA[ | |
Mozart schema service DTD XML | |
Authors: Faizal Pribadi | |
]]></xs:documentation> | |
</xs:annotation> | |
<xs:element name="schema" type="schema"/> | |
<xs:annotation> | |
<xs:documentation><![CDATA[ | |
root element parameter schema services | |
]]></xs:documentation> | |
</xs:annotation> | |
<xs:complexType name="schema"> | |
<xs:sequence> | |
<xs:element name="url" type="xs:anyURI"/> | |
<xs:element name="resource" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:complexType name="service"> | |
<xs:annotation> | |
<xs:documentation> | |
<![CDATA[ service parameter query url]]> | |
</xs:documentation> | |
</xs:annotation> | |
<xs:sequence> | |
<xs:element name="query" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:complexType name="api"> | |
<xs:annotation> | |
<xs:documentation> | |
<![CDATA[token from web api]]]> | |
</xs:documentation> | |
</xs:annotation> | |
<xs:sequence> | |
<xs:element name="api.id" type="xs:string"/> | |
<xs:element name="api.token" type="xs:string"/> | |
</xs:sequence> | |
</xs:complexType> | |
<xs:element name="service" type="service"/> | |
<xs:element name="api" type="api"/> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment