SemanticVersionReferenceType

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

  

https://purl.semanticip.org/linked-data/sdmx/ML/common/SemanticVersionReferenceType page_white_text TTL
rdfs:Datatype
Semantic Version Reference Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/common
common
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>

 

xsd:string

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

© Semantic R&D Group, 2026