Skip to content

Consider relaxing alphanumeric constraint on group path in well metadata #380

@imagejan

Description

@imagejan

The datasets/path field in the well metadata is currently constrained to alphanumeric characters only:

The path MUST contain only alphanumeric characters, MUST be case-sensitive, and MUST NOT be a duplicate of any other path in the images list.

However, some tools "in the wild" already allow using e.g. underscores (_) in the path field, see these issues:

Note that the multiscales specification doesn't currently impose such a constraint on the paths within a multiscales:

Each dictionary in "datasets" MUST contain the field "path", whose value contains the path to the array for this resolution relative to the current zarr group. The "path"s MUST be ordered from largest (i.e. highest resolution) to smallest.

How about relaxing the constraint to something like [A-Za-z0-9_] (i.e. regex \w which would simplify the regex in the json schema), or include even more commonly used characters?

(/cc @SabineReither)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions