RangeValidMonthDayType

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

  

https://purl.semanticip.org/linked-data/sdmx/ML/common/RangeValidMonthDayType page_white_text TTL
rdfs:Datatype
Range Valid Month Day Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/common
common
simpleType

RangeValidMonthDayType is a derivation of the BaseTimeRangeType which validates that the day provided is valid for the month, without regard to leap years. The base type will have provided basic validation already. The patterns below validate that there are up to 29 days in February, up to 30 days in April, June, September, and November and up to 31 days in January, March, May, July, August, October, and December. This type is meant to be derived from for further validation.

SDMXCommon.xsd

<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RangeValidMonthDayType">
  <xs:annotation>
   <xs:documentation>RangeValidMonthDayType is a derivation of the BaseTimeRangeType which validates that the day provided is valid for the month, without regard to leap years. The base type will have provided basic validation already. The patterns below validate that there are up to 29 days in February, up to 30 days in April, June, September, and November and up to 31 days in January, March, May, July, August, October, and December. This type is meant to be derived from for further validation.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="BaseTimeRangeType">
   <xs:pattern value=".{5}02\-(0[1-9]|[1-2][0-9]).+" />
   <xs:pattern value=".{5}(04|06|09|11)\-(0[1-9]|[1-2][0-9]|30).+" />
   <xs:pattern value=".{5}(01|03|05|07|08|10|12)\-(0[1-9]|[1-2][0-9]|3[0-1]).+" />
  </xs:restriction>
 </xs:simpleType>


 

sip-sdmx-ML:BaseTimeRangeType

owl:withRestrictions (
    [ xsd:pattern ".{5}02
-(0[1-9]|[1-2][0-9]).+" ]
    [ xsd:pattern ".{5}(04|06|09|11)
-(0[1-9]|[1-2][0-9]|30).+" ]
    [ xsd:pattern ".{5}(01|03|05|07|08|10|12)
-(0[1-9]|[1-2][0-9]|3[0-1]).+" ]
)

© Semantic R&D Group, 2026