UrnVersionPart

Version 22.3 by Artur K. on 2026/05/28 23:28

  

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

 

sip-sdmx-ML:UrnMaintainableIdPart

owl:withRestrictions (
    [ xsd:pattern ".+
((0|[1-9]
d*)(
.(0|[1-9]
d*))?
).*" ]
    [ 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