XML Schema for Experiment.xsd

Table of Contents

top

Schema Document Properties

Target Namespace http://www.bucknell.edu/safe/exp
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.
Schema Composition
  • This schema includes components from the following schema document(s):
    • LevelList.xsd

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
tns http://www.bucknell.edu/safe/exp
Schema Component Representation
<xs:schema targetNamespace="http://www.bucknell.edu/safe/exp">
<xs:include schemaLocation="LevelList.xsd"/>
...
</xs:schema>
top

Global Declarations

Element: conditions

Name conditions
Type tns:Conditions
Nillable no
Abstract no
XML Instance Representation
<tns:conditions>
<tns:memberof> ... </tns:memberof> [0..*]
<tns:levellist> ... </tns:levellist> [0..*]
<tns:sequence> ... </tns:sequence> [0..*]
<tns:exclusionrestriction> ... </tns:exclusionrestriction> [0..*]
<tns:linkingrestriction> ... </tns:linkingrestriction> [0..*]
</tns:conditions>
Schema Component Representation
<xs:element name="conditions" type="tns:Conditions"/>
top

Element: delta

Name delta
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:delta> xs:string </tns:delta>
Schema Component Representation
<xs:element name="delta" type="xs:string"/>
top

Element: exclusionrestriction

Name exclusionrestriction
Type tns:ExclusionRestriction
Nillable no
Abstract no
XML Instance Representation
<tns:exclusionrestriction>
<tns:setting> ... </tns:setting> [1..*]
</tns:exclusionrestriction>
Schema Component Representation
<xs:element name="exclusionrestriction" type="tns:ExclusionRestriction"/>
top

Element: experimentspace

Name experimentspace
Type tns:ExperimentSpace
Nillable no
Abstract no
XML Instance Representation
<tns:experimentspace>
<tns:factorlist> ... </tns:factorlist> [1]
<tns:conditions> ... </tns:conditions> [1]
</tns:experimentspace>
Schema Component Representation
<xs:element name="experimentspace" type="tns:ExperimentSpace"/>
top

Element: factor

Name factor
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:factor> xs:string </tns:factor>
Schema Component Representation
<xs:element name="factor" type="xs:string"/>
top

Element: factorid

Name factorid
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:factorid> xs:string </tns:factorid>
Schema Component Representation
<xs:element name="factorid" type="xs:string"/>
top

Element: factorlist

Name factorlist
Type tns:FactorList
Nillable no
Abstract no
XML Instance Representation
<tns:factorlist>
<tns:factor> ... </tns:factor> [1..*]
</tns:factorlist>
Schema Component Representation
<xs:element name="factorlist" type="tns:FactorList"/>
top

Element: hi

Name hi
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:hi> xs:string </tns:hi>
Schema Component Representation
<xs:element name="hi" type="xs:string"/>
top

Element: indexid

Name indexid
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:indexid> xs:string </tns:indexid>
Schema Component Representation
<xs:element name="indexid" type="xs:string"/>
top

Element: lconst

Name lconst
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:lconst> xs:string </tns:lconst>
Schema Component Representation
<xs:element name="lconst" type="xs:string"/>
top

Element: lexpr

Name lexpr
Type tns:Expression
Nillable no
Abstract no
XML Instance Representation
<tns:lexpr>
<tns:lexpr> ... </tns:lexpr> [0..1]
<tns:lvar> ... </tns:lvar> [0..1]
<tns:lconst> ... </tns:lconst> [0..1]
<tns:op> ... </tns:op> [1]
<tns:rexpr> ... </tns:rexpr> [0..1]
<tns:rvar> ... </tns:rvar> [0..1]
<tns:rconst> ... </tns:rconst> [0..1]
</tns:lexpr>
Schema Component Representation
<xs:element name="lexpr" type="tns:Expression"/>
top

Element: linkingrestriction

Name linkingrestriction
Type tns:LinkingRestriction
Nillable no
Abstract no
XML Instance Representation
<tns:linkingrestriction>
<tns:factor> ... </tns:factor> [1..*]
</tns:linkingrestriction>
Schema Component Representation
<xs:element name="linkingrestriction" type="tns:LinkingRestriction"/>
top

Element: listid

Name listid
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:listid> xs:string </tns:listid>
Schema Component Representation
<xs:element name="listid" type="xs:string"/>
top

Element: lo

Name lo
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:lo> xs:string </tns:lo>
Schema Component Representation
<xs:element name="lo" type="xs:string"/>
top

Element: lvar

Name lvar
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:lvar> xs:string </tns:lvar>
Schema Component Representation
<xs:element name="lvar" type="xs:string"/>
top

Element: memberof

Name memberof
Type tns:MemberOf
Nillable no
Abstract no
XML Instance Representation
<tns:memberof>
<tns:factor> ... </tns:factor> [1]
<tns:listid> ... </tns:listid> [1]
</tns:memberof>
Schema Component Representation
<xs:element name="memberof" type="tns:MemberOf"/>
top

