GLUE schema - Compute Element
Table of Contents
- Schema Document Properties
- Global Declarations
-
Global Definitions
- Attribute Group: IdentifiableEntity
- Complex Type: AccessControlBaseType
- Complex Type: ApplicationSoftwareType
- Complex Type: ArchitectureType
- Complex Type: BenchmarkType
- Complex Type: ClusterType
- Complex Type: ComputingElementType
- Complex Type: DirectoryType
- Complex Type: FileSystemType
- Complex Type: FileType
- Complex Type: GLUECERPType
- Complex Type: HostType
- Complex Type: InfoType
- Complex Type: JobType
- Complex Type: LoadType
- Complex Type: LocalFileSystemType
- Complex Type: MainMemoryType
- Complex Type: NetworkAdapterType
- Complex Type: OperatingSystemType
- Complex Type: PolicyType
- Complex Type: ProcessorType
- Complex Type: RemoteFileSystemType
- Complex Type: RunTimeEnvironmentType
- Complex Type: StateType
- Complex Type: StorageDeviceType
- Complex Type: SubClusterOrHostType
- Complex Type: SubClusterType
Schema Document Properties
Target Namespace | http://mds.globus.org/glue/ce/1.1 |
---|---|
Language | en |
Element and Attribute Namespaces |
|
Documentation | This document is a translation of the CE component of the GLUE schema into XML. Converted by [email protected] of the Globus Alliance. Method of attack: Each class in the CE UML diagram is converted to an XSD type. If the UML class is called "Foo", then the XSD type is called "FooType". The UML schema splits nicely into two trees, one rooted at ComputingElement, the other rooted at Cluster. These trees are formed in the XSD by placing child elements within parent elements in the same was in the XSD as in the UML diagram. Elements that represent a class have the same name as that class. So, if the UML class is called "Foo", then an element that represents that would also be called "Foo". There are some exceptions to this rule. Every element is permitted arbitrary extension by means of any elements and any attributes. A producer of GLUE information MAY add additional information into the hierarchy, as long as it is in a different namespace. A consumer of GLUE information MUST ignore additional information that it does not understand. It MUST NOT fail on the presence of unrecognized properties in unknown namespaces. TODO: need to be more explicit about units. TODO: need an explicit binding between ComputingElements and Clusters |
Declared Namespaces
Prefix | Namespace |
---|---|
Default namespace | http://www.w3.org/2001/XMLSchema |
ce | http://mds.globus.org/glue/ce/1.1 |
xml | http://www.w3.org/XML/1998/namespace |
Schema Component Representation |
---|
<schema xml:lang="en" targetNamespace="http://mds.globus.org/glue/ce/1.1" attributeFormDefault="qualified" elementFormDefault="qualified">
... </schema> |
Global Declarations
Element: Cluster
Name | Cluster |
---|---|
Type | ce:ClusterType |
Nillable | no |
Abstract | no |
XML Instance Representation |
---|
<ce:Cluster
ce:Name="string [0..1]" ce:UniqueID="string [0..1]" ce:InformationServiceURL="anyURI [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </ce:Cluster> |
Schema Component Representation |
---|
|
Element: GLUECE
Name | GLUECE |
---|---|
Type | ce:GLUECERPType |
Nillable | no |
Abstract | no |
XML Instance Representation |
---|
Schema Component Representation |
---|
|
Element: GLUECESummary
Name | GLUECESummary |
---|---|
Type | ce:GLUECERPType |
Nillable | no |
Abstract | no |
XML Instance Representation |
---|
Schema Component Representation |
---|
|
Global Definitions
Attribute Group: IdentifiableEntity
Name | IdentifiableEntity |
---|---|
Documentation | Named identifiable entities should have this attribute group. TODO: Some tooling doesn't like AttributeGroups, so maybe this should group should be replaced with individual attributes cut-and-pasted onto each element instead? |
XML Instance Representation |
---|
Schema Component Representation |
---|
<attributeGroup name="IdentifiableEntity">
<attribute name="Name" type="string"/> <attribute name="UniqueID" type="string"/> <attribute name="InformationServiceURL" type="anyURI"/> </attributeGroup> |
Complex Type: AccessControlBaseType
Super-types: | None |
---|---|
Sub-types: | None |
Name | AccessControlBaseType |
---|---|
Abstract | no |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="AccessControlBaseType">
<sequence> <element name="Rule" type="string" minOccurs="0" maxOccurs="unbounded"/> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><anyAttribute namespace="##other"/> </complexType> |
Complex Type: ApplicationSoftwareType
Super-types: | None |
---|---|
Sub-types: | None |
Name | ApplicationSoftwareType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="ApplicationSoftwareType">
<sequence> <element name="RunTimeEnvironment" type="ce:RunTimeEnvironmentType" minOccurs="0" maxOccurs="unbounded"/> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><anyAttribute namespace="##other"/> </complexType> |
Complex Type: ArchitectureType
Super-types: | None |
---|---|
Sub-types: | None |
Name | ArchitectureType |
---|---|
Abstract | no |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="ArchitectureType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="PlatformType" type="string"/> <attribute name="SMPSize" type="int"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: BenchmarkType
Super-types: | None |
---|---|
Sub-types: | None |
Name | BenchmarkType |
---|---|
Abstract | no |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="BenchmarkType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="SI00" type="float"/> <attribute name="SF00" type="float"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: ClusterType
Super-types: | None |
---|---|
Sub-types: | None |
Name | ClusterType |
---|---|
Abstract | no |
Documentation | Contains information about a Cluster. This consists of a name, unique ID, and one or more subclusters. |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="ClusterType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><anyAttribute namespace="##other"/> </complexType> |
Complex Type: ComputingElementType
Super-types: | None |
---|---|
Sub-types: | None |
Name | ComputingElementType |
---|---|
Abstract | no |
Documentation | Contains information about a ComputeElement. |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="ComputingElementType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><anyAttribute namespace="##other"/> </complexType> |
Complex Type: DirectoryType
Super-types: | FileType < DirectoryType (by extension) |
---|---|
Sub-types: | None |
Name | DirectoryType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:Size="int [0..1]" ce:CreationDate="dateTime [0..1]" ce:LastModified="dateTime [0..1]" ce:LastAccessed="dateTime [0..1]" ce:Latency="duration [0..1]" ce:LifeTime="dateTime [0..1]" ce:Owner="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
Complex Type: FileSystemType
Super-types: | None |
---|---|
Sub-types: |
|
Name | FileSystemType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:Root="string [0..1]" ce:Size="long [0..1]" ce:AvailableSpace="long [0..1]" ce:ReadOnly="boolean [0..1]" ce:Type="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="FileSystemType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Name" type="string"/> <attribute name="Root" type="string"/> <attribute name="Size" type="long"/> <attribute name="AvailableSpace" type="long"/> <attribute name="ReadOnly" type="boolean"/> <attribute name="Type" type="string"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: FileType
Super-types: | None |
---|---|
Sub-types: |
|
Name | FileType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:Size="int [0..1]" ce:CreationDate="dateTime [0..1]" ce:LastModified="dateTime [0..1]" ce:LastAccessed="dateTime [0..1]" ce:Latency="duration [0..1]" ce:LifeTime="dateTime [0..1]" ce:Owner="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="FileType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Name" type="string"/> <attribute name="Size" type="int"/> <attribute name="CreationDate" type="dateTime"/> <attribute name="LastModified" type="dateTime"/> <attribute name="LastAccessed" type="dateTime"/> <attribute name="Latency" type="duration"/> <attribute name="LifeTime" type="dateTime"/> <attribute name="Owner" type="string"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: GLUECERPType
Super-types: | None |
---|---|
Sub-types: | None |
Name | GLUECERPType |
---|---|
Abstract | no |
Documentation | A type suitable for use for a WS-Resource Property, containing some ComputingElements and some Clusters, bound to each other. TODO the binding is still to be done. |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="GLUECERPType">
<sequence> </complexType><element name="ComputingElement" type="ce:ComputingElementType" minOccurs="0" maxOccurs="unbounded"/> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence> |
Complex Type: HostType
Super-types: | SubClusterOrHostType < HostType (by extension) |
---|---|
Sub-types: | None |
Name | HostType |
---|---|
Abstract | no |
Documentation | A host may have any of the properties of a subcluster. TODO: really a Host shouldn't be allowed another Host below it? Can I specify a restriction in here to limit the number of subordinate Hosts to 0, or some trick like that? |
XML Instance Representation |
---|
Schema Component Representation |
---|
Complex Type: InfoType
Super-types: | None |
---|---|
Sub-types: | None |
Name | InfoType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:LRMSType="string [0..1]" ce:LRMSVersion="string [0..1]" ce:GRAMVersion="string [0..1]" ce:HostName="string [0..1]" ce:GatekeeperPort="string [0..1]" ce:TotalCPUs="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="InfoType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="LRMSType" type="string"/> <attribute name="LRMSVersion" type="string"/> <attribute name="GRAMVersion" type="string"/> <attribute name="HostName" type="string"/> <attribute name="GatekeeperPort" type="string"/> <attribute name="TotalCPUs" type="string"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: JobType
Super-types: | None |
---|---|
Sub-types: | None |
Name | JobType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:GlobalID="string [0..1]" ce:LocalID="string [0..1]" ce:LocalOwner="string [0..1]" ce:GlobalOwner="string [0..1]" ce:Status="string [0..1]" ce:SchedulerSpecific="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="JobType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="GlobalID" type="string"/> <attribute name="LocalID" type="string"/> <attribute name="LocalOwner" type="string"/> <attribute name="GlobalOwner" type="string"/> <attribute name="Status" type="string"/> <attribute name="SchedulerSpecific" type="string"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: LoadType
Super-types: | None |
---|---|
Sub-types: | None |
Name | LoadType |
---|---|
Abstract | no |
Documentation | Represents the unix-style CPU load-average multiplied by 100. |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="LoadType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Last1Min" type="int"/> <attribute name="Last5Min" type="int"/> <attribute name="Last15Min" type="int"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: LocalFileSystemType
Super-types: | FileSystemType < LocalFileSystemType (by extension) |
---|---|
Sub-types: | None |
Name | LocalFileSystemType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:Root="string [0..1]" ce:Size="long [0..1]" ce:AvailableSpace="long [0..1]" ce:ReadOnly="boolean [0..1]" ce:Type="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="LocalFileSystemType">
<complexContent></complexContent> </complexType> |
Complex Type: MainMemoryType
Super-types: | None |
---|---|
Sub-types: | None |
Name | MainMemoryType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:RAMSize="long [0..1]" ce:RAMAvailable="long [0..1]" ce:VirtualSize="long [0..1]" ce:VirtualAvailable="long [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="MainMemoryType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="RAMSize" type="long"/> <attribute name="RAMAvailable" type="long"/> <attribute name="VirtualSize" type="long"/> <attribute name="VirtualAvailable" type="long"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: NetworkAdapterType
Super-types: | None |
---|---|
Sub-types: | None |
Name | NetworkAdapterType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:IPAddress="string [0..1]" ce:MTU="int [0..1]" ce:OutboundIP="boolean [0..1]" ce:InboundIP="boolean [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="NetworkAdapterType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Name" type="string"/> <attribute name="IPAddress" type="string"/> <attribute name="MTU" type="int"/> <attribute name="OutboundIP" type="boolean"/> <attribute name="InboundIP" type="boolean"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: OperatingSystemType
Super-types: | None |
---|---|
Sub-types: | None |
Name | OperatingSystemType |
---|---|
Abstract | no |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="OperatingSystemType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Name" type="string"/> <attribute name="Release" type="string"/> <attribute name="Version" type="string"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: PolicyType
Super-types: | None |
---|---|
Sub-types: | None |
Name | PolicyType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:MaxWallClockTime="int [0..1]" ce:MaxCPUTime="int [0..1]" ce:MaxTotalJobs="int [0..1]" ce:MaxRunningJobs="int [0..1]" ce:Priority="int [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="PolicyType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="MaxWallClockTime" type="int"/> <attribute name="MaxCPUTime" type="int"/> <attribute name="MaxTotalJobs" type="int"/> <attribute name="MaxRunningJobs" type="int"/> <attribute name="Priority" type="int"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: ProcessorType
Super-types: | None |
---|---|
Sub-types: | None |
Name | ProcessorType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Vendor="string [0..1]" ce:Model="string [0..1]" ce:Version="string [0..1]" ce:ClockSpeed="int [0..1]" ce:InstructionSet="string [0..1]" ce:OtherProcessorDescription="string [0..1]" ce:CacheL1="int [0..1]" ce:CacheL1I="int [0..1]" ce:CacheL1D="int [0..1]" ce:CacheL2="int [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="ProcessorType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Vendor" type="string"/> <attribute name="Model" type="string"/> <attribute name="Version" type="string"/> <attribute name="ClockSpeed" type="int"/> <attribute name="InstructionSet" type="string"/> <attribute name="OtherProcessorDescription" type="string"/> <attribute name="CacheL1" type="int"/> <attribute name="CacheL1I" type="int"/> <attribute name="CacheL1D" type="int"/> <attribute name="CacheL2" type="int"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: RemoteFileSystemType
Super-types: | FileSystemType < RemoteFileSystemType (by extension) |
---|---|
Sub-types: | None |
Name | RemoteFileSystemType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:Root="string [0..1]" ce:Size="long [0..1]" ce:AvailableSpace="long [0..1]" ce:ReadOnly="boolean [0..1]" ce:Type="string [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="RemoteFileSystemType"></complexType>
|
Complex Type: RunTimeEnvironmentType
Super-types: | None |
---|---|
Sub-types: | None |
Name | RunTimeEnvironmentType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]"> Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="RunTimeEnvironmentType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Name" type="string"/> </complexType> |
Complex Type: StateType
Super-types: | None |
---|---|
Sub-types: | None |
Name | StateType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Status="string [0..1]" ce:TotalJobs="int [0..1]" ce:RunningJobs="int [0..1]" ce:WaitingJobs="int [0..1]" ce:WorstResponseTime="int [0..1]" ce:EstimatedResponseTime="int [0..1]" ce:FreeCPUs="int [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="StateType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Status" type="string"/> <attribute name="TotalJobs" type="int"/> <attribute name="RunningJobs" type="int"/> <attribute name="WaitingJobs" type="int"/> <attribute name="WorstResponseTime" type="int"/> <attribute name="EstimatedResponseTime" type="int"/> <attribute name="FreeCPUs" type="int"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: StorageDeviceType
Super-types: | None |
---|---|
Sub-types: | None |
Name | StorageDeviceType |
---|---|
Abstract | no |
XML Instance Representation |
---|
<...
ce:Name="string [0..1]" ce:Type="string [0..1]" ce:TransferRate="int [0..1]" ce:Size="int [0..1]" ce:AvailableSpace="int [0..1]" Allow any attributes from a namespace other than this schema's namespace (strict validation). > Allow any elements from a namespace other than this schema's namespace (strict validation). [0..*] </...> |
Schema Component Representation |
---|
<complexType name="StorageDeviceType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><attribute name="Name" type="string"/> <attribute name="Type" type="string"/> <attribute name="TransferRate" type="int"/> <attribute name="Size" type="int"/> <attribute name="AvailableSpace" type="int"/> <anyAttribute namespace="##other"/> </complexType> |
Complex Type: SubClusterOrHostType
Super-types: | None |
---|---|
Sub-types: |
|
Name | SubClusterOrHostType |
---|---|
Abstract | no |
Documentation | A subcluster contains at least one host, as well as having properties associated with it that represent the state of every host within the subcluster. TODO: need some specification of uniqueness. It is reasonable for fairly simple type such as architecture to say that it MAY NOT appear on both a Host and its containing SubCluster, but for file systems (for example) it might be desirable to put some file systems on the SubCluster (eg. nfs or pvfs) and some on the Hosts (eg. /scratch) |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="SubClusterOrHostType">
<sequence> <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> </sequence><anyAttribute namespace="##other"/> </complexType> |
Complex Type: SubClusterType
Super-types: | SubClusterOrHostType < SubClusterType (by extension) |
---|---|
Sub-types: | None |
Name | SubClusterType |
---|---|
Abstract | no |
Documentation |
XML Instance Representation |
---|
Schema Component Representation |
---|
<complexType name="SubClusterType"></complexType>
|
Legend
Complex Type: | AusAddress |
Schema Component Type | Schema Component Name |
Super-types: | Address < AusAddress (by extension) |
---|---|
Sub-types: |
|
Name | AusAddress |
---|---|
Abstract | no |
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}>>.
Schema Component Representation |
---|
<complexTypename="AusAddress">
<complexContent> <extensionbase="Address"> <sequence> <elementname="state" type="AusStates"/> <elementname="postcode"> <simpleType> <restrictionbase="string"> <patternvalue="[1-9][0-9]{3}"/> </restriction> </simpleType> </element> </sequence> <attributename="country" type="string" fixed="Australia"/> </extension> </complexContent> </complexType> |
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.
Generated by xs3p.