Form Policy XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace None
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.
Documentation This schema supports the Document Form Policy and the Workflow Form Policy. In support of the Document Form Policy, the schema maps HTML form fields to the class properties of a Document object. Each individual mapping specification uses the form field name and the symbolic property name to create an association. In support of the Workflow Form Policy, the schema associates workflow steps to Form Templates and maps a template's HTML form fields to the parameters of the step element. In addition, the schema specifies field mapping characteristic information for both policies.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema>
...
</xsd:schema>
top

Global Declarations

Element: name

Name name
Type xsd:string
Nillable no
Abstract no
Documentation Specifies the display field name.
XML Instance Representation
<name> xsd:string </name>
Schema Component Representation
<xsd:element name="name" type="xsd:string"/>
top

Element: objectpolicy

Name objectpolicy
Type objectpolicyType
Nillable no
Abstract no
Documentation Possible root element. Describes a document property policy.
XML Instance Representation
<objectpolicy>
Start All [1]
<index> xsd:positiveInteger </index> [0..1] ?
<object> objectType </object> [0..1] ?
End All
</objectpolicy>
Schema Component Representation
<xsd:element name="objectpolicy" type="objectpolicyType"/>
top

Element: symname

Name symname
Type xsd:string
Nillable no
Abstract no
Documentation Specifies the unique name of a field.
XML Instance Representation
<symname> xsd:string </symname>
Schema Component Representation
<xsd:element name="symname" type="xsd:string"/>
top

Element: workflowpolicy

Name workflowpolicy
Type workflowpolicyType
Nillable no
Abstract no
Documentation Possible root element. Describes the workflow parameter mapping.
XML Instance Representation
<workflowpolicy>
Start All [1]
<workflow> workflowType </workflow> [1] ?
<objectpolicies> objectpoliciesType </objectpolicies> [1] ?
End All
</workflowpolicy>
Schema Component Representation
<xsd:element name="workflowpolicy" type="workflowpolicyType"/>
top

Global Definitions

Complex Type: classdescType

Super-types: None
Sub-types: None
Name classdescType
Abstract no
Documentation Specifies a Class Description object.
XML Instance Representation
<...>
Start All [1]
<id> guidString </id> [0..1] ?
<name> ... </name> [0..1]
End All
</...>
Schema Component Representation
<xsd:complexType name="classdescType">
<xsd:all>
<xsd:element name="id" type="guidString" minOccurs="0"/>
<xsd:element ref="name" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: entrymapType

Super-types: None
Sub-types: None
Name entrymapType
Abstract no
Documentation Specifies a single form field to class property map.
XML Instance Representation
<...>
Start All [1]
<field> fieldType </field> [1] ?
<property> propertyType </property> [1] ?
<direction> directionType </direction> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="entrymapType">
<xsd:all>
<xsd:element name="field" type="fieldType"/>
<xsd:element name="property" type="propertyType"/>
<xsd:element name="direction" type="directionType"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: entrymapsType

Super-types: None
Sub-types: None
Name entrymapsType
Abstract no
Documentation Specifies a collection of field maps.
XML Instance Representation
<...>
<entrymap> entrymapType </entrymap> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="entrymapsType">
<xsd:sequence>
<xsd:element name="entrymap" type="entrymapType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: entrytemplateType

Super-types: None
Sub-types: None
Name entrytemplateType
Abstract no
Documentation Specifies an entry template.
XML Instance Representation
<...>
Start All [1]
<objectstore> objectstoreType </objectstore> [1] ?
<id> guidString </id> [1] ?
<verserid> guidString </verserid> [1] ?
<name> ... </name> [0..1]
End All
</...>
Schema Component Representation
<xsd:complexType name="entrytemplateType">
<xsd:all>
<xsd:element name="objectstore" type="objectstoreType"/>
<xsd:element name="id" type="guidString"/>
<xsd:element name="verserid" type="guidString"/>
<xsd:element ref="name" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: fieldType

Super-types: None
Sub-types: None
Name fieldType
Abstract no
Documentation Specifies form field information for the map.
XML Instance Representation
<...>
Start All [1]
<name> ... </name> [0..1]
<symname> ... </symname> [1]
<type> xsd:string </type> [1] ?
<ismultivalue> booleanType </ismultivalue> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="fieldType">
<xsd:all>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element ref="symname"/>
<xsd:element name="type" type="xsd:string"/>
<xsd:element name="ismultivalue" type="booleanType"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: formmapType

