Last modified by Artur on 2025/09/10 11:19

From version 10.1
edited by Helena
on 2025/06/24 15:20
Change comment: There is no comment for this version
To version 7.1
edited by Helena
on 2025/06/24 15:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -32,6 +32,7 @@
32 32  |(% style="width:487px" %)http:~/~/www.w3.org/2001/XMLSchema|(% style="width:120px" %)xs
33 33  
34 34  Contents:
35 +
35 35  13 Complex Types
36 36  
37 37  === 2.1.2 Complex Types ===
... ... @@ -44,9 +44,11 @@
44 44  ** DataSetType
45 45  
46 46  Attributes:
48 +
47 47  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?
48 48  
49 49  Content:
52 +
50 50  com:Annotations?, DataProvider?, Attributes?, Group*, (Series+ | Obs+)?
51 51  
52 52  Attribute Documentation:
... ... @@ -82,9 +82,11 @@
82 82  ** GroupType
83 83  
84 84  Attributes:
88 +
85 85  type
86 86  
87 87  Content:
92 +
88 88  com:Annotations?, GroupKey?, Attributes
89 89  
90 90  Attribute Documentation:
... ... @@ -109,6 +109,7 @@
109 109  ** SeriesType
110 110  
111 111  Content:
117 +
112 112  com:Annotations?, SeriesKey, Attributes?, Obs*
113 113  
114 114  Element Documentation:
... ... @@ -128,6 +128,7 @@
128 128  ** ObsOnlyType
129 129  
130 130  Content:
137 +
131 131  com:Annotations?, ObsKey, ObsValue?, Attributes?
132 132  
133 133  Element Documentation:
... ... @@ -147,6 +147,7 @@
147 147  ** ObsType
148 148  
149 149  Content:
157 +
150 150  com:Annotations?, ObsDimension, ObsValue?, Attributes?
151 151  
152 152  Element Documentation:
... ... @@ -161,6 +161,7 @@
161 161  **ValuesType: **ValuesType is a general structure which contains a collection of data structure definition component values. This type is used to provide both key and attribute collection values.
162 162  
163 163  Content:
172 +
164 164  Value+
165 165  
166 166  Element Documentation:
... ... @@ -172,9 +172,11 @@
172 172  **BaseValueType: **BaseValueType is a general structure which contains a reference to a data structure definition component and a value for that component. In this structure the reference to the component is optional to allow for usages where the actual reference might be provided in another context.
173 173  
174 174  Attributes:
184 +
175 175  id?, value
176 176  
177 177  Content:
188 +
178 178  {Empty}
179 179  
180 180  Attribute Documentation:
... ... @@ -192,9 +192,11 @@
192 192  ** ObsValueType
193 193  
194 194  Attributes:
206 +
195 195  id?, value
196 196  
197 197  Content:
210 +
198 198  {Empty}
199 199  
200 200  Attribute Documentation:
... ... @@ -212,9 +212,11 @@
212 212  ** ComponentValueType
213 213  
214 214  Attributes:
228 +
215 215  id, value
216 216  
217 217  Content:
232 +
218 218  {Empty}
219 219  
220 220  Attribute Documentation:
... ... @@ -233,9 +233,11 @@
233 233  *** TimeSeriesDataSetType
234 234  
235 235  Attributes:
251 +
236 236  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?
237 237  
238 238  Content:
255 +
239 239  com:Annotations?, DataProvider?, Attributes?, Group*, Series*
240 240  
241 241  Attribute Documentation:
... ... @@ -271,6 +271,7 @@
271 271  *** TimeSeriesType
272 272  
273 273  Content:
291 +
274 274  com:Annotations?, SeriesKey, Attributes?, Obs*
275 275  
276 276  Element Documentation:
... ... @@ -291,6 +291,7 @@
291 291  *** TimeSeriesObsType
292 292  
293 293  Content:
312 +
294 294  com:Annotations?, ObsDimension, ObsValue?, Attributes?
295 295  
296 296  Element Documentation:
... ... @@ -310,9 +310,11 @@
310 310  ** TimeValueType
311 311  
312 312  Attributes:
332 +
313 313  id?, value
314 314  
315 315  Content:
336 +
316 316  {Empty}
317 317  
318 318  Attribute Documentation:
... ... @@ -336,6 +336,7 @@
336 336  |(% style="width:475px" %)http:~/~/www.w3.org/2001/XMLSchema|(% style="width:549px" %)xs
337 337  
338 338  Contents:
360 +
339 339  7 Complex Types
340 340  1 Simple Type
341 341  
... ... @@ -349,9 +349,11 @@
349 349  ** //DataSetType//
350 350  
351 351  Attributes:
374 +
352 352  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?, dataScope, REPORTING_YEAR_START_DAY?
353 353  
354 354  Content:
378 +
355 355  com:Annotations?, DataProvider?, Group*, (Series+ | Obs+)?
356 356  
357 357  Attribute Documentation:
... ... @@ -388,9 +388,11 @@
388 388  ** //GroupType//
389 389  
390 390  Attributes:
415 +
391 391  type?, REPORTING_YEAR_START_DAY?
392 392  
393 393  Content:
419 +
394 394  com:Annotations?
395 395  
396 396  Attribute Documentation:
... ... @@ -413,9 +413,11 @@
413 413  ** //SeriesType//
414 414  
415 415  Attributes:
442 +
416 416  TIME_PERIOD?, REPORTING_YEAR_START_DAY?
417 417  
418 418  Content:
446 +
419 419  com:Annotations?, Obs*
420 420  
421 421  Attribute Documentation:
... ... @@ -439,9 +439,11 @@
439 439  ** //ObsType//
440 440  
441 441  Attributes:
470 +
442 442  type?, TIME_PERIOD?, REPORTING_YEAR_START_DAY?, OBS_VALUE?
443 443  
444 444  Content:
474 +
445 445  com:Annotations?
446 446  
447 447  Attribute Documentation:
... ... @@ -467,9 +467,11 @@
467 467  *** //TimeSeriesDataSetType//
468 468  
469 469  Attributes:
500 +
470 470  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?, dataScope, REPORTING_YEAR_START_DAY?
471 471  
472 472  Content:
504 +
473 473  com:Annotations?, DataProvider?, Group*, Series*
474 474  
475 475  Attribute Documentation:
... ... @@ -506,9 +506,11 @@
506 506  *** TimeSeriesType
507 507  
508 508  Attributes:
541 +
509 509  REPORTING_YEAR_START_DAY?
510 510  
511 511  Content:
545 +
512 512  com:Annotations?, Obs*
513 513  
514 514  Attribute Documentation:
... ... @@ -533,9 +533,11 @@
533 533  *** //TimeSeriesObsType//
534 534  
535 535  Attributes:
570 +
536 536  TIME_PERIOD, REPORTING_YEAR_START_DAY?, OBS_VALUE?
537 537  
538 538  Content:
574 +
539 539  com:Annotations?
540 540  
541 541  Attribute Documentation:
... ... @@ -594,9 +594,11 @@
594 594  ** MetadataSetType
595 595  
596 596  Attributes:
633 +
597 597  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?
598 598  
599 599  Content:
637 +
600 600  com:Annotations?, com:Name*, DataProvider?, Report+
601 601  
602 602  Attribute Documentation:
... ... @@ -630,9 +630,11 @@
630 630  ** ReportType
631 631  
632 632  Attributes:
671 +
633 633  id
634 634  
635 635  Content:
675 +
636 636  com:Annotations?, Target, AttributeSet
637 637  
638 638  Attribute Documentation:
... ... @@ -652,9 +652,11 @@
652 652  **TargetType: **TargetType defines the structure of a target. It contains a set of target reference values which when taken together, identify the object or objects to which the reported metadata apply.
653 653  
654 654  Attributes:
695 +
655 655  id
656 656  
657 657  Content:
699 +
658 658  ReferenceValue+
659 659  
660 660  Attribute Documentation:
... ... @@ -672,9 +672,11 @@
672 672  **ReferenceValueType: **ReferenceValueType defines the structure of a target object reference value. A target reference value will either be a reference to an identifiable object, a data key, a reference to a data set, or a report period.
673 673  
674 674  Attributes:
717 +
675 675  id
676 676  
677 677  Content:
721 +
678 678  (ObjectReference | DataKey | DataSetReference | ConstraintContentReference | ReportPeriod)
679 679  
680 680  Attribute Documentation:
... ... @@ -696,6 +696,7 @@
696 696  **AttributeSetType: **AttributeSetType defines the structure for a collection of reported metadata attributes.
697 697  
698 698  Content:
743 +
699 699  ReportedAttribute+
700 700  
701 701  Element Documentation:
... ... @@ -712,9 +712,11 @@
712 712  ** ReportedAttributeType
713 713  
714 714  Attributes:
760 +
715 715  id, value?
716 716  
717 717  Content:
764 +
718 718  com:Annotations?, (com:Text+ | com:StructuredText+)?, AttributeSet?
719 719  
720 720  Attribute Documentation:
... ... @@ -748,6 +748,7 @@
748 748  |(% style="width:492px" %)http:~/~/www.w3.org/2001/XMLSchema|(% style="width:159px" %)xs
749 749  
750 750  Contents:
798 +
751 751  5 Complex Types
752 752  
753 753  === 2.4.2 Complex Types ===
... ... @@ -764,6 +764,7 @@
764 764  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?
765 765  
766 766  Content:
815 +
767 767  com:Annotations?, com:Name*, DataProvider?, Report+
768 768  
769 769  Attribute Documentation:
... ... @@ -797,9 +797,11 @@
797 797  ** //ReportType//
798 798  
799 799  Attributes:
849 +
800 800  id?
801 801  
802 802  Content:
853 +
803 803  com:Annotations?, Target, AttributeSet
804 804  
805 805  Attribute Documentation:
... ... @@ -819,9 +819,11 @@
819 819  **//TargetType//: **TargetType is an abstract base type that forms the basis of a the metadata report's metadata target value. This type is restricted in the metadata structure definition specific schema so that the ReferenceValue elements conform to the targets specified in the metadata target defined in the metadata structure definition.
820 820  
821 821  Attributes:
873 +
822 822  id?
823 823  
824 824  Content:
877 +
825 825  ReferenceValue+
826 826  
827 827  Attribute Documentation:
... ... @@ -839,9 +839,11 @@
839 839  **//ReferenceValueType//: **ReferenceValueType is an abstract base type that forms the basis of a target reference value. A target reference value will either be a reference to an identifiable object, a data key, a reference to a data set, or a report period. The choice of these options will be refined to only one according to the definition of the target in the metadata structure definition.
840 840  
841 841  Attributes:
895 +
842 842  id?
843 843  
844 844  Content:
899 +
845 845  (ObjectReference | DataKey | DataSetReference | ConstraintContentReference | ReportPeriod)
846 846  
847 847  Attribute Documentation:
... ... @@ -868,9 +868,11 @@
868 868  ** //ReportedAttributeType//
869 869  
870 870  Attributes:
926 +
871 871  id?, value?, isMetadataAttribute?
872 872  
873 873  Content:
930 +
874 874  com:Annotations?, (com:Text+ | com:StructuredText+)?, AttributeSet?
875 875  
876 876  Attribute Documentation:
... ... @@ -1000,6 +1000,7 @@
1000 1000  > </xs:annotation>
1001 1001  > </xs:enumeration>
1002 1002  
1060 +
1003 1003  === 3.3.5 Representation with Text Format ===
1004 1004  
1005 1005  A representation which defines a text format will result in a simple type or primitive type. The first step is to determine the base type from the text format data type:
... ... @@ -1057,7 +1057,7 @@
1057 1057  |(% style="width:291px" %)**SDMX Facet**|(% style="width:479px" %)**XML Schema Facet**
1058 1058  |(% style="width:291px" %)minLength|(% style="width:479px" %)xs:minLength
1059 1059  |(% style="width:291px" %)maxLength|(% style="width:479px" %)xs:maxLength
1060 -|(% style="width:291px" %)minValue{{footnote}}Note that these options only apply to numeric representations and should be ignored if the data type is non-numeric{{/footnote}}|(% style="width:479px" %)if ExclusiveValueRange: xs:minExclusives, else: xs:minInclusive
1118 +|(% style="width:291px" %)minValue{{footnote}}Note that these options only apply to numeric representations and should be ignored if the data type is non-numeric{{/footnote}}^^{{footnote}}Note that these options only apply to numeric representations and should be ignored if the data type is non-numeric{{/footnote}}^^|(% style="width:479px" %)if ExclusiveValueRange: xs:minExclusives, else: xs:minInclusive
1061 1061  |(% style="width:291px" %)maxValue^^2^^|(% style="width:479px" %)if ExclusiveValueRange: xs:maxExclusives, else: xs:maxInclusive
1062 1062  |(% style="width:291px" %)decimals^^2^^|(% style="width:479px" %)xs:fractionDigits
1063 1063  |(% style="width:291px" %)pattern|(% style="width:479px" %)xs:pattern
... ... @@ -1108,6 +1108,7 @@
1108 1108  ** ii. If the dimension at the observation level is AllDimensions, a local element named Obs with a form of unqualified, a maximum occurrence of unbounded, and a type of ObsType (as defined in the ObsType section which follows)
1109 1109  
1110 1110  2. If the reporting year start day attribute is not declared in the data structure definition or if it is declared but does not declare an attribute relationship of None, an attribute named REPORTING_YEAR_START_DAY with a type of xs:gMonthDay and a usage of prohibited
1169 +
1111 1111  3. An attribute for each attribute defined in the data structured definition that declares an attribute relationship of None. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is optional
1112 1112  
1113 1113  === 3.4.2 GroupType ===
... ... @@ -1119,8 +1119,11 @@
1119 1119  * a. An element reference to common:Annotations, with a minimum occurrence of 0
1120 1120  
1121 1121  2. An attribute for each dimension referenced by the group. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is required
1181 +
1122 1122  3. If the reporting year start day attribute is not declared in the data structure definition or if it is declared but does not declare an attribute relationship with the group and does not specify the group as an attachment group, an attribute named REPORTING_YEAR_START_DAY with a type of xs:gMonthDay and a usage of prohibited
1183 +
1123 1123  4. An attribute for each attribute defined in the data structure that declares an attribute relationship with the group or specifies the group as an attachment group. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is optional
1185 +
1124 1124  5. An attribute named type with a type of common:IDType, usage of optional, and a fixed value of the identifier of the group
1125 1125  
1126 1126  If the data structure definitions defines more than one group, an abstract complex type with name GroupType must be created. This type is used for the Group element in the DataSetType. Its content model will be derived via restriction of the dsd:GroupType. The complex type content model will be as follows:
... ... @@ -1130,6 +1130,7 @@
1130 1130  * a. An element reference to common:Annotations, with a minimum occurrence of 0
1131 1131  
1132 1132  2. An attribute named type with a type of Group.ID, and a usage of optional
1195 +
1133 1133  3. An anyAttribute declaration with a namespace of ~#~#local
1134 1134  
1135 1135  A simple type named Group.ID must be created. This should restrict the common:IDType. For each group defined by the data structure definition, an enumeration will be created within the restriction with a value of the group identifier.
... ... @@ -1141,8 +1141,11 @@
1141 1141  * a. An element reference to common:Annotations, with a minimum occurrence of 0
1142 1142  
1143 1143  2. An attribute for each dimension referenced by the group. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is required
1207 +
1144 1144  3. If the reporting year start day attribute is not declared in the data structure definition or if it is declared but does not declare an attribute relationship with the group and does not specify the group as an attachment group, an attribute named REPORTING_YEAR_START_DAY with a type of xs:gMonthDay and a usage of prohibited
1209 +
1145 1145  4. An attribute for each attribute defined in the data structure that declares an attribute relationship with the group or specifies the group as an attachment group. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is optional
1211 +
1146 1146  5. An attribute named type with a type of Group.ID, usage of optional, and a fixed value of the identifier of the group
1147 1147  
1148 1148  === 3.4.3 SeriesType ===
... ... @@ -1154,8 +1154,11 @@
1154 1154  * a. An element reference to common:Annotations, with a minimum occurrence of 0
1155 1155  
1156 1156  2. A local element named Obs with a form of unqualified, a minimum occurrence of 0, a maximum occurrence of unbounded, and a type of ObsType (as defined in the ObsType section which follows)
1223 +
1157 1157  3. An attribute for each dimension defined by the data structure definition, except for the dimension at the observation level. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is required
1225 +
1158 1158  4. If the reporting year start day attribute is not declared in the data structure definition or if it is declared and declares an attribute relationship of None, or with a group, or the dimension at the observation level, or specifies a group as an attachment group, an attribute named REPORTING_YEAR_START_DAY with a type of xs:gMonthDay and a usage of prohibited
1227 +
1159 1159  5. An attribute for each attribute defined in the data structure that declares an attribute relationship with any dimension outside of the dimension at the observation level (so long as it does not also declare an attachment group). The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is optional.
1160 1160  
1161 1161  === 3.4.4 ObsType ===
... ... @@ -1167,8 +1167,11 @@
1167 1167  * a. An element reference to common:Annotations, with a minimum occurrence of 0
1168 1168  
1169 1169  2. If the dimension at the observation level is not the time dimension (TIME_PERIOD) an attribute named TIME_PERIOD with a type of common:TimePeriodType and a usage of prohibited
1239 +
1170 1170  3. If the dimension at the observation level is not the time dimension (TIME_PERIOD) an attribute for the dimension at the observation level. The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is required
1241 +
1171 1171  4. An attribute for the primary measure (OBS_VALUE) defined by the data structure definition. The XML attribute name and type is defined according to the general rules defined in the previous section, and the usage is optional
1243 +
1172 1172  5. An attribute for each attribute defined in the data structure that declares an attribute relationship with the dimension at the observation level or the primary measure (OBS_VALUE). The XML attribute name and type are defined according to the general rules defined in the previous section, and the usage is optional
1173 1173  
1174 1174  An attribute named type. If the explicit measure option is not used, this attribute must have a type of common:IDType and a usage of prohibited. If the explicit measure option is used, this attribute must have a type of the simple type generated for the representation of the measure dimension that is the dimension at the observation level (this will be an simple type with enumerations with values of the concept identifiers which make up the concept scheme that is the representation of the measure dimension) a and a usage of optional
... ... @@ -1305,9 +1305,11 @@
1305 1305  For every metadata attribute defined by the report structure a complex type must be created with the recommended name of [report structure identifier].[nested metadata attribute identifier]. Note that the recommend name assumes the metadata attribute identifier is the nested identifier for the full hierarchy in which the metadata attribute was defined. This content model of this type is derived from restriction of the msd:ReportedAttributeType. The content of this must consists be as follows:
1306 1306  
1307 1307  ~1. A sequence consisting of:
1308 -* a. An element reference to common:Annotations, with a minimum occurrence of 0
1309 -* b. If the isPresentational flag is not set to true:
1310 -* c. If the determined representation has data type of XHTML, an element reference to common:StructuredText with a maximum occurrence of unbounded
1380 +
1381 +a. An element reference to common:Annotations, with a minimum occurrence of 0
1382 +
1383 +* a. If the isPresentational flag is not set to true:
1384 +* b. If the determined representation has data type of XHTML, an element reference to common:StructuredText with a maximum occurrence of unbounded
1311 1311  ** i. If the determined representation has is not XHTML, but has a facet of isMultiLinguale, an element reference to common: Text with a maximum occurrence of unbounded
1312 1312  ** ii. If the metadata attribute defines which child metadata attributes, a local element named AttributeSet with a form of unqualified, and a type as defined according to the rules defined in Attribute Set Complex Type Creation
1313 1313  
... ... @@ -1343,6 +1343,7 @@
1343 1343  
1344 1344  A dataset with an action of Append is assumed to be an incremental update. This means that one the information provided explicitly in the message should be altered. Any data attribute or observation value that is to be changed must be provided. However, the absence of an observation value or a data attribute at any level does not imply deletion; instead it is simply implied that the value is to remain unchanged. Therefore, it is valid and acceptable to send a data message with an action of Append which contains only a Series elements with attribute values. In this case, the values for the attributes will be updated. Note that it is not permissible to update data attributes using partial keys (outside of those associated with defined groups). In order to update an attribute, a full key must always be provided even if the message format does not require this.
1345 1345  
1420 +
1346 1346  == 4.2 Deletes ==
1347 1347  
1348 1348  Both the generic and the structure-specific data messages allow for incremental deletion of data. This purpose is noted in the action for the data set, which is either inherited from the header of the data message or explicitly stated at the data set level.