Documentation for CodeList

Table of Contents

top

Schema Document Properties

Target Namespace http://genericode.org/2006/ns/CodeList/0.4/
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 imports schema(s) from the following namespace(s):
    • http://www.w3.org/XML/1998/namespace (at http://www.w3.org/2004/10/xml.xsd)

Declared Namespaces

Prefix Namespace
gc http://genericode.org/2006/ns/CodeList/0.4/
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://genericode.org/2006/ns/CodeList/0.4/">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2004/10/xml.xsd"/>
...
</xsd:schema>
top

Global Declarations

Element: CodeList

Name CodeList
Type gc:CodeListDocument
Nillable no
Abstract no
Documentation Top-level element for the definition of a code list.
Logical Diagram
element_Annotation element_Identification element_ColumnSet element_ColumnSetRef element_DerivedCodeListRef element_SimpleCodeList element_DerivedCodeList
XML Instance Representation
<gc:CodeList>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

Start Choice [1]
<ColumnSet> gc:ColumnSet </ColumnSet> [1]

'Definition of a column set.'

<ColumnSetRef> gc:ColumnSetRef </ColumnSetRef> [1]

'Reference to a column set defined in an external column set or code list document.'

End Choice
Start Group: gc:OuterCodeListChoice [0..1]

'A choice between a simple code list definition and a derived code list definition. Not used if the code list document contains code list metadata only.'


Start Choice [1]
<DerivedCodeListRef> gc:CodeListRef </DerivedCodeListRef> [0..1]

'Reference to the derived code list of which this simple code list is a realisation.'

<SimpleCodeList> gc:SimpleCodeList </SimpleCodeList> [1]

'Definition of the simple code list.'

<DerivedCodeList> gc:DerivedCodeList </DerivedCodeList> [1]

'Definition of a derived code list.'

End Choice
End Group: gc:OuterCodeListChoice
</gc:CodeList>
Diagram
group_DocumentHeader group_ColumnSetChoice group_OuterCodeListChoice
Schema Component Representation
<xsd:element name="CodeList" type=" gc:CodeListDocument "/>
top

Element: CodeListSet

Name CodeListSet
Type gc:CodeListSetDocument
Nillable no
Abstract no
Documentation Top-level element for the definition of a code list set
Logical Diagram
element_Annotation element_Identification element_CodeListRef
XML Instance Representation
<gc:CodeListSet>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

<CodeListRef> gc:CodeListRef </CodeListRef> [0..*]
</gc:CodeListSet>
Diagram
group_DocumentHeader type_CodeListRef
Schema Component Representation
<xsd:element name="CodeListSet" type=" gc:CodeListSetDocument "/>
top

Element: ColumnSet

Name ColumnSet
Type gc:ColumnSetDocument
Nillable no
Abstract no
Documentation Top-level element for the definition of a column set.
Logical Diagram
element_Annotation element_Identification element_Column element_ColumnRef element_Key element_KeyRef
XML Instance Representation
<gc:ColumnSet
DatatypeLibrary=" xsd:anyURI [0..1]

'URI which uniquely identifies the default datatype library for the column set. If not provided, defaults to the URI for W3C XML Schema datatypes.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

Start Group: gc:ColumnChoice [0..*]

'A choice between a column definition and a column reference.'


Start Choice [1]
<Column> gc:Column </Column> [1]

'Definition of a column.'

<ColumnRef> gc:ColumnRef </ColumnRef> [1]

'Reference to a column defined in an external column set or code list.'

End Choice
End Group: gc:ColumnChoice
Start Group: gc:KeyChoice [0..*]

'A choice between a key definition and a key reference.'


Start Choice [1]
<Key> gc:Key </Key> [1]

'Definition of a key.'

<KeyRef> gc:KeyRef </KeyRef> [1]

'Reference to a key defined in an external column set or code list.'

End Choice
End Group: gc:KeyChoice
</gc:ColumnSet>
Diagram
group_DocumentHeader group_ColumnSetContent attributeGroup_DefaultDatatypeLibrary
Schema Component Representation
<xsd:element name="ColumnSet" type=" gc:ColumnSetDocument "/>
top

Global Definitions

Attribute Group: ColumnReference

Name ColumnReference
Used by (from the same schema document) Complex Type Value
Documentation Attribute set for referring to a column definition within the document.
XML Instance Representation
ColumnRef=" xsd:IDREF [0..1]

'Reference to the ID of a column in the document.'

"
Diagram
Schema Component Representation
<xsd:attributeGroup name="ColumnReference">
<xsd:attribute name="ColumnRef" type=" xsd:IDREF "/>
</xsd:attributeGroup>
top

Attribute Group: DefaultDatatypeLibrary

Name DefaultDatatypeLibrary
Used by (from the same schema document) Complex Type ColumnSetDocument , Complex Type ColumnSet
Documentation Identification of the default datatype library for a column set.
XML Instance Representation
DatatypeLibrary=" xsd:anyURI [0..1]

'URI which uniquely identifies the default datatype library for the column set. If not provided, defaults to the URI for W3C XML Schema datatypes.'

"
Diagram
Schema Component Representation
<xsd:attributeGroup name="DefaultDatatypeLibrary">
<xsd:attribute name="DatatypeLibrary" type=" xsd:anyURI " default="http://www.w3.org/2001/XMLSchema-datatypes"/>
</xsd:attributeGroup>
top

Attribute Group: ExternalReference

Name ExternalReference
Used by (from the same schema document) Complex Type ColumnRef , Complex Type KeyRef
Documentation Attribute set used to identify a resource within an external document.
XML Instance Representation
ExternalRef=" xsd:token [1]

'Unique ID of the resource within the external document.'

"
Diagram
Schema Component Representation
<xsd:attributeGroup name="ExternalReference">
<xsd:attribute name="ExternalRef" type=" xsd:token " use="required"/>
</xsd:attributeGroup>
top

Attribute Group: IdDefinition

Name IdDefinition
Used by (from the same schema document) Complex Type Column , Complex Type ColumnRef , Complex Type Key , Complex Type KeyRef
Documentation Attribute set used to identify a resource within the document.
XML Instance Representation
Id=" xsd:ID [1]

'Unique ID within the document for the resource.'

"
Diagram
Schema Component Representation
<xsd:attributeGroup name="IdDefinition">
<xsd:attribute name="Id" type=" xsd:ID " use="required"/>
</xsd:attributeGroup>
top

