Documentation for PAS1068_Schema.xsd

Table of Contents

top

Schema Document Properties

Target Namespace None
Language de
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.
Documentation Dieses XML-Schema definiert die Elemente, die bei einem gemäß PAS "Transparenz" in XML beschriebenen Bildungsangebot vorkommen (dürfen).

This XML Schema defines the elements which can be used to describe an educational offering accordung to the PAS Transparency from the German DIN. The language used in this documents is German only.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema xml:lang="de">
...
</xs:schema>
top

Global Declarations

Element: AngabeTyp

Name AngabeTyp
Used by (from the same schema document) Element Darstellung
Type Locally-defined simple type
Nillable no
Abstract no
Documentation Ein Element ist entweder ein Ja/Nein-Feld oder ein Textfeld. Ein Textfeld kann dabei entweder vom Typ Beschreibung (ausfuehrlicher Text) oder vom Typ Benennung (nur Angabe) sein.
Logical Diagram
XML Instance Representation
<AngabeTyp> xs:string (value comes from list: {'J/N'|'Beschreibung'|'Benennung'}) </AngabeTyp>
Diagram
Schema Component Representation
<xs:element name="AngabeTyp">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:enumeration value="J/N"/>
<xs:enumeration value="Beschreibung"/>
<xs:enumeration value="Benennung"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
top

Element: Bildungsangebot

Name Bildungsangebot
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Bildungsangebot ist das Rootelement eines nach PAS Transparenz beschriebenen Bildungsangebotes. Es enthaelt selbst keinen Inhalt, sondern dient nur als Container fuer die acht Hauptkategorien.
Logical Diagram
h-1721694308
XML Instance Representation
<Bildungsangebot>
<Kategorie> ... </Kategorie> [1..8]
</Bildungsangebot>
Diagram
h-1721694308
Schema Component Representation
<xs:element name="Bildungsangebot">
<xs:complexType>
<xs:sequence>
<xs:element ref=" Kategorie " maxOccurs="8"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Darstellung

Name Darstellung
Used by (from the same schema document) Element PAS_Element
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Fuer jedes PAS_Element gibt es einen Typ, der festlegt, welche Arten von Werten dieses Element haben kann, sowie den eigentlichen Wert.
Logical Diagram
h1582572606
XML Instance Representation
<Darstellung>
<AngabeTyp> ... </AngabeTyp> [1]
<Wert> xs:string </Wert> [0..1]
</Darstellung>
Diagram
h1582572606
Schema Component Representation
<xs:element name="Darstellung">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element ref=" AngabeTyp " minOccurs="1" maxOccurs="1"/>
<xs:element name="Wert" type=" xs:string " minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: ID

Name ID
Used by (from the same schema document) Element PAS_Element
Type Locally-defined simple type
Nillable no
Abstract no
Documentation IDs der PAS Transparenz beginnen mit den Zahlen 1-8 fuer die acht Hauptkategorien evtl.gefolgt von einem Punkt, einer weiteren Zahl usw. fuer jede Unterkategorie bzw. jedes Element.
Logical Diagram
XML Instance Representation
<ID> xs:string (pattern = [1-8]{1}\.?[0-9]{0,2}\.?[0-9]{0,2}\.?[0-9]{0,2}) </ID>
Diagram
Schema Component Representation
<xs:element name="ID">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<-- der regulaere Ausdruck ist noch nicht ganz korrekt, da hierbei zwischen den Punkten beliebig viele Ziffern vorkommen koennen...-->
<xs:pattern value="[1-8]{1}\.?[0-9]{0,2}\.?[0-9]{0,2}\.?[0-9]{0,2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
top

Element: Kategorie

Name Kategorie
Used by (from the same schema document) Element Bildungsangebot , Element Kategorie
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Die PAS Transparenz besteht aus 8 (Haupt-)Kategorien, die unterschiedlich viele Elemente und auch weitere Kategorien enthalten.
Logical Diagram
XML Instance Representation
<Kategorie>
<ID> xs:string </ID> [1]
<Bezeichnung> xs:string </Bezeichnung> [1]
Start Choice [0..*]
<Kategorie> ... </Kategorie> [0..*]
<PAS_Element> ... </PAS_Element> [0..*]
End Choice
</Kategorie>
Diagram
h-1945775268
Schema Component Representation
<xs:element name="Kategorie">
<xs:complexType>
<xs:sequence>
<xs:sequence>
<xs:element name="ID" type=" xs:string " minOccurs="1" maxOccurs="1"/>
<xs:element name="Bezeichnung" type=" xs:string " minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref=" Kategorie " minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref=" PAS_Element " minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: Klasse

