Component: Table

Element: Table / info

Namespace http://schemas.google.com/dspl/2010
Annotations Textual information about the table.
Diagram Diagram dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
Type Info
Properties
content: complex
minOccurs: 0
Model name , description{0,1} , url{0,1}
Children description, name, url
Instance
<info>
  <name>{1,1}</name>
  <description>{0,1}</description>
  <url>{0,1}</url>
</info>
Source
<xs:element name="info" type="Info" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Textual information about the table.</xs:documentation>
  </xs:annotation>
</xs:element>

Element: Table / column

Namespace http://schemas.google.com/dspl/2010
Annotations The specification of a column in the table.
Diagram Diagram dspl10.tmp#id95 dspl10.tmp#id96 dspl10.tmp#id94 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9
Properties
content: complex
maxOccurs: unbounded
Model value* | conceptValue{0,1}
Children conceptValue, value
Instance
<column format="" id="" type="">
  <value lang="">{0,unbounded}</value>
  <conceptValue concept="">{0,1}</conceptValue>
</column>
Attributes
QName Type Fixed Default Use Annotation
format xs:string optional A format for the column, used to parse a textual representation of the values. Date formats are defined by: http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
id LocalId required The identifier of the table column.
type DataType required The data type of the table column. All values of the column in the table must conform to this data type.
Source
<xs:element name="column" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>The specification of a column in the table.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:group ref="ValuesGroup" minOccurs="0">
      <xs:annotation>
        <xs:documentation>A constant value for the column.</xs:documentation>
      </xs:annotation>
    </xs:group>
    <xs:attribute name="id" type="LocalId" use="required">
      <xs:annotation>
        <xs:documentation>The identifier of the table column.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="type" type="DataType" use="required">
      <xs:annotation>
        <xs:documentation>The data type of the table column. All values of the
                column in the table must conform to this data type.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="format" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>A format for the column, used to parse a textual
                representation of the values.

                Date formats are defined by:

                http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Element: Table / data

Namespace http://schemas.google.com/dspl/2010
Annotations A data source where data for the table can be found.
Diagram Diagram dspl11.tmp#id99 dspl11.tmp#id98
Type Data
Properties
content: complex
minOccurs: 0
Model file
Children file
Instance
<data>
  <file encoding="utf-8" format="csv">{1,1}</file>
</data>
Source
<xs:element name="data" type="Data" minOccurs="0">
  <xs:annotation>
    <xs:documentation>A data source where data for the table can be found.</xs:documentation>
  </xs:annotation>
</xs:element>

Complex Type: Table

Namespace http://schemas.google.com/dspl/2010
Annotations A table provides data for the dataset. A table may provide data for a concept or for a slice.
Diagram Diagram dspl10.tmp#id102 dspl10.tmp#id89 dspl10.tmp#id90 dspl10.tmp#id97
Used by
Element dspl/tables/table
Model info{0,1} , column+ , data{0,1}
Children column, data, info
Attributes
QName Type Fixed Default Use Annotation
id Id required The unique identifier of the table in the dataset.
Source
<xs:complexType name="Table">
  <xs:annotation>
    <xs:documentation>A table provides data for the dataset. A table may provide data
        for a concept or for a slice.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="info" type="Info" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Textual information about the table.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="column" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>The specification of a column in the table.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:group ref="ValuesGroup" minOccurs="0">
          <xs:annotation>
            <xs:documentation>A constant value for the column.</xs:documentation>
          </xs:annotation>
        </xs:group>
        <xs:attribute name="id" type="LocalId" use="required">
          <xs:annotation>
            <xs:documentation>The identifier of the table column.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="type" type="DataType" use="required">
          <xs:annotation>
            <xs:documentation>The data type of the table column. All values of the
                column in the table must conform to this data type.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="format" type="xs:string" use="optional">
          <xs:annotation>
            <xs:documentation>A format for the column, used to parse a textual
                representation of the values.

                Date formats are defined by:

                http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:complexType>
    </xs:element>
    <xs:element name="data" type="Data" minOccurs="0">
      <xs:annotation>
        <xs:documentation>A data source where data for the table can be found.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="Id" use="required">
    <xs:annotation>
      <xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

Attribute: Table / column / @format

Namespace No namespace
Annotations A format for the column, used to parse a textual representation of the values. Date formats are defined by: http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
Type xs:string
Properties
use: optional
Source
<xs:attribute name="format" type="xs:string" use="optional">
  <xs:annotation>
    <xs:documentation>A format for the column, used to parse a textual
                representation of the values.

                Date formats are defined by:

                http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
  </xs:annotation>
</xs:attribute>

Attribute: Table / column / @id

Namespace No namespace
Annotations The identifier of the table column.
Type LocalId
Properties
use: required
Facets
maxLength 64
Source
<xs:attribute name="id" type="LocalId" use="required">
  <xs:annotation>
    <xs:documentation>The identifier of the table column.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Attribute: Table / column / @type

Namespace No namespace
Annotations The data type of the table column. All values of the column in the table must conform to this data type.
Type DataType
Properties
use: required
Facets
enumeration string
enumeration float
enumeration integer
enumeration boolean
enumeration date
enumeration concept
Source
<xs:attribute name="type" type="DataType" use="required">
  <xs:annotation>
    <xs:documentation>The data type of the table column. All values of the
                column in the table must conform to this data type.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Attribute: Table / @id

Namespace No namespace
Annotations The unique identifier of the table in the dataset.
Type Id
Properties
use: required
Facets
maxLength 64
Used by
Complex Type Table
Source
<xs:attribute name="id" type="Id" use="required">
  <xs:annotation>
    <xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Created using the oXygen XML Editor.