Skip to content

Commit 422c550

Browse files
committed
Fix Example JSON document for Array metadata.
JSON array metadata document in the **Array metadata** section is ill-formed. the `codecs` field contains just the gzip codec configuration, even though the spec requires the codec chain to always have one `array->bytes` codec. That is in the example the gzip codec should be replaced with something more sensible like `{"name": "bytes", "configuration": "big"}` to be considered correct. This commit fixes that.
1 parent daef2bc commit 422c550

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/v3/core/v3.0.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,9 @@ compressed using gzip compression prior to storage::
721721
}
722722
},
723723
"codecs": [{
724-
"name": "gzip",
724+
"name": "bytes",
725725
"configuration": {
726-
"level": 1
726+
"endian": "big"
727727
}
728728
}],
729729
"fill_value": "NaN",
@@ -760,9 +760,9 @@ above, but using a (currently made up) extension data type::
760760
}
761761
},
762762
"codecs": [{
763-
"name": "gzip",
763+
"name": "bytes",
764764
"configuration": {
765-
"level": 1
765+
"endian": "big"
766766
}
767767
}],
768768
"fill_value": null,

0 commit comments

Comments
 (0)