Documentation for adx

Table of Contents

top

Schema Document Properties

Target Namespace http://sourceforge.net/adx-project/adx
Version 0.1d
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
xs http://www.w3.org/2001/XMLSchema
adx http://sourceforge.net/adx-project/adx
Schema Component Representation
<xs:schema targetNamespace="http://sourceforge.net/adx-project/adx" elementFormDefault="qualified" version="0.1d">
...
</xs:schema>
top

Global Declarations

Attribute: date

Name date
Type xs:date
Documentation
XML Instance Representation
adx:date=" xs:date"
Diagram
Schema Component Representation
<xs:attribute name="date" type=" xs:date "/>
top

Attribute: email

Name email
Type xs:token
Documentation The reusable email attribute simply contains an e-mail address. A simpleType restriction should be added to this element so that the parser can enforce the format of an email address with a pattern.
XML Instance Representation
adx:email=" xs:token"
Diagram
Schema Component Representation
<xs:attribute name="email" type=" xs:token "/>
top

Attribute: id

Name id
Type xs:ID
Documentation The reusable id="(ID)" attribute can be used in any element that must have a unique ID in the local document.
XML Instance Representation
adx:id=" xs:ID"
Diagram
Schema Component Representation
<xs:attribute name="id" type=" xs:ID "/>
top

Attribute: uri

Name uri
Type xs:anyURI
Documentation The reusable uri="(anyURI)" attribute can be used in any element definition that may refer to an external resource, e.g. a library viewpoint or stakeholder document.
XML Instance Representation
adx:uri=" xs:anyURI"
Diagram
Schema Component Representation
<xs:attribute name="uri" type=" xs:anyURI "/>
top

Attribute: version

Name version
Type xs:token
Documentation
XML Instance Representation
adx:version=" xs:token"
Diagram
Schema Component Representation
<xs:attribute name="version" type=" xs:token "/>
top

Element: ad

Name ad
Type adx:adType
Nillable no
Abstract no
Documentation This is the root element for an ADX architectural description document. It conforms to the schema's adType declaration, requiring a sequence of seven child elements: <title>, <document-info>, >concerns<, <viewpoints>, <views> <inconsistencies>, and <rationales>.
Logical Diagram
XML Instance Representation
<adx:ad>
<adx:title> ... </adx:title> [1]
<adx:document-info> ... </adx:document-info> [1]
<adx:stakeholders> ... </adx:stakeholders> [1]
<adx:viewpoints> ... </adx:viewpoints> [1]
<adx:views> ... </adx:views> [1]
<adx:inconsistencies> ... </adx:inconsistencies> [1]
<adx:rationales> ... </adx:rationales> [1]
</adx:ad>
Diagram
Schema Component Representation
<xs:element name="ad" type=" adx:adType "/>
top

Element: change

Name change
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:change>
adx:richTextType
</adx:change>
Diagram
Schema Component Representation
<xs:element name="change">
<xs:complexType>
<xs:simpleContent>
<xs:restriction base=" adx:richTextType "/>
</xs:simpleContent>
<xs:attribute ref=" adx:date "/>
<xs:attribute ref=" adx:version "/>
</xs:complexType>
</xs:element>
top

Element: change-history

Name change-history
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:change-history>
<adx:change> ... </adx:change> [1..*]
</adx:change-history>
Diagram
Schema Component Representation
<xs:element name="change-history">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:change " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: concern

Name concern
Type anyType
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:concern> ... </adx:concern>
Diagram
Schema Component Representation
<xs:element name="concern"/>
top

Element: concern-item

  • This element can be used wherever the following element is referenced:
Name concern-item
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This is a placeholder concern element definition; the concern element should eventually be defined as a type with properties conforming to IEEE-1471 and substitutable by a URL to an external stakeholder document (which must still be in the adx:stakeholder format).
Logical Diagram
XML Instance Representation
<adx:concern-item
adx:id="[1]"
stakeholder-def-id=" xs:IDREF [1]">
<adx:richText> ... </adx:richText> [1]
</adx:concern-item>
Diagram
Schema Component Representation
<xs:element name="concern-item" substitutionGroup="adx:concern">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:richText "/>
</xs:sequence>
<xs:attribute ref=" adx:id " use="required"/>
<xs:attribute name="stakeholder-def-id" type=" xs:IDREF " use="required"/>
</xs:complexType>
</xs:element>
top

