import json


def get_dimensions(cube_id):
    """
    For this test data we will use a predefined dimension object matching cube-420 in the acceptance environment,
    but this could be read from the TAP service.
    """

    dims = json.loads(
        '{"axes": [{"name": "RA", "numPixels": "4096", "pixelSize": "5.5555555555560e-04", "pixelUnit": "deg"},' +
        '{"name": "DEC", "numPixels": "4096", "pixelSize": "5.5555555555560e-04", "pixelUnit": "deg"},' +
        '{"name": "STOKES", "numPixels": "1", "pixelSize": "1.0000000000000e+00", "pixelUnit": " ",' +
        '"min": "5.0000000000000e-01", "max": "1.5000000000000e+00", "centre": "1.0000000000000e+00"},' +
        '{"name": "FREQ", "numPixels": "16416", "pixelSize": "1.0000000000000e+00", "pixelUnit": "Hz",' +
        '"min": "1.2699999995000e+09", "max": "1.2700164155000e+09", "centre": "1.2700082075000e+09"}],' +
        '"corners": [{"RA": "1.8942941872444e+02", "DEC": "5.3846168509499e+01"},' +
        '{"RA": "1.8557152279432e+02", "DEC": "5.3846183833748e+01"},' +
        '{"RA": "1.8545899454910e+02", "DEC": "5.6120973603008e+01"},' +
        '{"RA": "1.8954200183991e+02", "DEC": "5.6120957384947e+01"}],' +
        '"centre": {"RA": "1.8750048428742e+02", "DEC": "5.4999722221261e+01"}}')
    return dims