UrnVersionPart

Version 10.1 by Artur K. on 2026/05/25 18:42

  

https://purl.semanticip.org/linked-data/sdmx/ML/UrnVersionPart page_white_text TTL
simpleType

This refines the prefix, classes, agency, and maintainable id patterns to validate the version number part of the URN ((<version_number)). It accounts for both legacy and semantic versioning, but not wildcarding (for referencing). It is meant to be further refined, although all parts after this are optional.

SDMXCommonReferences.xsd

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="UrnVersionPart">
  <xs:annotation>
   <xs:documentation>This refines the prefix, classes, agency, and maintainable id patterns to validate the version number part of the URN ((&lt;version_number)). It accounts for both legacy and semantic versioning, but not wildcarding (for referencing). It is meant to be further refined, although all parts after this are optional.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="UrnMaintainableIdPart">
   <xs:pattern value=".+\((0|[1-9]\d*)(\.(0|[1-9]\d*))?\).*" />
   <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>

 

© Semantic R&D Group, 2026