[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[hyades-dev] Statistica data schema - First Draft
|
Here is the first draft of a schema definition for statistical data
destined for the statistical model. Included is a schema file, HTML
documentation, and a sample instance that conforms to the schema. I am
looking forward to some feedback. I will schedual a meeting for Monday
with the previously identified participants to push this forward.
(See attached file: statistical.html)(See attached file: statistical.xml)
(See attached file: statistical.xsd)
Richard K. Duggan
Problem Determination Enablement
IBM Toronto Laboratory
External: 905-413-2396
Internal: 969-2396
Title: XML Schema Documentation
Schema
Schema Location
| C:/Documents and Settings/Administrator/My Documents/IBM/wsappdev51/workspace/Statistical/statistical.xsd |
Target Namespace | http://www.eclipse.org/hyades |
Documentation |
This document describes the format for representation of statistical data
that is destined for the Hyades statistical model. Any data that complies
to this format will be able to be consumed by Hyades and made available
within the tooling.
*********************************************************************
Change History:
22 Oct 2003 - Richard K Duggan initial implementation
*********************************************************************
Copyright 2003 Eclipse.org
http://www.eclipse.org/legal/cpl-v10.html
|
Documentation |
This is the base type for all descriptors. DescriptorType's do not have
associated counters but rather provide containment structure so that descriptors
have a hierarchy.
|
Namespace | http://www.eclipse.org/hyades |
Attributes |
Name | Type | Use | Default | Fixed | Form |
name | xsd:string | required | | | |
id | xsd:ID | required | | | |
parent | xsd:IDREF | | | | |
|
Content sequence | description{0,1}
|
Source |
<xsd:complexType name="DescriptorType"> <xsd:sequence> <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required"/> <xsd:attribute name="id" type="xsd:ID" use="required"/> <xsd:attribute name="parent" type="xsd:IDREF"/> </xsd:complexType>
|
Namespace | |
Type | xsd:string |
Source |
<xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1"/>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:DescriptorType |
Source |
<xsd:element name="Descriptor" type="hyades:DescriptorType"/>
|
Documentation |
A DescriptorMember is a descriptor that has a counter associated with
it. DescriptorMembers are refered to be Observations. DescriptorMember's
contain representation information for the observation information they describe.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:DescriptorType
|
Content sequence | Representation{0,1}
|
Attributes |
Name | Type | Use | Default | Fixed | Form |
representationType | | | | | |
|
Source |
<xsd:complexType name="DescriptorMember"> <xsd:complexContent> <xsd:extension base="hyades:DescriptorType"> <xsd:sequence> <xsd:element name="Representation" type="hyades:RepresentationType" minOccurs="0" maxOccurs="1"/> </xsd:sequence> <xsd:attribute name="representationType"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="text"/> <xsd:enumeration value="descrete"/> <xsd:enumeration value="contiguous"/> <xsd:enumeration value="range"/> <xsd:enumeration value="guage"/> </xsd:restriction> </xsd:simpleType> </xsd:attribute> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | |
Type | hyades:RepresentationType |
Source |
<xsd:element name="Representation" type="hyades:RepresentationType" minOccurs="0" maxOccurs="1"/>
|
Documentation |
This is a concrete type of MemberDesciptors that is to be used for descriptors
which will have associated observations that are counters. Counters are interpretted
as the current value is considered valid at the time the observation was taken.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:DescriptorMember |
Source |
<xsd:complexType name="CounterDescriptorType"> <xsd:complexContent> <xsd:extension base="hyades:DescriptorMember"> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:CounterDescriptorType |
Source |
<xsd:element name="CounterDesriptor" type="hyades:CounterDescriptorType"/>
|
Documentation |
This is a concrete type of MemberDesciptors that is to be used for descriptors
which will have associated observations that are samples. Samples are interpretted
as the current value is considered updated only on certain intervals.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:DescriptorMember |
Attributes |
Name | Type | Use | Default | Fixed | Form |
updateFrequency | xsd:decimal | required | | | |
|
Source |
<xsd:complexType name="SampleDescriptorType"> <xsd:complexContent> <xsd:extension base="hyades:DescriptorMember"> <xsd:attribute name="updateFrequency" type="xsd:decimal" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:SampleDescriptorType |
Source |
<xsd:element name="SampleDescriptor" type="hyades:SampleDescriptorType"/>
|
Documentation |
This is the base type of all observations. Observations have an
associated MemberDescriptor and a time at which the observation was taken.
|
Namespace | http://www.eclipse.org/hyades |
Attributes |
Name | Type | Use | Default | Fixed | Form |
descriptor | xsd:IDREF | required | | | |
time | xsd:decimal | required | | | |
|
Source |
<xsd:complexType name="ObservationType"> <xsd:attribute name="descriptor" type="xsd:IDREF" use="required"/> <xsd:attribute name="time" type="xsd:decimal" use="required"/> </xsd:complexType>
|
Documentation |
A concrete observation that contain a textual value.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:ObservationType |
Attributes |
Name | Type | Use | Default | Fixed | Form |
value | xsd:string | | | | |
|
Source |
<xsd:complexType name="TextObservationType"> <xsd:complexContent> <xsd:extension base="hyades:ObservationType"> <xsd:attribute name="value" type="xsd:string"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:TextObservationType |
Source |
<xsd:element name="TextObservation" type="hyades:TextObservationType"/>
|
Documentation |
A concrete observation that contains a integer value.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:ObservationType |
Attributes |
Name | Type | Use | Default | Fixed | Form |
value | xsd:int | | | | |
|
Source |
<xsd:complexType name="DescreteObservationType"> <xsd:complexContent> <xsd:extension base="hyades:ObservationType"> <xsd:attribute name="value" type="xsd:int"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:DescreteObservationType |
Source |
<xsd:element name="DescreteObservation" type="hyades:DescreteObservationType"/>
|
Documentation |
A observation that contains a floating point value.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:ObservationType |
Attributes |
Name | Type | Use | Default | Fixed | Form |
value | xsd:decimal | | | | |
|
Source |
<xsd:complexType name="ContiguousObservationType"> <xsd:complexContent> <xsd:extension base="hyades:ObservationType"> <xsd:attribute name="value" type="xsd:decimal"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:ContiguousObservationType |
Source |
<xsd:element name="ContiguousObservation" type="hyades:ContiguousObservationType"/>
|
Documentation |
The base of all representations.
|
Namespace | http://www.eclipse.org/hyades |
Source |
<xsd:complexType name="RepresentationType"> </xsd:complexType>
|
Documentation |
A representation that has a minimun and a maximum value. That is, the
observations will reside between these two values.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:RepresentationType |
Attributes |
Name | Type | Use | Default | Fixed | Form |
min | xsd:int | required | | | |
max | xsd:int | required | | | |
|
Source |
<xsd:complexType name="RangeRepresentationType"> <xsd:complexContent> <xsd:extension base="hyades:RepresentationType"> <xsd:attribute name="min" type="xsd:int" use="required"/> <xsd:attribute name="max" type="xsd:int" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:RangeRepresentationType |
Source |
<xsd:element name="RangeRepresentation" type="hyades:RangeRepresentationType"/>
|
Documentation |
Extends the range representation by adding a minumun and maximum
threashold for the observations. The idea here is that you could
store these thresholds in the model and then have logic that informs you
when an observation is outside of these threshold values.
|
Namespace | http://www.eclipse.org/hyades |
Type | extension of hyades:RangeRepresentationType |
Attributes |
Name | Type | Use | Default | Fixed | Form |
minThreshold | xsd:int | required | | | |
maxThreshold | xsd:int | required | | | |
|
Source |
<xsd:complexType name="GuageRepresentationType"> <xsd:complexContent> <xsd:extension base="hyades:RangeRepresentationType"> <xsd:attribute name="minThreshold" type="xsd:int" use="required"/> <xsd:attribute name="maxThreshold" type="xsd:int" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType>
|
Namespace | http://www.eclipse.org/hyades |
Type | hyades:GuageRepresentationType |
Source |
<xsd:element name="GuageRepresentation" type="hyades:GuageRepresentationType"/>
|
Attachment:
statistical.xml
Description: Binary data
Attachment:
statistical.xsd
Description: Binary data