akimbo.get_json_schema

akimbo.get_json_schema(url: str, storage_options: dict | None = None, nbytes: int = 1000000, **kwargs)[source]

Get JSONSchema representation of the contents of a line-delimited JSON file

Currently, requires dask_awkward to be installed, which in turn required dask

Parameters:
  • url (file location)

  • storage_options (passed to fsspec)

  • nbytes (how much of the file to read in infer the types. Must be at least one line, and) – should be representative of all the data.

Return type:

JSONschema dictionary