Element: concern-resource

  • This element can be used wherever the following element is referenced:
Name concern-resource
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:concern-resource
adx:uri="[0..1]"/>
Diagram
Schema Component Representation
<xs:element name="concern-resource" substitutionGroup="adx:concern">
<xs:complexType>
<xs:attribute ref=" adx:uri "/>
</xs:complexType>
</xs:element>
top

Element: document-info

Name document-info
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:document-info
adx:date="[0..1]"
adx:version="[0..1]">
Start All [1]
<adx:organization> xs:string </adx:organization> [1]
<adx:scope> xs:string </adx:scope> [1]
<adx:status> xs:string </adx:status> [1]
<adx:summary> adx:richTextType </adx:summary> [1]
<adx:change-history> ... </adx:change-history> [1]
<adx:glossary> ... </adx:glossary> [1]
End All
</adx:document-info>
Diagram
Schema Component Representation
<xs:element name="document-info">
<xs:complexType>
<xs:all>
<xs:element name="organization" type=" xs:string "/>
<xs:element name="scope" type=" xs:string "/>
<xs:element name="status" type=" xs:string "/>
<xs:element name="summary" type=" adx:richTextType "/>
<xs:element ref=" adx:change-history "/>
<xs:element ref=" adx:glossary "/>
</xs:all>
<xs:attribute ref=" adx:date "/>
<xs:attribute ref=" adx:version "/>
</xs:complexType>
</xs:element>
top

Element: entry

Name entry
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The entry element is defined for our glossary element. A glossary contains a list of entries, each of which includes a term (type xs:string) and a definition (type adx:richTextType).
Logical Diagram
XML Instance Representation
<adx:entry>
<adx:term> xs:string </adx:term> [1]
<adx:definition> adx:richTextType </adx:definition> [1]
</adx:entry>
Diagram
Schema Component Representation
<xs:element name="entry">
<xs:complexType>
<xs:sequence>
<xs:element name="term" type=" xs:string "/>
<xs:element name="definition" type=" adx:richTextType "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: glossary

Name glossary
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:glossary>
<adx:entry> ... </adx:entry> [1..*]
</adx:glossary>
Diagram
Schema Component Representation
<xs:element name="glossary">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:entry " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: inconsistencies

Name inconsistencies
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:inconsistencies>
<adx:inconsistency> ... </adx:inconsistency> [1..*]
</adx:inconsistencies>
Diagram
Schema Component Representation
<xs:element name="inconsistencies">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:inconsistency " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: inconsistency

Name inconsistency
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:inconsistency>
<adx:title> ... </adx:title> [1]
<adx:statement> ... </adx:statement> [1]
</adx:inconsistency>
Diagram
Schema Component Representation
<xs:element name="inconsistency">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:title "/>
<xs:element ref=" adx:statement "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: model

Name model
Type anyType
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:model> ... </adx:model>
Diagram
Schema Component Representation
<xs:element name="model"/>
top

Element: model-item

  • This element can be used wherever the following element is referenced:
Name model-item
Type adx:modelItemType
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:model-item
type=" xs:token [0..1]"/>
Diagram
Schema Component Representation
<xs:element name="model-item" type=" adx:modelItemType " substitutionGroup="adx:model"/>
top

Element: model-list

Name model-list
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:model-list>
Start Sequence [0..*]
<adx:model> ... </adx:model> [1]
End Sequence
</adx:model-list>
Diagram
Schema Component Representation
<xs:element name="model-list">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element ref=" adx:model "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: model-resource

  • This element can be used wherever the following element is referenced:
Name model-resource
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The external model is referenced by URI. It may be any type of document (likely but not necessarily XML).
Logical Diagram
XML Instance Representation
<adx:model-resource
adx:uri="[0..1]"/>
Diagram
Schema Component Representation
<xs:element name="model-resource" substitutionGroup="adx:model">
<xs:complexType>
<xs:attribute ref=" adx:uri "/>
</xs:complexType>
</xs:element>
top

