XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://digir.net/schema/protocol/2003/1.0
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Documentation $Id: digir.xsd,v 1.9 2005/11/16 18:39:54 rdg Exp $

XML Schema specifying the DiGIR (http://digir.sourceforge.net) protocol. In specific, request and response message formats are defined, as well as some base datatypes to be used when defining a federation (or content schema) that defines the data to be exchanged.

Declared Namespaces

Prefix Namespace
Default namespace http://digir.net/schema/protocol/2003/1.0
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://digir.net/schema/protocol/2003/1.0" elementFormDefault="qualified">
...
</xsd:schema>
top

Global Declarations

Element: and

  • This element can be used wherever the following element is referenced:
Name and
Type and
Nillable no
Abstract no
Documentation The and logical operator.
Logical Diagram
XML Instance Representation
<and
syntax="and [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</and>
Diagram
Schema Component Representation
<xsd:element name="and" type=" and " substitutionGroup="LOP"/>
top

Element: andNot

  • This element can be used wherever the following element is referenced:
Name andNot
Type andNot
Nillable no
Abstract no
Documentation The and not logical operator.
Logical Diagram
XML Instance Representation
<andNot
syntax="and not [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</andNot>
Diagram
Schema Component Representation
<xsd:element name="andNot" type=" andNot " substitutionGroup="LOP"/>
top

Element: COP

Name COP
Type COP
Nillable no
Abstract yes
Documentation An abstract element provided as a base to group all comparitive operator elements.
Logical Diagram
XML Instance Representation
<COP
symbol=" xsd:string [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
<list> listType </list> [1]
End Choice
</COP>
Diagram
Schema Component Representation
<xsd:element name="COP" type=" COP " abstract="true"/>
top

Element: data

Name data
Type anyType
Nillable no
Abstract yes
Documentation An abstract element provided as a base to group all types of data. It is not expected that a concrete element of this level will ever be made.
Logical Diagram
XML Instance Representation
<data> ... </data>
Diagram
Schema Component Representation
<xsd:element name="data" abstract="true"/>
top

Element: equals

  • This element can be used wherever the following element is referenced:
Name equals
Type equals
Nillable no
Abstract no
Documentation The equals (=) comparator element.
Logical Diagram
XML Instance Representation
<equals
symbol="= [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</equals>
Diagram
Schema Component Representation
<xsd:element name="equals" type=" equals " substitutionGroup="COP"/>
top

Element: greaterThan

  • This element can be used wherever the following element is referenced:
Name greaterThan
Type greaterThan
Nillable no
Abstract no
Documentation The greater than (>) comparator element.
Logical Diagram
XML Instance Representation
<greaterThan
symbol="> [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</greaterThan>
Diagram
Schema Component Representation
<xsd:element name="greaterThan" type=" greaterThan " substitutionGroup="COP"/>
top

Element: greaterThanOrEquals

  • This element can be used wherever the following element is referenced:
Name greaterThanOrEquals
Type greaterThanOrEquals
Nillable no
Abstract no
Documentation The greater than or equals (>=) comparator element.
Logical Diagram
XML Instance Representation
<greaterThanOrEquals
symbol=">= [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</greaterThanOrEquals>
Diagram
Schema Component Representation
<xsd:element name="greaterThanOrEquals" type=" greaterThanOrEquals " substitutionGroup="COP"/>
top

Element: in

  • This element can be used wherever the following element is referenced:
Name in
Type in
Nillable no
Abstract no
Documentation The in (IN) comparator element.
Logical Diagram
XML Instance Representation
<in
symbol="IN [0..1]">
<list> listType </list> [1]
</in>
Diagram
Schema Component Representation
<xsd:element name="in" type=" in " substitutionGroup="COP"/>
top

Element: lessThan

  • This element can be used wherever the following element is referenced:
Name lessThan
Type lessThan
Nillable no
Abstract no
Documentation The less than (<) comparator element.
Logical Diagram
XML Instance Representation
<lessThan
symbol="< [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</lessThan>
Diagram
Schema Component Representation
<xsd:element name="lessThan" type=" lessThan " substitutionGroup="COP"/>
top

Element: lessThanOrEquals

  • This element can be used wherever the following element is referenced:
Name lessThanOrEquals
Type lessThanOrEquals
Nillable no
Abstract no
Documentation The less than or equals (<=) comparator element.
Logical Diagram
XML Instance Representation
<lessThanOrEquals
symbol="<= [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</lessThanOrEquals>
Diagram
Schema Component Representation
<xsd:element name="lessThanOrEquals" type=" lessThanOrEquals " substitutionGroup="COP"/>
top

Element: like

  • This element can be used wherever the following element is referenced:
Name like
Type like
Nillable no
Abstract no
Documentation The like (LIKE) comparator element.
Logical Diagram
XML Instance Representation
<like
symbol="like [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</like>
Diagram
Schema Component Representation
<xsd:element name="like" type=" like " substitutionGroup="COP"/>
top

Element: LOP

  • The following elements can be used wherever this element is referenced:
Name LOP
Type LOP
Nillable no
Abstract yes
Documentation A logical operator clause. This is an abstract element to be substituted by concrete logical operator elements.
Logical Diagram
XML Instance Representation
<LOP
syntax=" xsd:string [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</LOP>
Diagram
Schema Component Representation
<xsd:element name="LOP" type=" LOP " abstract="true"/>
top

Element: metadata

Name metadata
Type Locally-defined complex type
Nillable no
Abstract no
Documentation A container for provider metadata used in a response element.
Logical Diagram
XML Instance Representation
<metadata>
<provider> [1] ?
<name> xsd:string </name> [1] ?
<accessPoint> urlType </accessPoint> [1] ?
<implementation> xsd:string </implementation> [0..1] ?
<host> [1] ?
<name> xsd:string </name> [1] ?
<code> xsd:string </code> [1] ?
<relatedInformation> urlType </relatedInformation> [0..*] ?
<contact> contact </contact> [1..*] ?
<abstract> xsd:string </abstract> [0..1] ?
</host>
<resource> [1..*] ?
<name> xsd:string </name> [1] ?
<code> xsd:string </code> [1] ?
<relatedInformation> urlType </relatedInformation> [0..*] ?
<contact> contact </contact> [1..*] ?
<abstract> xsd:string </abstract> [0..1] ?
<keywords> xsd:string </keywords> [0..1] ?
<citation> xsd:string </citation> [0..1] ?
<useRestrictions> xsd:string </useRestrictions> [0..1] ?
<conceptualSchema
schemaLocation=" urlType [0..1]"> [1..*] ?
xsd:string
</conceptualSchema>
<recordIdentifier> xsd:string </recordIdentifier> [1] ?
<recordBasis> xsd:string </recordBasis> [0..1] ?
<numberOfRecords> xsd:nonNegativeInteger </numberOfRecords> [1] ?
<dateLastUpdated> xsd:dateTime </dateLastUpdated> [1] ?
<minQueryTermLength> xsd:nonNegativeInteger </minQueryTermLength> [0..1] ?
<maxSearchResponseRecords> xsd:nonNegativeInteger </maxSearchResponseRecords> [0..1] ?
<maxInventoryResponseRecords> xsd:nonNegativeInteger </maxInventoryResponseRecords> [0..1] ?
</resource>
</provider>
</metadata>
Diagram
Schema Component Representation
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="provider">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type=" xsd:string "/>
<xsd:element name="accessPoint" type=" urlType "/>
<xsd:element name="implementation" type=" xsd:string " minOccurs="0"/>
<xsd:element name="host">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type=" xsd:string "/>
<xsd:element name="code" type=" xsd:string "/>
<xsd:element name="relatedInformation" type=" urlType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="contact" type=" contact " maxOccurs="unbounded"/>
<xsd:element name="abstract" type=" xsd:string " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="resource" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type=" xsd:string "/>
<xsd:element name="code" type=" xsd:string "/>
<xsd:element name="relatedInformation" type=" urlType " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="contact" type=" contact " maxOccurs="unbounded"/>
<xsd:element name="abstract" type=" xsd:string " minOccurs="0"/>
<xsd:element name="keywords" type=" xsd:string " minOccurs="0"/>
<xsd:element name="citation" type=" xsd:string " minOccurs="0"/>
<xsd:element name="useRestrictions" type=" xsd:string " minOccurs="0"/>
<xsd:element name="conceptualSchema" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base=" xsd:string ">
<xsd:attribute name="schemaLocation" type=" urlType "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="recordIdentifier" type=" xsd:string "/>
<xsd:element name="recordBasis" type=" xsd:string " minOccurs="0"/>
<xsd:element name="numberOfRecords" type=" xsd:nonNegativeInteger "/>
<xsd:element name="dateLastUpdated" type=" xsd:dateTime "/>
<xsd:element name="minQueryTermLength" type=" xsd:nonNegativeInteger " minOccurs="0"/>
<xsd:element name="maxSearchResponseRecords" type=" xsd:nonNegativeInteger " minOccurs="0"/>
<xsd:element name="maxInventoryResponseRecords" type=" xsd:nonNegativeInteger " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: notEquals

  • This element can be used wherever the following element is referenced:
Name notEquals
Type notEquals
Nillable no
Abstract no
Documentation The not equals (!=) comparator element.
Logical Diagram
XML Instance Representation
<notEquals
symbol="!= [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
</notEquals>
Diagram
Schema Component Representation
<xsd:element name="notEquals" type=" notEquals " substitutionGroup="COP"/>
top

Element: or

  • This element can be used wherever the following element is referenced:
Name or
Type or
Nillable no
Abstract no
Documentation The or logical operator.
Logical Diagram
XML Instance Representation
<or
syntax="or [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</or>
Diagram
Schema Component Representation
<xsd:element name="or" type=" or " substitutionGroup="LOP"/>
top

Element: orNot

  • This element can be used wherever the following element is referenced:
Name orNot
Type orNot
Nillable no
Abstract no
Documentation The or not logical operator.
Logical Diagram
XML Instance Representation
<orNot
syntax="or not [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</orNot>
Diagram
Schema Component Representation
<xsd:element name="orNot" type=" orNot " substitutionGroup="LOP"/>
top

Element: request

Name request
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Request message format. Must always contain and header and may or maynot contain a payload, based on the type of request being made.
Logical Diagram
XML Instance Representation
<request>
<header> header </header> [1]
Start Choice [0..1]
<search> searchOperation </search> [1]
<inventory> inventoryOperation </inventory> [1]
End Choice
</request>
Diagram
Schema Component Representation
<xsd:element name="request">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="header" type=" header "/>
<xsd:choice minOccurs="0">
<xsd:element name="search" type=" searchOperation "/>
<xsd:element name="inventory" type=" inventoryOperation "/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: requiredList

Name requiredList
Type anyType
Nillable no
Abstract yes
Logical Diagram
XML Instance Representation
<requiredList> ... </requiredList>
Diagram
Schema Component Representation
<xsd:element name="requiredList" abstract="true"/>
top

Element: response

Name response
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Response message format.
Logical Diagram
XML Instance Representation
<response>
<header> header </header> [1]
<content> [0..1] ?
Allow any elements from any namespace (strict validation). [1..*]
</content>
<diagnostics> [0..1] ?
<diagnostic> diagnostic </diagnostic> [1..*]
</diagnostics>
</response>
Diagram
Schema Component Representation
<xsd:element name="response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="header" type=" header "/>
<xsd:element name="content" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:any maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="diagnostics" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="diagnostic" type=" diagnostic " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: responseWrapper

Name responseWrapper
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Holds N response elements.
Logical Diagram
XML Instance Representation
<responseWrapper>
<response> ... </response> [1..*]
</responseWrapper>
Diagram
Schema Component Representation
<xsd:element name="responseWrapper">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=" response " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
top

Element: returnableData

  • This element can be used wherever the following element is referenced:
Name returnableData
Type anyType
Nillable no
Abstract yes
Documentation An abstract element provided as a base to group all types of returnableData. The element is to be substituted by concrete elements that are returnable (but not also searchable), in federation/conceptual schema documents.
Logical Diagram
XML Instance Representation
<returnableData> ... </returnableData>
Diagram
Schema Component Representation
<xsd:element name="returnableData" abstract="true" substitutionGroup="data"/>
top

Element: searchableData

  • This element can be used wherever the following element is referenced:
Name searchableData
Type anyType
Nillable no
Abstract yes
Documentation An abstract element provided as a base to group all types of searchableData. The element is to be substituted by concrete elements that are searchable (but not also returnable), in federation/conceptual schema documents.
Logical Diagram
XML Instance Representation
<searchableData> ... </searchableData>
Diagram
Schema Component Representation
<xsd:element name="searchableData" abstract="true" substitutionGroup="data"/>
top

Element: searchableReturnableData

  • This element can be used wherever the following element is referenced:
Name searchableReturnableData
Type anyType
Nillable no
Abstract yes
Documentation An abstract element provided as a base to group all types of searchableReturnableData. The element is to be substituted by concrete elements that are both searchable and returnable, in federation/conceptual schema documents.
Logical Diagram
XML Instance Representation
<searchableReturnableData> ... </searchableReturnableData>
Diagram
Schema Component Representation
<xsd:element name="searchableReturnableData" abstract="true" substitutionGroup="data"/>
top

Global Definitions

Complex Type: and

Super-types: LOP < and (by restriction)
Sub-types: None
Name and
Abstract no
Documentation The and logical operator type.
XML Instance Representation
<...
syntax="and [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="and">
<xsd:complexContent>
<xsd:restriction base=" LOP ">
<xsd:choice minOccurs="2" maxOccurs="2">
<xsd:element ref=" COP "/>
<xsd:element ref=" LOP "/>
</xsd:choice>
<xsd:attribute name="syntax" type=" xsd:string " fixed="and"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: andNot

Super-types: LOP < andNot (by restriction)
Sub-types: None
Name andNot
Abstract no
Documentation The and not logical operator type.
XML Instance Representation
<...
syntax="and not [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="andNot">
<xsd:complexContent>
<xsd:restriction base=" LOP ">
<xsd:choice minOccurs="2" maxOccurs="2">
<xsd:element ref=" COP "/>
<xsd:element ref=" LOP "/>
</xsd:choice>
<xsd:attribute name="syntax" type=" xsd:string " fixed="and not"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: contact

Super-types: None
Sub-types: None
Name contact
Abstract no
Documentation A type to be used to denote a contact, as in a administrative or technical contact for a provider or a resource.
XML Instance Representation
<...
type=" xsd:string (value comes from list: {'administrative'|'technical'|'other'}) [1] ?">
<name> xsd:string </name> [1] ?
<title> xsd:string </title> [0..1] ?
<emailAddress> emailType </emailAddress> [1] ?
<phone> xsd:string </phone> [0..1] ?
</...>
Diagram
Schema Component Representation
<xsd:complexType name="contact">
<xsd:sequence>
<xsd:element name="name" type=" xsd:string "/>
<xsd:element name="title" type=" xsd:string " minOccurs="0"/>
<xsd:element name="emailAddress" type=" emailType "/>
<xsd:element name="phone" type=" xsd:string " minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="type" use="required">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="administrative"/>
<xsd:enumeration value="technical"/>
<xsd:enumeration value="other"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
top

Complex Type: COP

Super-types: None
Sub-types:
Name COP
Abstract yes
Documentation An abstract type provided as a base from which to derive all comparitive operator types.
XML Instance Representation
<...
symbol=" xsd:string [0..1]">
Start Choice [1]
<searchableData> ... </searchableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
<list> listType </list> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="COP" abstract="true">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
<xsd:element name="list" type=" listType "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string "/>
</xsd:complexType>
top

Complex Type: diagnostic

Super-types: xsd:string < diagnostic (by extension)
Sub-types: None
Name diagnostic
Abstract no
XML Instance Representation
<...
code=" xsd:string [0..1]"
severity=" xsd:string (value comes from list: {'debug'|'info'|'warn'|'error'|'fatal'}) [0..1]">
xsd:string
</...>
Diagram
Schema Component Representation
<xsd:complexType name="diagnostic">
<xsd:simpleContent>
<xsd:extension base=" xsd:string ">
<xsd:attribute name="code" type=" xsd:string "/>
<xsd:attribute name="severity" default="info">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="debug"/>
<xsd:enumeration value="info"/>
<xsd:enumeration value="warn"/>
<xsd:enumeration value="error"/>
<xsd:enumeration value="fatal"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: equals

Super-types: COP < equals (by restriction)
Sub-types: None
Name equals
Abstract no
Documentation The equals (=) comparator type. Can take any type of searchableData for an exact match.
XML Instance Representation
<...
symbol="= [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="equals">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed="="/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: filter

Super-types: None
Sub-types: None
Name filter
Abstract no
Documentation Essentially, a representation of the "where" clause as a tree.
XML Instance Representation
<...>
Start Choice [1]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="filter">
<xsd:choice>
<xsd:element ref=" COP "/>
<xsd:element ref=" LOP "/>
</xsd:choice>
</xsd:complexType>
top

Complex Type: greaterThan

Super-types: COP < greaterThan (by restriction)
Sub-types: None
Name greaterThan
Abstract no
Documentation The greater than (>) comparator type. Can take any numericSearchableData.
XML Instance Representation
<...
symbol="> [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="greaterThan">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed=">"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: greaterThanOrEquals

Super-types: COP < greaterThanOrEquals (by restriction)
Sub-types: None
Name greaterThanOrEquals
Abstract no
Documentation The greater than or equals (>=) comparator type. Can take any numericSearchableData.
XML Instance Representation
<...
symbol=">= [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="greaterThanOrEquals">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed=">="/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: header

Super-types: None
Sub-types: None
Name header
Abstract no
Documentation Inline request header used in request and response documents.
XML Instance Representation
<...>
<version> xsd:string </version> [1] ?
<sendTime> xsd:dateTime </sendTime> [1] ?
<source
resource=" xsd:string [0..1]"> [1] ?
xsd:string
</source>
<destination
resource=" xsd:string [0..1]"> [1..*] ?
xsd:string
</destination>
<type> xsd:string (value comes from list: {'search'|'metadata'|'inventory'|'status'}) </type> [1] ?
</...>
Diagram
Schema Component Representation
<xsd:complexType name="header">
<xsd:sequence>
<xsd:element name="version" type=" xsd:string "/>
<xsd:element name="sendTime" type=" xsd:dateTime "/>
<xsd:element name="source">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base=" xsd:string ">
<xsd:attribute name="resource" type=" xsd:string " use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="destination" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base=" xsd:string ">
<xsd:attribute name="resource" type=" xsd:string " use="optional"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="type">
<xsd:simpleType>
<xsd:restriction base=" xsd:string ">
<xsd:enumeration value="search"/>
<xsd:enumeration value="metadata"/>
<xsd:enumeration value="inventory"/>
<xsd:enumeration value="status"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: in

Super-types: COP < MultiCOP (by restriction) < in (by restriction)
Sub-types: None
Name in
Abstract no
Documentation The in (IN) comparator type. Can take list, as defined within a federation schema as a choice of concrete searchableData.
XML Instance Representation
<...
symbol="IN [0..1]">
<list> listType </list> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="in">
<xsd:complexContent>
<xsd:restriction base=" MultiCOP ">
<xsd:sequence>
<xsd:element name="list" type=" listType "/>
</xsd:sequence>
<xsd:attribute name="symbol" type=" xsd:string " fixed="IN"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: inventoryOperation

Super-types: None
Sub-types: None
Name inventoryOperation
Abstract no
Documentation An inventory operation, which is to seek a count of all unique occurrences of a single concept. Query conditions can optionally be applied.
XML Instance Representation
<...>
<filter> filter </filter> [0..1] ?
Start Choice [1] ?
<returnableData> ... </returnableData> [1]
<searchableReturnableData> ... </searchableReturnableData> [1]
End Choice
<count> xsd:boolean </count> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="inventoryOperation">
<xsd:sequence>
<xsd:element name="filter" type=" filter " minOccurs="0"/>
<xsd:choice>
<xsd:element ref=" returnableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:element name="count" type=" xsd:boolean " default="false"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: lessThan

Super-types: COP < lessThan (by restriction)
Sub-types: None
Name lessThan
Abstract no
Documentation The less than (<) comparator type. Can take any numericSearchableData.
XML Instance Representation
<...
symbol="< [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="lessThan">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed="<"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: lessThanOrEquals

Super-types: COP < lessThanOrEquals (by restriction)
Sub-types: None
Name lessThanOrEquals
Abstract no
Documentation The less than or equals (<=) comparator type. Can take any numericSearchableData.
XML Instance Representation
<...
symbol="<= [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="lessThanOrEquals">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed="<="/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: like

Super-types: COP < like (by restriction)
Sub-types: None
Name like
Abstract no
Documentation The like (LIKE) comparator type. Can take any alphaSearchableData.
XML Instance Representation
<...
symbol="like [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="like">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed="like"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: listType

Super-types: None
Sub-types: None
Name listType
Abstract yes
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xsd:complexType name="listType" abstract="true"/>
top

Complex Type: LOP

Super-types: None
Sub-types:
  • and (by restriction)
  • andNot (by restriction)
  • or (by restriction)
  • orNot (by restriction)
Name LOP
Abstract no
Documentation The logical operator defined type. An LOP can contain 2 of either COPs or LOPs (i.e. LOPs can be nested).
XML Instance Representation
<...
syntax=" xsd:string [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="LOP">
<xsd:choice minOccurs="2" maxOccurs="2">
<xsd:element ref=" COP "/>
<xsd:element ref=" LOP "/>
</xsd:choice>
<xsd:attribute name="syntax" type=" xsd:string "/>
</xsd:complexType>
top

Complex Type: MultiCOP

Super-types: COP < MultiCOP (by restriction)
Sub-types:
  • in (by restriction)
Name MultiCOP
Abstract yes
Documentation An abstract type provided as a base from which to derive all multi-element comparitive operator types.
XML Instance Representation
<...
symbol=" xsd:string [0..1]">
<list> listType </list> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="MultiCOP" abstract="true">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:sequence>
<xsd:element name="list" type=" listType "/>
</xsd:sequence>
<xsd:attribute name="symbol" type=" xsd:string "/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: notEquals

Super-types: COP < notEquals (by restriction)
Sub-types: None
Name notEquals
Abstract no
Documentation The not equals (!=) comparator type. Can take any type of searchableData.
XML Instance Representation
<...
symbol="!= [0..1]">
Start Choice [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="notEquals">
<xsd:complexContent>
<xsd:restriction base=" COP ">
<xsd:choice>
<xsd:element ref=" searchableData "/>
<xsd:element ref=" searchableReturnableData "/>
</xsd:choice>
<xsd:attribute name="symbol" type=" xsd:string " fixed="!="/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: or

Super-types: LOP < or (by restriction)
Sub-types: None
Name or
Abstract no
Documentation The or logical operator type.
XML Instance Representation
<...
syntax="or [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="or">
<xsd:complexContent>
<xsd:restriction base=" LOP ">
<xsd:choice minOccurs="2" maxOccurs="2">
<xsd:element ref=" COP "/>
<xsd:element ref=" LOP "/>
</xsd:choice>
<xsd:attribute name="syntax" type=" xsd:string " fixed="or"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: orNot

Super-types: LOP < orNot (by restriction)
Sub-types: None
Name orNot
Abstract no
Documentation The or not logical operator type.
XML Instance Representation
<...
syntax="or not [0..1]">
Start Choice [2..2]
<COP> ... </COP> [1]
<LOP> ... </LOP> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="orNot">
<xsd:complexContent>
<xsd:restriction base=" LOP ">
<xsd:choice minOccurs="2" maxOccurs="2">
<xsd:element ref=" COP "/>
<xsd:element ref=" LOP "/>
</xsd:choice>
<xsd:attribute name="syntax" type=" xsd:string " fixed="or not"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
top

Complex Type: searchOperation

Super-types: None
Sub-types: None
Name searchOperation
Abstract no
Documentation A search operation, specifying query conditions and result details.
XML Instance Representation
<...>
<filter> filter </filter> [1] ?
<records
start=" xsd:nonNegativeInteger [0..1]"
limit=" xsd:nonNegativeInteger [0..1]"> [0..1] ?
<structure
schemaLocation=" urlType [0..1]"> [1]
<!-- Mixed content -->
Start Sequence [0..1]
Allow any elements from any namespace (lax validation). [1]
End Sequence
</structure>
</records>
<count> xsd:boolean </count> [1]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="searchOperation">
<xsd:sequence>
<xsd:element name="filter" type=" filter "/>
<xsd:element name="records" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="structure">
<xsd:complexType mixed="true">
<xsd:sequence minOccurs="0">
<xsd:any processContents="lax"/>
</xsd:sequence>
<xsd:attribute name="schemaLocation" type=" urlType " use="optional"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="start" type=" xsd:nonNegativeInteger " default="0"/>
<xsd:attribute name="limit" type=" xsd:nonNegativeInteger " default="10"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="count" type=" xsd:boolean " default="false"/>
</xsd:sequence>
</xsd:complexType>
top

Simple Type: emailType

Super-types: xsd:string < emailType (by restriction)
Sub-types: None
Name emailType
Content
  • Base XSD Type: string
  • pattern = ([a-zA-Z0-9_\-\.\+]+)@([a-zA-Z0-9\-\.]+)
Documentation A simpleType to represent an email address.
Diagram
Schema Component Representation
<xsd:simpleType name="emailType">
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="([a-zA-Z0-9_\-\.\+]+)@([a-zA-Z0-9\-\.]+)"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: urlType

Super-types: xsd:string < urlType (by restriction)
Sub-types: None
Name urlType
Content
  • Base XSD Type: string
  • pattern = http://[^ ]*[^., \n\t><"]
Documentation A simpleType to represent a URL that does a pattern match to verify a full URL without whitespace.
Diagram
Schema Component Representation
<xsd:simpleType name="urlType">
<xsd:restriction base=" xsd:string ">
<xsd:pattern value="http://[^ ]*[^., \n\t><"]"/>
</xsd:restriction>
</xsd:simpleType>
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
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="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