Name Klasse
Used by (from the same schema document) Element PAS_Element
Type Locally-defined simple type
Nillable no
Abstract no
Documentation Ein Element ist entweder zwingend vorgeschrieben (M für muss), bedingt vorgeschrieben (also wenn zutreffend, dann muss es angegeben werden (B)) oder optional (F für fakultativ)).
Logical Diagram
XML Instance Representation
<Klasse> xs:string (pattern = [MBF]) </Klasse>
Diagram
Schema Component Representation
<xs:element name="Klasse">
<xs:simpleType>
<xs:restriction base=" xs:string ">
<xs:pattern value="[MBF]"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
top

Element: Kommentar

Name Kommentar
Used by (from the same schema document) Element PAS_Element
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Dieses Element enthaelt alle Hinweise zum Ausfuellen des Elements bzw. zum Bestimmen des Wertes. "Ausfuellhinweis" enthält Erläuterungen und illustrierende Beispiele zu diesem Element, wenn ein Wertebereich vorgegeben ist, werden die zulässigen Werte in "Wertebereich" aufgeführt und "Beispiele" enthält mögliche Ausprägungen für dieses Element.
Logical Diagram
XML Instance Representation
<Kommentar>
<Ausfuellhinweis> xs:string </Ausfuellhinweis> [0..1]
<Wertebereich> xs:string </Wertebereich> [0..1]
<Beispiele> xs:string </Beispiele> [0..1]
</Kommentar>
Diagram
Schema Component Representation
<xs:element name="Kommentar">
<xs:complexType>
<xs:sequence>
<xs:element name="Ausfuellhinweis" type=" xs:string " minOccurs="0" maxOccurs="1"/>
<xs:element name="Wertebereich" type=" xs:string " minOccurs="0" maxOccurs="1"/>
<xs:element name="Beispiele" type=" xs:string " minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: PAS_Element

Name PAS_Element
Used by (from the same schema document) Element Kategorie
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Die Elemente der PAS Transparenz haben eine fest definierte Struktur.
Logical Diagram
h575937854 h2050130344 h-686691972 h-487586507 h-595513662
XML Instance Representation
<PAS_Element>
<ID> ... </ID> [1]
<Bezeichnung> xs:string </Bezeichnung> [1]
<Klasse> ... </Klasse> [1]
<Darstellung> ... </Darstellung> [1]
<Kommentar> ... </Kommentar> [0..1]
<match> ... </match> [0..*]
</PAS_Element>
Diagram
h575937854 h2050130344 h-686691972 h-487586507 h-595513662
Schema Component Representation
<xs:element name="PAS_Element">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element ref=" ID " minOccurs="1" maxOccurs="1"/>
<xs:element name="Bezeichnung" type=" xs:string " minOccurs="1" maxOccurs="1"/>
<xs:element ref=" Klasse " minOccurs="1" maxOccurs="1"/>
<xs:element ref=" Darstellung " minOccurs="1" maxOccurs="1"/>
<xs:element ref=" Kommentar " minOccurs="0" maxOccurs="1"/>
<xs:element ref=" match " minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: match

Name match
Used by (from the same schema document) Element PAS_Element
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Falls dieses Element Entsprechungen in anderen Klassifikationsschemen hat, werden diese mit diesem Element definiert. Für jedes Metadatenschema, in dem es eine Entsprechung gibt, wird jeweils ein "Match"-Element erzeugt. Gibt es in einem Metadatenschema mehr als ein Element, das einem PAS-Element entspricht, so wird innerhalb eines "Match"-Elements für jede Entsprechung ein "Element"-Element erzeugt.
Logical Diagram
XML Instance Representation
<match>
<Schema> xs:string </Schema> [1..*]
<Element> [1..*]
<Elem_ID> xs:string </Elem_ID> [0..1]
<Bezeichnung> xs:string </Bezeichnung> [0..1]
</Element>
</match>
Diagram
Schema Component Representation
<xs:element name="match">
<xs:complexType>
<xs:sequence>
<xs:element name="Schema" type=" xs:string " minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="Element" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Elem_ID" type=" xs:string " minOccurs="0" maxOccurs="1"/>
<xs:element name="Bezeichnung" type=" xs:string " minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
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