49 lines
2.4 KiB
XML
49 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Copyright 1999-2025. WebPros International GmbH. All rights reserved. -->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
|
|
<xs:element name="module">
|
|
<xs:complexType>
|
|
<xs:choice maxOccurs="unbounded">
|
|
<xs:element name="id" type="xs:string"/>
|
|
<xs:element name="name" type="localizable"/>
|
|
<xs:element name="description" type="localizable" minOccurs="0"/>
|
|
<xs:element name="version" type="xs:string"/>
|
|
<xs:element name="release" type="xs:string"/>
|
|
<xs:element name="icon" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="vendor" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="url" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="plesk_min_version" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="plesk_max_version" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="os" type="osType" minOccurs="0"/>
|
|
<xs:element name="help_url" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="support_url" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="buy_url" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="auto_backup" type="autoBackupType" minOccurs="0"/>
|
|
<xs:element name="category" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
|
<xs:element name="hidden" minOccurs="0"/>
|
|
<xs:element name="privacy_policy_url" type="xs:string" minOccurs="0"/>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:complexType name="localizable">
|
|
<xs:simpleContent>
|
|
<xs:extension base="xs:string">
|
|
<xs:anyAttribute namespace="http://www.w3.org/XML/1998/namespace" processContents="lax"/>
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
<xs:simpleType name="osType">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="win"/>
|
|
<xs:enumeration value="unix"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="autoBackupType">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="true"/>
|
|
<xs:enumeration value="false"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:schema>
|