Element: rationale

Name rationale
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:rationale>
<adx:title> ... </adx:title> [1]
<adx:statement> ... </adx:statement> [1]
</adx:rationale>
Diagram
Schema Component Representation
<xs:element name="rationale">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:title "/>
<xs:element ref=" adx:statement "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: rationales

Name rationales
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:rationales>
<adx:rationale> ... </adx:rationale> [1..*]
</adx:rationales>
Diagram
Schema Component Representation
<xs:element name="rationales">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:rationale " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: richText

Name richText
Type adx:richTextType
Nillable no
Abstract no
Documentation The richText element will support a subset of XHTML. For now this is defined as a simple string; in the future this will need to be changed.
Logical Diagram
XML Instance Representation
<adx:richText/>
Diagram
Schema Component Representation
<xs:element name="richText" type=" adx:richTextType "/>
top

Element: stakeholder

Name stakeholder
Type adx:stakeholderType
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:stakeholder>
<adx:stakeholder-def> ... </adx:stakeholder-def> [1]
<adx:concern> ... </adx:concern> [1..*]
</adx:stakeholder>
Diagram
Schema Component Representation
<xs:element name="stakeholder" type=" adx:stakeholderType "/>
top

Element: stakeholder-def

Name stakeholder-def
Type anyType
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:stakeholder-def> ... </adx:stakeholder-def>
Diagram
Schema Component Representation
<xs:element name="stakeholder-def"/>
top

Element: stakeholder-def-item

  • This element can be used wherever the following element is referenced:
Name stakeholder-def-item
Type Locally-defined complex type
Nillable no
Abstract no
Documentation This is a placeholder stakeholder element definition; the stakeholder element should eventually be defined as a type with properties conforming to IEEE-1471 and substitutable by a URL to an external stakeholder document (which must still be in the adx:stakeholder format).
Logical Diagram
XML Instance Representation
<adx:stakeholder-def-item
adx:id="[1]"
role=" xs:string [1] ?">
<adx:title> ... </adx:title> [1]
</adx:stakeholder-def-item>
Diagram
Schema Component Representation
<xs:element name="stakeholder-def-item" substitutionGroup="adx:stakeholder-def">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:title " minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute ref=" adx:id " use="required"/>
<xs:attribute name="role" type=" xs:string " use="required"/>
</xs:complexType>
</xs:element>
top

Element: stakeholder-def-list

Name stakeholder-def-list
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:stakeholder-def-list>
<adx:stakeholder-def> ... </adx:stakeholder-def> [1..*]
</adx:stakeholder-def-list>
Diagram
Schema Component Representation
<xs:element name="stakeholder-def-list">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:stakeholder-def " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: stakeholder-def-resource

  • This element can be used wherever the following element is referenced:
Name stakeholder-def-resource
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:stakeholder-def-resource
adx:id="[1]"
adx:uri="[1]"/>
Diagram
Schema Component Representation
<xs:element name="stakeholder-def-resource" substitutionGroup="adx:stakeholder-def">
<xs:complexType>
<xs:attribute ref=" adx:id " use="required"/>
<xs:attribute ref=" adx:uri " use="required"/>
</xs:complexType>
</xs:element>
top

Element: stakeholder-library

Name stakeholder-library
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:stakeholder-library>
<adx:document-info> ... </adx:document-info> [1]
<adx:stakeholders> ... </adx:stakeholders> [1]
</adx:stakeholder-library>
Diagram
Schema Component Representation
<xs:element name="stakeholder-library">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:document-info "/>
<xs:element ref=" adx:stakeholders "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: stakeholders

Name stakeholders
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:stakeholders>
<adx:stakeholder> ... </adx:stakeholder> [1..*]
</adx:stakeholders>
Diagram
Schema Component Representation
<xs:element name="stakeholders">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:stakeholder " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: statement

