Changes for page Part IV. Data and Metadata Namespaces
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -389,20 +389,16 @@ 389 389 **//ObsType//: **ObsType is the abstract type which defines the structure of a grouped or un-grouped observation. The observation must be provided a key, which is either a value for the dimension which is declared to be at the observation level if the observation is grouped, or a full set of values for all dimensions in the data structure definition if the observation is un-grouped. This key should disambiguate the observation within the context in which it is defined (e.g. there should not be another observation with the same dimension value in a series). The observation can contain an observed value and/or attribute values. Data structure definition schemas will drive a type or types based on this that is specific to the data structure definition and the variation of the format being expressed in the schema. The dimension value(s) which make up the key and the attribute values associated with the key dimension(s) or the primary measure will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived observation type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). The dimension XML attribute(s) will be required while the attribute XML attributes will be optional. To allow for generic processing, it is required that the only unqualified XML attributes in the derived observation type be for the observation dimension(s) and attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition dimension or attribute. If the data structure definition specific schema requires that explicit measures be used (only possible when the measure dimension is specified at the observation), then there will be types derived for each measure defined by the measure dimension. In this case, the types will be specific to each measure, which is to say that the representation of the primary measure (i.e. the observed value) will be restricted to that which is specified by the specific measure. 390 390 391 391 Derivation: 392 +* //com:AnnotableType// (extension) 393 +** //ObsType// 392 392 393 -//com:AnnotableType// (extension) 394 - //ObsType// 395 - 396 396 Attributes: 397 - 398 398 type?, TIME_PERIOD?, REPORTING_YEAR_START_DAY?, OBS_VALUE? 399 399 400 400 Content: 401 - 402 402 com:Annotations? 403 403 404 404 Attribute Documentation: 405 - 406 406 |**Name**|**Type**|**Documentation** 407 407 |type|com:IDType|The type attribute is used when the derived format requires that explicit measure be used. In this case, the derived type based on the measure will fix this value to be the identification of the measure concept. This will not be required, but since it is fixed it will be available in the post validation information set which will allow for generic processing of the data. If explicit measures are not used, then the derived type will prohibit the use of this attribute. 408 408 |TIME_PERIOD|com: ObservationalTimePer iodType|The TIME_PERIOD attribute is an explicit attribute for the time dimension. This is declared in the base schema since it has a fixed identifier and representation. The derived series type will either require or prohibit this attribute, depending on whether time is the observation dimension. If the time dimension specifies a more specific representation of time the derived type will restrict the type definition to the appropriate type. ... ... @@ -417,21 +417,17 @@ 417 417 **//TimeSeriesDataSetType//: **TimeSeriesDataSetType is the abstract type which defines the base structure for any data structure definition specific time series based data set. A derived data set type will be created that is specific to a data structure definition. Unlike the base format, only one variation of this is allowed for a data structure definition. This variation is the time dimension as the observation dimension. Data is organised into a collection of time series. Because this derivation is achieved using restriction, data sets conforming to this type will inherently conform to the base data set structure as well. In fact, data structure specific here will be identical to data in the base data set when the time dimension is the observation dimension, even for the derived data set types. This means that the data contained in this structure can be processed in exactly the same manner as the base structure. The same rules for derivation as the base data set type apply to this specialized data set. 418 418 419 419 Derivation: 416 +* //com:AnnotableType// (extension) 417 +** //DataSetType// (restriction) 418 +*** //TimeSeriesDataSetType// 420 420 421 -//com:AnnotableType// (extension) 422 - //DataSetType// (restriction) 423 - //TimeSeriesDataSetType// 424 - 425 425 Attributes: 426 - 427 427 structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?, dataScope, REPORTING_YEAR_START_DAY? 428 428 429 429 Content: 430 - 431 431 com:Annotations?, DataProvider?, Group*, Series* 432 432 433 433 Attribute Documentation: 434 - 435 435 |**Name**|**Type**|**Documentation** 436 436 |structureRef|xs:IDREF|The structureRef contains a reference to a structural specification in the header of a data or reference metadata message. The structural specification details which structure the data or reference metadata conforms to, as well as providing additional information such as how the data is structure (e.g. which dimension occurs at the observation level for a data set). 437 437 |setID|com:IDType|The setID provides an identification of the data or metadata set. ... ... @@ -456,21 +456,17 @@ 456 456 **TimeSeriesType: **TimeSeriesType defines an abstract structure which is used to group a collection of observations which have a key in common, organised by time. The key for a series is every dimension defined in the data structure definition, save the time dimension. In addition to observations, values can be provided for attributes which are associated with the dimensions which make up this series key (so long as the attributes do not specify a group attachment or also have an relationship with the time dimension). It is possible for the series to contain only observations or only attribute values, or both. The same rules for derivation as the base series type apply to this specialized series. 457 457 458 458 Derivation: 451 +* //com:AnnotableType// (extension) 452 +** //SeriesType// (restriction) 453 +*** TimeSeriesType 459 459 460 -//com:AnnotableType// (extension) 461 - //SeriesType// (restriction) 462 - TimeSeriesType 463 - 464 464 Attributes: 465 - 466 466 REPORTING_YEAR_START_DAY? 467 467 468 468 Content: 469 - 470 470 com:Annotations?, Obs* 471 471 472 472 Attribute Documentation: 473 - 474 474 |**Name**|**Type**|**Documentation** 475 475 |REPORTING_YEAR_START_DAY|xs:gMonthDay|The REPORTING_YEAR_START_DAY attribute is an explict attribute for the reporting year start day, which provides context to the time dimension when its value contains a reporting period (e.g. 2010-Q1). This attribute is used to state the month and day that the reporting year begins (e.g. ~-~-07-01 for July 1st). In the absence of an explicit value provided in this attribute, all reporting period values will be assumed to be based on a reporting year start day of January 1. This is declared in the base schema since it has a fixed identifier and representation. The derived series type may either require or prohibit this attribute, depending on whether the data structure declared the reporting year start day attribute and if so, the attribute relationship and assignment status assigned to it. 476 476 ... ... @@ -483,21 +483,17 @@ 483 483 **//TimeSeriesObsType//: **TimeSeriesObsType defines the abstract structure of a time series observation. The observation must be provided a value for the time dimension. This time value should disambiguate the observation within the series in which it is defined (i.e. there should not be another observation with the same time value). The observation can contain an observed value and/or attribute values. The same rules for derivation as the base observation type apply to this specialized observation. 484 484 485 485 Derivation: 474 +* //com:AnnotableType// (extension) 475 +** //ObsType// (restriction) 476 +*** //TimeSeriesObsType// 486 486 487 -//com:AnnotableType// (extension) 488 - //ObsType// (restriction) 489 - //TimeSeriesObsType// 490 - 491 491 Attributes: 492 - 493 493 TIME_PERIOD, REPORTING_YEAR_START_DAY?, OBS_VALUE? 494 494 495 495 Content: 496 - 497 497 com:Annotations? 498 498 499 499 Attribute Documentation: 500 - 501 501 |**Name**|**Type**|**Documentation** 502 502 |TIME_PERIOD|com: ObservationalTimePer iodType|The TIME_PERIOD attribute is an explicit attribute for the time dimension. This is declared in the base schema since it has a fixed identifier and representation. Since this data is structured to be time series only, this attribute is always required. If the time dimension specifies a more specific representation of time the derived type will restrict the type definition to the appropriate type. 503 503 |REPORTING_YEAR_START_DAY|xs:gMonthDay|The REPORTING_YEAR_START_DAY attribute is an explict attribute for the reporting year start day, which provides context to the time dimension when its value contains a reporting period (e.g. 2010-Q1). This attribute is used to state the month and day that the reporting year begins (e.g. ~-~-07-01 for July 1st). In the absence of an explicit value provided in this attribute, all reporting period values will be assumed to be based on a reporting year start day of January 1. This is declared in the base schema since it has a fixed identifier and representation. The derived observation type may either require or prohibit this attribute, depending on whether the data structure declared the reporting year start day attribute and if so, the attribute relationship and assignment status assigned to it. ... ... @@ -504,13 +504,10 @@ 504 504 |OBS_VALUE|xs:anySimpleType|The OBS_VALUE attribute is an explicit attribute for the primary measure, which is intended to hold the value for the observation. This is declared in the base schema since it has a fixed identifier. This attribute is un-typed, since the representation of the observed value can vary widely. Derived types will restrict this to be a type based on the representation of the primary measure. In the case that an explicit measure is used, the derived type for a given measure might further restrict the type of the primary measure to be more specific to the core representation for the measure concept. Note that it is required that in the case of multiple measures being used, that the representation of the primary measure is broad enough to handle the various representations of the measure concepts. 505 505 506 506 Element Documentation: 507 - 508 508 |**Name**|**Type**|**Documentation** 509 509 |com:Annotations|com:AnnotationsType|Annotations is a reusable element the provides for a collection of annotations. It has been made global so that restrictions of types that extend AnnotatableType my reference it. 510 510 511 -1. 512 -11. 513 -111. Simple Types 494 +=== Simple Types === 514 514 515 515 **DataScopeType: **DataScopeType is an enumeration of the possible validity scopes for a data set. These scopes indicate the level at which the data is stated to be valid. 516 516 ... ... @@ -517,7 +517,6 @@ 517 517 Derived by restriction of xs:string . 518 518 519 519 Enumerations: 520 - 521 521 |**Value**|**Documentation** 522 522 |DataStructure|The data set conforms simply to the data structure definition as it is defined, without regard to any constraints. 523 523 |ConstrainedDataStructure|The data set conforms to the known allowable content constraints applied to the data structure definition. ... ... @@ -524,46 +524,35 @@ 524 524 |Dataflow|The data set conforms to the known allowable content constraints applied to the dataflow. 525 525 |ProvisionAgreement|The data set conforms to the known allowable content constraints applied to the provision agreement. 526 526 527 -1. 528 -11. Generic Metadata Namespace 507 +== Generic Metadata Namespace == 529 529 530 530 **http:~/~/www.sdmx.org/resources/sdmxml/schemas/v2_1/metadata/generic** 531 531 532 -1. 533 -11. 534 -111. Summary 511 +=== Summary === 535 535 536 536 Referenced Namespaces: 537 - 538 538 |**Namespace**|**Prefix** 539 539 |http:~/~/www.sdmx.org/resources/sdmxml/schemas/v2_1/common|com 540 540 |http:~/~/www.w3.org/2001/XMLSchema|xs 541 541 542 542 Contents: 543 - 544 544 6 Complex Types 545 545 546 -1. 547 -11. 548 -111. Complex Types 521 +=== Complex Types === 549 549 550 550 **MetadataSetType: **MetadataSetType describes the structure for a metadata set, which contains a collection of reported metadata against a set of values for a given full or partial target identifier, as described in a metadata structure definition. The metadata set may contain reported metadata for multiple report structures defined in a metadata structure definition. 551 551 552 552 Derivation: 526 +* //com:AnnotableType// (extension) 527 +** MetadataSetType 553 553 554 -//com:AnnotableType// (extension) 555 - MetadataSetType 556 - 557 557 Attributes: 558 - 559 559 structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod? 560 560 561 561 Content: 562 - 563 563 com:Annotations?, com:Name*, DataProvider?, Report+ 564 564 565 565 Attribute Documentation: 566 - 567 567 |**Name**|**Type**|**Documentation** 568 568 |structureRef|xs:IDREF|The structureRef contains a reference to a structural specification in the header of a data or reference metadata message. The structural specification details which structure the data or reference metadata conforms to, as well as providing additional information such as how the data is structure (e.g. which dimension occurs at the observation level for a data set). 569 569 |setID|com:IDType|The setID provides an identification of the data or metadata set.