code: def load_decathlon_properties(
      data_property_file_path: PathLike,
      property_keys: Sequence[str] | str,
  ) -> dict:
      """Load the properties from the JSON file contains data property with specified `property_keys`.
  
      Args:
          data_property_file_path: the path to the JSON file of data properties.
          property_keys: expected keys to load from the JSON file, for example, we have these keys
              in the decathlon challenge:
              `name`, `description`, `reference`, `licence`, `tensorImageSize`,
              `modality`, `labels`, `numTraining`, `numTest`, etc.
  
      """
      data_property_file_path = Path(data_property_file_path)
      if not data_property_file_path.is_file():
          raise ValueError(
              f"Data property file {data_property_file_path} does not exist."
          )
      with open(data_property_file_path) as json_file:
          json_data = json.load(json_file)
  
      properties = {}
      for key in ensure_tuple(property_keys):
          if key not in json_data:
              raise KeyError(
                  f"key {key} is not in the data property file."
              )
          properties[key] = json_data[key]
      return properties
  
file_path: MONAI/monai/data/decathlon_datalist.py
imports: from __future__ import annotations
  import json
  import os
  import warnings
  from collections.abc import Sequence
  from pathlib import Path
  from typing import overload
  from monai.config import KeysCollection, PathLike
  from monai.data.utils import partition_dataset, select_cross_validation_folds
  from monai.utils import ensure_tuple
label_desc: Use image node_id 6 for calling a global function with example usage: load_decathlon_properties(data_property_file_path, property_keys) and returns: properties