Name statement
Type adx:richTextType
Nillable no
Abstract no
Documentation The statement element is used in two subsections of the architectural description (ad) element: the inconsistencies subsection, and the rationales subsection.
Logical Diagram
XML Instance Representation
<adx:statement/>
Diagram
Schema Component Representation
<xs:element name="statement" type=" adx:richTextType "/>
top

Element: title

Name title
Type xs:string
Nillable no
Abstract no
Documentation The title element is a reusable element. It will be used as a child element of various titled adx elements inlcuding ad, viewpoint, view, and concern.
Logical Diagram
XML Instance Representation
<adx:title> xs:string </adx:title>
Diagram
Schema Component Representation
<xs:element name="title" type=" xs:string "/>
top

Element: view

Name view
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The view type has a required attribute for viewpoint-id, followed by an unlimited sequence of alternating richText, model, and/or model-list elements.
Logical Diagram
XML Instance Representation
<adx:view>
<adx:viewpoint-ref> ... </adx:viewpoint-ref> [1]
<adx:title> ... </adx:title> [1]
<adx:content> adx:viewModelContentType </adx:content> [1]
</adx:view>
Diagram
Schema Component Representation
<xs:element name="view">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:viewpoint-ref "/>
<xs:element ref=" adx:title "/>
<xs:element name="content" type=" adx:viewModelContentType "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: viewpoint

Name viewpoint
Type anyType
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoint> ... </adx:viewpoint>
Diagram
Schema Component Representation
<xs:element name="viewpoint"/>
top

Element: viewpoint-id

Name viewpoint-id
Type xs:IDREF
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoint-id> xs:IDREF </adx:viewpoint-id>
Diagram
Schema Component Representation
<xs:element name="viewpoint-id" type=" xs:IDREF "/>
top

Element: viewpoint-item

  • This element can be used wherever the following element is referenced:
Name viewpoint-item
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoint-item>
<adx:concern-id> xs:IDREF </adx:concern-id> [1..*]
<adx:construction-rules> xs:string </adx:construction-rules> [1]
<adx:validation-rules> xs:string </adx:validation-rules> [1]
</adx:viewpoint-item>
Diagram
Schema Component Representation
<xs:element name="viewpoint-item" substitutionGroup="adx:viewpoint">
<xs:complexType>
<xs:sequence>
<xs:element name="concern-id" type=" xs:IDREF " minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="construction-rules" type=" xs:string "/>
<xs:element name="validation-rules" type=" xs:string "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: viewpoint-library

Name viewpoint-library
Type Locally-defined complex type
Nillable no
Abstract no
Documentation The viewpoint-library element should be used as the root document element for a standalone viewpoint library document. The library document includes one or more viewpoint definitions and may also include one or more stakeholder definitions. This element is not used directly in a architectural description (ad) document.
Logical Diagram
XML Instance Representation
<adx:viewpoint-library>
<adx:document-info> ... </adx:document-info> [1]
<adx:stakeholders> ... </adx:stakeholders> [0..1]
<adx:viewpoints> ... </adx:viewpoints> [1]
</adx:viewpoint-library>
Diagram
Schema Component Representation
<xs:element name="viewpoint-library">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:document-info "/>
<xs:element ref=" adx:stakeholders " minOccurs="0" maxOccurs="1"/>
<xs:element ref=" adx:viewpoints "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: viewpoint-ref

Name viewpoint-ref
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoint-ref>
Start Choice [1]
<adx:viewpoint-id> ... </adx:viewpoint-id> [1]
<adx:viewpoint-uri> ... </adx:viewpoint-uri> [1]
End Choice
</adx:viewpoint-ref>
Diagram
Schema Component Representation
<xs:element name="viewpoint-ref">
<xs:complexType>
<xs:choice>
<xs:element ref=" adx:viewpoint-id "/>
<xs:element ref=" adx:viewpoint-uri "/>
</xs:choice>
</xs:complexType>
</xs:element>
top

Element: viewpoint-resource

  • This element can be used wherever the following element is referenced:
Name viewpoint-resource
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoint-resource
adx:uri="[0..1]"/>
Diagram
Schema Component Representation
<xs:element name="viewpoint-resource" substitutionGroup="adx:viewpoint">
<xs:complexType>
<xs:attribute ref=" adx:uri "/>
</xs:complexType>
</xs:element>
top