Attribute Group: UseDefinition

Name UseDefinition
Used by (from the same schema document) Complex Type Column , Complex Type ColumnRef
Documentation Attribute set which defines the usage of a resource.
XML Instance Representation
Use=" gc:UseType [1]

'Whether the resource is required or optional.'

"
Diagram
type_UseType
Schema Component Representation
<xsd:attributeGroup name="UseDefinition">
<xsd:attribute name="Use" type=" gc:UseType " use="required"/>
</xsd:attributeGroup>
top

Attribute Group: ValueIdentification

Name ValueIdentification
Used by (from the same schema document) Complex Type LongName , Complex Type GeneralIdentifier
Documentation Information which identifies one of a set of alternate values.
XML Instance Representation
Identifier=" xsd:normalizedString [0..1]

'A string which identifies one of a set of alternate values.'

"

xml:lang="[0..1]

'The language from which the value is taken or derived.'

"
Diagram
attribute_lang
Schema Component Representation
<xsd:attributeGroup name="ValueIdentification">
<xsd:attribute name="Identifier" type=" xsd:normalizedString "/>
<xsd:attribute ref=" xml:lang"/>
</xsd:attributeGroup>
top

Complex Type: Agency

Super-types: None
Sub-types: None
Name Agency
Used by (from the same schema document) Complex Type Identification
Abstract no
Documentation Details of an agency which produces code lists or related artefacts.
XML Instance Representation
<...>
<ShortName> gc:ShortName </ShortName> [0..1]

'Short name for the agency, suitable for use in naming software artefacts.'

<LongName> gc:LongName </LongName> [0..*]

'Human-readable name for the agency.'

<Identifier> gc:GeneralIdentifier </Identifier> [0..*]

'Identifier for the agency.'

</...>
Diagram
type_ShortName type_LongName type_GeneralIdentifier
Schema Component Representation
<xsd:complexType name="Agency">
<xsd:sequence>
<xsd:element name="ShortName" type=" gc:ShortName " minOccurs="0"/>
<xsd:element name="LongName" type=" gc:LongName " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="Identifier" type=" gc:GeneralIdentifier " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Annotation

Super-types: None
Sub-types: None
Name Annotation
Used by (from the same schema document) Model Group DocumentHeader , Complex Type Column , Complex Type ColumnRef , Complex Type Key , Complex Type KeyRef , Complex Type ColumnSetRef , Complex Type SimpleCodeList , Complex Type DerivedCodeList , Complex Type CodeListRef , Complex Type Data , Complex Type Row , Complex Type Value , Complex Type RowFilter , Complex Type CodeListUnion , Complex Type ColumnSetFilter
Abstract no
Documentation User annotation information for a resource.
XML Instance Representation
<...>
<Description> gc:AnyOtherLanguageContent </Description> [0..*]

'Human-readable information about the resource.'

<AppInfo> gc:AnyOtherContent </AppInfo> [0..1]

'Machine-readable information about the resource.'

</...>
Diagram
type_AnyOtherLanguageContent type_AnyOtherContent
Schema Component Representation
<xsd:complexType name="Annotation">
<xsd:sequence>
<xsd:element name="Description" type=" gc:AnyOtherLanguageContent " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="AppInfo" type=" gc:AnyOtherContent " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: AnyOtherContent

Super-types: None
Sub-types: None
Name AnyOtherContent
Used by (from the same schema document) Complex Type Annotation , Model Group ValueChoice
Abstract no
Documentation Container for any XML content which is in a different namespace to the Schema's target namespace.
XML Instance Representation
<...>
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="AnyOtherContent">
<xsd:sequence>
<xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: AnyOtherLanguageContent

Super-types: None
Sub-types: None
Name AnyOtherLanguageContent
Used by (from the same schema document) Complex Type Annotation
Abstract no
Documentation Container for any human-readable XML content which is in a different namespace to the Schema's target namespace.
XML Instance Representation
<...
xml:lang="[0..1]

'The language in which the content is written.'

"
>
Allow any elements from any namespace (strict validation). [0..*]
</...>
Diagram
attribute_lang
Schema Component Representation
<xsd:complexType name="AnyOtherLanguageContent">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute ref=" xml:lang"/>
</xsd:complexType>
top

Complex Type: CodeListDocument

Super-types: None
Sub-types: None
Name CodeListDocument
Used by (from the same schema document) Element CodeList
Abstract no
Documentation Document type for the definition of a simple or derived code list.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

Start Choice [1]
<ColumnSet> gc:ColumnSet </ColumnSet> [1]

'Definition of a column set.'

<ColumnSetRef> gc:ColumnSetRef </ColumnSetRef> [1]

'Reference to a column set defined in an external column set or code list document.'

End Choice
Start Group: gc:OuterCodeListChoice [0..1]

'A choice between a simple code list definition and a derived code list definition. Not used if the code list document contains code list metadata only.'


Start Choice [1]
<DerivedCodeListRef> gc:CodeListRef </DerivedCodeListRef> [0..1]

'Reference to the derived code list of which this simple code list is a realisation.'

<SimpleCodeList> gc:SimpleCodeList </SimpleCodeList> [1]

'Definition of the simple code list.'

<DerivedCodeList> gc:DerivedCodeList </DerivedCodeList> [1]

'Definition of a derived code list.'

End Choice
End Group: gc:OuterCodeListChoice
</...>
Diagram
group_DocumentHeader group_ColumnSetChoice group_OuterCodeListChoice
Schema Component Representation
<xsd:complexType name="CodeListDocument">
<xsd:sequence>
<xsd:group ref=" gc:DocumentHeader "/>
<xsd:group ref=" gc:ColumnSetChoice "/>
<xsd:group ref=" gc:OuterCodeListChoice " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: CodeListRef

Super-types: None
Sub-types: None
Name CodeListRef
Used by (from the same schema document) Complex Type CodeListSetDocument , Model Group InnerCodeListChoice , Model Group SimpleCodeListSequence
Abstract no
Documentation Reference to a code list defined in an external document.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the referenced code list.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

</...>
Diagram
type_Annotation group_IdentificationRefUriSet
Schema Component Representation
<xsd:complexType name="CodeListRef">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:IdentificationRefUriSet "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: CodeListSetDocument

Super-types: None
Sub-types: None
Name CodeListSetDocument
Used by (from the same schema document) Element CodeListSet
Abstract no
Documentation Document type for the definition of a set of code lists.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

