An error occured. Details Hide
You have unsaved pages. Restore Cancel

How to retrieve dataset metadata

To retrieve metadata for specific dataset it's necessary to send HTTP GET request to the following URL:

http://data.gov.om/api/1.0/sdmx/<datasetId>

Here datasetId is id of corresponding dataset returned by enumeration endpoint. Response will contain Structure message with nested information about dataset dimensions represented by CodeLists and dataset's structure described as key family components (SDMX 2.0) or dataset structure components (SDMX 2.1).

GET http://data.gov.om/api/1.0/sdmx/OMPOP2016
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
 
<?xml version="1.0" encoding="UTF-8"?>
   <Header>
      <ID>none</ID>
      <Test>false</Test>
      <Prepared>2017-09-25T12:22:09</Prepared>
      <Sender id="Knoema" />
      <Receiver id="unknown" />
   </Header>
   <Structures>
         <Codelist id="CL_REGIONS" agencyID="Knoema" version="1.0" isFinal="true" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=Knoema:CL_REGIONS(1.0)">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Regions codelist</Name>
            <Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_REGIONS(1.0).1">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Oman</Name>
            </Code>
            <Code id="17553263" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_REGIONS(1.0).17553263">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Total</Name>
               <Parent>
                  <Ref xmlns="" id="1" />
               </Parent>
            </Code>
            <Code id="103" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_REGIONS(1.0).103">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Muscat</Name>
               <Parent>
                  <Ref xmlns="" id="1" />
               </Parent>
            </Code>
            <Code id="13471925" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_REGIONS(1.0).13471925">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Wilayat Muscat</Name>
               <Parent>
                  <Ref xmlns="" id="103" />
               </Parent>
            </Code>
            <Code id="13472025" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_REGIONS(1.0).13472025">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Wilayat Mutrah</Name>
               <Parent>
                  <Ref xmlns="" id="103" />
               </Parent>
            </Code>
...
         </Codelist>
         <Codelist id="CL_INDICATORS" agencyID="Knoema" version="1.0" isFinal="true" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=Knoema:CL_INDICATORS(1.0)">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Indicators codelist</Name>
            <Code id="17542303" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_INDICATORS(1.0).17542303">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Television & Radio (Governmental)</Name>
            </Code>
            <Code id="17166863" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_INDICATORS(1.0).17166863">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Grand Total - Transmission & Broadcasting Hours :Daily - No</Name>
               <Parent>
                  <Ref xmlns="" id="17542303" />
               </Parent>
            </Code>
            <Code id="17166873" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_INDICATORS(1.0).17166873">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">No. Total Television Broadcasting Hours- Daily</Name>
               <Parent>
                  <Ref xmlns="" id="17166863" />
               </Parent>
            </Code>
            <Code id="17166883" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_INDICATORS(1.0).17166883">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">The Public Channel / Satellite Transmission</Name>
               <Parent>
                  <Ref xmlns="" id="17166873" />
               </Parent>
            </Code>
            <Code id="17166893" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_INDICATORS(1.0).17166893">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">The Sports Channel/ Second Program</Name>
               <Parent>
                  <Ref xmlns="" id="17166873" />
               </Parent>
            </Code>
...
         </Codelist>
         <Codelist id="CL_PERIODIC_RELEASE" agencyID="Knoema" version="1.0" isFinal="true" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=Knoema:CL_PERIODIC_RELEASE(1.0)">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Periodic release codelist</Name>
            <Code id="17166693" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_PERIODIC_RELEASE(1.0).17166693">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Total</Name>
            </Code>
            <Code id="17166703" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_PERIODIC_RELEASE(1.0).17166703">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Daily</Name>
            </Code>
...
         </Codelist>
         <Codelist id="CL_PROGRAM_QUALITY" agencyID="Knoema" version="1.0" isFinal="true" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=Knoema:CL_PROGRAM_QUALITY(1.0)">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Program quality codelist</Name>
            <Code id="17166783" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_PROGRAM_QUALITY(1.0).17166783">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Total</Name>
            </Code>
            <Code id="17166793" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_PROGRAM_QUALITY(1.0).17166793">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">News</Name>
            </Code>
            <Code id="17166803" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_PROGRAM_QUALITY(1.0).17166803">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Development</Name>
            </Code>
