Load Segmentation using DICOM JSON file

I am very new to OHIF Viewer and trying it out in my local.
I came across this document where it shows how to load the local DICOM files using
/viewer/dicomjson? which is working for me.
I added Segmentation data to one file and download the DICOM SEG file.

I included it in the DICOM JSON based on my understanding. However, when I double click on the SEG file in the Viewport, I get this error :

Context: Grid
Error Message: Cannot destructure property 'PixelMeasuresSequence' of 'SharedFunctionalGroup' as it is undefined.
Stack Trace
Stack: TypeError: Cannot destructure property 'PixelMeasuresSequence' of 'SharedFunctionalGroup' as it is undefined.
    at _getReferencedDisplaySetMetadata (http://localhost:3000/extensions_cornerstone-dicom-seg_src_viewports_OHIFCornerstoneSEGViewport_tsx.js:492:5)
    at OHIFCornerstoneSEGViewport (http://localhost:3000/extensions_cornerstone-dicom-seg_src_viewports_OHIFCornerstoneSEGViewport_tsx.js:238:40)
    at renderWithHooks (http://localhost:3000/app.js:256737:18)
    at updateFunctionComponent (http://localhost:3000/app.js:259108:20)
    at mountLazyComponent (http://localhost:3000/app.js:259429:17)
    at beginWork (http://localhost:3000/app.js:260807:16)
    at HTMLUnknownElement.callCallback (http://localhost:3000/app.js:245697:14)
    at Object.invokeGuardedCallbackDev (http://localhost:3000/app.js:245746:16)
    at invokeGuardedCallback (http://localhost:3000/app.js:245808:31)
    at beginWork$1 (http://localhost:3000/app.js:265711:7)

Can someone please check my JSON file and tell me if anything is wrong in the format ?
I used the sample LIDC-IDRI-0001.json provided in the documentation and modified it based on my requirement.

Here’s the DICOM JSON file

{
  "studies": [
    {
      "StudyInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178",
      "StudyDate": "20000101",
      "StudyTime": "",
      "PatientName": "",
      "PatientID": "LIDC-IDRI-0001",
      "AccessionNumber": "",
      "PatientAge": "",
      "PatientSex": "",
      "series": [
        {
          "SeriesInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192",
          "SeriesNumber": 3000566,
          "Modality": "CT",
          "SliceThickness": 2.5,
          "instances": [
            {
              "metadata": {
                "Columns": 512,
                "Rows": 512,
                "InstanceNumber": 1,
                "SOPClassUID": "1.2.840.10008.5.1.4.1.1.2",
                "PhotometricInterpretation": "MONOCHROME2",
                "BitsAllocated": 16,
                "BitsStored": 16,
                "PixelRepresentation": 1,
                "SamplesPerPixel": 1,
                "PixelSpacing": [0.703125, 0.703125],
                "HighBit": 15,
                "ImageOrientationPatient": [1, 0, 0, 0, 1, 0],
                "ImagePositionPatient": [-166, -171.699997, -10],
                "FrameOfReferenceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.229925374658226729607867499499",
                "ImageType": ["ORIGINAL", "PRIMARY", "AXIAL"],
                "Modality": "CT",
                "SOPInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.262721256650280657946440242654",
                "SeriesInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192",
                "StudyInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178",
                "WindowCenter": -600,
                "WindowWidth": 1600,
                "SeriesDate": "20000101"
              },
              "url": "dicomweb:http://localhost:3000/LIDC-IDRI-0001/01-01-2000-30178/3000566.000000-03192/1-001.dcm"
            }
          ]
        },
        {
          "SeriesInstanceUID": "2.25.980244250811725273789119067230633875175",
          "SeriesNumber": 99,
          "Modality": "SEG",
          "SliceThickness": 2.5,
          "instances": [
            {
              "metadata": {
                "Columns": 512,
                "Rows": 512,
                "InstanceNumber": 1,
                "SOPClassUID": "1.2.840.10008.5.1.4.1.1.66.4",
                "PhotometricInterpretation": "MONOCHROME2",
                "BitsAllocated": 1,
                "BitsStored": 1,
                "PixelRepresentation": 0,
                "SamplesPerPixel": 1,
                "PixelSpacing": [0.703125, 0.703125],
                "HighBit": 0,
                "ImageOrientationPatient": [1, 0, 0, 0, 1, 0],
                "ImagePositionPatient": [-166, -171.699997, -10],
                "FrameOfReferenceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.229925374658226729607867499499",
                "ReferencedSeriesSequence": [
                  {
                    "SeriesInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.179049373636438705059720603192"
                  }
                ],
                "ImageType": ["DERIVED", "PRIMARY"],
                "Modality": "SEG",
                "SOPInstanceUID": "2.25.890336214546151483667336917427069039686",
                "SeriesInstanceUID": "2.25.980244250811725273789119067230633875175",
                "StudyInstanceUID": "1.3.6.1.4.1.14519.5.2.1.6279.6001.298806137288633453246975630178",
                "WindowCenter": -600,
                "WindowWidth": 1600,
                "SeriesDate": "20250307"
              },
              "url": "dicomweb:http://localhost:3000/LIDC-IDRI-0001/01-01-2000-30178/3000566.000000-03192/SEG-1.dcm"
            }
          ]
        }
      ],
      "NumInstances": 2,
      "Modalities": "CT"
    }
  ]
}

Version: OHIF 3.8 locally

Steps I followed:

  1. Load the DICOM JSON file using /viewer/dicomjson
  2. Double click on the SEG file on the left panel