Element: viewpoint-uri

Name viewpoint-uri
Type xs:anyURI
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoint-uri> xs:anyURI </adx:viewpoint-uri>
Diagram
Schema Component Representation
<xs:element name="viewpoint-uri" type=" xs:anyURI "/>
top

Element: viewpoints

Name viewpoints
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:viewpoints>
<adx:viewpoint> ... </adx:viewpoint> [1..*]
</adx:viewpoints>
Diagram
Schema Component Representation
<xs:element name="viewpoints">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:viewpoint " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Element: views

Name views
Type Locally-defined complex type
Nillable no
Abstract no
Logical Diagram
XML Instance Representation
<adx:views>
<adx:view> ... </adx:view> [1..*]
</adx:views>
Diagram
Schema Component Representation
<xs:element name="views">
<xs:complexType>
<xs:sequence>
<xs:element ref=" adx:view " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Global Definitions

Complex Type: adType

Super-types: None
Sub-types: None
Name adType
Abstract no
XML Instance Representation
<...>
<adx:title> ... </adx:title> [1]
<adx:document-info> ... </adx:document-info> [1]
<adx:stakeholders> ... </adx:stakeholders> [1]
<adx:viewpoints> ... </adx:viewpoints> [1]
<adx:views> ... </adx:views> [1]
<adx:inconsistencies> ... </adx:inconsistencies> [1]
<adx:rationales> ... </adx:rationales> [1]
</...>
Diagram
Schema Component Representation
<xs:complexType name="adType">
<xs:sequence>
<xs:element ref=" adx:title "/>
<xs:element ref=" adx:document-info "/>
<xs:element ref=" adx:stakeholders "/>
<xs:element ref=" adx:viewpoints "/>
<xs:element ref=" adx:views "/>
<xs:element ref=" adx:inconsistencies "/>
<xs:element ref=" adx:rationales "/>
</xs:sequence>
</xs:complexType>
top

Complex Type: modelItemType

Super-types: richTextType < modelItemType (by extension)
Sub-types: None
Name modelItemType
Abstract no
Documentation The inline model is an abstract container for any structured content. The concrete model data is expected to be defined by an external XML schema. For now this has a placeholder content type (adx:richText).
XML Instance Representation
<...
type=" xs:token [0..1]"/>
Diagram
Schema Component Representation
<xs:complexType name="modelItemType" mixed="true">
<xs:complexContent mixed="true">
<xs:extension base=" adx:richTextType ">
<xs:attribute name="type" type=" xs:token "/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
top

Complex Type: richTextType

Super-types: None
Sub-types:
Name richTextType
Abstract no
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xs:complexType name="richTextType" mixed="true"/>
top

Complex Type: stakeholderType

Super-types: None
Sub-types: None
Name stakeholderType
Abstract no
XML Instance Representation
<...>
<adx:stakeholder-def> ... </adx:stakeholder-def> [1]
<adx:concern> ... </adx:concern> [1..*]
</...>
Diagram
Schema Component Representation
<xs:complexType name="stakeholderType">
<xs:sequence>
<xs:element ref=" adx:stakeholder-def " minOccurs="1" maxOccurs="1"/>
<xs:element ref=" adx:concern " minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: viewModelContentType

Super-types: None
Sub-types: None
Name viewModelContentType
Abstract no
Documentation The view-model element is used in the definition of a view element; a concrete view element may contain any sequence of child items, where each item may either be a block of rich text, a model, or a model-list.
XML Instance Representation
<...>
Start Choice [1..*]
<adx:model> ... </adx:model> [1]
<adx:richText> ... </adx:richText> [1]
<adx:model-list> ... </adx:model-list> [1]
End Choice
</...>
Diagram
Schema Component Representation
<xs:complexType name="viewModelContentType">
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element ref=" adx:model "/>
<xs:element ref=" adx:richText "/>
<xs:element ref=" adx:model-list "/>
</xs:choice>
</xs:sequence>
</xs:complexType>
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