SemanticVersionReferenceType

Version 11.1 by Artur K. on 2026/05/25 18:48

  

https://purl.semanticip.org/linked-data/sdmx/ML/SemanticVersionReferenceType page_white_text TTL
Semantic Version Reference Type
simpleType

SemanticVersionReferenceType is a simple type for referencing semantic version numbers. It allows for the wildcarding of only one the major, minor, or patch version parts using "+".

SDMXCommonReferences.xsd

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SemanticVersionReferenceType">
  <xs:annotation>
   <xs:documentation>SemanticVersionReferenceType is a simple type for referencing semantic version numbers. It allows for the wildcarding of only one the major, minor, or patch version parts using "+".</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
   <xs:pattern value="((0|[1-9]\d*)\+?)(\.((0|[1-9]\d*))){2}" />
   <xs:pattern value="((0|[1-9]\d*))(\.((0|[1-9]\d*)\+?))(\.((0|[1-9]\d*)))" />
   <xs:pattern value="((0|[1-9]\d*))(\.((0|[1-9]\d*)))(\.((0|[1-9]\d*)\+?))" />
  </xs:restriction>
 </xs:simpleType>

 

© Semantic R&D Group, 2026