...
         </Codelist>
         <Codelist id="CL_FREQ" agencyID="Knoema" version="1.0" isFinal="true" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=Knoema:CL_FREQ(1.0)">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">FREQ Codelist</Name>
            <Code id="A" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=Knoema:CL_FREQ(1.0).A">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Annual</Name>
            </Code>
         </Codelist>
      </Codelists>
         <ConceptScheme id="OMINF2016" agencyID="Knoema" version="1.0" isFinal="true" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.ConceptScheme=Knoema:OMINF2016(1.0)">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Information</Name>
            <Concept id="REGIONS" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).REGIONS">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Regions</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Regions</Description>
            </Concept>
            <Concept id="INDICATORS" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).INDICATORS">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Indicators</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Indicators</Description>
            </Concept>
            <Concept id="PERIODIC_RELEASE" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).PERIODIC_RELEASE">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Periodic release</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Periodic release</Description>
            </Concept>
            <Concept id="PROGRAM_QUALITY" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).PROGRAM_QUALITY">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Program quality</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Program quality</Description>
            </Concept>
            <Concept id="FREQ" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).FREQ">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">FREQ</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Frequency</Description>
            </Concept>
            <Concept id="TIME_PERIOD" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).TIME_PERIOD">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">TIME_PERIOD</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Time</Description>
            </Concept>
            <Concept id="OBS_VALUE" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=Knoema:OMINF2016(1.0).OBS_VALUE">
               <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">OBS_VALUE</Name>
               <Description xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">Observation value</Description>
            </Concept>
         </ConceptScheme>
      </Concepts>
         <DataStructure id="OMINF2016" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=Knoema:OMINF2016(1.0)" agencyID="Knoema" version="1.0" isFinal="true">
            <Name xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xml:lang="en">DSWS Data Structure Definition</Name>
            <DataStructureComponents>
               <DimensionList id="DimensionDescriptor" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DimensionDescriptor=Knoema:OMINF2016(1.0).DimensionDescriptor">
                  <Dimension id="REGIONS" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=Knoema:OMINF2016(1.0).REGIONS" position="1">
                     <ConceptIdentity>
                        <Ref xmlns="" id="REGIONS" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                     <LocalRepresentation>
                        <Enumeration>
                           <Ref xmlns="" id="CL_REGIONS" version="1.0" agencyID="Knoema" package="codelist" class="Codelist" />
                        </Enumeration>
                     </LocalRepresentation>
                  </Dimension>
                  <Dimension id="INDICATORS" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=Knoema:OMINF2016(1.0).INDICATORS" position="2">
                     <ConceptIdentity>
                        <Ref xmlns="" id="INDICATORS" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                     <LocalRepresentation>
                        <Enumeration>
                           <Ref xmlns="" id="CL_INDICATORS" version="1.0" agencyID="Knoema" package="codelist" class="Codelist" />
                        </Enumeration>
                     </LocalRepresentation>
                  </Dimension>
                  <Dimension id="PERIODIC_RELEASE" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=Knoema:OMINF2016(1.0).PERIODIC_RELEASE" position="3">
                     <ConceptIdentity>
                        <Ref xmlns="" id="PERIODIC_RELEASE" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                     <LocalRepresentation>
                        <Enumeration>
                           <Ref xmlns="" id="CL_PERIODIC_RELEASE" version="1.0" agencyID="Knoema" package="codelist" class="Codelist" />
                        </Enumeration>
                     </LocalRepresentation>
                  </Dimension>
                  <Dimension id="PROGRAM_QUALITY" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=Knoema:OMINF2016(1.0).PROGRAM_QUALITY" position="4">
                     <ConceptIdentity>
                        <Ref xmlns="" id="PROGRAM_QUALITY" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                     <LocalRepresentation>
                        <Enumeration>
                           <Ref xmlns="" id="CL_PROGRAM_QUALITY" version="1.0" agencyID="Knoema" package="codelist" class="Codelist" />
                        </Enumeration>
                     </LocalRepresentation>
                  </Dimension>
                  <Dimension id="FREQ" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=Knoema:OMINF2016(1.0).FREQ" position="5">
                     <ConceptIdentity>
                        <Ref xmlns="" id="FREQ" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                     <LocalRepresentation>
                        <Enumeration>
                           <Ref xmlns="" id="CL_FREQ" version="1.0" agencyID="Knoema" package="codelist" class="Codelist" />
                        </Enumeration>
                     </LocalRepresentation>
                  </Dimension>
                  <TimeDimension id="TIME_PERIOD" urn="urn:sdmx:org.sdmx.infomodel.datastructure.TimeDimension=Knoema:OMINF2016(1.0).TIME_PERIOD" position="6">
                     <ConceptIdentity>
                        <Ref xmlns="" id="TIME_PERIOD" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                     <LocalRepresentation>
                        <TextFormat />
                     </LocalRepresentation>
                  </TimeDimension>
               </DimensionList>
               <MeasureList id="MeasureDescriptor" urn="urn:sdmx:org.sdmx.infomodel.datastructure.MeasureDescriptor=Knoema:OMINF2016(1.0).MeasureDescriptor">
                  <PrimaryMeasure id="OBS_VALUE" urn="urn:sdmx:org.sdmx.infomodel.datastructure.PrimaryMeasure=Knoema:OMINF2016(1.0).OBS_VALUE">
                     <ConceptIdentity>
                        <Ref xmlns="" id="OBS_VALUE" maintainableParentID="OMINF2016" maintainableParentVersion="1.0" agencyID="Knoema" package="conceptscheme" class="Concept" />
                     </ConceptIdentity>
                  </PrimaryMeasure>
               </MeasureList>
            </DataStructureComponents>
         </DataStructure>
      </DataStructures>
   </Structures>
/Structure