<CodeListRef> gc:CodeListRef </CodeListRef> [0..*]
</...>
Diagram
group_DocumentHeader type_CodeListRef
Schema Component Representation
<xsd:complexType name="CodeListSetDocument">
<xsd:sequence>
<xsd:group ref=" gc:DocumentHeader "/>
<xsd:element name="CodeListRef" type=" gc:CodeListRef " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: CodeListUnion

Super-types: None
Sub-types: None
Name CodeListUnion
Used by (from the same schema document) Model Group DerivedCodeListChoice , Model Group DerivedCodeListChoice
Abstract no
Documentation Union of one or more code lists.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the union.'

<Source> gc:InputCodeList </Source> [1..*]

'Source code list for the union.'

</...>
Diagram
type_Annotation type_InputCodeList
Schema Component Representation
<xsd:complexType name="CodeListUnion">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Source" type=" gc:InputCodeList " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Column

Super-types: None
Sub-types: None
Name Column
Used by (from the same schema document) Model Group ColumnChoice
Abstract no
Documentation Definition of a column.
XML Instance Representation
<...
Id=" xsd:ID [1]

'Unique ID within the document for the resource.'

"

Use=" gc:UseType [1]

'Whether the resource is required or optional.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User information about the column.'

<ShortName> gc:ShortName </ShortName> [1]

'Short name (token) for the resource.'

<LongName> gc:LongName </LongName> [0..*]

'Long name for the resource.'

Start Group: gc:IdentificationVersionUriSet [0..1]

'URIs used to identify the column and/or the version of the column.'


<CanonicalUri> xsd:anyURI </CanonicalUri> [1]

'Canonical URI which serves as a unique identifier for all versions of the resource.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [0..1]

'Canonical URI which serves as a unique identifier for the particular version of the resource.'

End Group: gc:IdentificationVersionUriSet
<Data> gc:Data </Data> [1]

'Data type of the column.'

</...>
Diagram
type_Annotation group_NameSet group_IdentificationVersionUriSet type_Data attributeGroup_IdDefinition attributeGroup_UseDefinition
Schema Component Representation
<xsd:complexType name="Column">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:NameSet "/>
<xsd:group ref=" gc:IdentificationVersionUriSet " minOccurs="0"/>
<xsd:element name="Data" type=" gc:Data "/>
</xsd:sequence>
<xsd:attributeGroup ref=" gc:IdDefinition "/>
<xsd:attributeGroup ref=" gc:UseDefinition "/>
</xsd:complexType>
top

Complex Type: ColumnRef

Super-types: None
Sub-types: None
Name ColumnRef
Used by (from the same schema document) Model Group ColumnChoice
Abstract no
Documentation Reference to a column defined in an external column set or code list.
XML Instance Representation
<...
Id=" xsd:ID [1]

'Unique ID within the document for the resource.'

"

ExternalRef=" xsd:token [1]

'Unique ID of the resource within the external document.'

"

Use=" gc:UseType [1]

'Whether the resource is required or optional.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the referenced column.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

<Data> gc:ColumnRefData </Data> [0..1]

'Restrictions to the data type of the referenced column.'

</...>
Diagram
type_Annotation group_IdentificationRefUriSet type_ColumnRefData attributeGroup_IdDefinition attributeGroup_ExternalReference attributeGroup_UseDefinition
Schema Component Representation
<xsd:complexType name="ColumnRef">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:IdentificationRefUriSet "/>
<xsd:element name="Data" type=" gc:ColumnRefData " minOccurs="0"/>
</xsd:sequence>
<xsd:attributeGroup ref=" gc:IdDefinition "/>
<xsd:attributeGroup ref=" gc:ExternalReference "/>
<xsd:attributeGroup ref=" gc:UseDefinition "/>
</xsd:complexType>
top

Complex Type: ColumnRefData

Super-types: None
Sub-types: None
Name ColumnRefData
Used by (from the same schema document) Complex Type ColumnRef
Abstract no
Documentation Restrictions to the data type of a referenced column.
XML Instance Representation
<...
xml:lang="[0..1]

'Language from which the data is taken or derived.'

"
>
<Parameter> gc:DatatypeFacet </Parameter> [0..*]

'Facet parameter which refines the datatype.'

</...>
Diagram
type_DatatypeFacet attribute_lang
Schema Component Representation
<xsd:complexType name="ColumnRefData">
<xsd:sequence>
<xsd:element name="Parameter" type=" gc:DatatypeFacet " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute ref=" xml:lang"/>
</xsd:complexType>
top

Complex Type: ColumnSet

Super-types: None
Sub-types: None
Name ColumnSet
Used by (from the same schema document) Model Group ColumnSetChoice
Abstract no
Documentation Definition of a column set.
XML Instance Representation
<...
DatatypeLibrary=" xsd:anyURI [0..1]

'URI which uniquely identifies the default datatype library for the column set. If not provided, defaults to the URI for W3C XML Schema datatypes.'

"
>
Start Group: gc:ColumnChoice [0..*]

'A choice between a column definition and a column reference.'


Start Choice [1]
<Column> gc:Column </Column> [1]

'Definition of a column.'

<ColumnRef> gc:ColumnRef </ColumnRef> [1]

'Reference to a column defined in an external column set or code list.'

End Choice
End Group: gc:ColumnChoice
Start Group: gc:KeyChoice [0..*]

'A choice between a key definition and a key reference.'


Start Choice [1]
<Key> gc:Key </Key> [1]

'Definition of a key.'

<KeyRef> gc:KeyRef </KeyRef> [1]

'Reference to a key defined in an external column set or code list.'

End Choice
End Group: gc:KeyChoice
</...>
Diagram
group_ColumnSetContent attributeGroup_DefaultDatatypeLibrary
Schema Component Representation
<xsd:complexType name="ColumnSet">
<xsd:group ref=" gc:ColumnSetContent "/>
<xsd:attributeGroup ref=" gc:DefaultDatatypeLibrary "/>
</xsd:complexType>
top

Complex Type: ColumnSetDocument

Super-types: None
Sub-types: None
Name ColumnSetDocument
Used by (from the same schema document) Element ColumnSet
Abstract no
Documentation Document type for the definition of a column set, which is a set of code list columns and/or keys.
XML Instance Representation
<...
DatatypeLibrary=" xsd:anyURI [0..1]

'URI which uniquely identifies the default datatype library for the column set. If not provided, defaults to the URI for W3C XML Schema datatypes.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

