tensorstore.Schema(json: Any)

Constructs from its JSON representation.

Example

>>> ts.Schema({
...     'dtype': 'uint8',
...     'chunk_layout': {
...         'grid_origin': [1, 2, 3],
...         'inner_order': [0, 2, 1]
...     }
... })
Schema({
  'chunk_layout': {'grid_origin': [1, 2, 3], 'inner_order': [0, 2, 1]},
  'dtype': 'uint8',
  'rank': 3,
})