AvailabilityConstraintType

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

  

https://purl.semanticip.org/linked-data/sdmx/ML/structure/AvailabilityConstraintType page_white_text TTL
owl:Class
Availability Constraint Type
http://www.sdmx.org/resources/sdmxml/schemas/v3_1/structure
structure
complexType

AvailabilityConstraintType defines the structure of an availability constraint. This type of constraint contains the actual data currently present for the referenced object and is used to express data availability either by listing the available sets of keys (DataKeySet) or a set of component values (CubeRegion), e.g., in a data source. Availability constraints should not be (semantically) versioned.

SDMXStructureConstraint.xsd

<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AvailabilityConstraintType">
  <xs:annotation>
   <xs:documentation>AvailabilityConstraintType defines the structure of an availability constraint. This type of constraint contains the actual data currently present for the referenced object and is used to express data availability either by listing the available sets of keys (DataKeySet) or a set of component values (CubeRegion), e.g., in a data source. Availability constraints should not be (semantically) versioned.</xs:documentation>
  </xs:annotation>
  <xs:complexContent>
   <xs:extension base="common:AnnotableType">
    <xs:sequence>
     <xs:element name="ConstraintAttachment" type="AvailabilityConstraintAttachmentType" minOccurs="1" maxOccurs="1">
      <xs:annotation>
       <xs:documentation>ConstraintAttachment describes the Constrainable structure the availability information is for</xs:documentation>
      </xs:annotation>
     </xs:element>
     <xs:element name="CubeRegion" type="CubeRegionType" minOccurs="1" maxOccurs="1">
      <xs:annotation>
       <xs:documentation>CubeRegion defines a slice of the data set (dimensions and attribute values) for the constrained artefact. A set of included or excluded regions can be described.</xs:documentation>
      </xs:annotation>
     </xs:element>
    </xs:sequence>
    <xs:attribute name="seriesCount" type="xs:int" use="optional" />
    <xs:attribute name="obsCount" type="xs:int" use="optional" />
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>

 

rdfs:subClassOf sip-sdmx-ML-common:AnnotableType ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:ConstraintAttachment ;
    owl:allValuesFrom sip-sdmx-ML-structure:AvailabilityConstraintAttachmentType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:ConstraintAttachment ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML-structure:AvailabilityConstraintAttachmentType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:CubeRegion ;
    owl:allValuesFrom sip-sdmx-ML-structure:CubeRegionType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:CubeRegion ;
    owl:qualifiedCardinality 1 ;
    owl:onClass sip-sdmx-ML-structure:CubeRegionType
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:seriesCount ;
    owl:allValuesFrom xsd:int
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:seriesCount ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange xsd:int
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:obsCount ;
    owl:allValuesFrom xsd:int
] ;
rdfs:subClassOf [
    a owl:Restriction ;
    owl:onProperty sip-sdmx-ML:obsCount ;
    owl:maxQualifiedCardinality 1 ;
    owl:onDataRange xsd:int
] ;

© Semantic R&D Group, 2026