Start Group: gc:ColumnChoice [0..*]

'A choice between a column definition and a column reference.'


Start Choice [1]
<Column> gc:Column </Column> [1]

'Definition of a column.'

<ColumnRef> gc:ColumnRef </ColumnRef> [1]

'Reference to a column defined in an external column set or code list.'

End Choice
End Group: gc:ColumnChoice
Start Group: gc:KeyChoice [0..*]

'A choice between a key definition and a key reference.'


Start Choice [1]
<Key> gc:Key </Key> [1]

'Definition of a key.'

<KeyRef> gc:KeyRef </KeyRef> [1]

'Reference to a key defined in an external column set or code list.'

End Choice
End Group: gc:KeyChoice
</...>
Diagram
group_DocumentHeader group_ColumnSetContent attributeGroup_DefaultDatatypeLibrary
Schema Component Representation
<xsd:complexType name="ColumnSetDocument">
<xsd:sequence>
<xsd:group ref=" gc:DocumentHeader "/>
<xsd:group ref=" gc:ColumnSetContent "/>
</xsd:sequence>
<xsd:attributeGroup ref=" gc:DefaultDatatypeLibrary "/>
</xsd:complexType>
top

Complex Type: ColumnSetFilter

Super-types: None
Sub-types: None
Name ColumnSetFilter
Used by (from the same schema document) Model Group DerivedCodeListChoice , Model Group DerivedCodeListChoice , Model Group DerivedCodeListChoice
Abstract no
Documentation Definition of a column set filter.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the column set filter.'

<Source> gc:InputCodeList </Source> [1]

'Source code list for the column set filter.'

<Control> gc:InputColumnSet </Control> [1]

'Control column set for the column set filter.'

</...>
Diagram
type_Annotation type_InputCodeList type_InputColumnSet
Schema Component Representation
<xsd:complexType name="ColumnSetFilter">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Source" type=" gc:InputCodeList "/>
<xsd:element name="Control" type=" gc:InputColumnSet "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ColumnSetRef

Super-types: None
Sub-types: None
Name ColumnSetRef
Used by (from the same schema document) Model Group ColumnSetChoice
Abstract no
Documentation Reference to a column set defined in an external column set or code list document.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the referenced column set.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

</...>
Diagram
type_Annotation group_IdentificationRefUriSet
Schema Component Representation
<xsd:complexType name="ColumnSetRef">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:IdentificationRefUriSet "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Data

Super-types: None
Sub-types: None
Name Data
Used by (from the same schema document) Complex Type Column
Abstract no
Documentation Data type for a column.
XML Instance Representation
<...
Type=" xsd:token [1]

'Unique ID for the datatype within its datatype library.'

"

DatatypeLibrary=" xsd:anyURI [0..1]

'URI which uniquely identifies the datatype library. If not provided, the datatype library for the enclosing column set is used.'

"

xml:lang="[0..1]

'Language from which the data is taken or derived.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation for the datatype.'

<Parameter> gc:DatatypeFacet </Parameter> [0..*]

'Facet parameter which refines the datatype.'

</...>
Diagram
type_Annotation type_DatatypeFacet attribute_lang
Schema Component Representation
<xsd:complexType name="Data">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Parameter" type=" gc:DatatypeFacet " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="Type" type=" xsd:token " use="required"/>
<xsd:attribute name="DatatypeLibrary" type=" xsd:anyURI "/>
<xsd:attribute ref=" xml:lang"/>
</xsd:complexType>
top

Complex Type: DatatypeFacet

Super-types: xsd:string < DatatypeFacet (by extension)
Sub-types: None
Name DatatypeFacet
Used by (from the same schema document) Complex Type Data , Complex Type ColumnRefData
Abstract no
Documentation Facet information for refining a datatype.
XML Instance Representation
<...
ShortName=" xsd:token [1]

'Short name (token) for the datatype facet.'

"

LongName=" xsd:normalizedString [0..1]

'Long name for the datatype facet.'

"
>
xsd:string
</...>
Diagram
Schema Component Representation
<xsd:complexType name="DatatypeFacet">
<xsd:simpleContent>
<xsd:extension base=" xsd:string ">
<xsd:attribute name="ShortName" type=" xsd:token " use="required"/>
<xsd:attribute name="LongName" type=" xsd:normalizedString "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: DerivedCodeList

Super-types: None
Sub-types: None
Name DerivedCodeList
Used by (from the same schema document) Model Group OuterCodeListChoice , Model Group InnerCodeListChoice
Abstract no
Documentation Definition of a derived code list.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation for the code list.'

Start Choice [1]
<ColumnSetExclusion> gc:ColumnSetFilter </ColumnSetExclusion> [1]

'Definition of a column set exclusion filter.'

<ColumnSetInclusion> gc:ColumnSetFilter </ColumnSetInclusion> [1]

'Definition of a column set inclusion filter.'

<ColumnSetMatch> gc:ColumnSetFilter </ColumnSetMatch> [1]

'Definition of a column set match filter.'

<ColumnSetUnion> gc:CodeListUnion </ColumnSetUnion> [1]

'Definition of a column set union filter.'

<RowExclusion> gc:RowFilter </RowExclusion> [1]

'Definition of a row exclusion filter.'

<RowInclusion> gc:RowFilter </RowInclusion> [1]

'Definition of a row inclusion filter.'

<RowMatch> gc:RowFilter </RowMatch> [1]

'Definition of a row match filter.'

<RowUnion> gc:CodeListUnion </RowUnion> [1]

'Definition of a row union filter.'

End Choice
</...>
Diagram
type_Annotation group_DerivedCodeListChoice
Schema Component Representation
<xsd:complexType name="DerivedCodeList">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:DerivedCodeListChoice "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: GeneralIdentifier

Super-types: xsd:normalizedString < GeneralIdentifier (by extension)
Sub-types: None
Name GeneralIdentifier
Used by (from the same schema document) Complex Type Agency
Abstract no
Documentation An identifier for something. Typically not a long or short name.
XML Instance Representation
<...
Identifier=" xsd:normalizedString [0..1]

'A string which identifies one of a set of alternate values.'

"

xml:lang="[0..1]

'The language from which the value is taken or derived.'

"
>
xsd:normalizedString
</...>
Diagram
Schema Component Representation
<xsd:complexType name="GeneralIdentifier">
<xsd:simpleContent>
<xsd:extension base=" xsd:normalizedString ">
<xsd:attributeGroup ref=" gc:ValueIdentification "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: Identification

