All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xsd.2_1.SDMXQueryData.xsd Maven / Gradle / Ivy

The newest version!



	
	
	
	
		SDMX Data Query Module
		The data query module provides the construct of a query for a data.
	
	
	
		
			DataQueryType defines the structure of a query for data. This is generally appliable for any data request, but can be refined depending on the type of data being queried (generic or structured, time series specific or not) to the requirements of the requested format.
		
		
			
				
					ReturnDetails contains the details of how the returned data should be structured, what type of data (e.g. active or deleted observations), and the limit of the amount of observations to be returned.
				
			
			
				
					DataWhere contains the details of the data query.
				
			
		
	

	
		
			TimeSeriesDataQueryType defines the structure of a query for data. This specifically applies to requesting time series only structured data.
		
		
			
				
					
					
				
			
		
	

	
		
			GenericDataQueryType defines the structure of a query for data formatted in the generic format. This structure generally applies to any type of generic data request, but can be refined to request time series only data.
		
		
			
				
					
					
				
			
		
	

	
		
			GenericTimeSeriesDataQueryType defines the structure of a query for time series only data formatted in the generic format.
		
		
			
				
					
					
				
			
		
	
	
	
		
			DataReturnDetailsBaseType is an abstract base type which forms the basis of the DataReturnDetailsType.
		
		
			
				
					
						The detail attribute is used to indicate whether the response to the query should return the full details of matched data sets, or just a subset of the information should be returned. A value of "Full" indicates that the complete data set (including data and documentation) will be returned. A value of "DataOnly" indicates that only the observation values and keys should be returned. A value of "SeriesKeyOnly" indicates that only the Series elements and their keys (i.e. Dimension values) should be returned. A value of "NoData" indicates that only documentation should be returned (i.e. the DataSet, Group, and Series level Attributes).
					
									
			
		
	
	
	
		
			DataReturnDetailsType specifies the specifics of the how data should be returned, including how it should be structured and how many and what type (e.g. active or deleted) observations should be returned.
		
		
			
				
					
						
							FirstNObservations specifies that number of observations indicated should be returned, starting from the earliest observation. Note that this can be used in conjunction with the LastNObservations. For example, if both FirstNObservations and LastNObservations had a value of 1, then the first and the last observation would be returned.
						
					
					
						
							LastNObservations specifies that number of observations indicated should be returned, starting from the latest observation and working back. Note that this can be used in conjunction with the FirstNObservations. For example, if both FirstNObservations and LastNObservations had a value of 1, then the first and the last observation would be returned.
						
					
					
						
							Structure defines how the is requested to be oriented in the returned message. For each data structure, dataflow, or provision agreement, a dimension at the observation level can be specified, and in the case that the dimension is a measure and the query is for structured data, the measure can be specified as being explicit. For any matched data in which there is not a structure specification, the query service can orient that data in any manner, although it is recommended that time be used as the observation dimension.
						
					
				
				
					
						The observationAction attribute specifies the type of observations (added, deleted, udpated, or current) to be returned. In the absence of the Updated parameter, this will return all observations that have ever existed for Added, any observations that have ever been updated for Updated, and any observations that have ever been deleted for Deleted. Note that since observations themselves contain no status in the data messages, it is only possible to query for active observations or deleted observations, but not both. It is possible to subset active observation into recently added and recently updated, however it is only possible to retrieve on or the other. If active observations are returned, there will be no distinction as to whether an individual observation was updated or added during the requested Update parameter.
					
				
			
		
	

	
		
			DataReturnDetailType contains a set of enumerations that indicate how much detail should be returned for a data set.
		
		
			
				
					The entire data set (including all data, documentation, and annotations) will be returned.
				
			
			
				
					Only the observed values and their keys will be returned. Annotations and documentation (i.e. Attributes) and therefore Groups, will be excluded.
				
			
			
				
					Only the series elements and the values for the dimensions will be returned. Annotations, documentation, and observations will be excluded.
				
			
			
				
					Returns all documentation at the DataSet, Group, and Series level without any Observations (therefore, Observation level documentation is not returned). Annotations are not returned.
				
			
		
	

	
		
			GenericDataReturnDetailsType specifies the specifics of the how data should be returned as it pertains to a request for generic data.
		
		
			
				
					
					
					
				
				
			
		
	

	
		
			GenericTimeSeriesDataReturnDetailsType specifies the specifics of the how data should be returned as it pertains to a request for time series only oriented data in the generic format.
		
		
			
				
					
					
					
				
				
			
		
	

	
		
			TimeSeriesDataReturnDetailsType specifies the specifics of the how data should be returned as it pertains to a request for time series only oriented data in the structured format.
		
		
			
				
					
					
					
				
				
			
		
	
	
	
		
			DataParametersType defines the parameters for querying for data. This structure is refined by separate And/Or constructs which make logical restrictions on which parameters apply in such cases.
		
		
			
				
					DataSetID is used to match the id of the data set. Only data from data sets with an identifier satisfying these conditions will be matched.
				
			
			
				
					DataProvider is used to match the provider of data to the referenced data provider. Only data from data sets provided by the referenced data provider will be matched.
				
			
			
				
					DataStructure is used to match the underlying structure of the data. Only data from data sets that conform to referenced data structure definition will be matched.
				
			
			
				
					Dataflow is used to match the flow which data is reported against. Only data from data sets report against referenced dataflow will be matched.
				
			
			
				
					ProvisionAgreement is used to match the provision agreement which data is reported against. Only data from data sets report against the referenced provision agreement will be matched.
				
			
			
				
					Category is used to match a data based on the categorization of its underlying structure (data structure definition), or the usage of that structure (data flow). Only data whose underlying structure or structure usage are categorized against the referenced category will be matched.
				
			
			
				
					Updated is used to match data based on when it was last updated (including additions and deletions). Only data which satisfies the conditions for the last update parameters supplied here will be matched.
				
			
			
				
					ConceptValue is used to match data based on the value of a particular concept. This concept may be used as a dimension, attribute, or measure for the data. So long as the referenced concept has the specified value for a given data point, it will be matched.
				
			
			
				
					RepresentationValue is used to match data based on a representation scheme having a particular value. This representation scheme may be used as the representation of a dimension, attribute, or measure. So long as the value of the concept using the referenced codelist has the value specified, any data point for the concept will be matched.
				
			
			
				
					DimensionValue is used to match data based on the value of a dimension. Any data with the dimension with the supplied identifier satisfies the conditions supplied will be matched.
				
			
			
				
					TimeDimensionValue is used to match data based on the value of the time dimension. Any data with a time value satisfying the conditions supplied will be matched.
				
			
			
				
					AttributeValue is used to match data based on the value of an attribute. Any data with an attribute with the supplied identifier satisfies the conditions supplied will be matched.
				
			
			
				
					PrimaryMeasureValue is used to match data based on the value of the primary measure. Any data with its value satisfying the conditions supplied will be matched.
				
			
			
				
					AttachmentConstraint references an attachment constraint in order to match data which matches the effective data keys or cube regions defined in the constraint. Data will be returned by first matching data on the keys and cube regions that are marked as included (or all data if none), and then excluding the data that satisfies the conditions of the excluded keys and cube regions.
				
			
			
				
					TimeFormat is used to match data when a frequency dimension is not explicitly defined. Only data reported against the supplied time data type will be returned.
				
			
			
				
					Or contains a collection of additional parameters, any one of which can be satisfied to result in a match.
				
			
			
				
					And contains a collection of additional parameters, all of which must be satisfied to result in a match.
				
			
		
	
	
	
		
			DataParametersOrType refines the base data parameters to define a set of parameters joined by an "or" condition. Only one of the parameters supplied in an instance of this type can be satisfied to result in a match.
		
		
			
				
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
										
								
			
		
	
	
	
		
			DataParametersAndType refines the base data parameters to define a set of parameters joined by an "and" conditions. All of the parameters supplied in an instance of this type must be satisfied to result in a match. As a result of this condition, the maximum occurrence of some parameters has been reduced so as to not allow for impossible conditions to be specified (for example data cannot be matched is it is specified that the data set identifier should be "xyz" and the data identifier should be "abc".
		
		
			
				
					
					
					
					
					
					
					
					
					
					
					
					
					
					
					
										
								
			
		
	
	
	
		
			DataStructureComponentValueQueryType is an abstract base type that is the basis for query a data structure definition component for a particular value. Multiple values may be supplied, but the component value must match all of the value conditions supplied in order to return a match.
		
		
			
				
					ID provides the identifier for component for which the value is sought.
				
			
			
				
				
				
				
			
		
	
	
	
		
			DimensionValueType is used to query for data where a given dimension has a particular value.
		
		
			
				
					
					
						
						
						
					
				
			
		
	

	
		
			AttributeValueType is used to query for data where a given attribute has a particular value.
		
		
			
				
					
					
						
						
						
						
					
				
			
		
	

	
		
			PrimaryMeasureValueType is used to query for data where the primary measure (i.e. the observed value) has a particular value.
		
		
			
				
					
					
						
						
						
						
					
				
			
		
	

	
		
			TimeDimensionValueType is used to query for data where the time dimension has a particular value.
		
		
			
				
					
					
						
					
				
			
		
	
	
	
		
			ObservationActionCodeType enumerates the type of observations to be returned.
		
		
			
				
					Active observations, regardless of when they were added or updated will be returned.
				
			
			
				
					Only newly added observations will be returned.
				
			
			
				
					Only updated observations will be returned.
				
			
			
				
					Only deleted observations will be returned.
				
			
		
	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy