original_docstring: 
          Returns only a top-level dataset description.
          
docstring: Returns only a top-level dataset description.
docstring_tokens: Returns only a top - level dataset description .
code: def to_json_structure(self, *, canonical: bool = False) -> typing.Dict:
          """
          Returns only a top-level dataset description.
          """
  
          # Using "to_json_structure" and not "to_internal_json_structure" because
          # it is not indented that this would be parsed back directly, but just used
          # to know where to find the dataset.
          dataset_description = utils.to_json_structure(self.metadata.query(()))
  
          if canonical:
              dataset_description = self._canonical_dataset_description(dataset_description)
  
          metadata_base.CONTAINER_SCHEMA_VALIDATOR.validate(dataset_description)
  
          return dataset_description
code_tokens: def to_json_structure ( self , * , canonical : bool = False ) -> typing . Dict : dataset_description = utils . to_json_structure ( self . metadata . query ( ( ) ) ) if canonical : dataset_description = self . _canonical_dataset_description ( dataset_description ) metadata_base . CONTAINER_SCHEMA_VALIDATOR . validate ( dataset_description ) return dataset_description
short_docstring: Returns only a top-level dataset description.
short_docstring_tokens: Returns only a top - level dataset description .
comment: """
          Returns only a top-level dataset description.
          """$SEP$# Using "to_json_structure" and not "to_internal_json_structure" because$SEP$# it is not indented that this would be parsed back directly, but just used$SEP$# to know where to find the dataset.