sdmx-twg / sdmx-json

This repository is used for maintaining the SDMX-JSON message specifications.
54 stars 20 forks source link

SDMX 3.0: implement "feature 029 Improving API data queries" for SDMX-JSON messages #101

Closed dosse closed 2 years ago

dosse commented 3 years ago

In order to support the new requirement, it is proposed to:

structure message changes: No impact.

data message changes:

"data":{
    "structures":[
        {
            "links":[
                {
                    # Urn --> dataflow, data structure definition or provision agreement #
                }
            ],
            "dimensions":{
                # dimensions object #
            },
            "measures":{
                # measures object #
            },
            "attributes":{
                # attributes object #
            },
            "annotations":[
                {
                    # annotation object #
                }
            ],
            "dataSets": [0,1]   # Contains the indexes of the related dataSet objects in the dataSets array
        }
    ],
    "dataSets":[
        {
            "structure": 0, # Contains the index of the related structure object in the structures array
            "action":"Information",
            "attributes":[
                "…"
            ],
            "dimensionGroupAttributes":{
                # dimensionGroupAttributes object #
            },
            "series":{
                # series object #
            },
            "observations":{
                # observations object #
            }
        },
        {
            "structure": 0, # Contains the index of the related structure object in the structures array
            "action":"Delete",
            "attributes":[
                "…"
            ],
            "dimensionGroupAttributes":{
                # dimensionGroupAttributes object #
            },
            "series":{
                # series object #
            },
            "observations":{
                # observations object #
            }
        }
    ]
}
dosse commented 2 years ago

Released