Element: op

Name op
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:op> xs:string </tns:op>
Schema Component Representation
<xs:element name="op" type="xs:string"/>
top

Element: range

Name range
Type tns:RangeConstraint
Nillable no
Abstract no
XML Instance Representation
<tns:range>
<tns:var> ... </tns:var> [1]
<tns:lo> ... </tns:lo> [1]
<tns:hi> ... </tns:hi> [1]
<tns:delta> ... </tns:delta> [1]
</tns:range>
Schema Component Representation
<xs:element name="range" type="tns:RangeConstraint"/>
top

Element: rconst

Name rconst
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:rconst> xs:string </tns:rconst>
Schema Component Representation
<xs:element name="rconst" type="xs:string"/>
top

Element: rexpr

Name rexpr
Type tns:Expression
Nillable no
Abstract no
XML Instance Representation
<tns:rexpr>
<tns:lexpr> ... </tns:lexpr> [0..1]
<tns:lvar> ... </tns:lvar> [0..1]
<tns:lconst> ... </tns:lconst> [0..1]
<tns:op> ... </tns:op> [1]
<tns:rexpr> ... </tns:rexpr> [0..1]
<tns:rvar> ... </tns:rvar> [0..1]
<tns:rconst> ... </tns:rconst> [0..1]
</tns:rexpr>
Schema Component Representation
<xs:element name="rexpr" type="tns:Expression"/>
top

Element: rvar

Name rvar
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:rvar> xs:string </tns:rvar>
Schema Component Representation
<xs:element name="rvar" type="xs:string"/>
top

Element: sequence

Name sequence
Type tns:Sequence
Nillable no
Abstract no
XML Instance Representation
<tns:sequence>
<tns:factor> ... </tns:factor> [1]
<tns:test> ... </tns:test> [1]
Start Choice [1]
<tns:lexpr> ... </tns:lexpr> [1]
<tns:lvar> ... </tns:lvar> [1]
<tns:lconst> ... </tns:lconst> [1]
End Choice
<tns:op> ... </tns:op> [1]
Start Choice [1]
<tns:rexpr> ... </tns:rexpr> [1]
<tns:rvar> ... </tns:rvar> [1]
<tns:rconst> ... </tns:rconst> [1]
End Choice
<tns:where> ... </tns:where> [0..1]
</tns:sequence>
Schema Component Representation
<xs:element name="sequence" type="tns:Sequence"/>
top

Element: setting

Name setting
Type tns:PointComponent
Nillable no
Abstract no
XML Instance Representation
<tns:setting
factor="xs:string [0..1]"
level="xs:string [0..1]"/>
Schema Component Representation
<xs:element name="setting" type="tns:PointComponent"/>
top

Element: test

Name test
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:test> xs:string </tns:test>
Schema Component Representation
<xs:element name="test" type="xs:string"/>
top

Element: value

Name value
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:value> xs:string </tns:value>
Schema Component Representation
<xs:element name="value" type="xs:string"/>
top

Element: var

Name var
Type xs:string
Nillable no
Abstract no
XML Instance Representation
<tns:var> xs:string </tns:var>
Schema Component Representation
<xs:element name="var" type="xs:string"/>
top

Element: where

Name where
Type tns:Where
Nillable no
Abstract no
XML Instance Representation
<tns:where>
<tns:range> ... </tns:range> [1]
</tns:where>
Schema Component Representation
<xs:element name="where" type="tns:Where"/>
top

Global Definitions

Complex Type: Conditions

Super-types: None
Sub-types: None
Name Conditions
Abstract no
XML Instance Representation
<...>
<tns:memberof> ... </tns:memberof> [0..*]
<tns:levellist> ... </tns:levellist> [0..*]
<tns:sequence> ... </tns:sequence> [0..*]
<tns:exclusionrestriction> ... </tns:exclusionrestriction> [0..*]
<tns:linkingrestriction> ... </tns:linkingrestriction> [0..*]
</...>
Schema Component Representation
<xs:complexType name="Conditions">
<xs:sequence>
<xs:element ref="tns:memberof" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="tns:levellist" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="tns:sequence" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="tns:exclusionrestriction" maxOccurs="unbounded" minOccurs="0"/>
<xs:element ref="tns:linkingrestriction" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ExclusionRestriction

Super-types: None
Sub-types: None
Name ExclusionRestriction
Abstract no
XML Instance Representation
<...>
<tns:setting> ... </tns:setting> [1..*]
</...>
Schema Component Representation
<xs:complexType name="ExclusionRestriction">
<xs:sequence>
<xs:element ref="tns:setting" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ExperimentSpace

Super-types: None
Sub-types: None
Name ExperimentSpace
Abstract no
XML Instance Representation
<...>
<tns:factorlist> ... </tns:factorlist> [1]
<tns:conditions> ... </tns:conditions> [1]
</...>
Schema Component Representation
<xs:complexType name="ExperimentSpace">
<xs:sequence>
<xs:element ref="tns:factorlist"/>
<xs:element ref="tns:conditions"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Expression