Super-types: None
Sub-types: None
Name formmapType
Abstract no
Documentation Specifies an individual form field map.
XML Instance Representation
<...>
Start All [1]
<field> fieldType </field> [1] ?
<parameter> parameterType </parameter> [1] ?
<direction> directionType </direction> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="formmapType">
<xsd:all>
<xsd:element name="field" type="fieldType"/>
<xsd:element name="parameter" type="parameterType"/>
<xsd:element name="direction" type="directionType"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: formmapsType

Super-types: None
Sub-types: None
Name formmapsType
Abstract no
Documentation Specifies a collection of form field to workflow parameter maps.
XML Instance Representation
<...>
<formmap> formmapType </formmap> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="formmapsType">
<xsd:sequence>
<xsd:element name="formmap" type="formmapType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: formtemplateType

Super-types: None
Sub-types: None
Name formtemplateType
Abstract no
Documentation Specifies form template information.
XML Instance Representation
<...>
Start All [1]
<objectstore> objectstoreType </objectstore> [1] ?
<id> guidString </id> [1] ?
<verserid> guidString </verserid> [1] ?
<name> ... </name> [0..1]
<pages> pagesType </pages> [0..1] ?
<majorvernum> xsd:string </majorvernum> [0..1] ?
<minorvernum> xsd:string </minorvernum> [0..1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="formtemplateType">
<xsd:all>
<xsd:element name="objectstore" type="objectstoreType"/>
<xsd:element name="id" type="guidString"/>
<xsd:element name="verserid" type="guidString"/>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element name="pages" type="pagesType" minOccurs="0"/>
<xsd:element name="majorvernum" type="xsd:string" minOccurs="0"/>
<xsd:element name="minorvernum" type="xsd:string" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: mapType

Super-types: None
Sub-types: None
Name mapType
Abstract no
Documentation Specifies an individual workflow map.
XML Instance Representation
<...>
Start All [1]
<name> ... </name> [0..1]
<type> xsd:string </type> [0..1] ?
<steps> stepsType </steps> [0..1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="mapType">
<xsd:all>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element name="type" type="xsd:string" minOccurs="0"/>
<xsd:element name="steps" type="stepsType" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: mapsType

Super-types: None
Sub-types: None
Name mapsType
Abstract no
Documentation Specifies a collection of workflow definition maps (main map and sub-maps).
XML Instance Representation
<...>
<map> mapType </map> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="mapsType">
<xsd:sequence>
<xsd:element name="map" type="mapType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: objectType

Super-types: None
Sub-types: None
Name objectType
Abstract no
Documentation Specifies a mapping and all of its associated behavior.
XML Instance Representation
<...>
Start All [1]
<classdesc> classdescType </classdesc> [1] ?
<entrytemplate> entrytemplateType </entrytemplate> [1] ?
<entrymaps> entrymapsType </entrymaps> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="objectType">
<xsd:all>
<xsd:element name="classdesc" type="classdescType"/>
<xsd:element name="entrytemplate" type="entrytemplateType"/>
<xsd:element name="entrymaps" type="entrymapsType"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: objectpoliciesType

Super-types: None
Sub-types: None
Name objectpoliciesType
Abstract no
Documentation Specifies a collection of object policies.
XML Instance Representation
<...>
<objectpolicy> objectpolicyType </objectpolicy> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="objectpoliciesType">
<xsd:sequence>
<xsd:element name="objectpolicy" type="objectpolicyType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: objectpolicyType

Super-types: None
Sub-types: None
Name objectpolicyType
Abstract no
Documentation Describes a document property policy.
XML Instance Representation
<...>
Start All [1]
<index> xsd:positiveInteger </index> [0..1] ?
<object> objectType </object> [0..1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="objectpolicyType">
<xsd:all>
<xsd:element name="index" type="xsd:positiveInteger" minOccurs="0"/>
<xsd:element name="object" type="objectType" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: objectstoreType

Super-types: None
Sub-types: None
Name objectstoreType
Abstract no
Documentation Specifies an object store.
XML Instance Representation
<...>
Start All [1]
<id> guidString </id> [1] ?
<name> ... </name> [0..1]
End All
</...>
Schema Component Representation
<xsd:complexType name="objectstoreType">
<xsd:all>
<xsd:element name="id" type="guidString"/>
<xsd:element ref="name" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: pagesType

Super-types: None
Sub-types: None
Name pagesType
Abstract no
Documentation Specifies a collection of form template pages.
XML Instance Representation
<...>
<page> xsd:string </page> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="pagesType">
<xsd:sequence>
<xsd:element name="page" type="xsd:string" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: parameterType

Super-types: None
Sub-types: None
Name parameterType
Abstract no
Documentation Specifies a workflow step parameter for a map.
XML Instance Representation
<...>
Start All [1]
<name> ... </name> [0..1]
<type> xsd:string </type> [1]
End All
</...>
Schema Component Representation
<xsd:complexType name="parameterType">
<xsd:all>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: propertyType

Super-types: None
Sub-types: None
Name propertyType
Abstract no
Documentation Specifies a property.
XML Instance Representation
<...>
Start All [1]
<name> ... </name> [0..1]
<symname> ... </symname> [1]
<datatype> datatypeType </datatype> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="propertyType">
<xsd:all>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element ref="symname"/>
<xsd:element name="datatype" type="datatypeType"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: stepType

Super-types: None
Sub-types: None
Name stepType
Abstract no
Documentation Specifies an individual step.
XML Instance Representation
<...>
Start All [1]
<name> ... </name> [0..1]
<type> xsd:string </type> [0..1] ?
<stepid> xsd:string </stepid> [0..1] ?
<formtemplate> formtemplateType </formtemplate> [0..1] ?
<formmaps> formmapsType </formmaps> [0..1] ?
<objectpolicy> objectpolicyType </objectpolicy> [0..1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="stepType">
<xsd:all>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element name="type" type="xsd:string" minOccurs="0"/>
<xsd:element name="stepid" type="xsd:string" minOccurs="0"/>
<xsd:element name="formtemplate" type="formtemplateType" minOccurs="0"/>
<xsd:element name="formmaps" type="formmapsType" minOccurs="0"/>
<xsd:element name="objectpolicy" type="objectpolicyType" minOccurs="0"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: stepsType

Super-types: None
Sub-types: None
Name stepsType
Abstract no
Documentation Specifies a collection of workflow steps.
XML Instance Representation
<...>
<step> stepType </step> [1..*] ?
</...>
Schema Component Representation
<xsd:complexType name="stepsType">
<xsd:sequence>
<xsd:element name="step" type="stepType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: workflowType

Super-types: None
Sub-types: None
Name workflowType
Abstract no
Documentation Specifies a mapping and all its associated behavior.
XML Instance Representation
<...>
Start All [1]
<objectstore> objectstoreType </objectstore> [1] ?
<id> guidString </id> [1] ?
<verserid> guidString </verserid> [1] ?
<name> ... </name> [0..1]
<maps> mapsType </maps> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="workflowType">
<xsd:all>
<xsd:element name="objectstore" type="objectstoreType"/>
<xsd:element name="id" type="guidString"/>
<xsd:element name="verserid" type="guidString"/>
<xsd:element ref="name" minOccurs="0"/>
<xsd:element name="maps" type="mapsType"/>
</xsd:all>
</xsd:complexType>
top

Complex Type: workflowpolicyType

Super-types: None
Sub-types: None
Name workflowpolicyType
Abstract no
Documentation Describes the workflow parameter mapping.
XML Instance Representation
<...>
Start All [1]
<workflow> workflowType </workflow> [1] ?
<objectpolicies> objectpoliciesType </objectpolicies> [1] ?
End All
</...>
Schema Component Representation
<xsd:complexType name="workflowpolicyType">
<xsd:all>
<xsd:element name="workflow" type="workflowType"/>
<xsd:element name="objectpolicies" type="objectpoliciesType"/>
</xsd:all>
</xsd:complexType>
top

Simple Type: booleanType

Super-types: xsd:integer < booleanType (by restriction)
Sub-types: None
Name booleanType
Content
  • Base XSD Type: integer
  • 0 <= value <= 1
Schema Component Representation
<xsd:simpleType name="booleanType">
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="0"/>
<xsd:maxInclusive value="1"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: datatypeType

Super-types: xsd:integer < datatypeType (by restriction)
Sub-types: None
Name datatypeType
Content
  • Base XSD Type: integer
  • 1 <= value <= 8
Schema Component Representation
<xsd:simpleType name="datatypeType">
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="8"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: directionType

Super-types: xsd:string < directionType (by restriction)
Sub-types: None
Name directionType
Content
  • Base XSD Type: string
  • pattern = in
Schema Component Representation
<xsd:simpleType name="directionType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="in"/>
<xsd:pattern value="inout"/>
<xsd:pattern value="out"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: guidString

Super-types: xsd:string < guidString (by restriction)
Sub-types: None
Name guidString
Content
  • Base XSD Type: string
  • pattern = \{[0-9a-fA-F]{8}\-([0-9a-fA-F]{4}\-){3}[0-9a-fA-F]{12}\}
Schema Component Representation
<xsd:simpleType name="guidString">
<xsd:restriction base="xsd:string">
<xsd:pattern value="\{[0-9a-fA-F]{8}\-([0-9a-fA-F]{4}\-){3}[0-9a-fA-F]{12}\}"/>
</xsd:restriction>
</xsd:simpleType>
top