sdmx-rest
Version:
SDMX REST API client for JavaScript
32 lines (28 loc) • 1.41 kB
JavaScript
// Generated by CoffeeScript 2.7.0
(function() {
// Specifies the mime types of the various SDMX formats for schema queries.
var formats;
formats = {
// The SDMX-ML 2.1 Structure format.
SDMX_ML_2_1_STRUCTURE: 'application/vnd.sdmx.structure+xml;version=2.1',
// The SDMX-ML 3.0.0 Structure format.
SDMX_ML_3_0_STRUCTURE: 'application/vnd.sdmx.structure+xml;version=3.0.0',
// The SDMX-JSON 1.0.0 Structure format.
SDMX_JSON_1_0_0: 'application/vnd.sdmx.structure+json;version=1.0.0',
// The SDMX-JSON 2.0.0 Structure format.
SDMX_JSON_2_0_0: 'application/vnd.sdmx.structure+json;version=2.0.0',
// The XML Schema for SDMX-ML 2.1 Structure Specific Data messages.
XML_SCHEMA_2_1: 'application/vnd.sdmx.schema+xml;version=2.1',
// The XML Schema for SDMX-ML 3.0.0 Data messages.
XML_SCHEMA_3_0_0: 'application/vnd.sdmx.schema+xml;version=3.0.0',
// The JSON Schema for SDMX-JSON 2.0.0 Data messages.
JSON_SCHEMA_2_0_0: 'application/vnd.sdmx.schema+json;version=2.0.0',
// Shortcut for the latest version of SDMX-ML
SDMX_ML: 'application/vnd.sdmx.structure+xml;version=3.0.0',
// Shortcut for the latest version of SDMX-JSON
SDMX_JSON: 'application/vnd.sdmx.structure+json;version=2.0.0',
// A generic XML Schema definition
XML_SCHEMA: 'application/xml'
};
exports.SchemaFormat = Object.freeze(formats);
}).call(this);