Super-types: None
Sub-types: None
Name Identification
Used by (from the same schema document) Model Group DocumentHeader
Abstract no
Documentation Identification and location information for a resource.
XML Instance Representation
<...>
<ShortName> gc:ShortName </ShortName> [1]

'Short name (token) for the resource.'

<LongName> gc:LongName </LongName> [0..*]

'Long name for the resource.'

<Version> xsd:token </Version> [1]

'Version of the resource.'

<CanonicalUri> xsd:anyURI </CanonicalUri> [1]

'Canonical URI which serves as a unique identifier for all versions of the resource.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

<AlternateFormatLocationUri> gc:MimeTypedUri </AlternateFormatLocationUri> [0..*]

'Suggested retrieval location for this version of the resource in a non-genericode format.'

<Agency> gc:Agency </Agency> [0..1]

'Agency that is responsible for the resource.'

</...>
Diagram
group_NameSet group_IdentificationUriSet type_Agency
Schema Component Representation
<xsd:complexType name="Identification">
<xsd:sequence>
<xsd:group ref=" gc:NameSet "/>
<xsd:element name="Version" type=" xsd:token "/>
<xsd:element name="CanonicalUri" type=" xsd:anyURI "/>
<xsd:group ref=" gc:IdentificationUriSet "/>
<xsd:element name="Agency" type=" gc:Agency " minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: InputCodeList

Super-types: None
Sub-types: None
Name InputCodeList
Used by (from the same schema document) Complex Type RowFilter , Complex Type RowFilter , Complex Type CodeListUnion , Complex Type ColumnSetFilter
Abstract no
Documentation Input code list for a code list filter or union.
XML Instance Representation
<...>
Start Choice [1]
<SimpleCodeList> gc:SimpleCodeList </SimpleCodeList> [1]

'Definition of a simple code list.'

<DerivedCodeList> gc:DerivedCodeList </DerivedCodeList> [1]

'Definition of a derived code list.'

<CodeListRef> gc:CodeListRef </CodeListRef> [1]

'Reference to a code list defined in an external document.'

End Choice
</...>
Diagram
group_InnerCodeListChoice
Schema Component Representation
<xsd:complexType name="InputCodeList">
<xsd:group ref=" gc:InnerCodeListChoice "/>
</xsd:complexType>
top

Complex Type: InputColumnSet

Super-types: None
Sub-types: None
Name InputColumnSet
Used by (from the same schema document) Complex Type ColumnSetFilter
Abstract no
Documentation Input column set for a code list filter.
XML Instance Representation
<...>
Start Choice [1]
<ColumnSet> gc:ColumnSet </ColumnSet> [1]

'Definition of a column set.'

<ColumnSetRef> gc:ColumnSetRef </ColumnSetRef> [1]

'Reference to a column set defined in an external column set or code list document.'

End Choice
</...>
Diagram
group_ColumnSetChoice
Schema Component Representation
<xsd:complexType name="InputColumnSet">
<xsd:group ref=" gc:ColumnSetChoice "/>
</xsd:complexType>
top

Complex Type: Key

Super-types: None
Sub-types: None
Name Key
Used by (from the same schema document) Model Group KeyChoice
Abstract no
Documentation Definition of a key.
XML Instance Representation
<...
Id=" xsd:ID [1]

'Unique ID within the document for the resource.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the key.'

<ShortName> gc:ShortName </ShortName> [1]

'Short name (token) for the resource.'

<LongName> gc:LongName </LongName> [0..*]

'Long name for the resource.'

Start Group: gc:IdentificationVersionUriSet [0..1]

'URIs used to identify the key and/or the version of the key.'


<CanonicalUri> xsd:anyURI </CanonicalUri> [1]

'Canonical URI which serves as a unique identifier for all versions of the resource.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [0..1]

'Canonical URI which serves as a unique identifier for the particular version of the resource.'

End Group: gc:IdentificationVersionUriSet
<ColumnRef> gc:KeyColumnRef </ColumnRef> [1..*]

'References to the document IDs of the columns which make up the key. Only required columns can form part of a key.'

</...>
Diagram
type_Annotation group_NameSet group_IdentificationVersionUriSet type_KeyColumnRef attributeGroup_IdDefinition
Schema Component Representation
<xsd:complexType name="Key">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:NameSet "/>
<xsd:group ref=" gc:IdentificationVersionUriSet " minOccurs="0"/>
<xsd:element name="ColumnRef" type=" gc:KeyColumnRef " maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attributeGroup ref=" gc:IdDefinition "/>
</xsd:complexType>
top

Complex Type: KeyColumnRef

Super-types: None
Sub-types: None
Name KeyColumnRef
Used by (from the same schema document) Complex Type Key
Abstract no
Documentation Reference to a column which forms part of a key.
XML Instance Representation
<...
Ref=" xsd:IDREF [1]

'Reference to the ID of the column within the document.'

"
>
<Annotation> [0..1]

'User annotation about the column.'


<Description/> [0..1]
<AppInfo/> [0..1]
</Annotation>
</...>
Diagram
Schema Component Representation
<xsd:complexType name="KeyColumnRef">
<xsd:sequence>
<xsd:element name="Annotation" minOccurs="0" form="unqualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Description" minOccurs="0" form="unqualified">
<xsd:complexType/>
</xsd:element>
<xsd:element name="AppInfo" minOccurs="0" form="unqualified">
<xsd:complexType/>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Ref" type=" xsd:IDREF " use="required"/>
</xsd:complexType>
top

Complex Type: KeyRef

Super-types: None
Sub-types: None
Name KeyRef
Used by (from the same schema document) Model Group KeyChoice
Abstract no
Documentation Reference to a key defined in an external column set or code list.
XML Instance Representation
<...
Id=" xsd:ID [1]

'Unique ID within the document for the resource.'

"

ExternalRef=" xsd:token [1]

'Unique ID of the resource within the external document.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the referenced key.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

</...>
Diagram
type_Annotation group_IdentificationRefUriSet attributeGroup_IdDefinition attributeGroup_ExternalReference
Schema Component Representation
<xsd:complexType name="KeyRef">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:IdentificationRefUriSet "/>
</xsd:sequence>
<xsd:attributeGroup ref=" gc:IdDefinition "/>
<xsd:attributeGroup ref=" gc:ExternalReference "/>
</xsd:complexType>
top

