SeriesType

Last modified by Artur K. on 2026/06/05 16:20

  

https://purl.semanticip.org/linked-data/sdmx/ML/dsd/SeriesType page_white_text TTL
owl:Class
Series Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/data/structurespecific
dsd
complexType

SeriesType is the abstract type which defines a structure which is used to group a collection of observations which have a key in common. The key for a series is every dimension defined in the data structure definition, save the dimension declared to be at the observation level for this data set. In addition to observations, values can be provided for data and metadata attributes which are associated with the dimensions which make up this series key (so long as the attributes do not specify a group attachment or also have an relationship with the observation dimension). It is possible for the series to contain only observations or only attribute values, or both. Data structure definition schemas will derive a type based on this that is specific to the data structure definition and the variation of the format being expressed in the schema. Both the dimension values which make up the key and the attribute values associated with the key dimensions will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived series type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). The dimension XML attributes will be required while the attribute XML attributes will be optional. To allow for generic processing, it is required that the only unqualified XML attributes in the derived group type be for the series dimensions and attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition dimension or attribute.

SDMXDataStructureSpecific.xsd

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SeriesType" abstract="true">
  <xs:annotation>
   <xs:documentation>SeriesType is the abstract type which defines a structure which is used to group a collection of observations which have a key in common. The key for a series is every dimension defined in the data structure definition, save the dimension declared to be at the observation level for this data set. In addition to observations, values can be provided for data and metadata attributes which are associated with the dimensions which make up this series key (so long as the attributes do not specify a group attachment or also have an relationship with the observation dimension). It is possible for the series to contain only observations or only attribute values, or both. Data structure definition schemas will derive a type based on this that is specific to the data structure definition and the variation of the format being expressed in the schema. Both the dimension values which make up the key and the attribute values associated with the key dimensions will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived series type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). The dimension XML attributes will be required while the attribute XML attributes will be optional. To allow for generic processing, it is required that the only unqualified XML attributes in the derived group type be for the series dimensions and attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition dimension or attribute.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
   <xs:extension base="common:AnnotableType">
    <xs:sequence>
     <xs:element name="Comp" type="CompType" form="unqualified" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
       <xs:documentation>Comp contains the details of series level attributes that have complex representation and cannot be expressed as XML attributes.</xs:documentation>
      </xs:annotation>
     </xs:element>
     <xs:element name="Obs" type="ObsType" form="unqualified" minOccurs="0" maxOccurs="unbounded" />
     <xs:element name="Metadata" type="MetadataType" minOccurs="0" form="unqualified">
      <xs:annotation>
       <xs:documentation>Allows for attachment of reference metadata against to the series.</xs:documentation>
      </xs:annotation>
     </xs:element>
    </xs:sequence>
    <xs:attribute name="TIME_PERIOD" type="common:ObservationalTimePeriodType" use="optional">
     <xs:annotation>
      <xs:documentation>The TIME_PERIOD attribute is an explicit attribute for the time dimension. This is declared in the base schema since it has a fixed identifier and representation. The derived series type will either require or prohibit this attribute, depending on whether time is the observation dimension. If the time dimension specifies a more specific representation of time the derived type will restrict the type definition to the appropriate type.</xs:documentation>
     </xs:annotation>
    </xs:attribute>
    <xs:anyAttribute namespace="local" />
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>

 

rdfs:subClassOf sip-sdmx-ML-common:AnnotableType ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:Comp ;
    owl:allValuesFrom sip-sdmx-ML-dsd:CompType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:Obs ;
    owl:allValuesFrom sip-sdmx-ML-dsd:ObsType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:Metadata ;
    owl:allValuesFrom sip-sdmx-ML-dsd:MetadataType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:Metadata ;
    owl:maxQualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML-dsd:MetadataType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:TIME_PERIOD ;
    owl:allValuesFrom sip-sdmx-ML-common:ObservationalTimePeriodType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:TIME_PERIOD ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange sip-sdmx-ML-common:ObservationalTimePeriodType
] ;

© Semantic R&D Group, 2026