SemanticVersionNumberType

Version 15.1 by Artur K. on 2026/05/26 14:11

  

https://purl.semanticip.org/linked-data/sdmx/ML/SemanticVersionNumberType page_white_text TTL
rdfs:Datatype
Semantic Version Number Type
simpleType

SemanticVersionNumberType is a simple type for validating semantic version in the format (major.minor.patch[-extension]).

SDMXCommonReferences.xsd

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SemanticVersionNumberType">
  <xs:annotation>
   <xs:documentation>SemanticVersionNumberType is a simple type for validating semantic version in the format (major.minor.patch[-extension]).</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:string">
   <xs:pattern value="(0|[1-9]\d*)(\.(0|[1-9]\d*)){2}(\-(([A-Za-z\-]|([A-Za-z\-][A-Za-z0-9\-]+)|([A-Za-z0-9\-]+[A-Za-z\-][A-Za-z0-9\-]*))|(0|[1-9][0-9]*))(\.(([A-Za-z\-]|([A-Za-z\-][A-Za-z0-9\-]+)|([A-Za-z0-9\-]+[A-Za-z\-][A-Za-z0-9\-]*))|(0|[1-9][0-9]*)))*)?" />
  </xs:restriction>
 </xs:simpleType>

 

xsd:string

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

© Semantic R&D Group, 2026