Skip to article frontmatterSkip to article content

OME-Zarr labelled image schema

Title: OME-Zarr labelled image schema

Typeobject
RequiredNo
Additional propertiesAny type allowed

Description: The zarr.json attributes key

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ omeNoobjectNo-The versioned OME-Zarr Metadata namespace

1. Property OME-Zarr labelled image schema > ome

Typeobject
RequiredYes
Additional propertiesAny type allowed

Description: The versioned OME-Zarr Metadata namespace

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ image-labelNoobjectNoIn #/$defs/image-label-
+ versionNoenum (of string)NoIn https://ngff.openmicroscopy.org/0.5/schemas/_version.schemaOME-Zarr Metadata version

1.1. Property OME-Zarr labelled image schema > ome > image-label

Typeobject
RequiredYes
Additional propertiesAny type allowed
Defined in#/$defs/image-label
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- colorsNoarray of objectNo-The colors for this label image
- propertiesNoarray of objectNo-The properties for this label image
- sourceNoobjectNo-The source of this label image

1.1.1. Property OME-Zarr labelled image schema > ome > image-label > colors

Typearray of object
RequiredNo

Description: The colors for this label image

Array restrictions
Min items1
Max itemsN/A
Items unicityTrue
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
colors items-
1.1.1.1. OME-Zarr labelled image schema > ome > image-label > colors > colors items
Typeobject
RequiredNo
Additional propertiesAny type allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ label-valueNonumberNo-The value of the label
- rgbaNoarray of integerNo-The RGBA color stored as an array of four integers between 0 and 255
1.1.1.1.1. Property OME-Zarr labelled image schema > ome > image-label > colors > colors items > label-value
Typenumber
RequiredYes

Description: The value of the label

1.1.1.1.2. Property OME-Zarr labelled image schema > ome > image-label > colors > colors items > rgba
Typearray of integer
RequiredNo

Description: The RGBA color stored as an array of four integers between 0 and 255

Array restrictions
Min items4
Max items4
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
rgba items-
1.1.1.1.2.1. OME-Zarr labelled image schema > ome > image-label > colors > colors items > rgba > rgba items
Typeinteger
RequiredNo
Restrictions
Minimum≥ 0
Maximum≤ 255

1.1.2. Property OME-Zarr labelled image schema > ome > image-label > properties

Typearray of object
RequiredNo

Description: The properties for this label image

Array restrictions
Min items1
Max itemsN/A
Items unicityTrue
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
properties items-
1.1.2.1. OME-Zarr labelled image schema > ome > image-label > properties > properties items
Typeobject
RequiredNo
Additional propertiesAny type allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ label-valueNointegerNo-The pixel value for this label
1.1.2.1.1. Property OME-Zarr labelled image schema > ome > image-label > properties > properties items > label-value
Typeinteger
RequiredYes

Description: The pixel value for this label

1.1.3. Property OME-Zarr labelled image schema > ome > image-label > source

Typeobject
RequiredNo
Additional propertiesAny type allowed

Description: The source of this label image

PropertyPatternTypeDeprecatedDefinitionTitle/Description
- imageNostringNo--
1.1.3.1. Property OME-Zarr labelled image schema > ome > image-label > source > image
Typestring
RequiredNo

1.2. Property OME-Zarr labelled image schema > ome > version

Title: OME-Zarr Metadata version

Typeenum (of string)
RequiredYes
Defined inhttps://ngff.openmicroscopy.org/0.5/schemas/_version.schema

Description: The version of the OME-Zarr Metadata

Must be one of:


Generated using json-schema-for-humans on 2026-04-09 at 14:52:28 +0000