Super-types: None
Sub-types: None
Name Expression
Abstract no
XML Instance Representation
<...>
<tns:lexpr> ... </tns:lexpr> [0..1]
<tns:lvar> ... </tns:lvar> [0..1]
<tns:lconst> ... </tns:lconst> [0..1]
<tns:op> ... </tns:op> [1]
<tns:rexpr> ... </tns:rexpr> [0..1]
<tns:rvar> ... </tns:rvar> [0..1]
<tns:rconst> ... </tns:rconst> [0..1]
</...>
Schema Component Representation
<xs:complexType name="Expression">
<xs:sequence>
<xs:element ref="tns:lexpr" maxOccurs="1" minOccurs="0"/>
<xs:element ref="tns:lvar" maxOccurs="1" minOccurs="0"/>
<xs:element ref="tns:lconst" maxOccurs="1" minOccurs="0"/>
<xs:element ref="tns:op"/>
<xs:element ref="tns:rexpr" maxOccurs="1" minOccurs="0"/>
<xs:element ref="tns:rvar" maxOccurs="1" minOccurs="0"/>
<xs:element ref="tns:rconst" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: FactorList

Super-types: None
Sub-types: None
Name FactorList
Abstract no
XML Instance Representation
<...>
<tns:factor> ... </tns:factor> [1..*]
</...>
Schema Component Representation
<xs:complexType name="FactorList">
<xs:sequence>
<xs:element ref="tns:factor" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: LinkingRestriction

Super-types: None
Sub-types: None
Name LinkingRestriction
Abstract no
XML Instance Representation
<...>
<tns:factor> ... </tns:factor> [1..*]
</...>
Schema Component Representation
<xs:complexType name="LinkingRestriction">
<xs:sequence>
<xs:element ref="tns:factor" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: MemberOf

Super-types: None
Sub-types: None
Name MemberOf
Abstract no
XML Instance Representation
<...>
<tns:factor> ... </tns:factor> [1]
<tns:listid> ... </tns:listid> [1]
</...>
Schema Component Representation
<xs:complexType name="MemberOf">
<xs:sequence>
<xs:element ref="tns:factor"/>
<xs:element ref="tns:listid"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: PointComponent

Super-types: None
Sub-types: None
Name PointComponent
Abstract no
XML Instance Representation
<...
factor="xs:string [0..1]"
level="xs:string [0..1]"/>
Schema Component Representation
<xs:complexType name="PointComponent">
<xs:attribute name="factor" type="xs:string"/>
<xs:attribute name="level" type="xs:string"/>
</xs:complexType>
top

Complex Type: RangeConstraint

Super-types: None
Sub-types: None
Name RangeConstraint
Abstract no
XML Instance Representation
<...>
<tns:var> ... </tns:var> [1]
<tns:lo> ... </tns:lo> [1]
<tns:hi> ... </tns:hi> [1]
<tns:delta> ... </tns:delta> [1]
</...>
Schema Component Representation
<xs:complexType name="RangeConstraint">
<xs:sequence>
<xs:element ref="tns:var"/>
<xs:element ref="tns:lo"/>
<xs:element ref="tns:hi"/>
<xs:element ref="tns:delta"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Sequence

Super-types: None
Sub-types: None
Name Sequence
Abstract no
XML Instance Representation
<...>
<tns:factor> ... </tns:factor> [1]
<tns:test> ... </tns:test> [1]
Start Choice [1]
<tns:lexpr> ... </tns:lexpr> [1]
<tns:lvar> ... </tns:lvar> [1]
<tns:lconst> ... </tns:lconst> [1]
End Choice
<tns:op> ... </tns:op> [1]
Start Choice [1]
<tns:rexpr> ... </tns:rexpr> [1]
<tns:rvar> ... </tns:rvar> [1]
<tns:rconst> ... </tns:rconst> [1]
End Choice
<tns:where> ... </tns:where> [0..1]
</...>
Schema Component Representation
<xs:complexType name="Sequence">
<xs:sequence>
<xs:element ref="tns:factor"/>
<xs:element ref="tns:test"/>
<xs:choice>
<xs:element ref="tns:lexpr"/>
<xs:element ref="tns:lvar"/>
<xs:element ref="tns:lconst"/>
</xs:choice>
<xs:element ref="tns:op"/>
<xs:choice>
<xs:element ref="tns:rexpr"/>
<xs:element ref="tns:rvar"/>
<xs:element ref="tns:rconst"/>
</xs:choice>
<xs:element ref="tns:where" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: Where

Super-types: None
Sub-types: None
Name Where
Abstract no
XML Instance Representation
<...>
<tns:range> ... </tns:range> [1]
</...>
Schema Component Representation
<xs:complexType name="Where">
<xs:sequence>
<xs:element ref="tns:range"/>
</xs:sequence>
</xs:complexType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top