SingleValueMappingType

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

  

https://purl.semanticip.org/linked-data/sdmx/ML/structure/SingleValueMappingType page_white_text TTL
owl:Class
Single Value Mapping Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/structure
structure
complexType

SingleValueMappingType defines a mapping with a single source and optional target.

SDMXStructureStructureMappings.xsd

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SingleValueMappingType">
  <xs:annotation>
   <xs:documentation>SingleValueMappingType defines a mapping with a single source and optional target.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
   <xs:extension base="common:AnnotableType">
    <xs:sequence>
     <xs:element name="SourceValue" type="MappedValueType">
      <xs:annotation>
       <xs:documentation>There should be a source value for each source representation (e.g. codelist, data type). Source values can be pattern matched by using regular expression or substrings using start/end indexes.</xs:documentation>
      </xs:annotation>
     </xs:element>
     <xs:element name="TargetValue" type="xs:string" minOccurs="0">
      <xs:annotation>
       <xs:documentation>The target value(s) is always an absolute string. However, if source value is a regular expression, the target value can output the capture group from the source.</xs:documentation>
      </xs:annotation>
     </xs:element>
    </xs:sequence>
    <xs:attribute name="validFrom" type="xs:date" use="optional" />
    <xs:attribute name="validTo" type="xs:date" use="optional" />
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>

 

rdfs:subClassOf sip-sdmx-ML-common:AnnotableType ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:SourceValue ;
    owl:allValuesFrom sip-sdmx-ML-structure:MappedValueType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:SourceValue ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML-structure:MappedValueType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:TargetValue ;
    owl:allValuesFrom xsd:string
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:TargetValue ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange xsd:string
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validFrom ;
    owl:allValuesFrom xsd:date
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validFrom ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange xsd:date
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validTo ;
    owl:allValuesFrom xsd:date
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:validTo ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange xsd:date
] ;

© Semantic R&D Group, 2026