Table of Contents
Target Namespace
http://schemas.microsoft.com/ado/2008/09/edm
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations belong to this schema's target namespace.
By default, local attribute declarations have no namespace.
Schema Composition
This schema imports schema(s) from the following namespace(s):http://schemas.microsoft.com/ado/2006/04/codegeneration (at System.Data.Resources.CodeGenerationSchema.xsd)http://schemas.microsoft.com/ado/2009/02/edm/annotation (at System.Data.Resources.AnnotationSchema.xsd)
Documentation
Common Data Model Schema Definition Language.
Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
edm
http://schemas.microsoft.com/ado/2008/09/edm
cg
http://schemas.microsoft.com/ado/2006/04/codegeneration
annotation
http://schemas.microsoft.com/ado/2009/02/edm/annotation
xs
http://www.w3.org/2001/XMLSchema
Schema Component Representation
<
xs:schema elementFormDefault ="
qualified "
attributeFormDefault ="
unqualified "
targetNamespace ="
http://schemas.microsoft.com/ado/2008/09/edm ">
<xs:import namespace ="http://schemas.microsoft.com/ado/2006/04/codegeneration " schemaLocation ="System.Data.Resources.CodeGenerationSchema.xsd "/>
<xs:import namespace ="http://schemas.microsoft.com/ado/2009/02/edm/annotation " schemaLocation ="System.Data.Resources.AnnotationSchema.xsd "/>
...
</
xs:schema >
XML Instance Representation
<
edm :EntityContainer
Name="edm :TSimpleIdentifier [1] " Extends="edm :TSimpleIdentifier [0..1] " cg :TypeAccess ="[0..1] " annotation :LazyLoadingEnabled ="[0..1] " Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Start Choice [0..*] <
edm :AssociationSet
Name="edm :TSimpleIdentifier [1] " Association="edm :TQualifiedName [1] " Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
[1] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</
edm :AssociationSet>
End Choice Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</
edm :EntityContainer>
Schema Component Representation
<
xs:element name ="
EntityContainer ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:choice minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:element name ="
FunctionImport ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
EntitySet ">
<
xs:complexType >
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute processContents ="lax " namespace ="##other "/>
</
xs:complexType >
</
xs:element >
<
xs:element name ="
AssociationSet ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
End "
minOccurs ="
0 "
maxOccurs ="
2 ">
<
xs:complexType >
<
xs:sequence >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
</
xs:element >
</
xs:choice >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
</
xs:element >
Name
TCommonPropertyAttributes
Schema Component Representation
<
xs:attributeGroup name ="
TCommonPropertyAttributes ">
<
xs:attribute name ="
Nullable "
type ="
xs :boolean"
default ="
true "
use ="
optional "/>
<
xs:attribute name ="
DefaultValue "
type ="
xs :string"
use ="
optional "/>
</
xs:attributeGroup >
Name
TDerivableTypeAttributes
Schema Component Representation
<
xs:attributeGroup name ="
TDerivableTypeAttributes ">
<
xs:attribute name ="
Abstract "
type ="
xs :boolean"
use ="
optional "
default ="
false "/>
</
xs:attributeGroup >
Name
TEntitySetAttributes
Schema Component Representation
<
xs:attributeGroup name ="
TEntitySetAttributes ">
</
xs:attributeGroup >
Schema Component Representation
<
xs:attributeGroup name ="
TFacetAttributes ">
<
xs:attribute name ="
Nullable "
type ="
xs :boolean"
use ="
optional "/>
<
xs:attribute name ="
DefaultValue "
type ="
xs :string"
use ="
optional "/>
</
xs:attributeGroup >
Name
TFunctionImportAttributes
Schema Component Representation
<
xs:attributeGroup name ="
TFunctionImportAttributes ">
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:attributeGroup >
Name
TFunctionImportParameterAttributes
Schema Component Representation
<
xs:attributeGroup name ="
TFunctionImportParameterAttributes ">
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:attributeGroup >
Schema Component Representation
<
xs:attributeGroup name ="
TTypeAttributes ">
</
xs:attributeGroup >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Name="edm :TSimpleIdentifier [1] " Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TAssociation ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
ReferentialConstraint "
type ="
edm :TConstraint "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TAssociationEnd ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TCollectionType ">
<
xs:sequence minOccurs ="
1 "
maxOccurs ="
1 ">
<
xs:choice minOccurs ="
0 "
maxOccurs ="
1 ">
<
xs:element name ="
CollectionType "
type ="
edm :TCollectionType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
ReferenceType "
type ="
edm :TReferenceType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
RowType "
type ="
edm :TRowType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
TypeRef "
type ="
edm :TTypeRef "
minOccurs ="
0 "
maxOccurs ="
1 "/>
</
xs:choice >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Name="edm :TSimpleIdentifier [1] " cg :TypeAccess ="[0..1] " Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TComplexType ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TComplexTypeProperty ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TConstraint ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TDocumentation
Abstract
no
Documentation
The Documentation element is used to provide documentation of comments on the contents of the XML file. It is valid under Schema, Type, Index and Relationship elements.
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
</...>
Schema Component Representation
<
xs:complexType name ="
TDocumentation ">
<
xs:sequence >
<
xs:element name ="
Summary "
type ="
edm :TText "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
LongDescription "
type ="
edm :TText "
minOccurs ="
0 "
maxOccurs ="
1 "/>
</
xs:sequence >
<xs:anyAttribute processContents ="lax " namespace ="##other "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TEntityKeyElement ">
<
xs:sequence >
<
xs:element name ="
PropertyRef "
type ="
edm :TPropertyRef "
minOccurs ="
1 "
maxOccurs ="
unbounded "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TEntityProperty ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Name="edm :TSimpleIdentifier [1] " BaseType="edm :TQualifiedName [0..1] " Abstract="xs :boolean [0..1] " cg :TypeAccess ="[0..1] " Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Start Choice [0..*] End Choice Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TEntityType ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:choice minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:element name ="
Property "
type ="
edm :TEntityProperty "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:choice >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TFunction ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:choice minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:element name ="
DefiningExpression "
type ="
edm :TCommandText "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:choice >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TFunctionImportParameter
Abstract
no
Schema Component Representation
<
xs:complexType name ="
TFunctionImportParameter ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TFunctionParameter ">
<
xs:sequence >
<
xs:choice minOccurs ="
0 "
maxOccurs ="
1 ">
<
xs:element name ="
CollectionType "
type ="
edm :TCollectionType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
ReferenceType "
type ="
edm :TReferenceType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
RowType "
type ="
edm :TRowType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
</
xs:choice >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TFunctionReturnType ">
<
xs:sequence >
<
xs:choice minOccurs ="
0 "
maxOccurs ="
1 ">
<
xs:element name ="
CollectionType "
type ="
edm :TCollectionType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
ReferenceType "
type ="
edm :TReferenceType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
RowType "
type ="
edm :TRowType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
</
xs:choice >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TNavigationProperty ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TOnAction ">
<
xs:sequence >
</
xs:sequence >
<
xs:attribute name ="
Action "
type ="
edm :TAction "
use ="
required "/>
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TProperty ">
<
xs:sequence >
<
xs:choice minOccurs ="
0 "
maxOccurs ="
1 ">
<
xs:element name ="
CollectionType "
type ="
edm :TCollectionType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
ReferenceType "
type ="
edm :TReferenceType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<
xs:element name ="
RowType "
type ="
edm :TRowType "
minOccurs ="
0 "
maxOccurs ="
1 "/>
</
xs:choice >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Name="edm :TSimpleIdentifier [1] " >
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TPropertyRef ">
<
xs:sequence >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TReferenceType ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TReferentialConstraintRoleElement
Abstract
no
XML Instance Representation
<...
Role="edm :TSimpleIdentifier [1] " >
Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TReferentialConstraintRoleElement ">
<
xs:sequence >
<
xs:element name ="
PropertyRef "
type ="
edm :TPropertyRef "
minOccurs ="
1 "
maxOccurs ="
unbounded "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
Start Choice [1..*] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
End Choice </...>
Schema Component Representation
<
xs:complexType name ="
TRowType ">
<
xs:choice minOccurs ="
1 "
maxOccurs ="
unbounded ">
<
xs:element name ="
Property "
type ="
edm :TProperty "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:choice >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TSchema ">
<
xs:sequence >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Complex Type: TText
Super-types:
None
Sub-types:
None
XML Instance Representation
<...
Allow any attributes from a namespace other than this schema's namespace (lax validation).
>
<!-- Mixed content --> Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TText "
mixed ="
true ">
<
xs:sequence >
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute processContents ="lax " namespace ="##other "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TTypeRef ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Complex Type: TUsing
Super-types:
None
Sub-types:
None
Schema Component Representation
<
xs:complexType name ="
TUsing ">
<
xs:sequence >
</
xs:sequence >
<xs:anyAttribute namespace ="##other " processContents ="lax "/>
</
xs:complexType >
Super-types:
None
Sub-types:
None
Name
TXmlOrText
Abstract
no
Documentation
This type allows pretty much any content
XML Instance Representation
<...
Allow any attributes from any namespace (skip validation).
>
<!-- Mixed content --> Allow any elements from any namespace (skip validation). [0..*]
</...>
Schema Component Representation
<
xs:complexType name ="
TXmlOrText "
mixed ="
true ">
<
xs:sequence >
<xs:any namespace ="##any " processContents ="skip " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
<xs:anyAttribute processContents ="skip " namespace ="##any "/>
</
xs:complexType >
Name
GEmptyElementExtensibility
Schema Component Representation
<
xs:group name ="
GEmptyElementExtensibility ">
<
xs:sequence >
<
xs:element name ="
Documentation "
type ="
edm :TDocumentation "
minOccurs ="
0 "
maxOccurs ="
1 "/>
<xs:any namespace ="##other " processContents ="lax " minOccurs ="0 " maxOccurs ="unbounded "/>
</
xs:sequence >
</
xs:group >
Schema Component Representation
<
xs:group name ="
GSchemaBodyElements ">
<
xs:choice >
<
xs:element name ="
Using "
type ="
edm :TUsing "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
Association "
type ="
edm :TAssociation "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
ComplexType "
type ="
edm :TComplexType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
EntityType "
type ="
edm :TEntityType "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
<
xs:element name ="
Function "
type ="
edm :TFunction "
minOccurs ="
0 "
maxOccurs ="
unbounded "/>
</
xs:choice >
</
xs:group >
Schema Component Representation
<
xs:group name ="
TOperations ">
<
xs:choice >
<
xs:element name ="
OnDelete "
type ="
edm :TOnAction "
maxOccurs ="
1 "
minOccurs ="
0 "/>
</
xs:choice >
</
xs:group >
Super-types:
xs :string < EDMSimpleType (by restriction)
Sub-types:
None
Name
EDMSimpleType
Content
value comes from list: {'Binary'|'Boolean'|'Byte'|'DateTime'|'DateTimeOffset'|'Time'|'Decimal'|'Double'|'Single'|'Guid'|'Int16'|'Int32'|'Int64'|'String'|'SByte'}
Schema Component Representation
<
xs:simpleType name ="
EDMSimpleType ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="Binary "/>
<xs:enumeration value ="Boolean "/>
<xs:enumeration value ="Byte "/>
<xs:enumeration value ="DateTime "/>
<xs:enumeration value ="DateTimeOffset "/>
<xs:enumeration value ="Time "/>
<xs:enumeration value ="Decimal "/>
<xs:enumeration value ="Double "/>
<xs:enumeration value ="Single "/>
<xs:enumeration value ="Guid "/>
<xs:enumeration value ="Int16 "/>
<xs:enumeration value ="Int32 "/>
<xs:enumeration value ="Int64 "/>
<xs:enumeration value ="String "/>
<xs:enumeration value ="SByte "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :token < TAction (by restriction)
Sub-types:
None
Name
TAction
Content
value comes from list: {'Cascade'|'None'}
Schema Component Representation
<
xs:simpleType name ="
TAction ">
<
xs:restriction base ="
xs :token">
<xs:enumeration value ="Cascade "/>
<xs:enumeration value ="None "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < TCollationFacet (by restriction)
Sub-types:
None
Name
TCollationFacet
Content
Schema Component Representation
<
xs:simpleType name ="
TCollationFacet ">
<
xs:restriction base ="
xs :string"/>
</
xs:simpleType >
Super-types:
xs :string < TCommandText (by restriction)
Sub-types:
None
Name
TCommandText
Content
Schema Component Representation
<
xs:simpleType name ="
TCommandText ">
<
xs:restriction base ="
xs :string">
<xs:whiteSpace value ="preserve "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :token < TConcurrencyMode (by restriction)
Sub-types:
None
Name
TConcurrencyMode
Content
value comes from list: {'None'|'Fixed'}
Schema Component Representation
<
xs:simpleType name ="
TConcurrencyMode ">
<
xs:restriction base ="
xs :token">
<xs:enumeration value ="None "/>
<xs:enumeration value ="Fixed "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
TFunctionType
Content
Union of following types: edm :TQualifiedName Locally defined type:pattern = Collection\([^ \t]{1,}(\.[^ \t]{1,}){0,}\)
Schema Component Representation
<
xs:simpleType name ="
TFunctionType ">
<
xs:union memberTypes ="
edm :TQualifiedName ">
<
xs:simpleType >
<
xs:restriction base ="
xs :token">
<xs:pattern value ="Collection\([^ \t]{1,}(\.[^ \t]{1,}){0,}\) "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:union >
</
xs:simpleType >
Super-types:
xs :boolean < TIsFixedLengthFacet (by restriction)
Sub-types:
None
Name
TIsFixedLengthFacet
Content
Schema Component Representation
<
xs:simpleType name ="
TIsFixedLengthFacet ">
<
xs:restriction base ="
xs :boolean"/>
</
xs:simpleType >
Super-types:
xs :boolean < TIsUnicodeFacet (by restriction)
Sub-types:
None
Name
TIsUnicodeFacet
Content
Schema Component Representation
<
xs:simpleType name ="
TIsUnicodeFacet ">
<
xs:restriction base ="
xs :boolean"/>
</
xs:simpleType >
Simple Type: TMax
Super-types:
xs :string < TMax (by restriction)
Sub-types:
None
Name
TMax
Content
value comes from list: {'Max'}
Schema Component Representation
<
xs:simpleType name ="
TMax ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="Max "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
TMaxLengthFacet
Content
Union of following types:
Schema Component Representation
<
xs:simpleType name ="
TMaxLengthFacet ">
<
xs:union memberTypes ="
edm :TMax xs :nonNegativeInteger"/>
</
xs:simpleType >
Super-types:
xs :token < TMultiplicity (by restriction)
Sub-types:
None
Name
TMultiplicity
Content
value comes from list: {'0..1'|'1'|'*'}
Schema Component Representation
<
xs:simpleType name ="
TMultiplicity ">
<
xs:restriction base ="
xs :token">
<xs:enumeration value ="0..1 "/>
<xs:enumeration value ="1 "/>
<xs:enumeration value ="* "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < TQualifiedName (by restriction) < TNamespaceName (by restriction)
Sub-types:
None
Name
TNamespaceName
Content
pattern = [\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}
Schema Component Representation
<
xs:simpleType name ="
TNamespaceName ">
<
xs:restriction base ="
edm :TQualifiedName ">
<xs:maxLength value ="512 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :token < TParameterMode (by restriction)
Sub-types:
None
Name
TParameterMode
Content
value comes from list: {'In'|'Out'|'InOut'}
Schema Component Representation
<
xs:simpleType name ="
TParameterMode ">
<
xs:restriction base ="
xs :token">
<xs:enumeration value ="In "/>
<xs:enumeration value ="Out "/>
<xs:enumeration value ="InOut "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :nonNegativeInteger < TPrecisionFacet (by restriction)
Sub-types:
None
Name
TPrecisionFacet
Content
Base XSD Type: nonNegativeInteger
Schema Component Representation
<
xs:simpleType name ="
TPrecisionFacet ">
<
xs:restriction base ="
xs :nonNegativeInteger"/>
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
TPropertyType
Content
Union of following types: edm :EDMSimpleType edm :TQualifiedName Locally defined type:pattern = [\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}
Schema Component Representation
<
xs:simpleType name ="
TPropertyType ">
<
xs:union memberTypes ="
edm :EDMSimpleType edm :TQualifiedName ">
<
xs:simpleType >
<
xs:restriction base ="
xs :token">
<xs:pattern value ="[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,} "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:union >
</
xs:simpleType >
Super-types:
xs :string < TQualifiedName (by restriction)
Sub-types:
Name
TQualifiedName
Content
pattern = [\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,}
Schema Component Representation
<
xs:simpleType name ="
TQualifiedName ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}(\.[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}){0,} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :nonNegativeInteger < TScaleFacet (by restriction)
Sub-types:
None
Name
TScaleFacet
Content
Base XSD Type: nonNegativeInteger
Schema Component Representation
<
xs:simpleType name ="
TScaleFacet ">
<
xs:restriction base ="
xs :nonNegativeInteger"/>
</
xs:simpleType >
Super-types:
xs :string < TSimpleIdentifier (by restriction)
Sub-types:
None
Name
TSimpleIdentifier
Content
pattern = [\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,}
length <= 480
Schema Component Representation
<
xs:simpleType name ="
TSimpleIdentifier ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="480 "/>
<xs:pattern value ="[\p{L}\p{Nl}][\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]{0,} "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
TUnwrappedFunctionType
Content
Union of following types:
Schema Component Representation
<
xs:simpleType name ="
TUnwrappedFunctionType ">
<
xs:union memberTypes ="
edm :TQualifiedName ">
<
xs:simpleType >
<
xs:restriction base ="
xs :token">
<xs:pattern value ="[^ \t]{1,}(\.[^ \t]{1,}){0,} "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:union >
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
TWrappedFunctionType
Content
Union of following types: edm :TQualifiedName Locally defined type:pattern = (Collection|Ref)\([^ \t]{1,}(\.[^ \t]{1,}){0,}\)
Schema Component Representation
<
xs:simpleType name ="
TWrappedFunctionType ">
<
xs:union memberTypes ="
edm :TQualifiedName ">
<
xs:simpleType >
<
xs:restriction base ="
xs :token">
<xs:pattern value ="(Collection|Ref)\([^ \t]{1,}(\.[^ \t]{1,}){0,}\) "/>
</
xs:restriction >
</
xs:simpleType >
</
xs:union >
</
xs: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 .