Complex Type: LongName

Super-types: xsd:normalizedString < LongName (by extension)
Sub-types: None
Name LongName
Used by (from the same schema document) Model Group NameSet , Complex Type Agency
Abstract no
Documentation A human-readable name.
XML Instance Representation
<...
Identifier=" xsd:normalizedString [0..1]

'A string which identifies one of a set of alternate values.'

"

xml:lang="[0..1]

'The language from which the value is taken or derived.'

"
>
xsd:normalizedString
</...>
Diagram
Schema Component Representation
<xsd:complexType name="LongName">
<xsd:simpleContent>
<xsd:extension base=" xsd:normalizedString ">
<xsd:attributeGroup ref=" gc:ValueIdentification "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: MimeTypedUri

Super-types: xsd:anyURI < MimeTypedUri (by extension)
Sub-types: None
Name MimeTypedUri
Used by (from the same schema document) Model Group IdentificationUriSet
Abstract no
Documentation URI for a resource, with support for specifying the MIME type.
XML Instance Representation
<...
MimeType=" xsd:normalizedString [0..1]

'MIME type of the resource which can be retrieved from the URI.'

"
>
xsd:anyURI
</...>
Diagram
Schema Component Representation
<xsd:complexType name="MimeTypedUri">
<xsd:simpleContent>
<xsd:extension base=" xsd:anyURI ">
<xsd:attribute name="MimeType" type=" xsd:normalizedString "/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: Row

Super-types: None
Sub-types: None
Name Row
Used by (from the same schema document) Complex Type SimpleCodeList
Abstract no
Documentation Row which represents a conceptual code in a code list.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the row.'

<Value> gc:Value </Value> [1..*]

'Column value for the row.'

</...>
Diagram
type_Annotation type_Value
Schema Component Representation
<xsd:complexType name="Row">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Value" type=" gc:Value " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: RowFilter

Super-types: None
Sub-types: None
Name RowFilter
Used by (from the same schema document) Model Group DerivedCodeListChoice , Model Group DerivedCodeListChoice , Model Group DerivedCodeListChoice
Abstract no
Documentation Definition of a row filter.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation for the row filter.'

<Source> gc:InputCodeList </Source> [1]

'Source code list for the row filter.'

<Control> gc:InputCodeList </Control> [1]

'Control code list for the row filter.'

</...>
Diagram
type_Annotation type_InputCodeList type_InputCodeList
Schema Component Representation
<xsd:complexType name="RowFilter">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Source" type=" gc:InputCodeList "/>
<xsd:element name="Control" type=" gc:InputCodeList "/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ShortName

Super-types: xsd:token < ShortName (by extension)
Sub-types: None
Name ShortName
Used by (from the same schema document) Model Group NameSet , Complex Type Agency
Abstract no
Documentation A short name without whitespace that is suitable for use in generating names for software artefacts.
XML Instance Representation
<...
xml:lang="[0..1]

'The language from which the short name is taken or derived.'

"
>
xsd:token
</...>
Diagram
Schema Component Representation
<xsd:complexType name="ShortName">
<xsd:simpleContent>
<xsd:extension base=" xsd:token ">
<xsd:attribute ref=" xml:lang"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: SimpleCodeList

Super-types: None
Sub-types: None
Name SimpleCodeList
Used by (from the same schema document) Model Group InnerCodeListChoice , Model Group SimpleCodeListSequence
Abstract no
Documentation Definition of a simple code list.
XML Instance Representation
<...>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation for the code list.'

<Row> gc:Row </Row> [0..*]

'Row which represents a conceptual code in a code list.'

</...>
Diagram
type_Annotation type_Row
Schema Component Representation
<xsd:complexType name="SimpleCodeList">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Row" type=" gc:Row " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: SimpleValue

Super-types: xsd:string < SimpleValue (by extension)
Sub-types: None
Name SimpleValue
Used by (from the same schema document) Model Group ValueChoice
Abstract no
Documentation Simple textual value.
XML Instance Representation
<...>
xsd:string
</...>
Diagram
Schema Component Representation
<xsd:complexType name="SimpleValue">
<xsd:simpleContent>
<xsd:extension base=" xsd:string "/>
</xsd:simpleContent>
</xsd:complexType>
top

Complex Type: Value

Super-types: None
Sub-types: None
Name Value
Used by (from the same schema document) Complex Type Row
Abstract no
Documentation Individual value from a row which represents a conceptual value in a code list.
XML Instance Representation
<...
ColumnRef=" xsd:IDREF [0..1]

'Reference to the ID of a column in the document.'

"
>
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation about the value.'

Start Choice [1]
<SimpleValue> gc:SimpleValue </SimpleValue> [1]

'Simple textual value.'

<ComplexValue> gc:AnyOtherContent </ComplexValue> [1]

'Complex (structured) XML value.'

End Choice
</...>
Diagram
type_Annotation group_ValueChoice attributeGroup_ColumnReference
Schema Component Representation
<xsd:complexType name="Value">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:group ref=" gc:ValueChoice "/>
</xsd:sequence>
<xsd:attributeGroup ref=" gc:ColumnReference "/>
</xsd:complexType>
top

Model Group: ColumnChoice

Name ColumnChoice
Used by (from the same schema document) Model Group ColumnSetContent
Documentation A choice between a column definition and a column reference.
XML Instance Representation
Start Choice [1]
<Column> gc:Column </Column> [1]

'Definition of a column.'

<ColumnRef> gc:ColumnRef </ColumnRef> [1]

'Reference to a column defined in an external column set or code list.'

End Choice
Diagram
type_Column type_ColumnRef
Schema Component Representation
<xsd:group name="ColumnChoice">
<xsd:choice>
<xsd:element name="Column" type=" gc:Column "/>
<xsd:element name="ColumnRef" type=" gc:ColumnRef "/>
</xsd:choice>
</xsd:group>
top

Model Group: ColumnSetChoice

Name ColumnSetChoice
Used by (from the same schema document) Complex Type CodeListDocument , Complex Type InputColumnSet
Documentation A choice between a column set definition and a column set reference.
XML Instance Representation
Start Choice [1]
<ColumnSet> gc:ColumnSet </ColumnSet> [1]

'Definition of a column set.'

<ColumnSetRef> gc:ColumnSetRef </ColumnSetRef> [1]

'Reference to a column set defined in an external column set or code list document.'

