XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://www.e-dec.ch/xml/schema/edecSignatureValidationReport/v1
Version 0.1
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.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
edecSignatureValidationReport http://www.e-dec.ch/xml/schema/edecSignatureValidationReport/v1
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema targetNamespace="http://www.e-dec.ch/xml/schema/edecSignatureValidationReport/v1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1">
...
</xs:schema>
top

Global Declarations

Element: documentDetail

Name documentDetail
Type edecSignatureValidationReport:DocumentDetailType
Nillable no
Abstract no
Documentation Detailinformation zum überprüften Dokument; ein einzelens Detail besteht aus einem Namen und einem Wert.
Diagram
XML Instance Representation
<edecSignatureValidationReport:documentDetail>
<edecSignatureValidationReport:name> xs:string </edecSignatureValidationReport:name> [1]
<edecSignatureValidationReport:value> xs:string </edecSignatureValidationReport:value> [1]
</edecSignatureValidationReport:documentDetail>
Schema Component Representation
<xs:element name="documentDetail" type="edecSignatureValidationReport:DocumentDetailType"/>
top

Element: documentDetails

Name documentDetails
Type edecSignatureValidationReport:DocumentDetailsType
Nillable no
Abstract no
Documentation Details zum überprüften Dokument
Diagram
XML Instance Representation
<edecSignatureValidationReport:documentDetails>
<edecSignatureValidationReport:documentDetail> ... </edecSignatureValidationReport:documentDetail> [1..*]
</edecSignatureValidationReport:documentDetails>
Schema Component Representation
<xs:element name="documentDetails" type="edecSignatureValidationReport:DocumentDetailsType"/>
top

Element: signatureValidationReport

Name signatureValidationReport
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Root Element des Signaturprüfungsprotokoll und Beleg der Signaturprüfung
Diagram
XML Instance Representation
<edecSignatureValidationReport:signatureValidationReport
schemaVersion="edecSignatureValidationReport:SchemaVersionType [1] ?">
<edecSignatureValidationReport:documentDetails> ... </edecSignatureValidationReport:documentDetails> [1]
<edecSignatureValidationReport:validationSummary> ... </edecSignatureValidationReport:validationSummary> [1]
<edecSignatureValidationReport:validationDetails> ... </edecSignatureValidationReport:validationDetails> [1]
</edecSignatureValidationReport:signatureValidationReport>
Schema Component Representation
<xs:element name="signatureValidationReport">
<xs:complexType>
<xs:sequence></xs:sequence>
<xs:attribute name="schemaVersion" type="edecSignatureValidationReport:SchemaVersionType" use="required"/>
</xs:complexType>
</xs:element>
top

Element: validationDetail

Name validationDetail
Type edecSignatureValidationReport:ValidationDetailType
Nillable no
Abstract no
Documentation Durchgeführte Überprüfung und Ergebnis
Diagram
XML Instance Representation
<edecSignatureValidationReport:validationDetail>
<edecSignatureValidationReport:validation> xs:string </edecSignatureValidationReport:validation> [1] ?
<edecSignatureValidationReport:status> edecSignatureValidationReport:StatusCodeType </edecSignatureValidationReport:status> [1] ?
</edecSignatureValidationReport:validationDetail>
Schema Component Representation
<xs:element name="validationDetail" type="edecSignatureValidationReport:ValidationDetailType"/>
top

Element: validationDetails

Name validationDetails
Type edecSignatureValidationReport:ValidationDetailsType
Nillable no
Abstract no
Documentation Zusammenfassungen aller durchgeführten Prüfungen
Diagram
XML Instance Representation
<edecSignatureValidationReport:validationDetails>
<edecSignatureValidationReport:validationDetail> ... </edecSignatureValidationReport:validationDetail> [1..*]
</edecSignatureValidationReport:validationDetails>
Schema Component Representation
<xs:element name="validationDetails" type="edecSignatureValidationReport:ValidationDetailsType"/>
top

Element: validationSummary

Name validationSummary
Type edecSignatureValidationReport:ValidationSummaryType
Nillable no
Abstract no
Documentation Informationen zur Signaturprüfung
Diagram
XML Instance Representation
<edecSignatureValidationReport:validationSummary>
<edecSignatureValidationReport:validationDate> xs:date </edecSignatureValidationReport:validationDate> [1] ?
<edecSignatureValidationReport:validationTime> xs:time </edecSignatureValidationReport:validationTime> [1] ?
<edecSignatureValidationReport:validationResult> edecSignatureValidationReport:StatusCodeType </edecSignatureValidationReport:validationResult> [1] ?
</edecSignatureValidationReport:validationSummary>
Schema Component Representation
<xs:element name="validationSummary" type="edecSignatureValidationReport:ValidationSummaryType"/>
top

