JSON file within OME-NGFF raises SIDECAR_WITHOUT_DATAFILE

Summary of what happened:

I ran the bids-validator-deno command for a large dataset: Run BIDS validator on cloud bucket · Issue #228 · bids-standard/bids-validator · GitHub

I have two JSON files in my OME-Zarr, meta.json and transform.json, as part of another integration. It seems that OME-Zarr will support JSON files soon, as its main attributes will be stored in a zarr.json (Adopt Zarr v3 in OME-Zarr - Development - Image.sc Forum).

Command used (and if a helper script was used, a link to the helper script or the command generated):

bids-validator-deno /data/my-bucket-fuse/

Version:

2.0.8

Environment (Docker, Singularity / Apptainer, custom installation):

Custom install with uv venv (Python 3.12.7) followed by uv pip install bids-validator-deno

Data formatted according to a validatable standard? Please provide the output of the validator:

        [ERROR] SIDECAR_WITHOUT_DATAFILE A json sidecar file was found without a corresponding data file
                /sub-01/ses-01/micr/sub-01_ses-01_sample-brain_XPCT.ome.zarr/meta.json
                /sub-01/ses-01/micr/sub-01_ses-01_sample-brain_XPCT.ome.zarr/transform.json

        Please visit https://neurostars.org/search?q=SIDECAR_WITHOUT_DATAFILE for existing conversations about this issue.

Edit: this is actually a duplicate of Should not descend into .zarr/ sub-folders · Issue #227 · bids-standard/bids-validator · GitHub.