Table of Contents
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 >
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>
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.'
</
gc :CodeListSet>
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>
Name
ColumnReference
Used by (from the same schema document)
Complex Type
Value
Documentation
Attribute set for referring to a column definition within the document.
Schema Component Representation
<
xsd:attributeGroup
name ="
ColumnReference ">
<
xsd:attribute
name ="
ColumnRef "
type ="
xsd :IDREF
"/>
</
xsd:attributeGroup >
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.
Schema Component Representation
<
xsd:attributeGroup
name ="
DefaultDatatypeLibrary ">
<
xsd:attribute
name ="
DatatypeLibrary "
type ="
xsd :anyURI
"
default ="
http://www.w3.org/2001/XMLSchema-datatypes "/>
</
xsd:attributeGroup >
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.
Schema Component Representation
<
xsd:attributeGroup
name ="
ExternalReference ">
<
xsd:attribute
name ="
ExternalRef "
type ="
xsd :token
"
use ="
required "/>
</
xsd:attributeGroup >
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.
Schema Component Representation
<
xsd:attributeGroup
name ="
IdDefinition ">
<
xsd:attribute
name ="
Id "
type ="
xsd :ID
"
use ="
required "/>
</
xsd:attributeGroup >
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.
Schema Component Representation
<
xsd:attributeGroup
name ="
UseDefinition ">
<
xsd:attribute
name ="
Use "
type ="
gc :UseType
"
use ="
required "/>
</
xsd:attributeGroup >
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.'
"
Schema Component Representation
<
xsd:attributeGroup
name ="
ValueIdentification ">
<
xsd:attribute
name ="
Identifier "
type ="
xsd :normalizedString
"/>
<
xsd:attribute
ref ="
xml :lang "/>
</
xsd:attributeGroup >
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.'
</...>
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 >
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
<...>
<AppInfo>
gc :AnyOtherContent
</AppInfo>
[0..1]
'Machine-readable information about the resource.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
Annotation ">
<
xsd:sequence >
</
xsd:sequence >
</
xsd:complexType >
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..*]
</...>
Schema Component Representation
<
xsd:complexType
name ="
AnyOtherContent ">
<
xsd:sequence >
<xsd:any
namespace ="##other " minOccurs ="0 " maxOccurs ="unbounded " processContents ="lax "/>
</
xsd:sequence >
</
xsd:complexType >
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..*]
</...>
Schema Component Representation
<
xsd:complexType
name ="
AnyOtherLanguageContent ">
<
xsd:sequence >
<xsd:any
minOccurs ="0 " maxOccurs ="unbounded "/>
</
xsd:sequence >
<
xsd:attribute
ref ="
xml :lang "/>
</
xsd:complexType >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
CodeListDocument ">
<
xsd:sequence >
</
xsd:sequence >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
CodeListRef ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
CodeListSetDocument ">
<
xsd:sequence >
<
xsd:element
name ="
CodeListRef "
type ="
gc :CodeListRef
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
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.'
</...>
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 >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
Column ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
<
xsd:element
name ="
Data "
type ="
gc :Data
"/>
</
xsd:sequence >
</
xsd:complexType >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
ColumnRef ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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.'
</...>
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 >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
ColumnSet ">
</
xsd:complexType >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
ColumnSetDocument ">
<
xsd:sequence >
</
xsd:sequence >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
ColumnSetFilter ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
ColumnSetRef ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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.'
</...>
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 >
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
</...>
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 >
Super-types:
None
Sub-types:
None
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
DerivedCodeList ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
GeneralIdentifier ">
<
xsd:simpleContent >
<
xsd:extension
base ="
xsd :normalizedString
">
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
Identification ">
<
xsd:sequence >
<
xsd:element
name ="
Version "
type ="
xsd :token
"/>
<
xsd:element
name ="
CanonicalUri "
type ="
xsd :anyURI
"/>
<
xsd:element
name ="
Agency "
type ="
gc :Agency
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
Super-types:
None
Sub-types:
None
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
InputCodeList ">
</
xsd:complexType >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
InputColumnSet ">
</
xsd:complexType >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
Key ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
<
xsd:element
name ="
ColumnRef "
type ="
gc :KeyColumnRef
"
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:complexType >
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>
</...>
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 >
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
KeyRef ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
LongName ">
<
xsd:simpleContent >
<
xsd:extension
base ="
xsd :normalizedString
">
</
xsd:extension >
</
xsd:simpleContent >
</
xsd:complexType >
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
</...>
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 >
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.'
</...>
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 >
Super-types:
None
Sub-types:
None
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.'
</...>
Schema Component Representation
<
xsd:complexType
name ="
RowFilter ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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
</...>
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 >
Super-types:
None
Sub-types:
None
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.'
</...>
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 >
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.
Schema Component Representation
<
xsd:complexType
name ="
SimpleValue ">
<
xsd:simpleContent >
<
xsd:extension
base ="
xsd :string
"/>
</
xsd:simpleContent >
</
xsd:complexType >
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
</...>
Schema Component Representation
<
xsd:complexType
name ="
Value ">
<
xsd:sequence >
<
xsd:element
name ="
Annotation "
type ="
gc :Annotation
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:complexType >
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
Schema Component Representation
<
xsd:group
name ="
ColumnChoice ">
<
xsd:choice >
<
xsd:element
name ="
Column "
type ="
gc :Column
"/>
</
xsd:choice >
</
xsd:group >
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
Schema Component Representation
<
xsd:group
name ="
ColumnSetChoice ">
<
xsd:choice >
</
xsd:choice >
</
xsd:group >
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
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 >
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
Schema Component Representation
<
xsd:group
name ="
DerivedCodeListChoice ">
<
xsd:choice >
<
xsd:element
name ="
RowExclusion "
type ="
gc :RowFilter
"/>
<
xsd:element
name ="
RowInclusion "
type ="
gc :RowFilter
"/>
</
xsd:choice >
</
xsd:group >
XML Instance Representation
Schema Component Representation
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.'
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 >
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.'
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 >
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.'
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 >
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
Schema Component Representation
<
xsd:group
name ="
InnerCodeListChoice ">
<
xsd:choice >
</
xsd:choice >
</
xsd:group >
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
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 >
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.'
Schema Component Representation
<
xsd:group
name ="
NameSet ">
<
xsd:sequence >
<
xsd:element
name ="
LongName "
type ="
gc :LongName
"
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xsd:sequence >
</
xsd:group >
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
Schema Component Representation
<
xsd:group
name ="
OuterCodeListChoice ">
<
xsd:choice >
</
xsd:choice >
</
xsd:group >
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.'
Schema Component Representation
<
xsd:group
name ="
SimpleCodeListSequence ">
<
xsd:sequence >
<
xsd:element
name ="
DerivedCodeListRef "
type ="
gc :CodeListRef
"
minOccurs ="
0 "/>
</
xsd:sequence >
</
xsd:group >
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
Schema Component Representation
<
xsd:group
name ="
ValueChoice ">
<
xsd:choice >
</
xsd:choice >
</
xsd:group >
Super-types:
xsd :token < UseType (by restriction)
Sub-types:
None
Name
UseType
Used by (from the same schema document)
Attribute Group
UseDefinition
Content
value comes from list: {'optional'|'required'}
Documentation
Indicates whether the usage of a resource is required or optional.
Schema Component Representation
<
xsd:simpleType
name ="
UseType ">
<
xsd:restriction
base ="
xsd :token
">
<xsd:enumeration
value ="optional "/>
<xsd:enumeration
value ="required "/>
</
xsd:restriction >
</
xsd:simpleType >
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.
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.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it.
For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
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.)
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 .