Files
zszq-trs/Framework/YLErp.Resources/AppConfig/appconfig.xsd
T
2024-05-09 14:06:26 +08:00

46 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="appconfig" targetNamespace="http://www.yilian.com/schemas/appconfig.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.yilian.com/schemas/appconfig.xsd">
<xs:element name="appconfig">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="group" type="xs:string" use="optional" />
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="value" type="xs:string" use="optional" />
<xs:attribute name="type" type="xs:string" use="optional" />
<xs:attribute name="remark" type="xs:string" use="optional" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="remove">
<xs:complexType>
<xs:attribute name="group" type="xs:string" use="optional" />
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="remark" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="update">
<xs:complexType>
<xs:attribute name="group" type="xs:string" use="optional" />
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="remark" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="replace">
<xs:complexType>
<xs:attribute name="group" type="xs:string" use="optional" />
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="type" type="xs:string" use="optional" />
<xs:attribute name="remark" type="xs:string" use="optional" />
<xs:attribute name="old_group" type="xs:string" use="optional" />
<xs:attribute name="old_name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>