LegacyVersionNumberType

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

  

https://purl.semanticip.org/linked-data/sdmx/ML/common/LegacyVersionNumberType page_white_text TTL
rdfs:Datatype
Legacy Version Number Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/common
common
simpleType

LegacyVersionNumberType describes the version number format previously supported in SDMX. The format is restricted to allow for simple incrementing and sorting of version number. The version consists of a set of maximum 2 numeric components, separated by the '.' character. When processing version, each numeric component (the number preceding and following any '.' character) should be parsed as an integer. Thus, a version of 1.3 and 1.03 would be equivalent, as both the '3' component and the '03' component would parse to an integer value of 3.

SDMXCommonReferences.xsd

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LegacyVersionNumberType">
  <xs:annotation>
   <xs:documentation>LegacyVersionNumberType describes the version number format previously supported in SDMX. The format is restricted to allow for simple incrementing and sorting of version number. The version consists of a set of maximum 2 numeric components, separated by the '.' character. When processing version, each numeric component (the number preceding and following any '.' character) should be parsed as an integer. Thus, a version of 1.3 and 1.03 would be equivalent, as both the '3' component and the '03' component would parse to an integer value of 3.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
   <xs:pattern value="(0|[1-9]\d*)(\.(0|[1-9]\d*))?" />
  </xs:restriction>
 </xs:simpleType>

xsd:string

owl:withRestrictions (
    [ xsd:pattern "(0|[1-9]
d*)(
.(0|[1-9]
d*))?" ]
)

© Semantic R&D Group, 2026