End Choice
Diagram
type_ColumnSet type_ColumnSetRef
Schema Component Representation
<xsd:group name="ColumnSetChoice">
<xsd:choice>
<xsd:element name="ColumnSet" type=" gc:ColumnSet "/>
<xsd:element name="ColumnSetRef" type=" gc:ColumnSetRef "/>
</xsd:choice>
</xsd:group>
top

Model Group: ColumnSetContent

Name ColumnSetContent
Used by (from the same schema document) Complex Type ColumnSetDocument , Complex Type ColumnSet
Documentation Specific details of a column set.
XML Instance Representation
Start Group: gc:ColumnChoice [0..*]

'A choice between a column definition and a column reference.'


Start Choice [1]
<Column> gc:Column </Column> [1]

'Definition of a column.'

<ColumnRef> gc:ColumnRef </ColumnRef> [1]

'Reference to a column defined in an external column set or code list.'

End Choice
End Group: gc:ColumnChoice
Start Group: gc:KeyChoice [0..*]

'A choice between a key definition and a key reference.'


Start Choice [1]
<Key> gc:Key </Key> [1]

'Definition of a key.'

<KeyRef> gc:KeyRef </KeyRef> [1]

'Reference to a key defined in an external column set or code list.'

End Choice
End Group: gc:KeyChoice
Diagram
group_ColumnChoice group_KeyChoice
Schema Component Representation
<xsd:group name="ColumnSetContent">
<xsd:sequence>
<xsd:group ref=" gc:ColumnChoice " minOccurs="0" maxOccurs="unbounded"/>
<xsd:group ref=" gc:KeyChoice " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:group>
top

Model Group: DerivedCodeListChoice

Name DerivedCodeListChoice
Used by (from the same schema document) Complex Type DerivedCodeList
Documentation A choice of one of the different types of derived code list definition.
XML Instance Representation
Start Choice [1]
<ColumnSetExclusion> gc:ColumnSetFilter </ColumnSetExclusion> [1]

'Definition of a column set exclusion filter.'

<ColumnSetInclusion> gc:ColumnSetFilter </ColumnSetInclusion> [1]

'Definition of a column set inclusion filter.'

<ColumnSetMatch> gc:ColumnSetFilter </ColumnSetMatch> [1]

'Definition of a column set match filter.'

<ColumnSetUnion> gc:CodeListUnion </ColumnSetUnion> [1]

'Definition of a column set union filter.'

<RowExclusion> gc:RowFilter </RowExclusion> [1]

'Definition of a row exclusion filter.'

<RowInclusion> gc:RowFilter </RowInclusion> [1]

'Definition of a row inclusion filter.'

<RowMatch> gc:RowFilter </RowMatch> [1]

'Definition of a row match filter.'

<RowUnion> gc:CodeListUnion </RowUnion> [1]

'Definition of a row union filter.'

End Choice
Diagram
type_ColumnSetFilter type_ColumnSetFilter type_ColumnSetFilter type_CodeListUnion type_RowFilter type_RowFilter type_RowFilter type_CodeListUnion
Schema Component Representation
<xsd:group name="DerivedCodeListChoice">
<xsd:choice>
<xsd:element name="ColumnSetExclusion" type=" gc:ColumnSetFilter "/>
<xsd:element name="ColumnSetInclusion" type=" gc:ColumnSetFilter "/>
<xsd:element name="ColumnSetMatch" type=" gc:ColumnSetFilter "/>
<xsd:element name="ColumnSetUnion" type=" gc:CodeListUnion "/>
<xsd:element name="RowExclusion" type=" gc:RowFilter "/>
<xsd:element name="RowInclusion" type=" gc:RowFilter "/>
<xsd:element name="RowMatch" type=" gc:RowFilter "/>
<xsd:element name="RowUnion" type=" gc:CodeListUnion "/>
</xsd:choice>
</xsd:group>
top

Model Group: DocumentHeader

Name DocumentHeader
Used by (from the same schema document) Complex Type ColumnSetDocument , Complex Type CodeListDocument , Complex Type CodeListSetDocument
Documentation General document information.
XML Instance Representation
<Annotation> gc:Annotation </Annotation> [0..1]

'User annotation information for the document.'

<Identification> gc:Identification </Identification> [1]

'Identification and location information for the resource defined by the document.'

Diagram
type_Annotation type_Identification
Schema Component Representation
<xsd:group name="DocumentHeader">
<xsd:sequence>
<xsd:element name="Annotation" type=" gc:Annotation " minOccurs="0"/>
<xsd:element name="Identification" type=" gc:Identification "/>
</xsd:sequence>
</xsd:group>
top

Model Group: IdentificationRefUriSet

Name IdentificationRefUriSet
Used by (from the same schema document) Complex Type ColumnRef , Complex Type KeyRef , Complex Type ColumnSetRef , Complex Type CodeListRef
Documentation Identification and location URIs for a resource.
XML Instance Representation
<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

Diagram
Schema Component Representation
<xsd:group name="IdentificationRefUriSet">
<xsd:sequence>
<xsd:element name="CanonicalVersionUri" type=" xsd:anyURI " form="unqualified"/>
<xsd:element name="LocationUri" type=" xsd:anyURI " minOccurs="0" maxOccurs="unbounded" form="unqualified"/>
</xsd:sequence>
</xsd:group>
top

Model Group: IdentificationUriSet

Name IdentificationUriSet
Used by (from the same schema document) Complex Type Identification
Documentation Identification and location URIs for a resource.
XML Instance Representation
<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [1]

'Canonical URI which serves as a unique identifier for this version of the resource.'

<LocationUri> xsd:anyURI </LocationUri> [0..*]

'Suggested retrieval location for this version of the resource in genericode format.'

<AlternateFormatLocationUri> gc:MimeTypedUri </AlternateFormatLocationUri> [0..*]

'Suggested retrieval location for this version of the resource in a non-genericode format.'

Diagram
type_MimeTypedUri
Schema Component Representation
<xsd:group name="IdentificationUriSet">
<xsd:sequence>
<xsd:element name="CanonicalVersionUri" type=" xsd:anyURI "/>
<xsd:element name="LocationUri" type=" xsd:anyURI " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="AlternateFormatLocationUri" type=" gc:MimeTypedUri " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:group>
top

Model Group: IdentificationVersionUriSet

