GroupType
- https://purl.semanticip.org/linked-data/sdmx/ML/dsd/GroupType
TTL - owl:Class
- Group Type
- http://www.sdmx.org/resources/sdmxml/schemas/v3_1/data/structurespecific
- dsd
- complexType
GroupType is the abstract type which defines a structure which is used to communicate attribute values for a group defined in a data structure definition. The group can consist of either a subset of the dimensions defined by the data structure definition, or an association to an attachment constraint, which in turn defines key sets to which attributes can be attached. In the case that the group is based on an attachment constraint, only the identification of group is provided. It is expected that a system which is processing this will relate that identifier to the key sets defined in the constraint and apply the values provided for the attributes appropriately. Data structure definition schemas will drive types based on this for each group defined in the data structure definition. Both the dimension values which make up the key (if applicable) and the attribute values associated with the group will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived group 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 group dimensions and data or metadata 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="GroupType" abstract="true">
<xs:annotation>
<xs:documentation>GroupType is the abstract type which defines a structure which is used to communicate attribute values for a group defined in a data structure definition. The group can consist of either a subset of the dimensions defined by the data structure definition, or an association to an attachment constraint, which in turn defines key sets to which attributes can be attached. In the case that the group is based on an attachment constraint, only the identification of group is provided. It is expected that a system which is processing this will relate that identifier to the key sets defined in the constraint and apply the values provided for the attributes appropriately. Data structure definition schemas will drive types based on this for each group defined in the data structure definition. Both the dimension values which make up the key (if applicable) and the attribute values associated with the group will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived group 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 group dimensions and data or metadata 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 group level attributes that have complex representation and cannot be expressed as XML attributes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Metadata" type="MetadataType" minOccurs="0" form="unqualified">
<xs:annotation>
<xs:documentation>Allows for attachment of reference metadata against to the group.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="type" type="common:IDType" use="optional">
<xs:annotation>
<xs:documentation>The type attribute reference the identifier of the group as defined in the data structure definition. This is optional, but derived group types will provide a fixed value for this so that it always available in the post validation information set. This allows the group to be processed in a generic manner.</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: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:type ;
owl:allValuesFrom sip-sdmx-ML-common:IDType
] ;
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty sip-sdmx-ML:type ;
owl:maxQualifiedCardinality 1 ;
owl:onDataRange sip-sdmx-ML-common:IDType
] ;