Form.xsd
上传用户:husern
上传日期:2022-03-24
资源大小:534k
文件大小:3k
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- == FILE ================================================================
- == name : Form.xsd
- == project : Itenso User Forms
- == created : Jani Giannoudis - 2008.10.30
- == language : c#
- == environment: .NET 2.0
- == copyright : (c) 2008 by Itenso GmbH, Switzerland
- ========================================================================= -->
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://www.itenso.com/xml/schema/webuserforms"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- xmlns:wuf="http://www.itenso.com/xml/schema/webuserforms"
- >
- <xsd:annotation>
- <xsd:documentation xml:lang="en">
- Defines the types for building hierarchical user defined forms.
- </xsd:documentation>
- </xsd:annotation>
- <xsd:simpleType name="FormTypeName">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="FormName">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="FormId">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1"/>
- </xsd:restriction>
- </xsd:simpleType>
-
- <xsd:simpleType name="FormFieldName">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1"/>
- </xsd:restriction>
- </xsd:simpleType>
- <xsd:simpleType name="FormUserName">
- <xsd:restriction base="xsd:string">
- <xsd:minLength value="1"/>
- </xsd:restriction>
- </xsd:simpleType>
-
- <xsd:complexType name="FormField">
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute name="name" type="wuf:FormFieldName" use="required"/>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- <xsd:complexType name="FormGroup">
- <xsd:choice minOccurs="1" maxOccurs="unbounded">
- <xsd:element name="field" type="wuf:FormField"/>
- <xsd:element name="form" type="wuf:FormGroup"/>
- </xsd:choice>
- <xsd:attribute name="name" type="wuf:FormName" use="required"/>
- </xsd:complexType>
- <xsd:complexType name="Form">
- <xsd:sequence>
- <xsd:element name="field" type="wuf:FormField" minOccurs="0" maxOccurs="unbounded"/>
- <xsd:element name="form" type="wuf:FormGroup" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- <xsd:attribute name="type" type="wuf:FormTypeName" use="required"/>
- <xsd:attribute name="name" type="wuf:FormName" use="required"/>
- <xsd:attribute name="id" type="wuf:FormId" use="required"/>
- <xsd:attribute name="created" type="xsd:dateTime" use="required"/>
- <xsd:attribute name="created-by" type="wuf:FormUserName" use="required"/>
- <xsd:attribute name="updated" type="xsd:dateTime" use="optional"/>
- <xsd:attribute name="updated-by" type="wuf:FormUserName" use="optional"/>
- <xsd:attribute name="locked" type="xsd:boolean" use="optional" default="false"/>
- </xsd:complexType>
- <xsd:element name="form" type="wuf:Form">
- <xsd:unique name="UniquenessOfFormFieldNames">
- <xsd:selector xpath="field"/>
- <xsd:field xpath="@name"/>
- </xsd:unique>
- </xsd:element>
- </xsd:schema>
- <!-- == EOF ============================================================= -->