Name IdentificationVersionUriSet
Used by (from the same schema document) Complex Type Column , Complex Type Key
Documentation URIs used to identify a particular resource and/or the version of the resource.
XML Instance Representation
<CanonicalUri> xsd:anyURI </CanonicalUri> [1]

'Canonical URI which serves as a unique identifier for all versions of the resource.'

<CanonicalVersionUri> xsd:anyURI </CanonicalVersionUri> [0..1]

'Canonical URI which serves as a unique identifier for the particular version of the resource.'

Diagram
Schema Component Representation
<xsd:group name="IdentificationVersionUriSet">
<xsd:sequence>
<xsd:element name="CanonicalUri" type=" xsd:anyURI "/>
<xsd:element name="CanonicalVersionUri" type=" xsd:anyURI " minOccurs="0"/>
</xsd:sequence>
</xsd:group>
top

Model Group: InnerCodeListChoice

Name InnerCodeListChoice
Used by (from the same schema document) Complex Type InputCodeList
Documentation A choice between a simple code list definition, a derived code list definition, or a reference to a code list defined in an external document.
XML Instance Representation
Start Choice [1]
<SimpleCodeList> gc:SimpleCodeList </SimpleCodeList> [1]

'Definition of a simple code list.'

<DerivedCodeList> gc:DerivedCodeList </DerivedCodeList> [1]

'Definition of a derived code list.'

<CodeListRef> gc:CodeListRef </CodeListRef> [1]

'Reference to a code list defined in an external document.'

End Choice
Diagram
type_SimpleCodeList type_DerivedCodeList type_CodeListRef
Schema Component Representation
<xsd:group name="InnerCodeListChoice">
<xsd:choice>
<xsd:element name="SimpleCodeList" type=" gc:SimpleCodeList "/>
<xsd:element name="DerivedCodeList" type=" gc:DerivedCodeList "/>
<xsd:element name="CodeListRef" type=" gc:CodeListRef "/>
</xsd:choice>
</xsd:group>
top

Model Group: KeyChoice

Name KeyChoice
Used by (from the same schema document) Model Group ColumnSetContent
Documentation A choice between a key definition and a key reference.
XML Instance Representation
Start Choice [1]
<Key> gc:Key </Key> [1]

'Definition of a key.'

<KeyRef> gc:KeyRef </KeyRef> [1]

'Reference to a key defined in an external column set or code list.'

End Choice
Diagram
type_Key type_KeyRef
Schema Component Representation
<xsd:group name="KeyChoice">
<xsd:choice>
<xsd:element name="Key" type=" gc:Key "/>
<xsd:element name="KeyRef" type=" gc:KeyRef "/>
</xsd:choice>
</xsd:group>
top

Model Group: NameSet

Name NameSet
Used by (from the same schema document) Complex Type Identification , Complex Type Column , Complex Type Key
Documentation Name(s) for a resource.
XML Instance Representation
<ShortName> gc:ShortName </ShortName> [1]

'Short name (token) for the resource.'

<LongName> gc:LongName </LongName> [0..*]

'Long name for the resource.'

Diagram
type_ShortName type_LongName
Schema Component Representation
<xsd:group name="NameSet">
<xsd:sequence>
<xsd:element name="ShortName" type=" gc:ShortName "/>
<xsd:element name="LongName" type=" gc:LongName " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:group>
top

Model Group: OuterCodeListChoice

Name OuterCodeListChoice
Used by (from the same schema document) Complex Type CodeListDocument
Documentation A choice between a simple code list definition and a derived code list definition.
XML Instance Representation
Start Choice [1]
<DerivedCodeListRef> gc:CodeListRef </DerivedCodeListRef> [0..1]

'Reference to the derived code list of which this simple code list is a realisation.'

<SimpleCodeList> gc:SimpleCodeList </SimpleCodeList> [1]

'Definition of the simple code list.'

<DerivedCodeList> gc:DerivedCodeList </DerivedCodeList> [1]

'Definition of a derived code list.'

End Choice
Diagram
group_SimpleCodeListSequence type_DerivedCodeList
Schema Component Representation
<xsd:group name="OuterCodeListChoice">
<xsd:choice>
<xsd:group ref=" gc:SimpleCodeListSequence "/>
<xsd:element name="DerivedCodeList" type=" gc:DerivedCodeList "/>
</xsd:choice>
</xsd:group>
top

Model Group: SimpleCodeListSequence

Name SimpleCodeListSequence
Used by (from the same schema document) Model Group OuterCodeListChoice
Documentation Details of a simple code list definition.
XML Instance Representation
<DerivedCodeListRef> gc:CodeListRef </DerivedCodeListRef> [0..1]

'Reference to the derived code list of which this simple code list is a realisation.'

<SimpleCodeList> gc:SimpleCodeList </SimpleCodeList> [1]

'Definition of the simple code list.'

Diagram
type_CodeListRef type_SimpleCodeList
Schema Component Representation
<xsd:group name="SimpleCodeListSequence">
<xsd:sequence>
<xsd:element name="DerivedCodeListRef" type=" gc:CodeListRef " minOccurs="0"/>
<xsd:element name="SimpleCodeList" type=" gc:SimpleCodeList "/>
</xsd:sequence>
</xsd:group>
top

Model Group: ValueChoice

Name ValueChoice
Used by (from the same schema document) Complex Type Value
Documentation A choice between a simple textual value and a complex (structured) XML value.
XML Instance Representation
Start Choice [1]
<SimpleValue> gc:SimpleValue </SimpleValue> [1]

'Simple textual value.'

<ComplexValue> gc:AnyOtherContent </ComplexValue> [1]

'Complex (structured) XML value.'

End Choice
Diagram
type_SimpleValue type_AnyOtherContent
Schema Component Representation
<xsd:group name="ValueChoice">
<xsd:choice>
<xsd:element name="SimpleValue" type=" gc:SimpleValue "/>
<xsd:element name="ComplexValue" type=" gc:AnyOtherContent "/>
</xsd:choice>
</xsd:group>
top

Simple Type: UseType

Super-types: xsd:token < UseType (by restriction)
Sub-types: None
Name UseType
Used by (from the same schema document) Attribute Group UseDefinition
Content
  • Base XSD Type: token
  • value comes from list: {'optional'|'required'}
Documentation Indicates whether the usage of a resource is required or optional.
Diagram
Schema Component Representation
<xsd:simpleType name="UseType">
<xsd:restriction base=" xsd:token ">
<xsd:enumeration value="optional"/>
<xsd:enumeration value="required"/>
</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