Global Definitions

Complex Type: DocumentDetailsType

Super-types: None
Sub-types: None
Name DocumentDetailsType
Abstract no
Diagram
XML Instance Representation
<...>
<edecSignatureValidationReport:documentDetail> ... </edecSignatureValidationReport:documentDetail> [1..*]
</...>
Schema Component Representation
<xs:complexType name="DocumentDetailsType">
<xs:sequence>
<xs:element ref="edecSignatureValidationReport:documentDetail" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: DocumentDetailType

Super-types: None
Sub-types: None
Name DocumentDetailType
Abstract no
Diagram
XML Instance Representation
<...>
<edecSignatureValidationReport:name> xs:string </edecSignatureValidationReport:name> [1]
<edecSignatureValidationReport:value> xs:string </edecSignatureValidationReport:value> [1]
</...>
Schema Component Representation
<xs:complexType name="DocumentDetailType">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ValidationDetailsType

Super-types: None
Sub-types: None
Name ValidationDetailsType
Abstract no
Diagram
XML Instance Representation
<...>
<edecSignatureValidationReport:validationDetail> ... </edecSignatureValidationReport:validationDetail> [1..*]
</...>
Schema Component Representation
<xs:complexType name="ValidationDetailsType">
<xs:sequence>
<xs:element ref="edecSignatureValidationReport:validationDetail" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ValidationDetailType

Super-types: None
Sub-types: None
Name ValidationDetailType
Abstract no
Documentation Durchgeführte Überprüfung und Ergebnis
Diagram
XML Instance Representation
<...>
<edecSignatureValidationReport:validation> xs:string </edecSignatureValidationReport:validation> [1] ?
<edecSignatureValidationReport:status> edecSignatureValidationReport:StatusCodeType </edecSignatureValidationReport:status> [1] ?
</...>
Schema Component Representation
<xs:complexType name="ValidationDetailType">
<xs:sequence>
<xs:element name="validation" type="xs:string"/>
<xs:element name="status" type="edecSignatureValidationReport:StatusCodeType"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ValidationSummaryType

Super-types: None
Sub-types: None
Name ValidationSummaryType
Abstract no
Diagram
XML Instance Representation
<...>
<edecSignatureValidationReport:validationDate> xs:date </edecSignatureValidationReport:validationDate> [1] ?
<edecSignatureValidationReport:validationTime> xs:time </edecSignatureValidationReport:validationTime> [1] ?
<edecSignatureValidationReport:validationResult> edecSignatureValidationReport:StatusCodeType </edecSignatureValidationReport:validationResult> [1] ?
</...>
Schema Component Representation
<xs:complexType name="ValidationSummaryType">
<xs:sequence>
<xs:element name="validationDate" type="xs:date"/>
<xs:element name="validationTime" type="xs:time"/>
<xs:element name="validationResult" type="edecSignatureValidationReport:StatusCodeType"/>
</xs:sequence>
</xs:complexType>
top

Simple Type: SchemaVersionType

Super-types: xs:string < SchemaVersionType (by restriction)
Sub-types: None
Name SchemaVersionType
Content
  • Base XSD Type: string
Documentation Schema Versionsnummer
Diagram
Schema Component Representation
<xs:simpleType name="SchemaVersionType">
<xs:restriction base="xs:string"/>
</xs:simpleType>
top

Simple Type: StatusCodeType

Super-types: xs:string < StatusCodeType (by restriction)
Sub-types: None
Name StatusCodeType
Content
  • Base XSD Type: string
  • value comes from list: {'OK'|'not OK'|'not validated'}
Documentation Simple Type mit Werteliste für OK/not OK/not validated Flags: OK: Die Überprüfung war erfolgreich not OK: Die Überprüfung war ungültig not validated: Es wurde keine Überprüfung durchgeführt.
Diagram
Schema Component Representation
<xs:simpleType name="StatusCodeType">
<xs:restriction base="xs:string">
<xs:enumeration value="OK"/>
<xs:enumeration value="not OK"/>
<xs:enumeration value="not validated"/>
</xs:restriction>
</xs:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia" >
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice [1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base="Address">
<sequence>
<element name="state" type="AusStates"/>
<element name="postcode">
<simpleType>
<restriction base="string">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top